/* style/ti-app.css */
.page-ti-app {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-ti-app__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-ti-app__section {
  padding: 80px 0;
  text-align: center;
}

.page-ti-app__section:nth-of-type(even) {
  background-color: #fff;
}

.page-ti-app__section-title {
  font-size: 2.8em;
  color: #000080; /* Dark Blue */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-ti-app__section-description {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-ti-app__hero-section {
  background: linear-gradient(135deg, #FFD700, #000080);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-ti-app__hero-section .page-ti-app__container {
  position: relative;
  z-index: 1;
}

.page-ti-app__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-ti-app__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #eee;
}

.page-ti-app__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-ti-app__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-ti-app__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-ti-app__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-ti-app__btn--secondary {
  background-color: #000080; /* Dark Blue */
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(0, 0, 128, 0.4);
}

.page-ti-app__btn--secondary:hover {
  background-color: #000066;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 128, 0.6);
}

.page-ti-app__hero-image {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 400px;
  height: auto;
  opacity: 0.2;
  transform: rotate(15deg);
  pointer-events: none;
}

/* Advantages Section */
.page-ti-app__advantages .page-ti-app__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-ti-app__grid-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FFD700;
}

.page-ti-app__grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-ti-app__item-title {
  font-size: 1.8em;
  color: #000080;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-ti-app__item-text {
  font-size: 1.1em;
  color: #666;
}

/* Download Guide Section */
.page-ti-app__download-guide {
  background-color: #f0f4f8;
}

.page-ti-app__download-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.page-ti-app__method {
  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 400px;
  max-width: 550px;
  text-align: left;
  border-left: 8px solid #000080;
}

.page-ti-app__method-title {
  font-size: 2em;
  color: #000080;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-ti-app__steps {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #444;
}

.page-ti-app__steps li {
  margin-bottom: 15px;
  line-height: 1.8;
}

.page-ti-app__steps strong {
  color: #000080;
}

.page-ti-app__btn--small {
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 30px;
}

.page-ti-app__qr-codes {
  margin-top: 60px;
  padding: 40px;
  background-color: #000080;
  border-radius: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-ti-app__qr-image {
  width: 250px;
  height: 250px;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-ti-app__qr-text {
  font-size: 1.3em;
  font-weight: bold;
  color: #FFD700;
}

/* Features Section */
.page-ti-app__features {
  padding-bottom: 120px;
}

.page-ti-app__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.page-ti-app__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border-bottom: 4px solid #FFD700;
}

.page-ti-app__feature-item:hover {
  transform: translateY(-5px);
}

.page-ti-app__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-ti-app__feature-heading {
  font-size: 1.6em;
  color: #000080;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-ti-app__feature-text {
  font-size: 1em;
  color: #666;
}

.page-ti-app__gameplay-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 20px;
  margin-top: 80px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* FAQ Section (Accordion) */
.page-ti-app__faq {
  background-color: #f8f8f8;
}

.page-ti-app__accordion {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-ti-app__accordion-item {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.page-ti-app__accordion-header {
  width: 100%;
  padding: 20px 30px;
  background-color: #000080;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-ti-app__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-ti-app__accordion-header.active {
  background-color: #000066;
}

.page-ti-app__accordion-header.active::after {
  transform: rotate(45deg);
}

.page-ti-app__accordion-content {
  padding: 0 30px;
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-ti-app__accordion-content.active {
  max-height: 200px; /* Adjust based on content height */
  padding: 20px 30px;
}

.page-ti-app__accordion-content p {
  font-size: 1.1em;
  color: #555;
  margin: 0;
}

/* Call to Action Section */
.page-ti-app__call-to-action {
  background: linear-gradient(135deg, #000080, #000040);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.page-ti-app__call-to-action .page-ti-app__section-title {
  color: #FFD700;
}

.page-ti-app__call-to-action .page-ti-app__section-description {
  color: #e0e0e0;
}

.page-ti-app__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-ti-app__btn--tertiary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.page-ti-app__btn--tertiary:hover {
  background-color: #fff;
  color: #000080;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.page-ti-app__cta-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  width: 500px;
  height: auto;
  opacity: 0.1;
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-ti-app__hero-title {
    font-size: 2.8em;
  }
  .page-ti-app__hero-subtitle {
    font-size: 1.3em;
  }
  .page-ti-app__section-title {
    font-size: 2.2em;
  }
  .page-ti-app__method {
    min-width: unset;
    max-width: 100%;
  }
  .page-ti-app__qr-codes {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-ti-app__hero-section {
    padding: 80px 0;
  }
  .page-ti-app__hero-title {
    font-size: 2.2em;
  }
  .page-ti-app__hero-subtitle {
    font-size: 1.1em;
  }
  .page-ti-app__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-ti-app__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-ti-app__section {
    padding: 60px 0;
  }
  .page-ti-app__section-title {
    font-size: 1.8em;
  }
  .page-ti-app__section-description {
    font-size: 1em;
  }
  .page-ti-app__advantages .page-ti-app__grid {
    grid-template-columns: 1fr;
  }
  .page-ti-app__method {
    padding: 30px;
  }
  .page-ti-app__method-title {
    font-size: 1.8em;
  }
  .page-ti-app__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-ti-app__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-ti-app__accordion-content.active {
    padding: 15px 20px;
  }
  .page-ti-app__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-ti-app__cta-buttons .page-ti-app__btn {
    width: 80%;
  }
  .page-ti-app__hero-image, .page-ti-app__cta-image {
    display: none;
  }
}

@media (max-width: 480px) {
  .page-ti-app__hero-title {
    font-size: 1.8em;
  }
  .page-ti-app__hero-subtitle {
    font-size: 0.9em;
  }
  .page-ti-app__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-ti-app__section-title {
    font-size: 1.6em;
  }
  .page-ti-app__item-title {
    font-size: 1.5em;
  }
  .page-ti-app__method-title {
    font-size: 1.6em;
  }
  .page-ti-app__qr-image {
    width: 200px;
    height: 200px;
  }
  .page-ti-app__qr-text {
    font-size: 1.1em;
  }
  .page-ti-app__feature-heading {
    font-size: 1.4em;
  }
  .page-ti-app__accordion-content.active {
    max-height: 250px; /* More room for smaller screens */
  }
}