/* RoundBoss marketing — shared stylesheet.
   Tokens mirror the app (frontend/src/app/(v2)/v2.css) so marketing, manager
   dashboard and the mobile player UI read as one product. */

:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-deep: #0f6b34;
  --green-soft: #dcf5e6;
  --green-glow: rgba(34, 197, 94, 0.28);
  --ink: #050a07;
  --ink-2: #1a2e23;
  --muted: #5f7a6a;
  --muted-2: #86a091;
  --ground: #e9eee9;
  --ground-2: #f4f7f4;
  --surface: #ffffff;
  --line: #d9e1db;
  --night: #122017;
  --night-2: #0b1510;
  --night-line: rgba(255, 255, 255, 0.08);
  --night-text: #e6efe9;
  --night-muted: #93ab9c;
  --gold: #eab308;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(5, 10, 7, 0.08), 0 2px 6px rgba(5, 10, 7, 0.05);
  --shadow-lg: 0 30px 80px rgba(5, 10, 7, 0.18), 0 8px 20px rgba(5, 10, 7, 0.08);
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-dark); }
.on-dark .eyebrow { color: var(--green); }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.on-dark .lede { color: var(--night-muted); }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.btn-primary { background: var(--green-dark); color: #fff; box-shadow: 0 10px 24px var(--green-glow); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.on-dark .btn-ghost { color: var(--night-text); border-color: var(--night-line); }
.on-dark .btn-ghost:hover { border-color: var(--night-text); }
.btn-lg { padding: 18px 30px; font-size: 1.05rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(233, 238, 233, 0.78); border-bottom: 1px solid rgba(217, 225, 219, 0.7); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav .brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.nav-links a:hover { color: var(--green-dark); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .signin { font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.nav-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-mobile { display: none; flex-direction: column; padding: 8px 24px 20px; gap: 4px; border-top: 1px solid var(--line); background: var(--ground-2); }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .nav-links, .nav-cta .signin { display: none; } .nav-burger { display: inline-flex; } }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%; background: radial-gradient(60% 50% at 70% 20%, rgba(34, 197, 94, 0.16), transparent 70%), radial-gradient(40% 40% at 10% 80%, rgba(34, 197, 94, 0.10), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--green-dark); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }
.chip .material-symbols-outlined { font-size: 16px; color: var(--green-dark); }
.hero .lede { margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 16px; font-size: 0.82rem; color: var(--muted); }
.hero-visual { position: relative; min-height: 540px; }
.device { position: absolute; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface); }
.device img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device.desktop { right: 0; top: 30px; width: 88%; aspect-ratio: 16 / 10; border-radius: 16px; border: 1px solid var(--line); }
.device.phone { left: 0; bottom: 0; width: 38%; aspect-ratio: 390 / 844; border-radius: 34px; border: 6px solid #0b1510; background: #0b1510; }
.device.phone img { border-radius: 26px; }
.hero-badge { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); font-size: 0.82rem; font-weight: 700; }
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(34,197,94,0.25); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,0.25); } 50% { box-shadow: 0 0 0 9px rgba(34,197,94,0.08); } }
.hero-badge.live { right: 6%; top: -6px; }
.hero-badge.plugin { left: 26%; bottom: 28%; }
@media (max-width: 960px) {
  .hero { padding-top: 40px; }
  .device.desktop { width: 84%; right: 0; }
  .device.phone { width: 36%; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 0; aspect-ratio: 1.15; }
  .hero-badge.plugin { display: none; }
}

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 48px 0 0; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; display: grid; gap: 2px; }
.stat b { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.stat span { font-size: 0.78rem; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .stat { padding: 14px; } .stat b { font-size: 1.4rem; } }

/* Sections */
.section { padding: 96px 0; }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin: 0 auto; }
.section.on-dark { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: var(--night-text); }

/* Doors (who it's for) */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.door { position: relative; display: grid; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.door .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); }
.door .icon .material-symbols-outlined { font-size: 26px; }
.door h3 { font-size: 1.3rem; font-weight: 800; }
.door p { color: var(--muted); font-size: 0.95rem; }
.door .price { font-weight: 800; font-size: 1.05rem; }
.door .price small { font-weight: 600; color: var(--muted); font-size: 0.8rem; }
.door .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-dark); }
.door.featured { background: linear-gradient(160deg, #f6fbf7, #ffffff); border-color: var(--green); }
.door .tag { position: absolute; top: 18px; right: 18px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); background: var(--green-soft); padding: 5px 10px; border-radius: 999px; }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }

