/* Impro landing — design tokens + styles. Mirrors the Figma file (SFilkov → Impro). */
:root {
  --bg: #0a0a0c; --surface: #141418; --line: rgba(255,255,255,.06);
  --text: #fff; --dim: rgba(255,255,255,.6); --faint: rgba(255,255,255,.4);
  --green: #5CE0A0; --amber: #FFC85A; --violet: #8C99FF;
  --content: 1200px; --pad: 120px;
  --font: -apple-system, "SF Pro Rounded", "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 40px; }

/* nav */
.nav { display: flex; align-items: center; gap: 32px; padding: 24px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); display: inline-block; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; color: rgba(255,255,255,.7); font-size: 15px; }
.nav__links a:hover { color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 24px; font-weight: 600; font-size: 16px; cursor: pointer; border: 0; font-family: inherit; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn--primary { background: #fff; color: #000; } .btn--primary:hover { background: #eee; }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; } .btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--small { padding: 10px 18px; font-size: 14px; }

/* hero */
.hero { padding: 96px 0 48px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 500; color: rgba(255,255,255,.8); }
.eyebrow .dot { width: 6px; height: 6px; }
h1 { font-size: 72px; line-height: 1.05; letter-spacing: -.035em; font-weight: 700; margin: 24px auto; max-width: 1100px; }
.lead { font-size: 20px; color: var(--dim); max-width: 720px; margin: 0 auto 24px; }
.ctas { display: flex; gap: 12px; justify-content: center; }
.fine { font-size: 13px; color: var(--faint); margin-top: 16px; }

/* mockup */
.mock { margin: 24px auto 0; max-width: 1040px; }
.screen { position: relative; height: 330px; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, #292440 0%, #121217 100%); }
.tile { position: absolute; left: 20px; right: 20px; top: 96px; height: 250px; border-radius: 16px; background: rgba(255,255,255,.04); }
.tile span { position: absolute; left: 20px; bottom: 10px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.35); }
.island { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 760px; background: #000; border-radius: 0 0 26px 26px; padding: 36px 24px 16px; box-shadow: 0 12px 32px rgba(0,0,0,.5); text-align: left; }
.island__head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.island__text { font-size: 22px; line-height: 1.4; font-weight: 600; color: rgba(255,255,255,.55); }
.said { color: var(--green); } .cur { color: #fff; background: rgba(255,255,255,.14); border-radius: 6px; padding: 0 4px; } .kw { color: var(--amber); font-weight: 700; }
.bubbles { display: flex; gap: 8px; margin: 14px 0 12px; }
.bubble { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.09); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); }
.bubble.sel { background: #fff; color: #000; }
.bubble .key { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.45); }
.bubble.sel .key { background: rgba(0,0,0,.12); color: rgba(0,0,0,.6); }
.controls { display: flex; gap: 8px; }
.controls span { font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.controls small { color: rgba(255,255,255,.35); font-weight: 400; margin-left: 4px; }
.legend { display: flex; gap: 24px; justify-content: center; margin-top: 20px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.5); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }

/* sections */
.section { padding: 96px 0; }
.section__head { text-align: center; margin-bottom: 40px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--green); text-transform: uppercase; }
h2 { font-size: 44px; line-height: 1.15; letter-spacing: -.03em; font-weight: 700; margin: 12px auto 0; max-width: 1000px; }
.sub { color: var(--dim); font-size: 17px; margin-top: 12px; }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.card h3 { font-size: 20px; margin: 14px 0 8px; font-weight: 600; } .card p { margin: 0; color: var(--dim); font-size: 15px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.ico i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.tile-card { padding: 24px; border-radius: 18px; } .tile-card h3 { font-size: 18px; margin: 0 0 12px; } .tile-card p { font-size: 14px; }

/* pricing */
.plans { display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.plan { width: 420px; border-radius: 24px; padding: 32px; background: var(--surface); border: 1px solid rgba(255,255,255,.08); }
.plan--pro { background: #fff; color: #000; border-color: #fff; }
.plan h3 { font-size: 22px; margin: 0 0 16px; font-weight: 600; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.plan .price b { font-size: 48px; letter-spacing: -.04em; } .plan .price s { color: rgba(0,0,0,.35); font-size: 20px; } .plan .price span { font-size: 15px; opacity: .55; }
.plan p { margin: 0 0 20px; opacity: .65; font-size: 15px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; } .plan li { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-weight: 500; font-size: 15px; }
.plan li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); } .plan--pro li::before { background: #000; }
.plan .btn { width: 100%; }
.plan--pro .btn { background: #000; color: #fff; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--green); color: #000; font-size: 10px; font-weight: 700; letter-spacing: .06em; margin-bottom: 12px; }

.period { display: inline-flex; gap: 4px; margin-top: 20px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); }
.period__btn { border: 0; background: transparent; color: rgba(255,255,255,.6); font: 600 13px/1 var(--font); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.period__btn.is-on { background: #fff; color: #000; }
.plan .price[hidden] { display: none; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid rgba(255,255,255,.08); padding: 24px 0; cursor: pointer; }
.faq__head { display: flex; justify-content: space-between; align-items: center; background: none; border: 0; color: #fff; font: 600 20px/1.3 var(--font); width: 100%; text-align: left; padding: 0; cursor: pointer; }
.faq__head::after { content: "+"; color: var(--faint); font-size: 24px; } .is-open .faq__head::after { content: "–"; }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s; } .is-open .faq__body { grid-template-rows: 1fr; }
.faq__body > div { overflow: hidden; } .faq__body p { margin: 8px 0 0; color: var(--dim); }

/* final cta + footer */
.final { border-radius: 32px; padding: 64px; text-align: center; border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(90deg, rgba(92,140,255,.25), rgba(191,102,255,.2) 50%, rgba(255,179,90,.2)); }
.final h2 { font-size: 40px; } .final .sub { margin-bottom: 20px; }
.footer { display: flex; align-items: center; gap: 24px; padding: 40px 0; font-size: 13px; color: rgba(255,255,255,.45); }
.footer__links { margin-left: auto; display: flex; gap: 24px; }

/* mobile: mail-the-link instead of a useless DMG */
.mail { display: none; margin-top: 16px; }
.mail form { display: flex; gap: 8px; justify-content: center; }
.mail input { flex: 1; max-width: 320px; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.mail label { display: block; font-size: 12px; color: var(--faint); margin-top: 8px; }
.mail .msg { font-size: 13px; color: var(--green); margin-top: 8px; }

@media (max-width: 900px) {
  .wrap { padding: 0 20px; } h1 { font-size: 40px; } h2 { font-size: 30px; } .nav__links { display: none; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; } .plans { flex-direction: column; align-items: stretch; } .plan { width: auto; }
  .screen { height: 420px; } .island { width: calc(100% - 20px); }
  .island__text { font-size: 17px; } .bubbles { flex-direction: column; }
  .js-download { display: none; } .mail { display: block; } .final { padding: 40px 24px; }
}
