/* ════════════════════════════════════════════
   PROBLEM
════════════════════════════════════════════ */

.problem {
  background: #111827;
  padding: var(--sp-24) 0;
}

.problem-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.problem-setup {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.problem-setup p {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 var(--sp-4);
}

.problem-setup p:last-child {
  margin-bottom: 0;
}

.problem-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--sp-10);
}

.problem-q {
  background: #111827;
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: var(--w-bold);
  line-height: var(--leading-snug);
  color: var(--clr-text-inv);
  padding: var(--sp-8);
}

.problem-close {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: var(--w-semibold);
  color: var(--clr-brand);
  text-align: center;
  margin: 0;
}

@media (max-width: 767px) {
  .problem {
    padding: var(--sp-16) 0;
  }

  .problem-inner {
    padding: 0 var(--sp-5);
  }

  .problem-setup p {
    font-size: var(--text-base);
  }

  .problem-questions {
    grid-template-columns: 1fr;
  }

  .problem-q {
    font-size: var(--text-2xl);
    padding: var(--sp-6);
  }
}


/* ════════════════════════════════════════════
   FEATURES
════════════════════════════════════════════ */

.features {
  background: var(--clr-bg);
  padding: var(--sp-24) 0;
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}

.feature-row {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}

.feature-row--flip {
  flex-direction: row-reverse;
}

.feature-copy {
  flex: 1 1 0;
  min-width: 0;
}

.feature-headline {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2vw + 0.75rem, 2.25rem);
  font-weight: var(--w-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
  color: var(--clr-text);
  margin: 0 0 var(--sp-5);
}

.feature-body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--clr-text-2);
  margin: 0;
}

.feature-visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-phone {
  position: relative;
  width: clamp(220px, 28vw, 300px);
  border: 7px solid #1a1a1a;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 24px 64px -16px rgba(5, 150, 105, 0.14);
}

.feature-phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 18px;
  background: #1a1a1a;
  border-radius: var(--r-full);
  z-index: 1;
  pointer-events: none;
}

.feature-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .features {
    padding: var(--sp-16) 0;
  }

  .features-inner {
    padding: 0 var(--sp-5);
    gap: var(--sp-16);
  }

  .feature-row,
  .feature-row--flip {
    flex-direction: column;
    gap: var(--sp-8);
  }

  .feature-headline {
    font-size: var(--text-2xl);
  }

  .feature-body {
    font-size: var(--text-base);
  }

  .feature-visual {
    width: 100%;
  }

  .feature-phone {
    width: min(260px, 70vw);
  }
}


/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */

.hero {
  background: var(--clr-bg);
  padding: var(--sp-20) 0;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}

/* ── Copy ── */

.hero-copy {
  flex: 1 1 0;
  min-width: 0;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 4.5vw + 0.5rem, 4rem);
  font-weight: var(--w-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
  color: var(--clr-text);
  margin: 0 0 var(--sp-6);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--clr-text-2);
  max-width: 44ch;
  margin: 0 0 var(--sp-8);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
}

.hero-cta {
  display: inline-block;
  background: var(--clr-brand);
  color: var(--clr-text-inv);
  font-family: var(--font-head);
  font-size: var(--text-base);
  font-weight: var(--w-semibold);
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--r-full);
  text-decoration: none;
  transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.hero-cta:hover {
  background: var(--clr-brand-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.hero-cta:focus-visible {
  outline: 2px solid var(--clr-brand);
  outline-offset: 3px;
}

.hero-trust {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--clr-text-3);
}

/* ── Visual ── */

.hero-visual {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(5, 150, 105, 0.09) 0%, transparent 68%);
  pointer-events: none;
}

.hero-phone {
  position: relative;
  z-index: 1;
  width: clamp(200px, 30vw, 300px);
  border: 7px solid #1a1a1a;
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    0 24px 64px -16px rgba(5, 150, 105, 0.14);
}

.hero-phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 18px;
  background: #1a1a1a;
  border-radius: var(--r-full);
  z-index: 2;
  pointer-events: none;
}

.hero-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* ════════════════════════════════════════════
   DIFFERENTIATORS
════════════════════════════════════════════ */

.differentiators {
  background: var(--clr-bg-alt);
  padding: var(--sp-24) 0;
}

.differentiators-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.diff-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.diff-title {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  font-weight: var(--w-bold);
  color: var(--clr-text);
  line-height: var(--leading-tight);
  margin: 0;
}

.diff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.diff-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.diff-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-1);
}

.diff-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--clr-brand-tint);
  border-radius: var(--r-md);
  color: var(--clr-brand);
  flex-shrink: 0;
}

.diff-card-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--w-medium);
  color: var(--clr-text-3);
  letter-spacing: 0.01em;
}

.diff-card-headline {
  font-family: var(--font-head);
  font-size: var(--text-xl);
  font-weight: var(--w-bold);
  color: var(--clr-text);
  line-height: var(--leading-snug);
  margin: 0;
}

.diff-card-body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--clr-text-2);
  margin: 0;
}

@media (max-width: 900px) {
  .diff-cards {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .differentiators {
    padding: var(--sp-16) 0;
  }

  .diff-title {
    font-size: var(--text-2xl);
  }

  .diff-header {
    margin-bottom: var(--sp-8);
  }

  .differentiators-inner {
    padding: 0 var(--sp-5);
  }
}


/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.6875rem var(--sp-6);
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--w-semibold);
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}

.btn-primary { background: var(--clr-brand); color: var(--clr-text-inv); border-color: var(--clr-brand); }
.btn-primary:hover { background: var(--clr-brand-dark); border-color: var(--clr-brand-dark); }

