/* === DESIGN TOKENS === */
:root {
  --bg: #f8f6f1;
  --teal: #0d6e6e;
  --teal-dark: #0a5858;
  --teal-light: #2d9d8f;
  --text: #1a2e2e;
  --text-muted: #5a7a7a;
  --text-faint: #9ab4b4;
  --border: #e8e4dc;
  --white: #fff;
  --font: 'Manrope', sans-serif;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(13, 110, 110, 0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* === UTILS === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-title { font-size: 1.75rem; font-weight: 700; color: var(--text); margin-bottom: 2rem; text-align: center; }
.eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 0.75rem; }
.eyebrow--light { color: rgba(255,255,255,0.7); }

/* === BUTTONS === */
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  text-align: center;
}
.btn:hover { background: var(--teal-dark); }
.btn--sm { font-size: 0.8rem; padding: 8px 16px; }
.btn--lg { font-size: 1rem; padding: 14px 28px; margin-bottom: 0.5rem; }
.btn--quiz { font-size: 1rem; padding: 14px; width: 100%; font-weight: 700; }
.btn--outline { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(13,110,110,0.1); }
.nav__inner { max-width: 1100px; margin: 0 auto; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; }
.nav__logo { font-size: 0.85rem; font-weight: 700; color: var(--teal); letter-spacing: 0.15em; }

