/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  background: var(--gradient-bg);
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-label {
  opacity: 0;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--white-70);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Stats Bar ── */
.stats-bar {
  padding: var(--section-pad-sm) 0;
  background: var(--navy-dark);
  border-top: 1px solid var(--white-05);
  border-bottom: 1px solid var(--white-05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  display: block;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* ── How It Works ── */
.how-it-works {
  background: var(--navy);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 40px 28px;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 20px;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-glow), 0 16px 40px rgba(0, 0, 0, 0.3);
}

.step-card:hover .step-number {
  opacity: 0.7;
}

.steps-connector {
  width: 80px;
  flex-shrink: 0;
  color: var(--white-20);
  display: flex;
  align-items: center;
}

.steps-connector svg {
  width: 100%;
  height: 2px;
}

@media (max-width: 768px) {
  .steps-grid {
    flex-direction: column;
    gap: 16px;
  }
  .steps-connector {
    width: 2px;
    height: 40px;
    transform: rotate(90deg);
  }
}

/* ── Features Grid ── */
.features {
  background: var(--gradient-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px;
  transition: all 0.4s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow-glow), 0 16px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Pricing ── */
.pricing {
  background: var(--navy);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing-toggle-label {
  font-size: 0.9375rem;
  color: var(--white-50);
  transition: color 0.3s;
}

.pricing-toggle-label.active {
  color: var(--white);
}

.pricing-save {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  margin-left: 6px;
}

.pricing-toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--white-10);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--white-10);
  transition: background 0.3s;
}

.pricing-toggle-switch.active {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s var(--ease-elastic);
}

.pricing-toggle-switch.active .pricing-toggle-knob {
  transform: translateX(24px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-glow), 0 16px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-glow);
  transform: scale(1.04);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow: var(--shadow-glow-strong), 0 16px 40px rgba(0, 0, 0, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white-50);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 16px;
}

.pricing-currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white-70);
  margin-top: 8px;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--white-50);
  align-self: flex-end;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--white-50);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 0.9375rem;
  color: var(--white-70);
  padding: 8px 0;
  border-bottom: 1px solid var(--white-05);
  position: relative;
  padding-left: 24px;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--gold-dim);
  border-radius: 50%;
  border: 1.5px solid var(--gold);
}

.pricing-features li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 4px;
  height: 8px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.pricing-card .btn {
  width: 100%;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 576px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ── FAQ ── */
.faq {
  background: var(--gradient-bg);
}

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

.faq-item {
  border-bottom: 1px solid var(--white-10);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--white);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s, padding-left 0.3s var(--ease-out);
}

.faq-question:hover {
  color: var(--gold);
  padding-left: 8px;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--white-50);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out), color 0.3s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--white-70);
  line-height: 1.7;
}

/* ── Final CTA ── */
.final-cta {
  background: var(--navy);
  padding: var(--section-pad) 0;
}

.cta-card {
  text-align: center;
  padding: 80px 40px;
  background: var(--gradient-card);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, var(--gold), transparent 50%, var(--purple-mid));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta-card .section-title {
  margin-bottom: 16px;
}

.cta-card .section-subtitle {
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .cta-card {
    padding: 48px 24px;
  }
}