.btn-secondary { background: transparent; color: var(--clr-brand); border-color: var(--clr-brand); }
.btn-secondary:hover { background: var(--clr-brand-tint); }

.btn-outline { background: transparent; color: var(--clr-text-2); border-color: var(--clr-border); }
.btn-outline:hover { color: var(--clr-text); background: var(--clr-surface); }

.btn-full { width: 100%; }


/* ════════════════════════════════════════════
   PRICING
════════════════════════════════════════════ */

.pricing {
  background: var(--clr-bg);
  padding: var(--sp-24) 0;
}

.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.pricing-title {
  font-family: var(--font-head);
  font-size: var(--text-3xl);
  font-weight: var(--w-bold);
  color: var(--clr-text);
  line-height: var(--leading-tight);
  margin: 0 0 var(--sp-3);
}

.pricing-sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--clr-text-2);
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--sp-5);
  row-gap: 0;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card-tab {
  background: var(--clr-brand);
  color: var(--clr-text-inv);
  text-align: center;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: var(--w-semibold);
  line-height: 1.5;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  border: 2px solid var(--clr-brand);
  border-bottom: none;
}

.pricing-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border: 2px solid var(--clr-brand);
  border-top: none;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px var(--sp-3);
  background: var(--clr-brand);
  color: white;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--w-semibold);
  margin-bottom: var(--sp-4);
  align-self: flex-start;
}

.pricing-tier {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: var(--w-semibold);
  color: var(--clr-text-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--sp-2);
}

.pricing-price {
  font-family: var(--font-head);
  font-size: var(--text-4xl);
  font-weight: var(--w-extrabold);
  color: var(--clr-text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--sp-6);
}

.pricing-price sup {
  font-size: var(--text-xl);
  font-weight: var(--w-semibold);
  vertical-align: super;
  letter-spacing: 0;
}

.pricing-price-unit {
  font-size: var(--text-2xl);
  font-weight: var(--w-semibold);
  color: var(--clr-text-2);
  letter-spacing: 0;
}

.pricing-price-sub {
  font-size: var(--text-xs);
  color: var(--clr-text-3);
  margin-top: var(--sp-3);
  margin-bottom: 0;
  line-height: var(--leading-relaxed);
  text-align: center;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--clr-text-2);
  line-height: var(--leading-snug);
}

.pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--clr-brand-dim);
  color: var(--clr-brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: var(--w-bold);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card-featured .pricing-check {
  background: var(--clr-brand);
  color: white;
}

.pricing-footnote {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--clr-text-3);
  text-align: center;
  max-width: 68ch;
  margin: var(--sp-10) auto 0;
  line-height: var(--leading-relaxed);
}

@media (max-width: 767px) {
  .pricing {
    padding: var(--sp-16) 0;
  }

  .pricing-inner {
    padding: 0 var(--sp-5);
  }

  .pricing-title {
    font-size: var(--text-2xl);
  }

  .pricing-header {
    margin-bottom: var(--sp-8);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
    column-gap: 0;
  }

  .pricing-grid-spacer {
    display: none;
  }

  .pricing-card:not(.pricing-card-featured) {
    order: 1;
    margin-bottom: var(--sp-4);
    border-radius: var(--r-xl);
  }

  .pricing-card-tab {
    order: 2;
  }

  .pricing-card-featured {
    order: 3;
  }
}


/* ════════════════════════════════════════════
   FINAL CTA
════════════════════════════════════════════ */

.final-cta {
  background: #111827;
  padding: var(--sp-24) 0;
}

.final-cta-inner {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-6);
}

.final-cta-headline {
  font-family: var(--font-head);
  font-size: clamp(var(--text-3xl), 4vw + 1rem, var(--text-5xl));
  font-weight: var(--w-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
  color: var(--clr-text-inv);
  margin: 0;
}

.final-cta-sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  max-width: 44ch;
}

.final-cta-btn {
  padding: var(--sp-4) var(--sp-10);
  font-family: var(--font-head);
  font-size: var(--text-lg);
  font-weight: var(--w-semibold);
}

.final-cta-trust {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

@media (max-width: 767px) {
  .final-cta {
    padding: var(--sp-16) 0;
  }

  .final-cta-inner {
    padding: 0 var(--sp-5);
    gap: var(--sp-5);
  }

  .final-cta-sub {
    font-size: var(--text-base);
  }

  .final-cta-btn {
    width: 100%;
    font-size: var(--text-base);
    padding: var(--sp-4) var(--sp-6);
  }
}


/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */

/* Footer styles live in footer.css (shared with legal pages) */


/* ── Entrance animations ── */

@media (prefers-reduced-motion: no-preference) {
  .hero-headline,
  .hero-sub,
  .hero-actions,
  .hero-visual {
    opacity: 0;
    transform: translateY(14px);
    animation: hero-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-headline { animation-delay: 0ms; }
  .hero-sub      { animation-delay: 90ms; }
  .hero-actions  { animation-delay: 180ms; }
  .hero-visual   { animation-delay: 60ms; }
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Mobile ── */

@media (max-width: 767px) {
  .hero {
    padding: var(--sp-12) 0 var(--sp-16);
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-8);
    padding: 0 var(--sp-5);
  }

  .hero-copy {
    width: 100%;
  }

  .hero-sub {
    font-size: var(--text-base);
    max-width: none;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
  }

  .hero-cta {
    text-align: center;
  }

  .hero-trust {
    text-align: center;
  }

  .hero-visual {
    width: 100%;
    padding: var(--sp-4) 0;
    justify-content: center;
  }

  .hero-phone {
    width: min(260px, 70vw);
  }
}
