/* ============================================================
   VoxGuard — Landing Page  |  Pure Black × White Edition
   Loaded ONLY on index.php via extra_head.
   Deep obsidian background, luminous white typography,
   noise texture, razor hairlines, floating glass cards.
   Zero blue, zero purple — strictly monochrome luxury.
   ============================================================ */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   1. CSS ROOT PALETTE — Deep Obsidian Dark
   ============================================================ */
body.landing-body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  --bg:            #080808;
  --bg-2:          #0e0e0e;
  --surface:       #111111;
  --surface-2:     #161616;
  --surface-3:     #1c1c1c;
  --border:        rgba(255,255,255,.08);
  --border-soft:   rgba(255,255,255,.05);
  --text:          #f0f0f0;
  --text-2:        #a0a0a0;
  --muted:         #5a5a5a;
  --primary:       #f0f0f0;
  --primary-2:     #c8c8c8;
  --primary-soft:  rgba(240,240,240,.06);
  --accent:        #f0f0f0;
  --accent-soft:   rgba(240,240,240,.06);
  --success:       #4ade80;
  --success-soft:  rgba(74,222,128,.10);
  --danger:        #f87171;
  --danger-soft:   rgba(248,113,113,.10);
  --warning:       #fbbf24;
  --warning-soft:  rgba(251,191,36,.10);
  --shadow:        0 40px 80px -20px rgba(0,0,0,.9);
  --shadow-soft:   0 2px 20px rgba(0,0,0,.5);

  background-color: #080808;
  background-image:
    radial-gradient(ellipse 70% 50% at -10% -5%,  rgba(255,255,255,.035) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 110% 5%,   rgba(255,255,255,.028) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 105% 105%, rgba(255,255,255,.022) 0%, transparent 58%),
    linear-gradient(180deg, #0a0a0a 0%, #070707 60%, #090909 100%);
  background-attachment: fixed;
  color: var(--text);
}

/* Noise texture overlay */
body.landing-body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

/* Grid lines */
body.landing-body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 100%);
}

body.landing-body .public-main { position: relative; z-index: 1; }

