/*
Theme Name: RAIviz
Theme URI: https://raiviz.io
Author: RAIviz
Description: Official RAIviz landing page theme — AI Visibility Radar for agencies, consultants and e-commerce brands.
Version: 1.0.0
License: Private
Text Domain: raiviz
*/

/* ═══════════════════════════════════════════════
   RAIviz — Shared Design System
   ═══════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --white:   #ffffff;
  --off:     #fafafa;
  --black:   #0a0a0a;
  --dark:    #1a1a1a;
  --mid:     #525252;
  --muted:   #8a8a8a;
  --light:   #e5e5e5;
  --lighter: #f0f0f0;
  --border:  #e8e8e8;
  --serif:   'Instrument Serif', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
}

/* ── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--black); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); }
img { max-width: 100%; display: block; }

/* ── ANNOUNCEMENT BAR ───────────────────────── */
.announce {
  background: var(--black); color: var(--white);
  text-align: center; padding: 10px 1rem;
  font-size: 13px; font-weight: 400; letter-spacing: 0.01em;
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; opacity: 0.85; }
.announce a:hover { opacity: 1; }

/* ── NAV ────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 60px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--black);
  animation: blink 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.25} }
.nav-wordmark { font-family: var(--serif); font-size: 20px; letter-spacing: -0.02em; line-height: 1; }
.nav-wordmark .rai { font-weight: 700; color: var(--black); font-style: normal; }
.nav-wordmark .viz { font-weight: 400; color: var(--muted); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: 14px; color: var(--mid); }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-nav-ghost {
  font-size: 14px; color: var(--dark); padding: 7px 16px;
  border: 1px solid var(--light); border-radius: 6px;
  background: transparent; transition: all 0.15s;
}
.btn-nav-ghost:hover { border-color: var(--black); }
.btn-nav-primary {
  font-size: 14px; font-weight: 500; color: var(--white);
  padding: 7px 18px; background: var(--black); border: none;
  border-radius: 6px; transition: background 0.15s; display: inline-block;
}
.btn-nav-primary:hover { background: var(--dark); }

/* ── HAMBURGER (mobile) ─────────────────────── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: all 0.25s;
}
.nav-mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem; z-index: 99;
  flex-direction: column; gap: 1.2rem;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 15px; color: var(--dark); padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu .btn-nav-primary { text-align: center; margin-top: 0.5rem; border: none; }

/* ── BUTTONS ────────────────────────────────── */
.btn-primary {
  display: inline-block; font-size: 15px; font-weight: 500; color: var(--white);
  padding: 13px 28px; background: var(--black); border: none;
  border-radius: 8px; transition: background 0.15s; cursor: pointer;
}
.btn-primary:hover { background: var(--dark); }
.btn-ghost {
  display: inline-block; font-size: 15px; color: var(--dark);
  padding: 13px 28px; background: transparent;
  border: 1px solid var(--light); border-radius: 8px;
  transition: border-color 0.15s; cursor: pointer;
}
.btn-ghost:hover { border-color: var(--black); }
.btn-large {
  font-size: 17px; font-weight: 500; padding: 16px 36px; border-radius: 10px;
}

/* ── LAYOUT HELPERS ─────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
.container-tight { max-width: 740px; margin: 0 auto; padding: 0 2.5rem; }
.section { padding: 6rem 2.5rem; }
.section-border { border-top: 1px solid var(--border); }
.section-off { background: var(--off); }
.text-centre { text-align: center; }
.text-left { text-align: left; }

/* ── TYPOGRAPHY ─────────────────────────────── */
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow.centred { justify-content: center; }
.eyebrow::before, .eyebrow.centred::after {
  content: ''; display: block; width: 20px; height: 1px; background: var(--light); flex-shrink: 0;
}
.section-h2 {
  font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--black); margin-bottom: 1rem;
}
.section-h2 em { font-style: italic; }
.section-sub {
  font-size: 16px; color: var(--mid); line-height: 1.7;
  max-width: 540px; margin-bottom: 2.5rem;
}
.section-sub.centred { margin-left: auto; margin-right: auto; }

