/* ============================================
   OPTIMISE PRIVACY — v3
   ============================================ */

:root {
  --bg-primary: #060606;
  --bg-secondary: #090909;
  --bg-card: #0e0e0e;
  --bg-card-hover: #131313;
  --border: #1c1c1c;
  --border-light: #2a2a2a;
  --text-primary: #f0f0f0;
  --text-secondary: #7a7a7a;
  --text-muted: #353535;
  --accent: #ffffff;
  --accent-dim: rgba(255, 255, 255, 0.05);
  --accent-mid: rgba(255, 255, 255, 0.14);
  --accent-glow: rgba(255, 255, 255, 0.08);
  --icon-color: #22d3ee;
  --icon-bg: rgba(34, 211, 238, 0.08);
  --icon-border: rgba(34, 211, 238, 0.16);
  --wa-green: #128C7E;
  --max-w: 1200px;
  --pill: 100px;
  --radius: 14px;
  --t: 240ms ease;
  --nav-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }

/* ── Grain Overlay ── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grain-shift 9s steps(1) infinite;
}
@keyframes grain-shift {
  0%   { background-position: 0 0; }
  11%  { background-position: -5% -8%; }
  22%  { background-position: -10% 4%; }
  33%  { background-position: 6% -11%; }
  44%  { background-position: -4% 14%; }
  55%  { background-position: -11% 3%; }
  66%  { background-position: 14% -2%; }
  77%  { background-position: 0 9%; }
  88%  { background-position: -13% 0; }
  100% { background-position: 9% 4%; }
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; }
p  { color: var(--text-secondary); line-height: 1.78; }

.label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 20px;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 120px 0; }

/* ─────────────── NAV — Floating Pill ─────────────── */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 980px;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: var(--pill);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.nav.scrolled {
  background: rgba(6, 6, 6, 0.96);
  border-color: var(--border-light);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255,255,255,0.03) inset;
}
.nav-inner {
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  overflow: hidden;
  /* content bounds: natural x=72→930, y=324→630 (858×306px) on 1024×1024 canvas */
  /* rendered at 167px wide → scale=0.1631, content→ 140×50px */
  width: 140px;
  height: 50px;
}
.nav-logo img {
  max-width: none;
  width: 167px;
  height: auto;
  margin-left: -12px;
  margin-top: -53px;
  filter: brightness(0) invert(1);
}
.footer-logo {
  overflow: hidden;
  width: 73px;
  height: 26px;
  display: block;
  margin-bottom: 20px;
}
.footer-logo img {
  max-width: none;
  width: 87px;
  height: auto;
  margin-left: -6px;
  margin-top: -28px;
  filter: brightness(0) invert(1);
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--t);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform var(--t), opacity var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 90px;
  left: 20px; right: 20px;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(28px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
  display: none;
  box-shadow: 0 16px 64px rgba(0,0,0,0.7);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--text-primary); }
.mobile-menu .wa-btn { margin-top: 18px; justify-content: center; }

/* ─────────────── Buttons ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--pill);
  transition: all var(--t);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
/* Primary — white pill */
.btn-gold {
  background: #fff;
  color: #000;
}
.btn-gold:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.15);
}
/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}
/* WhatsApp */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 28px;
  background: #128C7E;
  color: #fff;
  border-radius: var(--pill);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.wa-btn:hover {
  background: #0a7268;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(18, 140, 126, 0.38);
}

/* ─────────────── Cards ─────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(ellipse 90% 50% at 50% -10%, rgba(255,255,255,0.018) 0%, transparent 70%);
  pointer-events: none;
}
.card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.card.featured { border-color: rgba(255,255,255,0.15); }
.card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.badge {
  position: absolute;
  top: 20px; right: 20px;
  background: #fff;
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--pill);
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--pill);
  background: var(--accent-dim);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Icon Box */
.icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--icon-bg);
  border: 1px solid var(--icon-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color);
}

/* Divider */
.divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 22px 0;
}

/* Price */
.price {
  font-family: 'Poppins', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.price sub {
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  color: var(--text-secondary);
  vertical-align: baseline;
}

/* Check List */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 20px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.check-list li svg { min-width: 16px; margin-top: 2px; }

/* Stat */
.stat {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

/* Grid BG */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.013) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* Glow */
.glow {
  background: radial-gradient(ellipse 80% 50% at 50% -5%, rgba(255,255,255,0.03) 0%, transparent 65%);
}

/* Scroll indicator */
.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
  margin: 0 auto;
  animation: pulse-fade 2.5s ease-in-out infinite;
}
@keyframes pulse-fade {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 900ms ease;
}
.fade-in.visible { opacity: 1; }

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.data-table th {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.data-table td {
  padding: 15px 18px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.010); }
.data-table td:first-child { color: var(--text-primary); font-weight: 500; }

/* Doc card */
.doc-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--t), background var(--t), transform var(--t);
  text-decoration: none;
  color: inherit;
}
.doc-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 44px;
  background: var(--bg-primary);
}

/* Sticky WhatsApp */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  width: 56px;
  height: 56px;
  background: #128C7E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 32px rgba(18, 140, 126, 0.5);
  transition: background var(--t), transform var(--t);
}
.wa-float:hover { background: #0a7268; transform: scale(1.1); }

/* Table highlights */
.highlight-col { background: rgba(255,255,255,0.04) !important; color: var(--text-primary) !important; }
.highlight-col-h { background: rgba(255,255,255,0.07) !important; color: var(--text-primary) !important; font-weight: 600; }

/* ─────────────── Ticker ─────────────── */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--bg-secondary);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 0 44px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ticker-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  opacity: 0.8;
}

/* ─────────────── Responsive ─────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .card { padding: 24px; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  .compact-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .compact-grid .card { padding: 18px !important; }
  .compact-grid .icon-box { width: 38px !important; height: 38px !important; min-width: 38px !important; margin-bottom: 12px !important; }
  .compact-grid h4 { font-size: 0.85rem !important; margin-bottom: 6px !important; }
  .compact-grid p { font-size: 0.74rem !important; line-height: 1.55 !important; }
}
@media (max-width: 480px) {
  section { padding: 60px 0; }
  .nav { top: 12px; width: calc(100% - 24px); }
  h1 { font-size: 2rem; }
  .price { font-size: 2.4rem; }
  .mobile-menu { top: 80px; left: 12px; right: 12px; }
}