/* === HERO === */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg);
  padding: 80px 24px 64px;
  text-align: center;
}
.hero__blob {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,110,110,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__blob--tr { width: 400px; height: 400px; top: -100px; right: -100px; }
.hero__blob--bl { width: 300px; height: 300px; bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(45,157,143,0.1) 0%, transparent 70%); }
.hero__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.hero__h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 1rem; }
.hero__sub { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.hero__micro { font-size: 0.75rem; color: #aaa; margin-bottom: 2rem; }
.hero__stats { display: flex; justify-content: center; align-items: center; gap: 0; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.stat { text-align: center; padding: 0 1.5rem; }
.stat__num { display: block; font-size: 1.5rem; font-weight: 700; color: var(--teal); line-height: 1; }
.stat__label { font-size: 0.7rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.stat__sep { width: 1px; height: 32px; background: var(--border); }

/* === TRUST BAR === */
.trust { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; }
.trust__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.trust__label { font-size: 0.7rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.trust__logos { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.trust__logo-link { opacity: 0.5; transition: opacity 0.2s; filter: grayscale(1); }
.trust__logo-link:hover { opacity: 1; filter: grayscale(0); }
.trust__logo { height: 24px; width: auto; }
.trust__more { font-size: 0.75rem; color: var(--teal); font-weight: 600; white-space: nowrap; }

/* === PROBLEM === */
.problem { padding: 72px 0; }
.problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem__card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 28px 24px; }
.problem__card--accent { background: var(--teal); border-color: var(--teal); }
.problem__card--accent .problem__h3,
.problem__card--accent .problem__text { color: var(--white); }
.problem__icon { font-size: 1.75rem; margin-bottom: 12px; }
.problem__h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.problem__text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* === HOW IT WORKS === */
.how { background: var(--white); padding: 72px 0; }
.how__steps { display: flex; align-items: flex-start; gap: 0; }
.how__step { flex: 1; text-align: center; padding: 0 24px; }
.how__num { width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.how__h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.how__text { font-size: 0.875rem; color: var(--text-muted); }
.how__arrow { font-size: 1.5rem; color: var(--border); align-self: center; padding-bottom: 24px; }

/* === DEVELOPERS === */
.developers { padding: 72px 0; }
.dev-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.dev-scroll::-webkit-scrollbar { height: 4px; }
.dev-scroll::-webkit-scrollbar-track { background: var(--border); border-radius: 2px; }
.dev-scroll::-webkit-scrollbar-thumb { background: var(--teal-light); border-radius: 2px; }
.dev-track { display: flex; gap: 16px; padding: 4px 2px 8px; width: max-content; }
.dev-card {
  flex: 0 0 200px;
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 20px 16px; display: flex; flex-direction: column; gap: 6px;
  transition: box-shadow 0.2s, transform 0.2s; cursor: pointer;
}
.dev-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.dev-card__logo { height: 40px; display: flex; align-items: center; margin-bottom: 4px; }
.dev-card__logo img { max-height: 36px; width: auto; filter: grayscale(0.3); }
.dev-card__name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.dev-card__types { font-size: 0.75rem; color: var(--text-muted); }
.dev-card__price { font-size: 0.875rem; color: var(--teal); font-weight: 600; margin-top: auto; }
.dev-card__cta { font-size: 0.75rem; color: var(--teal); border: 1px solid var(--teal); border-radius: var(--radius); padding: 4px 10px; text-align: center; transition: all 0.2s; }
.dev-card:hover .dev-card__cta { background: var(--teal); color: var(--white); }

/* === QUIZ === */
.quiz { background: var(--teal); padding: 72px 0; }
.quiz__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.quiz__h2 { font-size: 1.75rem; font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 0.75rem; }
.quiz__sub { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }
.quiz__review { background: rgba(255,255,255,0.1); border-radius: 6px; padding: 16px 20px; }
.quiz__review-text { font-size: 0.85rem; color: rgba(255,255,255,0.85); font-style: italic; margin-bottom: 6px; }
.quiz__review-attr { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.quiz__right { background: rgba(255,255,255,0.08); border-radius: 10px; padding: 28px 24px; }
.quiz__progress { display: flex; gap: 8px; margin-bottom: 20px; }
.quiz__dot { width: 32px; height: 4px; background: rgba(255,255,255,0.25); border-radius: 2px; transition: background 0.3s; }
.quiz__dot--active { background: var(--white); }
.quiz__q { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz__opt {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); color: var(--white); font-family: var(--font);
  font-size: 0.875rem; padding: 12px 8px; cursor: pointer; text-align: center;
  transition: all 0.15s;
}
.quiz__opt:hover, .quiz__opt--selected { background: var(--white); color: var(--teal); font-weight: 600; border-color: var(--white); }
.quiz__input {
  width: 100%; padding: 12px 14px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.12);
  color: var(--white); font-family: var(--font); font-size: 0.9rem;
  margin-bottom: 12px; outline: none; transition: border-color 0.2s;
}
.quiz__input::placeholder { color: rgba(255,255,255,0.5); }
.quiz__input:focus { border-color: var(--white); background: rgba(255,255,255,0.18); }
.quiz__micro { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-align: center; margin-top: 8px; }
.quiz__thanks { text-align: center; padding: 20px 0; }
.quiz__thanks-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--teal); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-weight: 700; }
.quiz__thanks-title { font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.quiz__thanks-text { font-size: 0.875rem; color: rgba(255,255,255,0.75); }

/* === FOOTER === */
.footer { background: var(--white); border-top: 1px solid var(--border); padding: 20px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__logo { font-size: 0.8rem; font-weight: 700; color: var(--teal); letter-spacing: 0.15em; }
.footer__link { font-size: 0.8rem; color: var(--text-muted); transition: color 0.2s; }
.footer__link:hover { color: var(--teal); }
.footer__copy { font-size: 0.75rem; color: var(--text-faint); }

/* === MOBILE === */
@media (max-width: 768px) {
  .section-title { font-size: 1.4rem; }
  .problem__grid { grid-template-columns: 1fr; }
  .how__steps { flex-direction: column; align-items: center; }
  .how__arrow { transform: rotate(90deg); padding: 0; }
  .quiz__inner { grid-template-columns: 1fr; gap: 32px; }
  .quiz__opts { grid-template-columns: 1fr; }
  .hero { padding: 56px 24px 48px; }
  .stat { padding: 0 1rem; }
  .footer__inner { flex-direction: column; text-align: center; }
  .trust__inner { justify-content: center; }
}

/* === SOCIAL PROOF / REVIEWS === */
.reviews { background: var(--white); padding: 64px 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-card__stars { color: var(--teal); font-size: 1rem; letter-spacing: 2px; }
.review-card__text {
  font-size: 0.9rem; color: var(--text-main);
  line-height: 1.6; flex: 1;
  font-style: italic;
}
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-card__name { font-size: 0.875rem; font-weight: 600; color: var(--text-main); }
.review-card__meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* === FAQ === */
.faq { background: var(--bg); padding: 64px 0; }
.faq__list { margin-top: 40px; max-width: 720px; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; gap: 2px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.faq__item + .faq__item { margin-top: 8px; }
.faq__q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px;
  font-size: 0.95rem; font-weight: 600; color: var(--text-main);
  cursor: pointer; list-style: none;
  transition: color 0.2s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  font-size: 1.25rem; font-weight: 400;
  color: var(--teal); flex-shrink: 0; margin-left: 12px;
  transition: transform 0.2s;
}
.faq__item[open] .faq__q { color: var(--teal); }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a {
  padding: 0 20px 18px;
  font-size: 0.875rem; color: var(--text-muted);
  line-height: 1.65;
}

/* === FINAL CTA === */
.final-cta {
  background: var(--teal);
  padding: 72px 0;
  text-align: center;
}
.final-cta__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final-cta__h2 {
  font-size: 2rem; font-weight: 700;
  color: var(--white); line-height: 1.25;
}
.final-cta__sub {
  font-size: 1rem; color: rgba(255,255,255,0.8);
}
.btn--light {
  background: var(--white); color: var(--teal);
}
.btn--light:hover { background: #e8f0ef; color: var(--teal); }
.final-cta__micro {
  font-size: 0.8rem; color: rgba(255,255,255,0.6);
}

/* === MOBILE ADDITIONS === */
@media (max-width: 768px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .final-cta__h2 { font-size: 1.4rem; }
}