/* ── FOOTER ─────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2.5rem 2rem;
  background: var(--white);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo { font-size: 20px; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 8px; }
.footer-tagline { font-size: 13px; color: var(--muted); margin-bottom: 1rem; }
.footer-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted); padding: 4px 10px;
  border: 1px solid var(--border); border-radius: 20px;
}
.footer-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--dark); margin-bottom: 1rem;
}
.footer-col a { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; transition: color 0.15s; }
.footer-col a:hover { color: var(--black); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 12px; color: var(--muted); }

/* ── CARD COMPONENTS ────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--black); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.card-accent { border-left: 3px solid var(--black); }

/* ── PAGE HERO VARIANTS ─────────────────────── */
.page-hero { padding: 5rem 2.5rem 4rem; max-width: 1100px; margin: 0 auto; }
.page-hero-centre {
  padding: 5rem 2.5rem 4rem;
  text-align: center;
  max-width: 740px; margin: 0 auto;
}

/* ── FORM ELEMENTS ──────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--dark); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; font-family: var(--sans); font-size: 14px; color: var(--black);
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--white); outline: none; transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--black); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-textarea { resize: vertical; min-height: 100px; }

/* ── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease both; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.12s; }
.fade-up-3 { animation-delay: 0.18s; }
.fade-up-4 { animation-delay: 0.24s; }
.fade-up-5 { animation-delay: 0.30s; }

/* ══════════════════════════════════════════════
   PAGE: HOME (index)
   ══════════════════════════════════════════════ */
