/* Ignite AI Reviews — marketing brand system.
   Trustpilot-green social-proof palette + Ignite lightning. Shared by the site and
   the App Store shot templates (appstore/shots/*.html link to /assets/style.css). */

:root {
  /* Navy palette lifted straight from the app's generator panel (#101828 / #0b1220
     / #26334d borders) so the marketing site feels like the product. */
  --navy: #101828;           /* panel background */
  --navy-d: #0b1220;         /* deeper panel / page dark */
  --navy-2: #182135;         /* raised navy surface */
  --navy-line: #26334d;      /* navy hairline */
  --navy-ink: #e6eaf2;       /* text on navy */
  --navy-mut: #93a2ba;       /* muted text on navy */
  --green: #04b67a;          /* app green (buttons) */
  --green-b: #00b67a;        /* Trustpilot star green */
  --green-d: #009466;
  --green-l: #ceefc7;        /* soft light-green (FULL section gradient) */
  --cyan: #22d3ee;           /* progress-bar accent */
  --amber: #fbbf24;          /* app "editor-only" accent */
  --ink: #0b1220;            /* ink on light */
  --ink-2: #35414f;
  --muted: #6b7787;
  --line: #e6ebf1;
  --bg: #ffffff;
  --card: #ffffff;
  --star: #ffcc00;           /* gold review stars (as shipped) */
  --violet: #a855f7;         /* author-photo progress bar */
  --shadow: 0 18px 50px -18px rgba(0, 182, 122, .35);
  --shadow-sm: 0 6px 20px -8px rgba(11, 18, 32, .18);
  --shadow-navy: 0 30px 70px -30px rgba(4, 12, 30, .8);
  --radius: 16px;
  --wrap: 1160px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Sora', var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; }
h3 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--green-d); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-d);
  background: var(--green-l); border: 1px solid rgba(0,182,122,.25);
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- nav ---------- */
nav.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
nav.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.bolt {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--green), #05d68f); color: #fff; font-size: 17px;
  box-shadow: 0 4px 14px -4px rgba(0,182,122,.6);
}
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--green-d); text-decoration: none; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 10px; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.green, .nav-links a.btn.green { background: var(--green); color: #fff; }
.btn.green:hover, .nav-links a.btn.green:hover { background: var(--green-d); color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn.lg { padding: 15px 28px; font-size: 16px; }

/* ---------- hero (navy, matches the app panel) ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(4,182,122,.18), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(34,211,238,.10), transparent 55%),
    linear-gradient(180deg, var(--navy-d), var(--navy) 70%);
  color: var(--navy-ink);
  padding: 84px 0 56px; overflow: hidden; position: relative;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; } }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--green); }
.hero .sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--navy-mut); max-width: 40ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .trust { margin-top: 22px; display: flex; align-items: center; gap: 10px; color: var(--navy-mut); font-size: 14px; }
.hero .eyebrow { background: rgba(4,182,122,.12); color: #7ff0c4; border-color: rgba(4,182,122,.35); }

/* ---------- navy section (dark AI-intelligence blocks) ---------- */
section.navy { background: linear-gradient(180deg, var(--navy), var(--navy-d)); color: var(--navy-ink); }
section.navy h2 { color: #fff; }
section.navy .section-head p { color: var(--navy-mut); }
section.navy .eyebrow { background: rgba(4,182,122,.12); color: #7ff0c4; border-color: rgba(4,182,122,.35); }

/* ---------- sections ---------- */
section { padding: 68px 0; }
/* Two adjacent light sections compound to 136px of near-empty space — halve the seam so it reads
   as one rhythm. Navy bands keep full padding (their colour break carries the rhythm). */
section:not(.navy) + section:not(.navy) { padding-top: 28px; }
section.alt { background: linear-gradient(180deg, #f7fbf9, #ffffff); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 18px; color: var(--ink-2); }

/* ---------- 3-step engine (navy cards) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--navy); border: 1px solid var(--navy-line); border-radius: var(--radius);
  padding: 28px; position: relative; box-shadow: var(--shadow-navy);
}
.step .n { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--green); letter-spacing: .1em; }
.step .ic { font-size: 30px; margin: 6px 0 10px; }
.step h3 { margin-bottom: 6px; color: #fff; }
.step p { color: var(--navy-mut); margin: 0; font-size: 15px; }
.step .bar { height: 6px; border-radius: 999px; background: #1e293b; overflow: hidden; margin-top: 18px; }
.step .bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: 999px; transition: width 1.1s ease; }
.step.lit .bar > i { width: 100%; }

/* ---------- AI-intelligence analysis panel (the buyer-psychology showpiece) ---------- */
.analysis {
  background: var(--navy); border: 1px solid var(--navy-line); border-radius: 18px;
  box-shadow: var(--shadow-navy); overflow: hidden; max-width: 760px; margin: 0 auto;
}
.analysis .bar-top { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--navy-line); font-size: 13px; color: var(--navy-mut); }
.analysis .dot { width: 10px; height: 10px; border-radius: 50%; background: #33415c; }
.analysis .dot.g { background: var(--green); }
.analysis .body { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 720px) { .analysis .body { grid-template-columns: 1fr; } }
.analysis h4 { font-family: var(--display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; }
.analysis h4.pain { color: #7ff0c4; }
.analysis h4.obj { color: var(--amber); }
.psy-item { margin-bottom: 12px; }
.psy-item .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.psy-item .lbl { color: var(--navy-ink); font-size: 14px; font-weight: 600; }
.psy-item .score { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--navy-mut); }
.psy-item .track { height: 6px; border-radius: 999px; background: #1e293b; overflow: hidden; margin-top: 6px; }
.psy-item .track > i { display: block; height: 100%; border-radius: 999px; }
.psy-item.pain .track > i { background: linear-gradient(90deg, var(--green), var(--cyan)); }
.psy-item.obj .track > i { background: linear-gradient(90deg, var(--amber), #f97316); }
.analysis .out {
  border-top: 1px solid var(--navy-line); padding: 18px 22px; background: var(--navy-d);
  font-size: 14px; color: var(--navy-mut);
}
.analysis .out b { color: #7ff0c4; }

/* ---------- Ranking algorithm board ---------- */
.rank-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 18px; align-items: start; }
@media (max-width: 900px) { .rank-grid { grid-template-columns: 1fr; } }
.rank-col { background: var(--navy); border: 1px solid var(--navy-line); border-radius: 16px; padding: 16px 16px 18px; box-shadow: var(--shadow-navy); }
.rank-col.out { background: linear-gradient(180deg, #142033, var(--navy-d)); border-color: rgba(4,182,122,.35); }
.rank-h { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .02em; color: var(--navy-ink); margin-bottom: 14px; display: flex; align-items: baseline; gap: 8px; }
.rank-h.green { color: #7ff0c4; } .rank-h.amber { color: var(--amber); }
.rank-h span { font-family: var(--font); font-weight: 500; font-size: 12px; color: var(--navy-mut); letter-spacing: 0; }
.rank-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(38,51,77,.6); }
.rank-row:last-child { border-bottom: 0; }
.rank-rank { font-family: var(--display); font-weight: 800; font-size: 12px; color: var(--navy-mut); width: 20px; flex: none; text-align: center; }
.rank-lbl { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--navy-ink); }
.rank-chip { font-family: var(--display); font-weight: 800; font-size: 12px; padding: 2px 8px; border-radius: 6px; flex: none; }
.rank-chip.b { color: #7ff0c4; background: rgba(4,182,122,.14); }
.rank-chip.f { color: var(--amber); background: rgba(251,191,36,.14); }
.rank-row .tag { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.rank-row .tag.b { background: var(--green); } .rank-row .tag.f { background: var(--amber); }
.rank-served { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(4,182,122,.4); font-size: 13px; color: #7ff0c4; font-weight: 600; }
.rank-legend { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; margin-top: 22px; color: var(--navy-mut); font-size: 13px; }
.rank-legend i.d { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.rank-legend i.d.green { background: var(--green); } .rank-legend i.d.amber { background: var(--amber); }

/* ---------- CRO stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { text-align: center; padding: 22px 14px; border-radius: 14px; background: var(--navy); border: 1px solid var(--navy-line); box-shadow: var(--shadow-navy); }
.stat .big { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.2vw, 44px); color: #fff; line-height: 1; }
.stat .big .up { color: var(--green); }
.stat .lbl { color: var(--navy-mut); font-size: 13.5px; margin-top: 8px; }

/* before / after CRO comparison */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 820px) { .ba { grid-template-columns: 1fr; } }
.ba .col { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; padding: 22px; box-shadow: var(--shadow-sm); }
.ba .col.after { border: 2px solid var(--green); box-shadow: var(--shadow); }
.ba .cap { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.ba .col.before .cap { color: var(--muted); }
.ba .col.after .cap { color: var(--green-d); }
.ba .metric { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 14px; }
.ba .metric b { font-family: var(--display); font-size: 40px; font-weight: 800; }
.ba .col.before .metric b { color: var(--ink-2); }
.ba .col.after .metric b { color: var(--green-d); }
.ba .metric span { color: var(--muted); font-size: 14px; }
.ba ul { list-style: none; padding: 0; margin: 0; }
.ba li { padding: 8px 0 8px 26px; position: relative; font-size: 14.5px; color: var(--ink-2); border-top: 1px solid var(--line); }
.ba .col.before li::before { content: '✕'; position: absolute; left: 0; color: #d0463b; font-weight: 800; }
.ba .col.after li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.disclaimer { text-align: center; color: var(--muted); font-size: 13px; max-width: 640px; margin: 20px auto 0; }

/* ---------- feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); }
.feat .ic { font-size: 24px; }
.feat h3 { font-size: 17px; margin: 10px 0 6px; }
.feat p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* ---------- widgets showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 980px) { .showcase { grid-template-columns: 1fr; } }
.demo-frame { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow); }
.demo-cap { font-weight: 700; font-family: var(--display); margin: 0 0 4px; }
.demo-note { font-size: 14px; color: var(--muted); margin: 0 0 14px; }

/* review cards (shared look with the theme widgets) */
.rev-slider { background: linear-gradient(180deg, var(--green-l), #fff 100%); border-radius: 14px; padding: 26px 18px; }
.rev-head { text-align: center; }
.rev-head .rate { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 20px; }
.rev-stars { display: inline-flex; gap: 3px; }
.rev-stars svg { width: 22px; height: 22px; }
.rev-basedon { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.rev-basedon b { text-decoration: underline; }
.rev-cards { display: flex; gap: 14px; margin-top: 18px; overflow: hidden; }
.rev-card { flex: 0 0 46%; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 0 20px 0 rgba(0,182,122,.18); }
.rev-card:nth-child(3) { opacity: .55; }
.rev-card .rev-stars svg { width: 18px; height: 18px; }
.rev-card h4 { font-size: 16px; margin: 10px 0 6px; font-family: var(--display); }
.rev-card p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 12px; }
.rev-auth { font-size: 13px; color: var(--muted); }
.rev-auth b { color: var(--ink); }

/* SHORT compact card */
.short-card { border: 2px solid var(--green); border-radius: 12px; padding: 14px 16px; display: flex; gap: 14px; align-items: flex-start; background: #fff; }
.short-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.short-q { font-size: 15px; color: var(--ink); margin: 0; }
.short-check { display: inline-flex; width: .8em; height: .8em; border-radius: 50%; background: var(--green); vertical-align: middle; align-items: center; justify-content: center; margin-left: 4px; }
.short-check svg { width: 62%; height: 62%; }
.short-meta { margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.short-meta b { font-size: 13px; color: #8a8a8a; }
.short-stars { display: inline-flex; color: var(--star); }
.short-stars svg { width: 15px; height: 15px; }
.short-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.short-dots i { width: 8px; height: 8px; border-radius: 50%; background: #cfd6dd; }
.short-dots i.on { background: var(--green); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.price.feature { border: 2px solid var(--green); box-shadow: var(--shadow); position: relative; }
.price .tag { position: absolute; top: -12px; left: 26px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price h3 { margin-bottom: 2px; }
.price .amt { font-family: var(--display); font-size: 34px; font-weight: 800; }
.price .amt small { font-size: 15px; color: var(--muted); font-weight: 600; }
.price ul { list-style: none; padding: 0; margin: 14px 0 0; }
.price li { padding: 7px 0 7px 26px; position: relative; font-size: 14.5px; color: var(--ink-2); border-top: 1px solid var(--line); }
.price li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.qa { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.qa summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-family: var(--display); display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; color: var(--green); font-size: 22px; line-height: 1; }
.qa[open] summary::after { content: '–'; }
.qa .a { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- footer ---------- */
footer.site { background: var(--ink); color: #c7d0dc; padding: 40px 0; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer.site a { color: #c7d0dc; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }

/* ---------- doc pages (legal) ---------- */
main.doc { padding: 56px 0 72px; }
main.doc h1 { font-size: clamp(30px, 5vw, 44px); }
main.doc h2 { font-size: 22px; margin-top: 34px; }
main.doc code { background: #f1f5f3; padding: 2px 6px; border-radius: 5px; font-size: 13px; }
main.doc .wrap { max-width: 780px; }
