/* ============================================================
   ReviewSX — reviewsx.app landing page
   Brand: purple gradient #5847F0→#7B3DF2→#9A47FF, amber #FF8A1E
   ============================================================ */

:root {
  /* brand — blue→purple gradient, orange accent (2026-06-28 refresh) */
  --blue: #16A6E9;
  --purple: #7C3AF2;
  --p1: #16A6E9;
  --p2: #4D6FF0;
  --p3: #7C3AF2;
  --amber: #F26430;       /* orange accent */
  --amber-lt: #FF8A4D;
  --grad: linear-gradient(120deg, #16A6E9 0%, #4D6FF0 52%, #7C3AF2 100%);

  /* light theme */
  --bg: #FBFAFF;
  --bg-soft: #F3F1FB;
  --surface: #FFFFFF;
  --ink: #211B3D;
  --muted: #6F6890;
  --line: #E7E3F5;
  --shadow: 0 18px 50px -24px rgba(40, 24, 90, 0.30);
  --shadow-sm: 0 8px 24px -14px rgba(40, 24, 90, 0.28);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --ease: cubic-bezier(.2,.7,.3,1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Montserrat", var(--font);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0A24;
    --bg-soft: #161034;
    --surface: #1A1340;
    --ink: #F4F1FF;
    --muted: #B8B2D6;
    --line: #2C2358;
    --shadow: 0 22px 60px -26px rgba(0, 0, 0, 0.65);
    --shadow-sm: 0 10px 30px -16px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--p2); outline-offset: 2px; border-radius: 6px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- wordmark ---------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark--sm { font-size: 1.15rem; }
.wm-s { color: var(--blue); }
.wm-x { color: var(--purple); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s;
  white-space: nowrap;
}
.btn--lg { padding: 14px 28px; font-size: 1.02rem; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(123, 61, 242, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(123, 61, 242, 0.7); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--p2); color: var(--p2); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__icon { border-radius: 8px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 700;
  color: var(--p2); margin: 0 0 14px;
}
.eyebrow--center { text-align: center; }

.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); margin: 0 0 26px; max-width: 36ch; }
.hero__sub strong { color: var(--ink); }

.ps-strip {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 0; margin: 0 0 30px; font-family: var(--font-display); font-weight: 700;
}
.ps-strip li span {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); font-size: 0.86rem;
}
.ps-strip__sep { color: var(--amber); font-weight: 700; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__cta--center { justify-content: center; }
.hero__note { margin: 16px 0 0; color: var(--muted); font-size: 0.88rem; }

/* hero visual */
.hero__visual { position: relative; }
.proto {
  position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.proto__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #D9D3F4; }
@media (prefers-color-scheme: dark){ .dot { background: #3A3270; } }
.proto__url { margin-left: 12px; font-size: 0.8rem; color: var(--muted); }
.proto__body { position: relative; padding: 26px 24px 34px; min-height: 280px; }
.sk { height: 16px; border-radius: 8px; background: var(--bg-soft); margin-bottom: 14px; }
.sk--lg { width: 70%; height: 26px; }
.sk--md { width: 90%; }
.sk--sm { width: 45%; }
.proto__row { display: flex; gap: 14px; margin: 18px 0; }
.sk-card { flex: 1; height: 84px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); }

.pin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50% 50% 50% 2px; transform: rotate(-2deg);
  background: linear-gradient(160deg, var(--amber-lt), var(--amber));
  color: #fff; font-weight: 800; font-size: 0.85rem; font-family: var(--font-display);
  box-shadow: 0 6px 14px -4px rgba(255, 138, 30, 0.6);
}
.pin--inline { width: 22px; height: 22px; font-size: 0.72rem; }
.proto__body > .pin { position: absolute; }
.pin--1 { top: 70px; left: 64%; }
.pin--2 { bottom: 70px; left: 30%; }

.comment {
  position: absolute; right: 18px; bottom: 22px; z-index: 3;
  width: 220px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; box-shadow: var(--shadow-sm);
}
.comment__head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.82rem; margin-bottom: 6px; }
.comment__text { margin: 0; font-size: 0.85rem; color: var(--muted); }

.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; z-index: 1; }
.glow--1 { width: 280px; height: 280px; background: var(--p2); top: -40px; right: -30px; }
.glow--2 { width: 220px; height: 220px; background: var(--amber); bottom: -50px; left: -40px; opacity: 0.35; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 24px;
}
.section__title--center { text-align: center; margin: 0 auto 48px; max-width: 20ch; }

/* problem / solution */
.problem { background: var(--bg-soft); }
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
.problem__col--solution { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.cross-list, .check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cross-list li, .check-list li { position: relative; padding-left: 34px; color: var(--muted); }
.cross-list li strong, .check-list li strong { color: var(--ink); }
.cross-list li::before, .check-list li::before {
  position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700;
}
.cross-list li::before { content: "\00d7"; background: #FBE3DE; color: #D1421F; }
.check-list li::before { content: "\2713"; background: color-mix(in srgb, var(--p2) 16%, transparent); color: var(--p2); }
@media (prefers-color-scheme: dark){ .cross-list li::before { background: #3A1E1A; color: #FF8A6B; } }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: color-mix(in srgb, var(--p2) 12%, transparent); padding: 1px 6px; border-radius: 6px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 1.05rem; margin-bottom: 16px;
}
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* audiences */
.aud__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.aud-card--enterprise { background: linear-gradient(160deg, color-mix(in srgb, var(--p1) 8%, var(--surface)), var(--surface)); }
.aud-card__title { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin: 0 0 10px; }
.aud-card__lede { color: var(--muted); margin: 0 0 22px; }
.aud-card .check-list { margin-bottom: 28px; }
.aud-card .btn { margin-top: auto; align-self: flex-start; }

/* where it works */
.where__lede { text-align: center; color: var(--muted); max-width: 52ch; margin: -28px auto 40px; }
.surfaces { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.surface {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.surface__name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.badge {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line);
}
.badge--live { background: var(--grad); color: #fff; border-color: transparent; }
.where__foot { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0; }

/* final cta */
.cta__inner { text-align: center; max-width: 760px; }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; }
.cta__sub { color: var(--muted); font-size: 1.1rem; margin: 0 0 30px; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand img { border-radius: 7px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; color: var(--muted); font-weight: 500; }
.footer__links a:hover { color: var(--ink); }
.footer__tagline { color: var(--muted); font-size: 0.86rem; font-weight: 500; }
.footer__copy { width: 100%; margin: 8px 0 0; color: var(--muted); font-size: 0.86rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .hero__sub { max-width: none; }
  .problem__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .aud__grid { grid-template-columns: 1fr; }
  .surfaces { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .surfaces { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
  .ps-strip { gap: 7px; }
  .footer__links { margin-left: 0; }
}
