/* === FONTS === */
:root {
  --bg: #faf8f5;
  --bg-alt: #f3f0eb;
  --fg: #1a1a2e;
  --fg-muted: #6b7280;
  --accent: #f5a623;
  --accent-dark: #d4840a;
  --surface: #ffffff;
  --border: #e5e0d8;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --section-px: clamp(1.5rem, 5vw, 5rem);
  --section-py: clamp(4rem, 8vw, 7rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--section-px);
  background: rgba(250,248,245,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__link:hover { color: var(--fg); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: calc(5rem + var(--section-py)) var(--section-px) var(--section-py);
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem;
}

.hero__stat:first-child { padding-left: 0; }

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 0.3rem;
  font-weight: 500;
}

.hero__stat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero visual side */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 12px rgba(26,26,46,0.06), 0 0 0 1px rgba(26,26,46,0.03);
}

.hero__card--main {
  border-left: 3px solid var(--accent);
}

.hero__card--secondary {
  border-left: 3px solid #22c55e;
}

.hero__card--third {
  border-left: 3px solid #6366f1;
}

.hero__card-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 0.35rem;
}

.hero__card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.hero__card-detail {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.hero__card-score-bar {
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 0.3rem;
}

.hero__card-score-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.hero__network {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  opacity: 0.6;
  pointer-events: none;
}

.hero__network-svg {
  width: 100%;
  height: 100%;
}

/* === PROBLEM === */
.problem {
  background: var(--fg);
  color: var(--bg);
  padding: var(--section-py) var(--section-px);
}

.problem__header {
  max-width: var(--max-w);
  margin: 0 auto var(--3rem);
  text-align: center;
}

.problem__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.problem__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin: 0 auto;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto 3rem;
}

.problem__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 2rem;
}

.problem__card-icon {
  margin-bottom: 1.25rem;
}

.problem__card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.problem__card p {
  font-size: 0.9rem;
  color: rgba(250,248,245,0.6);
  line-height: 1.65;
}

.problem__quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.problem__quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  color: rgba(250,248,245,0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.problem__quote cite {
  font-size: 0.8rem;
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

/* === HOW === */
.how {
  padding: var(--section-py) var(--section-px);
  background: var(--bg);
}

.how__header {
  max-width: var(--max-w);
  margin: 0 auto 4rem;
}

.how__eyebrow, .features__eyebrow, .testimonials__eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

.how__headline, .features__headline, .testimonials__headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
}

.how__sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 600px;
}

.how__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.how__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.how__step:last-child { border-bottom: none; }

.how__step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(245,166,35,0.3);
  line-height: 1;
  padding-top: 0.1rem;
}

.how__step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.how__step-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* === FEATURES === */
.features {
  padding: var(--section-py) var(--section-px);
  background: var(--bg-alt);
}

.features__header {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.features__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.features__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,46,0.08);
}

.features__card-icon {
  margin-bottom: 1.25rem;
}

.features__card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.features__card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === TESTIMONIALS === */
.testimonials {
  padding: var(--section-py) var(--section-px);
  background: var(--bg);
}

.testimonials__header {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  text-align: center;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto 3rem;
}

.testimonials__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.testimonials__quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonials__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonials__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}

.testimonials__role {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.15rem;
}

.testimonials__metrics {
  display: flex;
  justify-content: center;
  gap: 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.testimonials__metric {
  text-align: center;
}

.testimonials__metric-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-dark);
  display: block;
  line-height: 1;
}

.testimonials__metric-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.4rem;
  display: block;
  max-width: 160px;
}

/* === CLOSING === */
.closing {
  padding: var(--section-py) var(--section-px);
  background: var(--fg);
  color: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.closing__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing__body {
  font-size: 1rem;
  color: rgba(250,248,245,0.65);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 460px;
}

.closing__trust {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.closing__trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(250,248,245,0.8);
  font-weight: 500;
}

.closing__pricing {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.closing__pricing-label {
  font-size: 0.8rem;
  color: rgba(250,248,245,0.5);
  font-weight: 500;
}

.closing__pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.closing__pricing-amount span {
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(250,248,245,0.5);
}

.closing__pricing-note {
  font-size: 0.8rem;
  color: rgba(250,248,245,0.4);
  margin-top: 0.25rem;
}

/* closing visual */
.closing__visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.closing__chart {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 2rem;
}

.closing__chart-label {
  font-size: 0.8rem;
  color: rgba(250,248,245,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.closing__bars {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 140px;
  margin-bottom: 0.75rem;
}

.closing__bar {
  flex: 1;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  min-height: 12px;
  transition: height 0.3s ease;
  opacity: 0.85;
}

.closing__bar--p2 { opacity: 0.75; }
.closing__bar--p3 { opacity: 0.65; }
.closing__bar--p4 { opacity: 0.55; }
.closing__bar--p5 { opacity: 0.45; }

.closing__bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(250,248,245,0.4);
  font-weight: 500;
}

.closing__growth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  color: #22c55e;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  width: fit-content;
}

/* === FOOTER === */
.footer {
  background: #141420;
  color: rgba(250,248,245,0.7);
  padding: 4rem var(--section-px) 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer__brand p {
  font-size: 0.85rem;
  color: rgba(250,248,245,0.5);
  line-height: 1.65;
  max-width: 360px;
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer__links-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250,248,245,0.4);
  margin-bottom: 1rem;
}

.footer__links-col a {
  display: block;
  color: rgba(250,248,245,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer__links-col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 0.8rem;
  color: rgba(250,248,245,0.3);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  color: rgba(250,248,245,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__legal a:hover { color: rgba(250,248,245,0.7); }

/* === ONBOARDING CTAs (hero + closing) === */
.hero__cta {
  margin-bottom: 2rem;
}

.hero__btn--primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.6rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.hero__btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.closing__cta {
  margin-top: 1.75rem;
}

.closing__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.6rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.closing__btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { display: none; }
  .problem__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonials__metrics { gap: 2rem; flex-wrap: wrap; justify-content: center; }
  .closing { grid-template-columns: 1fr; }
  .closing__visual { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .nav__links { display: none; }
  .hero__stats { flex-wrap: wrap; }
  .hero__stat-div { display: none; }
  .features__grid { grid-template-columns: 1fr; }
  .testimonials__metrics { flex-direction: column; align-items: center; }
  .footer__links { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
