/* ============================================
   DAZZ — Landing page  (v2 · light)
   ============================================ */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,246,251,0.8); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.nav.scrolled { border-color: var(--line); background: rgba(255,255,255,0.85); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 40px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.04em; display: inline-flex; align-items: center; gap: 9px; }
.logo__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-size: 16px; box-shadow: var(--shadow-brand); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 9px 14px; border-radius: var(--r-pill); font-size: var(--fs-body); font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
.nav__links a:hover { background: var(--brand-soft); color: var(--brand-700); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__login { font-weight: 600; color: var(--ink); padding: 9px 8px; }

/* ── Hero ── */
.hero { padding: 64px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); margin-bottom: 24px;
}
.hero__eyebrow .av { display: flex; }
.hero__eyebrow .av img { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; object-fit: cover; }
.hero__eyebrow .av img:first-child { margin-left: 0; }
.hero h1 { font-family: var(--font-display); font-size: var(--fs-hero); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.hero p.sub { font-size: var(--fs-body-lg); color: var(--ink-2); line-height: 1.6; max-width: 480px; margin: 22px 0 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 36px; margin-top: 44px; }
.hero__stat .n { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.hero__stat .l { font-size: var(--fs-sm); color: var(--ink-3); }

/* hero visual — image collage */
.hero__visual { position: relative; }
.hero__main {
  border-radius: var(--r-2xl); overflow: hidden; aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg); background: var(--grad-hero);
}
.hero__main img { width: 100%; height: 100%; object-fit: cover; }
.hero__float {
  position: absolute; background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; align-items: center; gap: 12px;
}
.hero__float--tl { top: 26px; left: -28px; }
.hero__float--br { bottom: 30px; right: -24px; flex-direction: column; align-items: flex-start; gap: 8px; }
.hero__float .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.hero__float .t { font-weight: 700; font-size: var(--fs-body); }
.hero__float .s { font-size: var(--fs-caption); color: var(--ink-3); }
.hero__float .ring { display: flex; gap: 10px; align-items: center; }

/* ── Logos / trust strip ── */
.trust { padding: 8px 0 48px; }
.trust__label { text-align: center; font-size: var(--fs-sm); color: var(--ink-3); margin-bottom: 18px; }
.trust__row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; opacity: .55; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink-2); }

/* ── Section shell ── */
.section { padding: 56px 0; }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section__head h2 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; }
.section__head p { color: var(--ink-2); font-size: var(--fs-body-lg); margin-top: 12px; }

/* ── Value props ── */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 28px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 18px; }
.value__ic svg { width: 26px; height: 26px; color: var(--brand); }
.value h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; margin-bottom: 8px; }
.value p { color: var(--ink-2); font-size: var(--fs-body); line-height: 1.6; }

/* ── Classes preview grid ── */
.classes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ── Styles strip ── */
.styles-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.step { text-align: center; }
.step__n { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; box-shadow: var(--shadow-brand); }
.step h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: var(--fs-body); line-height: 1.6; }

/* ── Testimonial band ── */
.quote-band { background: var(--bg-ink); border-radius: var(--r-2xl); padding: 64px 56px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.quote-band::before { content: ''; position: absolute; top: -80px; right: -60px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(139,92,246,0.45), transparent 70%); }
.quote-band__q { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; position: relative; }
.quote-band__by { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.quote-band__by img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.2); }
.quote-band__by .nm { font-weight: 700; }
.quote-band__by .rl { font-size: var(--fs-sm); color: var(--on-dark-2); }
.quote-stats { display: grid; gap: 20px; position: relative; }
.quote-stat { background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 18px 20px; }
.quote-stat .n { font-family: var(--font-display); font-size: 28px; font-weight: 800; }
.quote-stat .l { font-size: var(--fs-sm); color: var(--on-dark-2); }

/* ── Pricing / final CTA ── */
.cta-final { text-align: center; background: var(--grad-hero); border-radius: var(--r-2xl); padding: 72px 32px; color: #fff; position: relative; overflow: hidden; }
.cta-final::before, .cta-final::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.12); }
.cta-final::before { width: 260px; height: 260px; top: -120px; left: -60px; }
.cta-final::after { width: 200px; height: 200px; bottom: -100px; right: -40px; }
.cta-final h2 { font-family: var(--font-display); font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.03em; position: relative; }
.cta-final p { font-size: var(--fs-body-lg); color: rgba(255,255,255,0.85); margin: 16px auto 32px; max-width: 480px; position: relative; }
.cta-final__note { font-size: var(--fs-sm); color: rgba(255,255,255,0.7); margin-top: 18px; position: relative; }

/* ── Footer ── */
.footer { padding: 64px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__col h4 { font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--ink-2); font-size: var(--fs-body); padding: 6px 0; transition: color .15s; }
.footer__col a:hover { color: var(--brand); }
.footer__about p { color: var(--ink-2); font-size: var(--fs-body); line-height: 1.6; margin: 14px 0 18px; max-width: 300px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: var(--fs-sm); color: var(--ink-3); }

/* ── Auth modal ── */
.modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(20,18,43,0.5); backdrop-filter: blur(4px); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); padding: 24px; }
.modal-bg.open { opacity: 1; pointer-events: all; }
.modal { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: var(--r-2xl); padding: 36px; box-shadow: var(--shadow-lg); transform: translateY(16px) scale(.98); transition: transform .25s var(--ease); }
.modal-bg.open .modal { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); }
.modal__close:hover { background: var(--bg-soft); }
.modal h3 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 800; text-align: center; }
.modal p.sub { text-align: center; color: var(--ink-2); margin: 8px 0 26px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field input { width: 100%; padding: 13px 16px; border-radius: var(--r-md); border: 1px solid var(--line-strong); font: inherit; background: var(--bg-page); transition: border-color .15s, background .15s; }
.field input:focus { outline: none; border-color: var(--brand); background: #fff; }
.divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--ink-4); font-size: var(--fs-sm); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: #fff; font-weight: 600; margin-bottom: 10px; transition: background .15s; }
.social-btn:hover { background: var(--bg-soft); }
.social-btn svg, .social-btn img { width: 18px; height: 18px; }

/* image fallback tint */
.imgfx { background: var(--grad-card-tint); }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .values, .steps { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .styles-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-band { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
