/* ─── DESIGN TOKENS ─────────────────────────────────── */
:root {
  --ink:        #08101f;
  --ink2:       #0f1a2e;
  --slate:      #162035;
  --slate2:     #1c2a42;
  --border:     rgba(255,255,255,0.07);
  --border2:    rgba(255,255,255,0.04);
  --blue:       #2563eb;
  --blue-light: #3b82f6;
  --blue-dim:   rgba(37,99,235,0.12);
  --cyan:       #06b6d4;
  --white:      #f1f5f9;
  --muted:      #64748b;
  --muted2:     #94a3b8;
  --green:      #10b981;
  --red:        #ef4444;
  --amber:      #f59e0b;
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  22px;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ─── BASE ───────────────────────────────────────────── */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4, .syne { font-family: 'Syne', sans-serif; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.15; }
h3 { font-size: 1rem; font-weight: 700; }

.gradient-text {
  background: linear-gradient(130deg, var(--blue-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── LAYOUT ─────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 5%; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center;
  padding: 0 5%;
  background: rgba(8,16,31,0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(8,16,31,0.97); }

.nav-inner {
  width: 100%; max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem; font-weight: 700;
}

.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem; color: var(--muted2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500;
  cursor: pointer; border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.35);
}

.btn-ghost {
  background: transparent; color: var(--muted2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.18); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); }

/* ─── BADGES / LABELS ────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 100px;
  background: var(--blue-dim);
  border: 1px solid rgba(37,99,235,0.25);
  font-size: 0.78rem; color: var(--blue-light); font-weight: 500;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-light);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.35} }

.section-label {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--blue-light);
  font-weight: 600; display: block; margin-bottom: 14px;
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% -5%, rgba(37,99,235,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 45% 45% at 90% 55%, rgba(6,182,212,0.07) 0%, transparent 60%);
}

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border2) 1px, transparent 1px),
    linear-gradient(90deg, var(--border2) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, black 20%, transparent 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
  text-align: center;
}

.hero h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: 1.1rem; color: var(--muted2); font-weight: 300;
  line-height: 1.75; max-width: 580px; margin: 0 auto 40px;
}

.hero-actions {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 60px;
}

.hero-stats {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.hero-stat {
  padding: 18px 36px; text-align: center;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.stat-val { font-family:'Syne',sans-serif; font-size:1.7rem; font-weight:800; display:block; }
.stat-lbl { font-size:0.7rem; color:var(--muted); text-transform:uppercase; letter-spacing:0.08em; }

/* ─── DASHBOARD MOCKUP ───────────────────────────────── */
.mockup-wrap {
  max-width: 1080px; margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 48px 120px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.03);
}

.mockup-bar {
  background: var(--slate);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--border);
}
.dot { width:10px; height:10px; border-radius:50%; }
.dot-r { background:#ff5f57; }
.dot-y { background:#ffbd2e; }
.dot-g { background:#28c840; }
.mockup-url {
  flex:1; text-align:center;
  font-size:0.72rem; color:var(--muted); font-family:monospace;
}

.mockup-body { background: var(--ink2); }

.m-nav {
  background: var(--ink);
  border-bottom: 1px solid var(--border);
  padding: 13px 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.m-logo { font-family:'Syne',sans-serif; font-size:0.95rem; font-weight:700; color:var(--blue-light); display:flex; align-items:center; gap:7px; }
.m-tabs { display:flex; gap:4px; }
.m-tab { padding:5px 14px; border-radius:var(--radius-sm); font-size:0.78rem; color:var(--muted2); }
.m-tab.on { background:var(--blue-dim); color:var(--blue-light); font-weight:500; }

.m-crumb {
  padding:9px 22px;
  background:rgba(255,255,255,0.015);
  border-bottom:1px solid var(--border);
  display:flex; gap:16px; font-size:0.73rem; color:var(--muted);
}
.m-crumb strong { color:var(--blue-light); }

.m-body { padding:32px 22px 22px; }
.m-title { font-family:'Syne',sans-serif; font-size:1.1rem; font-weight:700; color:var(--blue-light); text-align:center; margin-bottom:20px; }

.m-card { background:var(--ink); border:1px solid var(--border); border-radius:var(--radius-lg); padding:18px; }
.m-card-head { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.m-card-icon { width:34px; height:34px; border-radius:7px; background:var(--slate); display:flex; align-items:center; justify-content:center; font-size:1rem; }
.m-card-title { font-family:'Syne',sans-serif; font-size:0.88rem; font-weight:700; }
.m-card-sub { font-size:0.7rem; color:var(--muted); }

.m-summary { font-size:0.77rem; color:rgba(255,255,255,0.65); line-height:1.65; margin-bottom:14px; }
.m-summary .r { color:#f87171; }
.m-summary .g { color:var(--green); }
.m-summary .a { color:var(--amber); }

.m-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:14px; }
.m-metric { background:var(--slate); border-radius:8px; padding:10px; text-align:center; }
.m-metric-lbl { font-size:0.6rem; color:var(--muted); text-transform:uppercase; letter-spacing:0.07em; display:block; margin-bottom:3px; }
.m-metric-val { font-family:'Syne',sans-serif; font-size:1.1rem; font-weight:700; display:block; }
.m-metric-sub { font-size:0.62rem; color:var(--muted); }
.m-metric-val.r { color:#f87171; }
.m-metric-val.g { color:var(--green); }
.m-metric-val.b { color:var(--blue-light); }

.m-bubble { display:flex; gap:10px; align-items:flex-start; background:var(--slate); border-radius:8px; padding:10px 13px; margin-bottom:10px; }
.m-avatar { width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--cyan)); display:flex; align-items:center; justify-content:center; font-size:0.65rem; font-weight:700; flex-shrink:0; }
.m-btext { font-size:0.74rem; color:rgba(255,255,255,0.65); line-height:1.5; }

.m-input { display:flex; align-items:center; gap:9px; background:var(--slate); border:1px solid var(--border); border-radius:7px; padding:9px 13px; }
.m-input-txt { flex:1; font-size:0.74rem; color:var(--muted); }
.m-send { width:26px; height:26px; border-radius:5px; background:var(--blue); display:flex; align-items:center; justify-content:center; flex-shrink:0; }

/* ─── PROBLEM ─────────────────────────────────────────── */
.problem-grid { display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--border); border-radius:var(--radius-xl); overflow:hidden; }
.problem-cell { padding:38px 34px; background:rgba(255,255,255,0.015); border-right:1px solid var(--border); border-bottom:1px solid var(--border); }
.problem-cell:nth-child(even) { border-right:none; }
.problem-cell:nth-last-child(-n+2) { border-bottom:none; }
.prob-icon { font-size:1.75rem; margin-bottom:14px; display:block; }
.prob-title { font-family:'Syne',sans-serif; font-size:1rem; font-weight:700; margin-bottom:9px; }
.prob-desc { font-size:0.85rem; color:var(--muted2); line-height:1.65; }

/* ─── HOW IT WORKS ───────────────────────────────────── */
.how-wrap { background:linear-gradient(180deg,transparent,rgba(37,99,235,0.04),transparent); }
.steps { max-width:780px; margin:0 auto; position:relative; }
.steps::before { content:''; position:absolute; left:23px; top:0; bottom:0; width:1px; background:var(--border); }
.step { display:flex; gap:30px; margin-bottom:50px; }
.step:last-child { margin-bottom:0; }
.step-num { width:46px; height:46px; border-radius:50%; background:var(--ink2); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-family:'Syne',sans-serif; font-weight:700; font-size:0.85rem; color:var(--blue-light); flex-shrink:0; z-index:1; position:relative; }
.step-tag { display:inline-block; padding:2px 10px; border-radius:100px; background:var(--blue-dim); border:1px solid rgba(37,99,235,0.2); font-size:0.7rem; color:var(--blue-light); margin-bottom:8px; }
.step-title { font-family:'Syne',sans-serif; font-size:1.05rem; font-weight:700; margin-bottom:8px; }
.step-desc { font-size:0.87rem; color:var(--muted2); line-height:1.7; }

.info-bar { display:flex; align-items:center; gap:12px; background:var(--blue-dim); border:1px solid rgba(37,99,235,0.18); border-radius:var(--radius); padding:15px 20px; margin-top:40px; }
.info-icon { font-size:1.1rem; flex-shrink:0; }
.info-text { font-size:0.83rem; color:var(--muted2); }
.info-text a { color:var(--blue-light); }

/* ─── FEATURES ───────────────────────────────────────── */
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); border-radius:var(--radius-xl); overflow:hidden; border:1px solid var(--border); }
.feat-card { background:var(--ink2); padding:34px 26px; transition:background 0.25s; }
.feat-card:hover { background:rgba(37,99,235,0.06); }
.feat-icon { width:42px; height:42px; border-radius:9px; background:var(--blue-dim); border:1px solid rgba(37,99,235,0.18); display:flex; align-items:center; justify-content:center; font-size:1.15rem; margin-bottom:18px; }
.feat-title { font-family:'Syne',sans-serif; font-size:0.95rem; font-weight:700; margin-bottom:9px; }
.feat-desc { font-size:0.83rem; color:var(--muted2); line-height:1.65; }

/* ─── METRICS BAR ─────────────────────────────────────── */
.metrics-row { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border); border-radius:var(--radius-xl); overflow:hidden; border:1px solid var(--border); margin-top:60px; }
.metric-blk { background:var(--ink2); padding:42px 28px; text-align:center; }
.metric-big { font-family:'Syne',sans-serif; font-size:2.8rem; font-weight:800; background:linear-gradient(135deg,var(--white),var(--muted2)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; line-height:1; margin-bottom:8px; }
.metric-big.accent { background:linear-gradient(130deg,var(--blue-light),var(--cyan)); -webkit-background-clip:text; background-clip:text; }
.metric-lbl { font-size:0.82rem; color:var(--muted2); line-height:1.5; }

/* ─── AUDIENCE ────────────────────────────────────────── */
.audience-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.aud-card { border:1px solid var(--border); border-radius:var(--radius-lg); padding:30px 22px; background:rgba(255,255,255,0.02); transition:border-color 0.25s, transform 0.25s; }
.aud-card:hover { border-color:rgba(37,99,235,0.35); transform:translateY(-5px); }
.aud-icon { font-size:1.8rem; margin-bottom:14px; display:block; }
.aud-title { font-family:'Syne',sans-serif; font-size:0.95rem; font-weight:700; margin-bottom:9px; }
.aud-desc { font-size:0.83rem; color:var(--muted2); line-height:1.65; }

/* ─── QUOTE ──────────────────────────────────────────── */
.quote-wrap { padding:80px 5%; background:rgba(255,255,255,0.01); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.quote-inner { max-width:700px; margin:0 auto; text-align:center; }
.quote-mark { font-size:4rem; color:var(--blue); line-height:1; margin-bottom:14px; font-family:Georgia,serif; }
.quote-text { font-size:1.15rem; line-height:1.75; font-weight:300; margin-bottom:22px; }
.quote-author { font-size:0.82rem; color:var(--muted2); }
.quote-author strong { color:var(--white); font-weight:500; }

/* ─── CTA ────────────────────────────────────────────── */
.cta-wrap { padding:100px 5%; text-align:center; position:relative; overflow:hidden; }
.cta-glow { position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse 60% 80% at 50% 50%,rgba(37,99,235,0.13),transparent 70%); }
.cta-card { max-width:680px; margin:0 auto; background:var(--slate); border:1px solid rgba(37,99,235,0.2); border-radius:var(--radius-xl); padding:60px 44px; position:relative; z-index:1; }
.cta-title { font-family:'Syne',sans-serif; font-size:2rem; font-weight:800; margin-bottom:14px; }
.cta-sub { color:var(--muted2); margin-bottom:34px; font-size:0.97rem; }
.cta-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.cta-note { margin-top:18px; font-size:0.77rem; color:var(--muted); }

/* ─── FOOTER ─────────────────────────────────────────── */
footer { border-top:1px solid var(--border); }
.footer-top { padding:56px 5% 40px; display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:56px; }
.footer-logo { display:flex; align-items:center; gap:9px; font-family:'Syne',sans-serif; font-size:1.1rem; font-weight:700; margin-bottom:14px; }
.footer-tagline { font-size:0.83rem; color:var(--muted2); line-height:1.65; }
.footer-contact { margin-top:18px; font-size:0.8rem; color:var(--muted2); }
.footer-contact a { color:var(--blue-light); }
.footer-col-title { font-family:'Syne',sans-serif; font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--white); margin-bottom:14px; }
.footer-links { list-style:none; }
.footer-links li { margin-bottom:9px; }
.footer-links a, .footer-links button { font-size:0.83rem; color:var(--muted2); background:none; border:none; cursor:pointer; font-family:'DM Sans',sans-serif; padding:0; transition:color 0.2s; }
.footer-links a:hover, .footer-links button:hover { color:var(--white); }
.footer-bottom { padding:24px 5%; border-top:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.footer-copy { font-size:0.78rem; color:var(--muted); }
.footer-legal { display:flex; gap:22px; }
.footer-legal a { font-size:0.78rem; color:var(--muted); transition:color 0.2s; }
.footer-legal a:hover { color:var(--white); }

/* ─── LEGAL PAGES ────────────────────────────────────── */
.legal-hero { padding:130px 5% 60px; }
.legal-inner { max-width:820px; margin:0 auto; }
.legal-badge { display:inline-block; padding:4px 12px; border-radius:100px; background:var(--blue-dim); border:1px solid rgba(37,99,235,0.2); font-size:0.74rem; color:var(--blue-light); margin-bottom:18px; }
.legal-title { font-family:'Syne',sans-serif; font-size:clamp(2rem,4vw,2.8rem); font-weight:800; margin-bottom:10px; }
.legal-date { font-size:0.83rem; color:var(--muted2); margin-bottom:48px; }

.legal-body h3 { font-family:'Syne',sans-serif; font-size:1.05rem; font-weight:700; margin:40px 0 11px; padding-top:24px; border-top:1px solid var(--border); color:var(--white); }
.legal-body h3:first-child { border-top:none; padding-top:0; margin-top:0; }
.legal-body p { font-size:0.88rem; color:var(--muted2); line-height:1.8; margin-bottom:12px; }
.legal-body ul { padding-left:18px; margin-bottom:12px; }
.legal-body ul li { font-size:0.88rem; color:var(--muted2); line-height:1.8; margin-bottom:5px; }
.legal-body a { color:var(--blue-light); }
.legal-body strong { color:var(--white); }

.back-link { display:inline-flex; align-items:center; gap:7px; color:var(--blue-light); font-size:0.83rem; margin-bottom:36px; transition:gap 0.2s; }
.back-link:hover { gap:11px; }

/* ─── ANIMATIONS ─────────────────────────────────────── */
.reveal { opacity:0; transform:translateY(22px); transition:opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity:1; transform:none; }

@keyframes fadeDown {
  from { opacity:0; transform:translateY(-10px); }
  to { opacity:1; transform:none; }
}
.anim-1 { animation:fadeDown 0.5s 0.05s ease both; }
.anim-2 { animation:fadeDown 0.5s 0.15s ease both; }
.anim-3 { animation:fadeDown 0.5s 0.25s ease both; }
.anim-4 { animation:fadeDown 0.5s 0.35s ease both; }
.anim-5 { animation:fadeDown 0.5s 0.45s ease both; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns:1fr 1fr; gap:36px; }
  .features-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav-links { display:none; }
  .hero-stats { flex-direction:column; border-radius:var(--radius-lg); }
  .hero-stat { border-right:none; border-bottom:1px solid var(--border); }
  .hero-stat:last-child { border-bottom:none; }
  .problem-grid { grid-template-columns:1fr; }
  .problem-cell { border-right:none !important; border-bottom:1px solid var(--border) !important; }
  .problem-cell:last-child { border-bottom:none !important; }
  .features-grid { grid-template-columns:1fr; }
  .metrics-row { grid-template-columns:repeat(2,1fr); }
  .audience-grid { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { flex-direction:column; gap:14px; text-align:center; }
  .m-metrics { grid-template-columns:repeat(2,1fr); }
  .cta-card { padding:36px 22px; }
  .hero { padding:90px 5% 50px; }
}

@media (max-width: 480px) {
  .btn-lg { padding:12px 24px; font-size:0.9rem; }
  .metrics-row { grid-template-columns:1fr; }
}
