/* ===================================
   2. HERO SECTION
   =================================== */
.hero {
  padding: 140px 0 80px;
  background: #00CC91;
  overflow: visible;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
}

.hero-content {
  max-width: none;
  overflow: visible;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.hero-title span {
  color: #fff;
}

.hero-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 64px;
  max-width: 480px;
}

.hero-cta {
  margin-bottom: 32px;
}

/* ---------- QR Codes (desktop only) ---------- */

/* Hidden by default in hero, revealed on CTA click */
.hero-cta > .store-download-group {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.hero-cta > .store-download-group.show {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.qr-code-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.qr-code-item img {
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-gray-200);
  background: var(--color-white);
  padding: 4px;
  width: 130px;
  height: 130px;
  object-fit: contain;
  display: block;
}

.qr-code-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-600);
}

@media (max-width: 768px) {
  .qr-code-item {
    display: none;
  }
  .store-download-group {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .store-download-col {
    flex-shrink: 1;
  }
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-wrapper {
  position: relative;
  width: 300px;
}

.hero-phone {
  width: 100%;
  border-radius: 32px;
  box-shadow: var(--shadow-xl);
}

.hero-float-card {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 10%;
  right: -60px;
}

.hero-float-card.card-2 {
  bottom: 15%;
  left: -50px;
  animation-delay: 1.5s;
}

.hero-float-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero-float-card-icon.green {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.hero-float-card-icon.orange {
  background: #FFF0E6;
  color: var(--color-accent);
}

.hero-float-card-text {
  display: flex;
  flex-direction: column;
}

.hero-float-card-text strong {
  font-size: 0.875rem;
  color: var(--color-gray-800);
}

.hero-float-card-text span {
  font-size: 0.75rem;
  color: var(--color-gray-400);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* ===================================
   3. WHY CHOOSE US SECTION
   =================================== */
.why-choose {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #F8FFFE 0%, var(--color-white) 100%);
}

.why-choose-header {
  text-align: center;
  margin-bottom: 48px;
}

.why-choose-header .section-subtitle {
  margin: 0 auto;
}

.why-choose-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #16213E 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  margin-bottom: 56px;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.proof-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
}

.proof-label {
  font-size: 0.875rem;
  opacity: 0.7;
}

.proof-stars {
  display: flex;
  gap: 3px;
  color: #FFD700;
  margin-bottom: 4px;
}

.proof-stars svg {
  width: 18px;
  height: 18px;
}

.proof-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-point {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-point:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.trust-point-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.trust-point-icon.green { background: rgba(44, 182, 125, 0.1); color: var(--color-primary); }
.trust-point-icon.blue { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.trust-point-icon.orange { background: rgba(255, 107, 53, 0.1); color: #FF6B35; }
.trust-point-icon.purple { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; }

.trust-point h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 8px;
}

.trust-point p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}


/* ===================================
   4. FEATURES SECTION
   =================================== */
.features {
  padding: var(--section-padding);
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
}

.features-header .section-subtitle {
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
  margin-bottom: 100px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon.green { background: var(--color-primary-light); color: var(--color-primary); }
.feature-icon.blue { background: #EBF5FF; color: #3B82F6; }
.feature-icon.orange { background: #FFF0E6; color: var(--color-accent); }
.feature-icon.purple { background: #F3E8FF; color: #8B5CF6; }

.feature-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 16px;
  line-height: 1.3;
}

.feature-content p {
  font-size: 1rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  margin-bottom: 28px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--color-gray-600);
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.btn-learn-more:hover {
  gap: 12px;
  color: var(--color-primary-dark);
}

.btn-learn-more svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image > img {
  width: 100%;
  max-width: 384px;
  border-radius: 24px;
}

.feature-image-wrapper {
  position: relative;
  background: transparent;
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-image-wrapper img {
  width: 240px;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
}

.feature-image-wrapper.bg-green { background: linear-gradient(135deg, #E8F8F0, #D1FAE5); }
.feature-image-wrapper.bg-blue { background: linear-gradient(135deg, #EBF5FF, #DBEAFE); }
.feature-image-wrapper.bg-orange { background: linear-gradient(135deg, #FFF0E6, #FFEDD5); }
.feature-image-wrapper.bg-purple { background: linear-gradient(135deg, #F3E8FF, #EDE9FE); }


/* ===================================
   5. USER REVIEWS / TESTIMONIALS
   =================================== */
.testimonials {
  padding: var(--section-padding);
  background: var(--color-gray-50);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

/* Carousel wrapper */
.testimonials-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-100);
  transition: box-shadow var(--transition-base), transform 0.2s;
  flex: 0 0 350px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #FFD700;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-author-info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-800);
}

.testimonial-author-info p {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}


/* ===================================
   7. FAQ SECTION
   =================================== */
.faq {
  padding: var(--section-padding);
  background: var(--color-gray-50);
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header .section-subtitle {
  margin: 0 auto;
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-gray-300);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-800);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question {
  color: var(--color-primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-gray-400);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  line-height: 1.7;
}



/* ===================================
   RESPONSIVE - Home
   =================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-cta .store-badges {
    justify-content: center;
  }

  .hero-cta .store-download-group {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-phone-wrapper {
    width: 240px;
  }

  .hero-float-card {
    display: none;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-block.reverse {
    direction: ltr;
  }

  .feature-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-value {
    font-size: 1.0625rem;
  }

  .why-choose-proof {
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
  }

  .proof-divider {
    width: 60px;
    height: 1px;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    flex: 0 0 300px;
  }

  .feature-content h3 {
    font-size: 1.375rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Hero Primary CTA Button ---------- */
.hero-cta .btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
  margin-bottom: 16px;
  background: #000;
  color: #fff;
}

.hero-cta .btn-lg:hover {
  background: rgba(0,0,0,0.85);
  color: #fff;
}

/* ---------- FAQ H3 inside button ---------- */
.faq-question h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading);
  margin: 0;
  text-align: left;
}