body.landing-body ::-webkit-scrollbar-track  { background: #0e0e0e; }
body.landing-body ::-webkit-scrollbar-thumb  { background: #2a2a2a; border: 2px solid #0e0e0e; }
body.landing-body ::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }
body.landing-body ::selection { background: rgba(255,255,255,.18); }
body.landing-body :focus-visible { outline-color: rgba(255,255,255,.6); }

/* ============================================================
   2. NAVIGATION
   ============================================================ */
body.landing-body .public-nav {
  background: rgba(8,8,8,.82);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: saturate(120%) blur(20px);
  -webkit-backdrop-filter: saturate(120%) blur(20px);
}
body.landing-body .public-links a {
  color: rgba(255,255,255,.5);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .2s ease;
}
body.landing-body .public-links a:hover,
body.landing-body .public-links a.is-active { color: #fff; }
body.landing-body .brand          { color: #fff; }
body.landing-body .brand-mark     { background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 8px 20px rgba(0,0,0,.8); }
body.landing-body .brand-mark svg { color: #080808; }
body.landing-body .brand-sub      { color: rgba(255,255,255,.35); }
body.landing-body .public-menu-btn       { display: none; color: rgba(255,255,255,.5); }
body.landing-body .public-menu-btn:hover { background: rgba(255,255,255,.06); color: #fff; }

/* ============================================================
   3. BUTTONS
   ============================================================ */
body.landing-body .btn-primary {
  background: #fff;
  border: 0;
  color: #080808;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 12px 28px -8px rgba(0,0,0,.8);
  transition: background .2s, box-shadow .2s, transform .12s;
}
body.landing-body .btn-primary:hover {
  background: #e8e8e8;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 18px 36px -10px rgba(0,0,0,.9);
  transform: translateY(-1px);
}
body.landing-body .btn-ghost {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, color .2s, transform .12s;
}
body.landing-body .btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  color: #fff;
  transform: translateY(-1px);
}
body.landing-body .public-links .btn-primary { color: #080808; }

/* ============================================================
   4. HERO
   ============================================================ */
body.landing-body .hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}
body.landing-body .hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at 50% 20%, rgba(255,255,255,.045) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body.landing-body .hero > .container { position: relative; z-index: 1; }
body.landing-body .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.55);
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px; margin-bottom: 32px;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
body.landing-body .hero-badge svg { width: 13px; height: 13px; opacity: .7; }
body.landing-body .hero h1 {
  font-weight: 900;
  letter-spacing: -.048em;
  line-height: 1.03;
  font-size: clamp(42px, 7.5vw, 80px);
  margin-bottom: 28px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,.65) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.landing-body .hero h1 .accent {
  position: relative; white-space: nowrap;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
body.landing-body .hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .06em;
  background: linear-gradient(90deg, rgba(255,255,255,.7), rgba(255,255,255,.1));
  border-radius: 2px;
}
body.landing-body .hero p.lead {
  color: rgba(255,255,255,.42);
  font-size: 18px; line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 44px;
  font-weight: 400;
  letter-spacing: -.005em;
}
body.landing-body .hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Stat strip — unified glass pill */
body.landing-body .hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  margin: 0 auto;
  max-width: 700px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 60px -20px rgba(0,0,0,.8);
}
body.landing-body .hero-stat {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 24px 42px;
  flex: 1;
  border-right: 1px solid rgba(255,255,255,.07);
}
body.landing-body .hero-stat:last-child { border-right: 0; }
body.landing-body .hero-stat b { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.03em; }
body.landing-body .hero-stat span { font-size: 11px; color: rgba(255,255,255,.3); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

/* ============================================================
   5. SECTIONS + HEADINGS
   ============================================================ */
body.landing-body .section { padding: 90px 0; }
body.landing-body .section + .section { border-top: 1px solid rgba(255,255,255,.04); }
body.landing-body .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 16px;
}
body.landing-body .eyebrow::before,
body.landing-body .eyebrow::after { content: ""; display: block; width: 22px; height: 1px; background: rgba(255,255,255,.18); }
body.landing-body .section-title { text-align: center; margin-bottom: 56px; }
body.landing-body .section-title h2 {
  font-weight: 800; letter-spacing: -.04em; font-size: clamp(30px, 4.5vw, 50px); line-height: 1.1;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.6) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.landing-body .section-title p {
  color: rgba(255,255,255,.35); max-width: 560px; margin: 16px auto 0;
  font-size: 16px; line-height: 1.7; -webkit-text-fill-color: initial;
}

/* ============================================================
   6. "WHY" EDITORIAL GRID — mosaic tiles
   ============================================================ */
body.landing-body .why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  max-width: 960px; margin: 0 auto;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 24px;
  overflow: hidden;
}
body.landing-body .why-item {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 40px 36px;
  background: #0c0c0c;
  transition: background .25s ease;
}
body.landing-body .why-item:hover { background: #111; }
body.landing-body .why-num {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  color: rgba(255,255,255,.18); flex: none; width: 30px; padding-top: 3px;
}
body.landing-body .why-item h3 { color: #fff; font-size: 17px; margin-bottom: 10px; font-weight: 700; letter-spacing: -.02em; }
body.landing-body .why-item p { color: rgba(255,255,255,.38); font-size: 14px; line-height: 1.7; margin: 0; }

/* ============================================================
   7. FEATURE CARDS — glassmorphism
   ============================================================ */
body.landing-body .feature-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 60px -20px rgba(0,0,0,.7);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden;
}
body.landing-body .feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
}
body.landing-body .feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.038);
  border-color: rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px -20px rgba(0,0,0,.8);
}
body.landing-body .feature-card h3 { color: #fff; font-size: 16px; margin-bottom: 10px; font-weight: 700; letter-spacing: -.02em; }
body.landing-body .feature-card p { color: rgba(255,255,255,.38); font-size: 14px; line-height: 1.65; margin: 0; }
body.landing-body .feature-icon {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  width: 50px; height: 50px; margin-bottom: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .2s;
}
body.landing-body .feature-card:hover .feature-icon { background: rgba(255,255,255,.14); }
body.landing-body .feature-icon svg { width: 22px; height: 22px; }

/* ============================================================
   8. STEPS + LANGUAGE CLOUD
   ============================================================ */
body.landing-body .step {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 50px -20px rgba(0,0,0,.7);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
body.landing-body .step:hover { transform: translateY(-3px); background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
body.landing-body .step::before { background: #fff; color: #080808; box-shadow: 0 6px 14px -6px rgba(0,0,0,.6); }
body.landing-body .step h3 { color: #fff; }
body.landing-body .step p { color: rgba(255,255,255,.38); }

body.landing-body .lang-chip {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
body.landing-body .lang-chip:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.8); transform: translateY(-2px); }
body.landing-body .lang-chip strong { color: #fff; font-weight: 600; }
body.landing-body a { color: #fff; text-decoration: none; }
body.landing-body .section p a { border-bottom: 1px solid rgba(255,255,255,.22); transition: border-color .18s; }
body.landing-body .section p a:hover { border-bottom-color: #fff; }
body.landing-body .lang-chip a { border-bottom: 1px solid rgba(255,255,255,.18); }
body.landing-body .lang-chip a:hover { border-bottom-color: rgba(255,255,255,.6); }

/* ============================================================
   9. ALERTS
   ============================================================ */
body.landing-body .alert { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.6); box-shadow: 0 2px 20px rgba(0,0,0,.4); }
body.landing-body .alert-warning { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.25); color: rgba(251,191,36,.85); }
body.landing-body .alert a { color: #fff; font-weight: 600; }

/* ============================================================
   10. CLOSING CTA BAND — luminous white block
   ============================================================ */
body.landing-body .cta-section { padding: 40px 0 100px; }
body.landing-body .cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background:
    radial-gradient(ellipse 80% 160% at 100% 0%, rgba(255,255,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 100% at 0% 100%, rgba(255,255,255,.04) 0%, transparent 60%),
    #fff;
  border-radius: 28px; padding: 52px 56px; color: #080808;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 50px 100px -30px rgba(0,0,0,.9);
  position: relative; overflow: hidden;
}
body.landing-body .cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .06; mix-blend-mode: multiply; pointer-events: none;
}
body.landing-body .cta-band h2 {
  color: #080808; font-size: 32px; font-weight: 900; letter-spacing: -.04em; margin-bottom: 10px; line-height: 1.1;
  -webkit-text-fill-color: #080808;
}
body.landing-body .cta-band p { color: rgba(8,8,8,.52); margin: 0; max-width: 480px; font-size: 15px; line-height: 1.65; -webkit-text-fill-color: initial; }
body.landing-body .btn-cta {
  background: #080808; color: #fff; border: 0; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.6); white-space: nowrap; flex: none;
  transition: background .2s, box-shadow .2s, transform .12s;
}
body.landing-body .btn-cta:hover { background: #111; box-shadow: 0 18px 36px -8px rgba(0,0,0,.7); transform: translateY(-2px); }

/* ============================================================
   11. FOOTER
   ============================================================ */
body.landing-body .public-footer { background: rgba(255,255,255,.02); border-top: 1px solid rgba(255,255,255,.06); backdrop-filter: blur(10px); }
body.landing-body .public-footer-inner strong { color: #fff; }
body.landing-body .public-footer-inner p      { color: rgba(255,255,255,.3); }
body.landing-body .public-footer-links a      { color: rgba(255,255,255,.35); border-bottom: 0; }
body.landing-body .public-footer-links a:hover { color: rgba(255,255,255,.7); }
body.landing-body .public-footer-base { border-top: 1px solid rgba(255,255,255,.05); color: rgba(255,255,255,.2); }
body.landing-body .public-footer code { color: rgba(255,255,255,.35); }

/* ============================================================
   12. ENTRANCE ANIMATIONS
   ============================================================ */
@keyframes vg-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
body.landing-body .hero > .container > * { animation: vg-rise .8s cubic-bezier(.16, 1, .3, 1) both; }
body.landing-body .hero .hero-badge   { animation-delay: .02s; }
body.landing-body .hero h1            { animation-delay: .10s; }
body.landing-body .hero p.lead        { animation-delay: .18s; }
body.landing-body .hero-actions       { animation-delay: .24s; }
body.landing-body .hero-stats         { animation-delay: .32s; }

/* ============================================================
   13. RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  body.landing-body .hero { padding: 88px 0 64px; }
  body.landing-body .section { padding: 70px 0; }
  body.landing-body .why-grid { grid-template-columns: 1fr; }
  body.landing-body .cta-band { padding: 40px 36px; }
}

@media (max-width: 760px) {
  body.landing-body { background-attachment: scroll; }
  body.landing-body .hero { padding: 72px 0 52px; }
  body.landing-body .hero-stats { border-radius: 16px; }
  body.landing-body .hero-stat { padding: 18px 20px; }
  body.landing-body .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  body.landing-body .btn-cta { width: 100%; justify-content: center; }
  body.landing-body .cta-band h2 { font-size: 26px; }
}

@media (max-width: 720px) {
  body.landing-body .public-menu-btn { display: inline-flex; }
  body.landing-body .public-links    { display: none; }
  body.landing-body .public-links[style] {
    background: rgba(10,10,10,.96) !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 20px 60px -10px rgba(0,0,0,.8) !important;
    padding: 14px 22px 20px !important;
    backdrop-filter: blur(20px) !important;
  }
  body.landing-body .public-links[style] a { padding: 11px 4px; font-size: 15px; color: rgba(255,255,255,.6); }
  body.landing-body .public-links[style] a:hover { color: #fff; }
  body.landing-body .public-links[style] .btn { justify-content: center; margin-top: 8px; }
}

@media (max-width: 540px) {
  body.landing-body .hero { padding: 58px 0 44px; }
  body.landing-body .hero h1 { font-size: clamp(34px, 11vw, 52px); }
  body.landing-body .hero h1 .accent { white-space: normal; }
  body.landing-body .hero p.lead { font-size: 16px; }
  body.landing-body .hero-actions { flex-direction: column; align-items: stretch; }
  body.landing-body .hero-actions .btn { width: 100%; justify-content: center; }
  body.landing-body .hero-stats { flex-direction: column; }
  body.landing-body .hero-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  body.landing-body .hero-stat:last-child { border-bottom: 0; }
  body.landing-body .why-item { padding: 28px 22px; gap: 14px; }
  body.landing-body .feature-card { padding: 24px 20px; }
  body.landing-body .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.landing-body .hero > .container > * { animation: none; }
  body.landing-body .feature-card,
  body.landing-body .step,
  body.landing-body .lang-chip,
  body.landing-body .btn-primary,
  body.landing-body .btn-ghost,
  body.landing-body .btn-cta { transition: none !important; }
}