/* Simulator (night) */
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.flow { display: grid; gap: 0; counter-reset: step; }
.flow li { list-style: none; position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--night-line); }
.flow li:first-child { border-top: 0; }
.flow li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-weight: 800; color: var(--green); font-size: 0.9rem; padding-top: 3px; letter-spacing: 0.05em; }
.flow h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.flow p { color: var(--night-muted); font-size: 0.93rem; }
.sim-visual { position: relative; }
.sim-visual .device { position: relative; border-radius: 16px; border: 1px solid var(--night-line); box-shadow: 0 40px 90px rgba(0,0,0,0.5); }
.sim-visual .device img { width: 100%; }
.sim-visual .device.wizard { max-width: 400px; margin: 0 auto; border-radius: 22px; }
.sim-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.fact { padding: 18px; border: 1px solid var(--night-line); border-radius: var(--radius-sm); background: rgba(255,255,255,0.03); display: grid; gap: 4px; }
.fact b { font-weight: 800; font-size: 1.1rem; }
.fact span { color: var(--night-muted); font-size: 0.85rem; }
.ticker { margin-top: 18px; font-size: 0.8rem; color: var(--night-muted); display: flex; align-items: center; gap: 8px; }
.ticker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@media (max-width: 960px) { .sim-grid { grid-template-columns: 1fr; gap: 36px; } .sim-facts { grid-template-columns: 1fr; } }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature-row:first-of-type { border-top: 0; padding-top: 0; }
.feature-row.flip .feature-media { order: 2; }
.feature-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin: 10px 0 14px; }
.feature-copy p { color: var(--muted); font-size: 1rem; max-width: 52ch; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; font-weight: 500; }
.checks .material-symbols-outlined { color: var(--green-dark); font-size: 20px; font-variation-settings: 'FILL' 1, 'wght' 500; flex: none; margin-top: 2px; }
.feature-media { position: relative; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface); }
.shot img { width: 100%; }
.phones { display: flex; justify-content: center; gap: 18px; align-items: flex-end; }
.phone { width: min(220px, 44%); aspect-ratio: 390 / 844; border-radius: 30px; border: 6px solid #0b1510; background: #0b1510; overflow: hidden; box-shadow: var(--shadow-lg); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 22px; }
.phone.back { transform: translateY(28px) scale(0.94); opacity: 0.95; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; } .feature-row.flip .feature-media { order: 0; } }

/* Feature grid (more) */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.more { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; gap: 8px; }
.more .material-symbols-outlined { color: var(--green-dark); font-size: 26px; }
.more h4 { font-size: 1rem; font-weight: 700; }
.more p { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 900px) { .more-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.plan.featured { border-color: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,0.12), var(--shadow-lg); }
.plan .who { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); }
.plan h3 { font-size: 1.5rem; font-weight: 800; }
.plan .price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .price span { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.plan .sub { color: var(--muted); font-size: 0.88rem; }
.plan .alt { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--ground-2); border: 1px solid var(--line); font-size: 0.85rem; }
.plan .alt .row { display: flex; justify-content: space-between; font-weight: 700; }
.plan .alt small { color: var(--muted); font-weight: 500; }
.plan .checks { margin-top: 4px; flex: 1; }
.plan .checks li { font-size: 0.9rem; }
.plan .btn { justify-content: center; width: 100%; }
.plan .foot { font-size: 0.75rem; color: var(--muted); text-align: center; }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green-dark); color: #fff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.plan-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.plan-note { display: flex; gap: 12px; align-items: flex-start; }
.plan-note .material-symbols-outlined { color: var(--green-dark); font-size: 26px; flex: none; }
.plan-note b { display: block; font-weight: 700; }
.plan-note span { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 1100px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } .plan-notes { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .material-symbols-outlined { color: var(--green-dark); transition: transform .2s ease; flex: none; }
.faq details[open] summary .material-symbols-outlined { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--muted); font-size: 0.95rem; max-width: 70ch; }

/* CTA band */
.cta { position: relative; overflow: hidden; }
.cta .box { position: relative; padding: 64px 40px; border-radius: 28px; background: linear-gradient(135deg, var(--green-deep), var(--green-dark) 55%, var(--green)); color: #fff; text-align: center; display: grid; gap: 18px; justify-items: center; box-shadow: var(--shadow-lg); }
.cta h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; max-width: 18ch; }
.cta p { color: rgba(255,255,255,0.85); max-width: 50ch; }
.cta .btn-primary { background: #fff; color: var(--green-deep); box-shadow: none; }
.cta .btn-primary:hover { background: #f0fdf4; }

/* Footer */
.footer { padding: 48px 0 32px; color: var(--muted); font-size: 0.85rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand img { height: 32px; width: auto; margin-bottom: 12px; }
.footer h5 { margin: 0 0 10px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--green-dark); }
.footer .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; }
@media (max-width: 800px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* GSPro page specifics */
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec .card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; gap: 8px; }
.spec .card .material-symbols-outlined { color: var(--green-dark); font-size: 26px; }
.spec .card h4 { font-size: 1rem; font-weight: 700; }
.spec .card p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 900px) { .spec { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps .step { padding: 22px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); display: grid; gap: 8px; }
.steps .step::before { counter-increment: s; content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; font-weight: 800; }
.steps h4 { font-size: 1rem; font-weight: 700; }
.steps p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) { .plans.two { grid-template-columns: 1fr; } }