.hero {
  max-width: 1100px; margin: 0 auto;
  padding: 5rem 2.5rem 0;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: start; gap: 4rem;
}
.hero-left { padding-top: 2rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 4px 12px; margin-bottom: 1.8rem;
}
.hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--black); }
.hero-h1 {
  font-family: var(--serif); font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--black); margin-bottom: 1.5rem;
}
.hero-ticker {
  display: inline-block; font-size: clamp(40px, 5.5vw, 64px);
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--black); vertical-align: bottom; letter-spacing: -0.02em;
  position: relative; min-width: 280px;
}
.ticker-word {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.02em; font-size: 1em;
}
.ticker-word.active { opacity: 1; }
.hero-sub { font-size: 17px; color: var(--mid); line-height: 1.7; max-width: 440px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-reality {
  font-family: var(--serif); font-size: 15px; font-style: italic;
  color: var(--muted); border-left: 2px solid var(--border);
  padding-left: 1rem; margin-bottom: 2rem; line-height: 1.6;
}
.built-for { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.built-for-label { font-size: 12px; color: var(--muted); margin-right: 4px; }
.pill {
  font-size: 11px; font-weight: 500; color: var(--dark);
  background: var(--off); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 12px;
}
.hero-visual { position: sticky; top: 80px; display: flex; flex-direction: column; align-items: center; padding-top: 1rem; }
.radar-container {
  width: 100%; max-width: 460px; background: var(--white);
  border: 1px solid var(--border); border-radius: 16px; padding: 20px;
}
.radar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.radar-title { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.radar-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.radar-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: blink 2s infinite; }
canvas#radarCanvas { width: 100%; height: auto; border-radius: 50%; display: block; }
.radar-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: center; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.legend-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.why-strip { background: var(--black); color: var(--white); padding: 4rem 2.5rem; margin-top: 5rem; border-top: 1px solid var(--border); }
.why-strip-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-manifesto {
  font-family: var(--serif); font-size: clamp(18px, 2.2vw, 26px);
  font-style: italic; line-height: 1.5; color: var(--white);
  border-left: 2px solid rgba(255,255,255,0.15); padding-left: 1.5rem;
}
.why-points { display: flex; flex-direction: column; gap: 1.2rem; }
.why-point { display: flex; gap: 1rem; align-items: flex-start; }
.why-point-num { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.3); padding-top: 2px; flex-shrink: 0; width: 20px; }
.why-point-text { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.why-point-text strong { color: var(--white); display: block; margin-bottom: 2px; font-size: 15px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  max-width: 900px; margin: 0 auto;
}
.stat-card {
  padding: 1.8rem 1.6rem; border-right: 1px solid var(--border);
  background: var(--white); transition: background 0.15s;
  display: flex; flex-direction: column; align-items: center;
}
.stat-card:nth-child(4n){ border-right: none; }
.stat-card:hover { background: var(--off); }
.stat-num { font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1; margin-bottom: 6px; color: var(--black); letter-spacing: -0.02em; text-align: center; }
.stat-label { font-size: 11px; font-weight: 600; color: var(--dark); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.stat-desc { font-size: 12px; color: var(--muted); line-height: 1.5; text-align: center; }
.users-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; max-width: 900px; margin: 0 auto;
  align-items: stretch;
}
.user-card {
  background: var(--white); padding: 2.5rem 2rem;
  transition: background 0.15s;
  display: grid; grid-template-rows: auto auto auto auto 1fr;
}
.user-card:hover { background: var(--off); }
.user-num { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.user-icon { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; background: var(--off); }
.user-title { font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--black); margin-bottom: 0.6rem; line-height: 1.25; }
.user-desc { font-size: 14px; color: var(--mid); line-height: 1.7; margin-bottom: 0; }
.user-gain { font-size: 13px; color: var(--mid); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1.2rem; align-self: end; }
.user-gain strong { display: block; font-size: 11px; font-weight: 600; color: var(--black); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.user-link { font-size: 13px; color: var(--black); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; margin-top: 1rem; border-bottom: 1px solid var(--black); padding-bottom: 1px; }
.cta-section { padding: 7rem 2.5rem; text-align: center; border-top: 1px solid var(--border); }
.cta-h2 { font-family: var(--serif); font-size: clamp(32px, 4.5vw, 54px); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; color: var(--black); max-width: 680px; margin: 0 auto 1rem; }
.cta-sub { font-size: 16px; color: var(--mid); margin-bottom: 2.5rem; }
.cta-arrow { font-size: 13px; color: var(--muted); margin-top: 1.2rem; }

/* ── MODAL ───────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(10,10,10,0.55); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1.5em;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: 1em;
  border: 1px solid var(--border);
  padding: 2.5em; width: 100%; max-width: 34em;
  position: relative; animation: fadeUp 0.25s ease both;
  box-sizing: border-box;
}
.modal-close {
  position: absolute; top: 1.2em; right: 1.2em;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 1.25em; line-height: 1;
  padding: 0.25em 0.5em; border-radius: 0.25em; transition: color 0.15s;
}
.modal-close:hover { color: var(--black); }
.modal-eyebrow { font-size: 0.6875em; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6em; }
.modal-title { font-family: var(--serif); font-size: 1.625em; font-weight: 400; line-height: 1.2; letter-spacing: -0.02em; color: var(--black); margin-bottom: 0.4em; }
.modal-title em { font-style: italic; }
.modal-sub { font-size: 0.875em; color: var(--muted); margin-bottom: 1.8em; }
.modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75em; }
.modal-field { display: flex; flex-direction: column; gap: 0.3em; margin-bottom: 0.75em; }
.modal-field label { font-size: 0.75em; font-weight: 500; color: var(--dark); letter-spacing: 0.02em; }
.modal-field input {
  font-family: var(--sans); font-size: 0.875em; color: var(--black);
  padding: 0.65em 0.85em; border: 1px solid var(--border);
  border-radius: 0.45em; outline: none; background: var(--white);
  transition: border-color 0.15s; width: 100%; box-sizing: border-box;
}
.modal-field input:focus { border-color: var(--black); }
.modal-field input::placeholder { color: var(--muted); }
.modal-submit {
  width: 100%; margin-top: 0.5em;
  font-size: 0.9375em; font-weight: 500; color: var(--white);
  padding: 0.8em; background: var(--black); border: none;
  border-radius: 0.5em; cursor: pointer; transition: background 0.15s;
}
.modal-submit:hover { background: var(--dark); }
.modal-note { font-size: 0.6875em; color: var(--muted); text-align: center; margin-top: 0.65em; }
.modal-success { display: none; text-align: center; padding: 1em 0; }
.modal-success-icon { font-size: 2.25em; margin-bottom: 0.8rem; }
.modal-success h3 { font-family: var(--serif); font-size: 1.375em; font-weight: 400; color: var(--black); margin-bottom: 0.4em; }
.modal-success p { font-size: 0.875em; color: var(--muted); }

/* ══════════════════════════════════════════════
   PAGE: WHY RAIVIZ
   ══════════════════════════════════════════════ */
.manifesto-hero {
  background: var(--black); color: var(--white);
  padding: 6rem 2.5rem; text-align: center;
}
.manifesto-hero .eyebrow { color: rgba(255,255,255,0.35); justify-content: center; }
.manifesto-hero .eyebrow::before, .manifesto-hero .eyebrow::after { background: rgba(255,255,255,0.15); }
.manifesto-title {
  font-family: var(--serif); font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 400; line-height: 1.2; letter-spacing: -0.02em;
  color: var(--white); max-width: 800px; margin: 1rem auto 2rem;
}
.manifesto-title em { font-style: italic; color: rgba(255,255,255,0.65); }
.reality-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; max-width: 900px; margin: 0 auto;
}
.reality-card { background: var(--white); padding: 2.5rem; }
.reality-card.dark { background: var(--black); }
.reality-card-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 1.2rem; }
.reality-card.dark .reality-card-label { color: rgba(255,255,255,0.35); }
.reality-card-heading { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--black); margin-bottom: 0.8rem; line-height: 1.3; }
.reality-card.dark .reality-card-heading { color: var(--white); }
.reality-card-body { font-size: 14px; color: var(--mid); line-height: 1.7; }
.reality-card.dark .reality-card-body { color: rgba(255,255,255,0.55); }
.reality-card-items { margin-top: 1rem; display: flex; flex-direction: column; gap: 6px; }
.reality-item { font-size: 13px; color: var(--mid); padding: 8px 12px; background: var(--off); border-radius: 6px; }
.reality-card.dark .reality-item { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); }
.comparison { max-width: 860px; margin: 0 auto; }
.comparison-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--border); }
.comparison-row:first-child { border-radius: 12px 12px 0 0; overflow: hidden; }
.comparison-row:last-child { border-radius: 0 0 12px 12px; overflow: hidden; }
.comp-cell { background: var(--white); padding: 14px 18px; font-size: 13px; color: var(--mid); line-height: 1.5; }
.comp-cell.header { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--off); }
.comp-cell.raiviz { background: #fafaf9; }
.comp-cell.yes { color: #16a34a; font-weight: 500; }
.comp-cell.no { color: #dc2626; }
.manifesto-block { background: var(--black); border-radius: 16px; padding: 4rem; max-width: 860px; margin: 0 auto; }
.manifesto-lines { display: flex; flex-direction: column; gap: 1.5rem; }
.manifesto-line { display: flex; gap: 1.5rem; align-items: flex-start; }
.manifesto-line-num { font-size: 11px; color: rgba(255,255,255,0.2); padding-top: 4px; flex-shrink: 0; }
.manifesto-line-text { font-family: var(--serif); font-size: clamp(16px, 2vw, 22px); line-height: 1.5; color: var(--white); font-style: italic; }
.manifesto-line-text.muted { color: rgba(255,255,255,0.45); }

/* ══════════════════════════════════════════════
   PAGE: DEMO
   ══════════════════════════════════════════════ */
.demo-hero { text-align: center; padding: 5rem 2.5rem 3rem; max-width: 680px; margin: 0 auto; }
.demo-hero h1 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; color: var(--black); margin-bottom: 1rem; }
.demo-hero h1 em { font-style: italic; }
.demo-hero p { font-size: 16px; color: var(--mid); line-height: 1.7; }
.video-section { max-width: 900px; margin: 0 auto; padding: 0 2.5rem 5rem; }
.video-wrapper { position: relative; width: 100%; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 8px 48px rgba(0,0,0,0.18); aspect-ratio: 16 / 9; }
.video-wrapper video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem; text-align: center; padding: 2rem; border-radius: 16px; transition: opacity 0.7s ease; }
.video-overlay.hidden { opacity: 0; pointer-events: none; display: none; }
#playOverlay { background: rgba(0,0,0,0.58); opacity: 1; pointer-events: all; }
.play-title { font-family: var(--serif); font-size: clamp(18px, 2.5vw, 28px); font-weight: 400; font-style: italic; color: var(--white); line-height: 1.35; max-width: 480px; }
.play-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--black); background: var(--white); padding: 13px 28px; border-radius: 8px; border: none; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.play-btn:hover { background: #efefef; transform: translateY(-1px); }
.play-icon { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid var(--black); display: inline-block; }
#ctaOverlay { background: rgba(0,0,0,0.88); opacity: 0; pointer-events: none; display: none; }
.cta-title { font-family: var(--serif); font-size: clamp(20px, 2.8vw, 34px); font-weight: 400; color: var(--white); line-height: 1.3; max-width: 520px; }
.cta-title em { font-style: italic; color: rgba(255,255,255,0.55); }
.cta-btn { display: inline-block; font-size: 15px; font-weight: 600; color: var(--black); background: var(--white); padding: 14px 32px; border-radius: 8px; text-decoration: none; transition: background 0.15s, transform 0.15s; }
.cta-btn:hover { background: #efefef; transform: translateY(-1px); }
.replay-btn { font-size: 12px; color: rgba(255,255,255,0.4); background: none; border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; padding: 6px 18px; cursor: pointer; transition: all 0.15s; }
.replay-btn:hover { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
.pipeline-section { max-width: 900px; margin: 0 auto; padding: 4rem 2.5rem 6rem; border-top: 1px solid var(--border); }
.pipeline-label { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 2.5rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.pipeline-label::before, .pipeline-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.pipeline { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.pipe-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 1.5rem 1.2rem; background: var(--white); border: 1px solid var(--border); border-radius: 12px; flex: 1; min-width: 130px; max-width: 175px; transition: border-color 0.2s, box-shadow 0.2s; }
.pipe-step:hover { border-color: var(--black); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.pipe-icon { width: 44px; height: 44px; background: var(--off); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.pipe-icon svg { width: 20px; height: 20px; }
.pipe-title { font-size: 13px; font-weight: 600; color: var(--black); }
.pipe-desc { font-size: 11px; color: var(--muted); line-height: 1.5; }
.pipe-arrow { font-size: 20px; color: var(--border); padding: 0 6px; flex-shrink: 0; align-self: center; }
.pipeline-cta { text-align: center; margin-top: 2rem; font-size: 14px; color: var(--muted); }
.pipeline-cta a { color: var(--black); font-weight: 500; border-bottom: 1px solid var(--black); padding-bottom: 1px; }

/* ══════════════════════════════════════════════
   PAGE: USE CASES
   ══════════════════════════════════════════════ */
.use-case-block { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; padding: 5rem 2.5rem; border-bottom: 1px solid var(--border); }
.use-case-block.reverse { direction: rtl; }
.use-case-block.reverse > * { direction: ltr; }
.uc-tag { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--border); border-radius: 20px; padding: 4px 12px; margin-bottom: 1rem; }
.uc-h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); font-weight: 400; line-height: 1.2; color: var(--black); margin-bottom: 1rem; letter-spacing: -0.01em; }
.uc-h2 em { font-style: italic; }
.uc-sub { font-size: 15px; color: var(--mid); line-height: 1.7; margin-bottom: 1.5rem; }
.uc-pain { background: var(--off); border-left: 3px solid var(--border); padding: 1rem 1.2rem; border-radius: 0 8px 8px 0; margin-bottom: 1.5rem; }
.uc-pain-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 6px; }
.uc-pain-text { font-size: 13px; color: var(--mid); line-height: 1.6; font-style: italic; }
.uc-prompts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.5rem; }
.uc-prompt { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; font-size: 12px; color: var(--dark); line-height: 1.5; }
.uc-prompt-flag { font-size: 14px; margin-right: 6px; }
.uc-kpis { display: flex; flex-wrap: wrap; gap: 6px; }
.uc-kpi { font-size: 11px; font-weight: 500; color: var(--dark); background: var(--off); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; }
.output-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.output-card-header { background: var(--black); padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.output-card-header-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.4); }
.output-card-header-value { font-size: 12px; color: rgba(255,255,255,0.7); }
.output-card-body { padding: 20px; }
.real-query { font-size: 13px; font-style: italic; color: var(--mid); background: var(--off); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; line-height: 1.5; }
.real-section-label { font-size: 12px; font-weight: 600; color: var(--dark); margin-bottom: 12px; letter-spacing: 0.02em; }
.real-product { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.real-product:last-of-type { border-bottom: none; }
.real-product-rank { width: 22px; height: 22px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.real-product-info { flex: 1; }
.real-product-name { font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 3px; }
.real-product-tag { display: inline-block; font-size: 10px; font-weight: 600; border-radius: 4px; padding: 2px 7px; margin-bottom: 3px; }
.real-product-tag.best    { background: #dcfce7; color: #15803d; }
.real-product-tag.premium { background: #eff6ff; color: #1d4ed8; }
.real-product-tag.budget  { background: #fef9c3; color: #854d0e; }
.real-product-tag.neutral { background: var(--off); color: var(--mid); }
.real-product-detail { font-size: 11px; color: var(--muted); line-height: 1.5; }
.real-table-wrap { margin-top: 14px; overflow-x: auto; }
.real-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.real-table th, .real-table td { padding: 8px 10px; text-align: left; border: 1px solid var(--border); }
.real-table th { background: var(--off); font-weight: 600; color: var(--dark); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.real-table td { color: var(--mid); }
.segments { max-width: 1000px; margin: 0 auto; padding: 0 2.5rem 5rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

/* ══════════════════════════════════════════════
   PAGE: EARLY ACCESS / CONTACT
   ══════════════════════════════════════════════ */
.access-layout { max-width: 1000px; margin: 0 auto; padding: 5rem 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.access-left h1 { font-family: var(--serif); font-size: clamp(32px, 4vw, 50px); font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; color: var(--black); margin-bottom: 1rem; }
.access-left h1 em { font-style: italic; }
.access-left p { font-size: 16px; color: var(--mid); line-height: 1.7; margin-bottom: 2rem; }
.what-to-expect { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.5rem; }
.expect-item { display: flex; gap: 12px; align-items: flex-start; }
.expect-num { width: 26px; height: 26px; border-radius: 50%; background: var(--black); color: var(--white); font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.expect-text { font-size: 14px; color: var(--mid); line-height: 1.6; padding-top: 3px; }
.expect-text strong { color: var(--black); display: block; }
.not-for { background: var(--off); border: 1px solid var(--border); border-radius: 10px; padding: 1.2rem; }
.not-for-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; }
.not-for-text { font-size: 13px; color: var(--mid); line-height: 1.6; }
.access-form { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.access-form h2 { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--black); margin-bottom: 0.4rem; }
.access-form-sub { font-size: 14px; color: var(--muted); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-select option { color: var(--black); }
.submit-btn { width: 100%; padding: 14px; font-size: 15px; font-weight: 500; color: var(--white); background: var(--black); border: none; border-radius: 8px; cursor: pointer; transition: background 0.15s; margin-top: 0.5rem; }
.submit-btn:hover { background: var(--dark); }
.form-guarantee { text-align: center; font-size: 12px; color: var(--muted); margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 6px; }
.form-guarantee::before { content: '🔒'; font-size: 11px; }
.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success-icon { font-size: 48px; margin-bottom: 1rem; }
.form-success h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--black); margin-bottom: 0.5rem; }
.form-success p { font-size: 14px; color: var(--mid); line-height: 1.6; }
.quote-strip { background: var(--off); border-top: 1px solid var(--border); padding: 3rem 2.5rem; text-align: center; }
.quote-strip blockquote { font-family: var(--serif); font-size: clamp(18px, 2.5vw, 26px); font-style: italic; color: var(--black); max-width: 720px; margin: 0 auto 0.8rem; line-height: 1.5; }
.quote-strip cite { font-size: 13px; color: var(--muted); font-style: normal; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media(max-width: 860px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem 0; gap: 2rem; }
  .hero-visual { display: none; }
  .why-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-card:nth-child(2n) { border-right: none; }
  .stat-card:nth-child(4n) { border-right: 1px solid var(--border); }
  .users-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .reality-grid { grid-template-columns: 1fr; }
  .comparison-row { grid-template-columns: 1fr; }
  .use-case-block, .use-case-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .access-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .segments { grid-template-columns: 1fr; }
  .manifesto-block { padding: 2.5rem 1.5rem; }
  .pipeline { flex-direction: column; align-items: center; }
  .pipe-step { max-width: 280px; width: 100%; }
  .pipe-arrow { transform: rotate(90deg); }
  .modal-row { grid-template-columns: 1fr; }
  .section { padding: 4rem 1.5rem; }
  .container, .container-tight { padding: 0 1.5rem; }
}

@media(max-width: 480px) {
  nav { height: 56px; padding: 0 1rem; }
  .nav-mobile-menu { top: 56px; padding: 1.2rem 1rem; }
  .hero { padding: 2rem 1rem 0; }
  .hero-h1 { font-size: clamp(32px, 8vw, 48px); }
  .hero-ticker { min-width: 200px; font-size: clamp(32px, 8vw, 48px); }
  .section { padding: 3rem 1rem; }
  .container, .container-tight { padding: 0 1rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .access-form { padding: 1.5rem; }
  .cta-section { padding: 4rem 1rem; }
  .stat-card { padding: 1.2rem 1rem; }
  .manifesto-block { padding: 2rem 1rem; }
  .btn-large { font-size: 15px; padding: 13px 24px; }
  .demo-hero { padding: 3rem 1rem 2rem; }
  .video-section { padding: 0 1rem 3rem; }
  .pipeline-section { padding: 3rem 1rem 4rem; }
  .use-case-block { padding: 3rem 1rem; }
  .segments { padding: 0 1rem 3rem; }
  .access-layout { padding: 3rem 1rem; }
  .page-hero-centre { padding: 3rem 1rem 2rem; }
}

/* ══════════════════════════════════════════════
   LANGUAGE SWITCHER
   ══════════════════════════════════════════════ */
.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
}
.lang-btn {
  color: var(--muted); text-decoration: none;
  padding: 3px 6px; border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.lang-btn:hover { color: var(--black); }
.lang-btn.active {
  color: var(--black); font-weight: 600;
  background: var(--off); border: 1px solid var(--border);
}
.lang-sep { color: var(--border); font-size: 10px; }

@media(max-width:860px) {
  .nav-right .lang-switcher { display: none; } /* shown in mobile menu instead */
}
