/* =============================================================
   Wevo GL Analytics — Shared Stylesheet
   wevo.css  ·  All rights reserved
   ============================================================= */

/* ── DESIGN TOKENS ── */
:root {
  --bg:        #0A0B0D;
  --bg2:       #0F1115;
  --bg3:       #14171C;
  --bg4:       #191D23;
  --gold:      #C8922A;
  --gold-lt:   #E4B04A;
  --gold-dk:   #8B6218;
  --white:     #F0EDE6;
  --white-dim: #A09C92;
  --rule:      rgba(200,146,42,0.18);
  --green:     #70C090;
  --red:       #E07070;
  --blue:      #6AADCC;
  --purple:    #9A82C0;
  --mono:      'DM Mono', monospace;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Syne', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── NAVIGATION ── */
nav {
  font-size: 16px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  height: 64px;
  background: rgba(10,11,13,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(10,11,13,0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
}
.nav-logo-wevo {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--white);
}
.nav-logo-gl {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-lt); }
.nav-cta {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg) !important;
  background: var(--gold);
  padding: 0.45rem 1.2rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }
.nav-factsheet {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.nav-factsheet:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
  font-weight: 500;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }

.btn-ghost {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white-dim);
  border: 1px solid rgba(160,156,146,0.3);
  padding: 0.85rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ── SECTION UTILITIES ── */
.section-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--gold-lt); }
.section-intro {
  font-size: 1rem;
  color: var(--white-dim);
  max-width: 600px;
  line-height: 1.8;
}
.section-body {
  font-size: 0.92rem;
  color: var(--white-dim);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── DIVIDERS ── */
hr.gold-rule,
hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ── INNER-PAGE HERO ELEMENTS ── */
.page-eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.page-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.page-title em { font-style: italic; color: var(--gold-lt); }
.page-sub {
  font-size: 1rem;
  color: var(--white-dim);
  max-width: 480px;
  line-height: 1.8;
}

/* ── CTA SECTIONS ── */
/* Shared container style — add class="cta-section" to the <section> element */
.cta-section {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border-top: 1px solid var(--rule);
  padding: 3.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(200,146,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}
/* CTA content — shared regardless of container selector */
.cta-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.cta-title em { font-style: italic; color: var(--gold-lt); }
.cta-sub {
  font-size: 0.95rem;
  color: var(--white-dim);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.75;
  position: relative;
}
/* Both naming conventions used across pages */
.cta-actions,
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: relative;
  flex-wrap: wrap;
}

/* ── TERMINAL CHROME (shared between homepage & product page) ── */
.terminal {
  background: var(--bg3);
  border: 1px solid rgba(200,146,42,0.2);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 36px 72px rgba(0,0,0,0.58), 0 0 0 1px rgba(200,146,42,0.04);
}
.terminal-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--rule);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.terminal-title {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--white-dim);
  letter-spacing: 0.1em;
  margin-left: 0.4rem;
}
.terminal-body { padding: 1.4rem 1.5rem; }

/* Traffic-light dots (terminal chrome + deployment diagram) */
.dot  { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--white-dim);
}
.footer-logo span {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-left: 0.4rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-lt); }
.footer-copy {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: rgba(160,156,146,0.4);
  letter-spacing: 0.05em;
}
.footer-factsheet {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.footer-factsheet:hover { border-color: var(--gold); color: var(--gold-lt); }

/* ── SHARED KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.7); }
}
@keyframes livepulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── RESPONSIVE — GLOBAL ── */
@media (max-width: 960px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .cta-section { padding-left: 1.5rem; padding-right: 1.5rem; }
}