/* ============================================================
   indieTJ — Independent Trader Journal
   style.css · Design System + All Page Styles
   https://indietj.com
   ============================================================ */

/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  /* Backgrounds */
  --bg-root:       #04060f;
  --bg-base:       #070b16;
  --bg-surface:    #0b1020;
  --bg-card:       #0e1428;
  --bg-card-hover: #121930;
  --bg-elevated:   #141c32;
  --bg-input:      #0b1020;

  /* Brand */
  --brand-blue:       #3b9eff;
  --brand-blue-light: #72bcff;
  --brand-blue-dim:   rgba(59,158,255,0.12);
  --brand-blue-glow:  rgba(59,158,255,0.08);
  --brand-violet:     #9d7bff;
  --brand-violet-dim: rgba(157,123,255,0.1);
  --brand-orange:     #ff8c42;
  --brand-orange-dim: rgba(255,140,66,0.1);

  /* Semantic colors */
  --color-green:      #2dd4a0;
  --color-green-dim:  rgba(45,212,160,0.1);
  --color-red:        #ff6b6b;
  --color-red-dim:    rgba(255,107,107,0.1);
  --color-gold:       #f5c542;
  --color-gold-dim:   rgba(245,197,66,0.1);

  /* Text */
  --text-primary:   #dde4f0;
  --text-secondary: #7e8ea8;
  --text-muted:     #3e4f6b;
  --text-dim:       #2a374f;

  /* Borders */
  --border:         rgba(255,255,255,0.055);
  --border-subtle:  rgba(255,255,255,0.03);
  --border-accent:  rgba(59,158,255,0.2);
  --border-hover:   rgba(59,158,255,0.25);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* Spacing */
  --section-pad: 100px;
  --container:   1120px;

  /* Radii */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Transitions */
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-fast:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-root);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── NOISE TEXTURE ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ─── GRID OVERLAY ─── */
.grid-lines {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,158,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,158,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.mono { font-family: var(--font-mono); }

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
}

/* ─── LAYOUT UTILITIES ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  position: relative;
  z-index: 1;
}

.section-pad {
  padding: var(--section-pad) 0;
}

/* ─── EYEBROW ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--brand-blue);
  flex-shrink: 0;
}

.eyebrow-center { justify-content: center; }
.eyebrow-center::before { display: none; }

/* ─── SECTION TITLES ─── */
.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-title .accent-blue {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title .accent-orange { color: var(--brand-orange); }

.section-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.22s var(--ease-fast);
  white-space: nowrap;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-blue);
  color: #04060f;
}

.btn-primary:hover {
  background: var(--brand-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,158,255,0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: rgba(255,255,255,0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-ghost:hover { color: var(--text-primary); }

.btn-sm {
  padding: 9px 18px;
  font-size: 0.825rem;
}

.btn-icon {
  width: 36px; height: 36px;
  padding: 0;
  justify-content: center;
}

/* Browser extension buttons */
.btn-chrome {
  background: #1a73e8;
  color: #fff;
}

.btn-chrome:hover {
  background: #1765cc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26,115,232,0.3);
}

.btn-firefox {
  background: #ff7139;
  color: #fff;
}

.btn-firefox:hover {
  background: #e6612c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,113,57,0.3);
}

/* ─── LOGO ─── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  line-height: 1;
}

.logo-indie {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-violet) 100%);
  border-radius: 7px;
  margin-left: 5px;
  position: relative;
  box-shadow: 0 2px 10px rgba(59,158,255,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.logo-badge::before {
  content: 'TJ';
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  color: #fff;
  letter-spacing: -0.04em;
}

.logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
  white-space: nowrap;
}

/* Large logo variant */
.logo-lg .logo-indie { font-size: 1.6rem; }
.logo-lg .logo-badge { width: 40px; height: 34px; border-radius: 9px; margin-left: 6px; }
.logo-lg .logo-badge::before { font-size: 0.9rem; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 62px;
  display: flex;
  align-items: center;
  background: rgba(4, 6, 15, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

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

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 0 80px;
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-ambient-1 {
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(59,158,255,0.07) 0%, transparent 65%);
}

.hero-ambient-2 {
  top: 25%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(157,123,255,0.055) 0%, transparent 65%);
}

.hero-ambient-3 {
  top: 40%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,140,66,0.04) 0%, transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: var(--brand-blue-dim);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--brand-blue);
  border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-headline-accent {
  display: block;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-violet) 60%, var(--brand-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-ext-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.ext-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.pill.p-green  { color: var(--color-green); background: var(--color-green-dim); border-color: rgba(45,212,160,0.18); }
.pill.p-blue   { color: var(--brand-blue); background: var(--brand-blue-dim); border-color: rgba(59,158,255,0.18); }
.pill.p-violet { color: var(--brand-violet); background: var(--brand-violet-dim); border-color: rgba(157,123,255,0.18); }
.pill.p-orange { color: var(--brand-orange); background: var(--brand-orange-dim); border-color: rgba(255,140,66,0.18); }
.pill.p-gold   { color: var(--color-gold); background: var(--color-gold-dim); border-color: rgba(245,197,66,0.18); }

/* ─── DASHBOARD MOCKUP ─── */
.dashboard-wrap {
  position: relative;
  margin-top: 60px;
}

.dashboard-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 100px rgba(0,0,0,0.7),
    0 0 80px var(--brand-blue-glow);
}

/* Titlebar dots */
.frame-titlebar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.frame-dots {
  display: flex;
  gap: 6px;
}

.frame-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.frame-dots span:nth-child(1) { background: #ff5f57; }
.frame-dots span:nth-child(2) { background: #febc2e; }
.frame-dots span:nth-child(3) { background: #28c840; }

.frame-url {
  flex: 1;
  height: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  max-width: 280px;
  margin: 0 auto;
}

.frame-url-lock {
  font-size: 0.65rem;
  color: var(--color-green);
}

.frame-url-text {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

/* App header inside frame */
.app-header {
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-header-logo {
  display: flex;
  align-items: center;
}

.app-header-logo .logo-indie { font-size: 0.95rem; }
.app-header-logo .logo-badge { width: 24px; height: 21px; border-radius: 5px; margin-left: 4px; }
.app-header-logo .logo-badge::before { font-size: 0.58rem; }

.app-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-mini-btn {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.app-mini-btn.active {
  color: var(--color-green);
  border-color: rgba(45,212,160,0.3);
  background: var(--color-green-dim);
}

.app-saved {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-dim);
}

/* Dashboard metrics */
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--border);
}

.dash-metric {
  padding: 14px 18px;
  border-right: 1px solid var(--border);
}

.dash-metric:last-child { border-right: none; }

.dash-metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.dash-metric-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}

.val-green  { color: var(--color-green); }
.val-red    { color: var(--color-red); }
.val-gold   { color: var(--color-gold); }
.val-violet { color: var(--brand-violet); }
.val-blue   { color: var(--brand-blue); }

/* Positions table */
.dash-table-head {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 24px 56px 1fr 84px 84px 76px 84px 84px;
  gap: 6px;
  padding: 7px 20px;
}

.dash-th {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dash-row {
  display: grid;
  grid-template-columns: 24px 56px 1fr 84px 84px 76px 84px 84px;
  gap: 6px;
  padding: 9px 20px;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s;
}

.dash-row:hover { background: rgba(255,255,255,0.018); }
.dash-row:last-child { border-bottom: none; }

.row-toggle {
  width: 16px; height: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 7px;
  color: var(--text-muted);
}

.row-qty {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-primary);
}

.stock-cell { line-height: 1.25; }
.stock-ticker { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; color: var(--text-primary); }
.stock-name   { font-size: 0.64rem; color: var(--text-muted); }

.stock-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  padding: 1px 5px;
  border-radius: 3px;
  margin-top: 2px;
}

.stock-badge.active {
  background: var(--color-green-dim);
  color: var(--color-green);
  border: 1px solid rgba(45,212,160,0.2);
}

.stock-badge.closed {
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.row-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.row-num.green  { color: var(--color-green); }
.row-num.red    { color: var(--color-red); }
.row-num.gold   { color: var(--color-gold); }
.row-num.violet { color: var(--brand-violet); }

.price-arrow-up   { color: var(--color-green); font-size: 0.6rem; }
.price-arrow-down { color: var(--color-red); font-size: 0.6rem; }

/* ─── TICKER STRIP ─── */
.ticker-strip {
  overflow: hidden;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
}

.ticker-track {
  display: flex;
  animation: ticker-scroll 35s linear infinite;
  will-change: transform;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  flex-shrink: 0;
  white-space: nowrap;
}

.t-sym { color: var(--text-secondary); font-weight: 600; }
.t-up  { color: var(--color-green); }
.t-dn  { color: var(--color-red); }
.t-sep { color: var(--text-dim); letter-spacing: 0.1em; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── TRUST BAR ─── */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-base);
}

.trust-inner {
  display: flex;
  align-items: stretch;
}

.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 20px 16px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--bg-surface); }

.trust-icon { font-size: 1rem; opacity: 0.75; }

.trust-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ─── VIDEO / DEMO SECTION ─── */
.demo-section { padding: var(--section-pad) 0; }

.video-container {
  position: relative;
  margin-top: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px var(--brand-blue-glow);
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

/* Replace bg with real screenshot/poster: background-image: url(images/demo-poster.jpg) */
.video-poster {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  /* ↑ REPLACE with: background-image: url('images/demo-poster.jpg'); background-size: cover; */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Simulated UI inside poster */
.video-ui-mock {
  position: absolute;
  inset: 16px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  opacity: 0.55;
}

.video-ui-mock-bar {
  height: 34px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}

.video-ui-mock-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.video-ui-mock-bar span:nth-child(1) { background: #ff5f57; }
.video-ui-mock-bar span:nth-child(2) { background: #febc2e; }
.video-ui-mock-bar span:nth-child(3) { background: #28c840; }

.video-ui-rows {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-ui-row {
  height: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 5px;
}

/* Play button */
.play-btn {
  position: relative;
  z-index: 10;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(59,158,255,0.15);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(59,158,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}

.play-btn:hover {
  background: rgba(59,158,255,0.28);
  box-shadow: 0 0 50px rgba(59,158,255,0.25);
  transform: scale(1.08);
}

.play-triangle {
  width: 0; height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--brand-blue);
  margin-left: 5px;
}

.video-footer {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-footer-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

/* ─── PROBLEM SECTION ─── */
.problem-section { padding: var(--section-pad) 0; }

.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--color-red);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: all 0.2s;
}

.problem-card:hover {
  background: var(--bg-card-hover);
  border-left-color: var(--color-red);
}

.problem-card-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.problem-card-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.problem-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.problem-quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.problem-quote-card::before {
  content: '"';
  position: absolute;
  top: -24px; left: 16px;
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 800;
  color: rgba(255,107,107,0.05);
  line-height: 1;
  pointer-events: none;
}

.problem-quote-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 24px;
  position: relative;
}

.problem-quote-attr {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── CAPITAL RECOVERY SECTION ─── */
.recovery-section { padding: var(--section-pad) 0; }

.recovery-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.recovery-header .section-body { margin: 0 auto; text-align: center; }

.recovery-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.recovery-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-blue), var(--brand-violet), transparent);
}

.recovery-code-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 24px;
}

.recovery-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.recovery-step {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}

.recovery-step-num {
  position: absolute;
  top: 10px; right: 10px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-dim);
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 3px;
}

.recovery-step-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.recovery-step-value {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.recovery-step-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.recovery-step.step-buy   .recovery-step-value { color: var(--brand-blue); }
.recovery-step.step-sell  .recovery-step-value { color: var(--color-green); }
.recovery-step.step-eff   .recovery-step-value { color: var(--color-gold); }

/* Progress bar */
.recovery-progress {
  margin-bottom: 24px;
}

.recovery-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.recovery-progress-labels span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
}

.recovery-progress-labels .highlight { color: var(--color-green); }

.progress-track {
  height: 7px;
  background: var(--bg-elevated);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-green), #6ee7b7);
  border-radius: 4px;
  width: 0;
  transition: width 1.6s var(--ease);
}

.progress-fill.animated { width: 70.08%; }

.recovery-insight {
  background: rgba(245,197,66,0.06);
  border: 1px solid rgba(245,197,66,0.15);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
}

.recovery-insight-icon { font-size: 0.95rem; flex-shrink: 0; margin-top: 2px; }

.recovery-insight-text {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.recovery-insight-text strong {
  font-family: var(--font-mono);
  color: var(--color-gold);
}

/* Concepts */
.concepts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.concept-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.22s var(--ease);
}

.concept-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.concept-card-icon { font-size: 1.3rem; margin-bottom: 10px; }

.concept-card-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.concept-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── FEATURES ─── */
.features-section { padding: var(--section-pad) 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 50px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,158,255,0.4), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59,158,255,0.18);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.35);
}

.feature-card:hover::after { opacity: 1; }

.feature-card.wide { grid-column: span 2; }

.feature-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.feature-icon.ic-blue   { background: var(--brand-blue-dim); border-color: rgba(59,158,255,0.2); }
.feature-icon.ic-green  { background: var(--color-green-dim); border-color: rgba(45,212,160,0.2); }
.feature-icon.ic-gold   { background: var(--color-gold-dim); border-color: rgba(245,197,66,0.2); }
.feature-icon.ic-violet { background: var(--brand-violet-dim); border-color: rgba(157,123,255,0.2); }
.feature-icon.ic-orange { background: var(--brand-orange-dim); border-color: rgba(255,140,66,0.2); }
.feature-icon.ic-red    { background: var(--color-red-dim); border-color: rgba(255,107,107,0.2); }

.feature-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.835rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.ftag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* ─── SCREENSHOTS ─── */
.screenshots-section { padding: var(--section-pad) 0; overflow: hidden; }

.screenshots-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  margin-top: 48px;
}

.screenshot-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.screenshot-frame:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.4), 0 0 30px var(--brand-blue-glow);
}

.ss-bar {
  background: var(--bg-surface);
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ss-bar .dots { display: flex; gap: 5px; }
.ss-bar .dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.ss-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-left: auto;
}

.ss-body {
  padding: 18px;
  /* ↓ Replace inner content with real screenshot:
     <img src="images/screenshot-portfolio.jpg" alt="Portfolio view" style="width:100%;border-radius:8px"> */
}

/* Simulated content placeholders */
.ss-metrics-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.ss-metric {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
}

.ss-metric-l {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ss-metric-v {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.ss-row {
  display: grid;
  grid-template-columns: 40px 1fr 70px 70px 60px;
  gap: 6px;
  align-items: center;
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 5px;
}

.ss-row:hover { background: rgba(255,255,255,0.02); }

.ss-ticker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
}

.ss-bar-line {
  height: 4px;
  border-radius: 2px;
  background: var(--bg-elevated);
}

.ss-val {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-align: right;
}

.ss-badge-active {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--color-green-dim);
  color: var(--color-green);
  border: 1px solid rgba(45,212,160,0.2);
}

/* Small screenshot frames stack */
.screenshots-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ss-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ss-calc-cell {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
}

.ss-calc-l {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ss-calc-v {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
}

.ss-label {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ss-label-name {
  font-size: 0.84rem;
  font-weight: 600;
}

.ss-label-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ─── PRIVACY SECTION ─── */
.privacy-hero {
  padding: var(--section-pad) 0;
}

.privacy-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.privacy-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(45,212,160,0.045) 0%, transparent 60%);
  pointer-events: none;
}

.privacy-glow-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-green), transparent);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.privacy-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
}

.privacy-heading .green { color: var(--color-green); }

.privacy-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

.privacy-checklist {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  background: var(--color-green-dim);
  border: 1px solid rgba(45,212,160,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: var(--color-green);
  margin-top: 1px;
}

/* Privacy vault visual */
.privacy-vault {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.vault-header {
  text-align: center;
  margin-bottom: 24px;
}

.vault-icon { font-size: 2.8rem; margin-bottom: 10px; }

.vault-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.vault-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

.vault-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vault-row {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.vault-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.vault-row-label { flex: 1; color: var(--text-secondary); }

.vault-status {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 3px;
}

.vault-status.on {
  background: var(--color-green-dim);
  color: var(--color-green);
}

.vault-status.off {
  background: var(--bg-elevated);
  color: var(--text-muted);
}

/* ─── TECH / BUILT DIFFERENTLY ─── */
.tech-section { padding: var(--section-pad) 0; }

.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.code-block {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.code-block-bar {
  background: var(--bg-surface);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.code-block-bar .dots { display: flex; gap: 5px; }
.code-block-bar .dots span { width: 8px; height: 8px; border-radius: 50%; }
.code-block-bar .dots span:nth-child(1) { background: #ff5f57; }
.code-block-bar .dots span:nth-child(2) { background: #febc2e; }
.code-block-bar .dots span:nth-child(3) { background: #28c840; }

.code-filename {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.code-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.77rem;
  line-height: 2;
  color: var(--text-secondary);
}

.ck { color: var(--brand-violet); }       /* keyword */
.cf { color: var(--brand-blue); }         /* function */
.cs { color: var(--color-green); }        /* string */
.cn { color: var(--color-gold); }         /* number */
.cc { color: var(--text-muted); font-style: italic; } /* comment */
.co { color: var(--brand-orange); }       /* operator/const */

.tech-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tech-point {
  display: flex;
  gap: 16px;
}

.tech-point-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.tech-point-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.tech-point-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── AI SECTION ─── */
.ai-section { padding: var(--section-pad) 0; }

.ai-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.ai-app-ui {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.ai-app-header {
  background: var(--bg-surface);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-tabs {
  display: flex;
  gap: 4px;
}

.ai-tab {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 5px 12px;
  border-radius: 5px;
  color: var(--text-muted);
}

.ai-tab.active {
  background: var(--brand-violet-dim);
  color: var(--brand-violet);
  border: 1px solid rgba(157,123,255,0.2);
}

.ai-new-btn {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--brand-blue);
  cursor: pointer;
}

.ai-prompt-list {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-prompt-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: all 0.18s;
  cursor: pointer;
}

.ai-prompt-item:hover {
  background: var(--bg-elevated);
  border-color: rgba(157,123,255,0.2);
}

.ai-prompt-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.ai-prompt-item-title {
  font-size: 0.84rem;
  font-weight: 600;
}

.ai-prompt-item-title.starred::before {
  content: '★ ';
  color: var(--color-gold);
}

.ai-cat-tag {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--brand-violet-dim);
  color: var(--brand-violet);
  border: 1px solid rgba(157,123,255,0.15);
}

.ai-prompt-preview {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── EXTENSION SECTION ─── */
.extension-section { padding: var(--section-pad) 0; }

.extension-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
}

.extension-header .section-body { margin: 0 auto; text-align: center; }
.extension-header .eyebrow { justify-content: center; }
.extension-header .eyebrow::before { display: none; }

.extension-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto 36px;
}

.ext-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  transition: all 0.25s var(--ease);
}

.ext-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 30px var(--brand-blue-glow);
}

.ext-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem;
}

.ext-icon.chrome { background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%); }
.ext-icon.firefox { background: linear-gradient(135deg, #ff7139 0%, #ff9500 100%); }

.ext-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.ext-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.ext-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.ext-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ext-trust-check { color: var(--color-green); }

/* ─── CTA ─── */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(59,158,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.cta-fine-print {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-base);
  padding: 48px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 12px;
  max-width: 240px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-list a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links-list a:hover { color: var(--brand-blue); }

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-privacy-note {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--color-green);
  opacity: 0.7;
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-video-wrap {
  width: 88vw;
  max-width: 880px;
  aspect-ratio: 16/9;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Replace with: <video src="video/demo.mp4" controls> or <iframe src="youtube-embed"> */
.modal-video-placeholder {
  text-align: center;
}

.modal-video-placeholder p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.modal-close-btn {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── LEGAL PAGES ─── */
.legal-hero {
  padding: 110px 0 60px;
  border-bottom: 1px solid var(--border);
}

.legal-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.legal-hero-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.legal-content {
  padding: 60px 0 100px;
}

.legal-body {
  max-width: 720px;
}

.legal-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 40px 0 14px;
  color: var(--text-primary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-body ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4px;
}

.legal-body strong { color: var(--text-primary); }

.legal-highlight {
  background: var(--brand-blue-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
}

.legal-highlight p {
  margin: 0;
  color: var(--brand-blue-light);
  font-size: 0.88rem;
}

.legal-warning {
  background: rgba(255,140,66,0.08);
  border: 1px solid rgba(255,140,66,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
}

.legal-warning p {
  margin: 0;
  color: var(--brand-orange);
  font-size: 0.88rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .dash-metrics { grid-template-columns: repeat(3, 1fr); }
  .dash-metrics .dash-metric:nth-child(4),
  .dash-metrics .dash-metric:nth-child(5) { display: none; }
  .concepts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  :root { --section-pad: 70px; }

  .nav-links { display: none; }

  .problem-layout,
  .tech-layout,
  .ai-layout,
  .privacy-layout { grid-template-columns: 1fr; gap: 32px; }

  .recovery-steps { grid-template-columns: 1fr; }
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .feature-card.wide { grid-column: span 1; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .extension-cards { grid-template-columns: 1fr; max-width: 340px; }

  .trust-inner { flex-wrap: wrap; }
  .trust-item  { flex: 1 1 33.33%; }

  .privacy-inner { padding: 32px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .features-grid  { grid-template-columns: 1fr; }
  .hero-buttons   { flex-direction: column; align-items: flex-start; }
  .hero-ext-row   { flex-direction: column; align-items: flex-start; }
  .cta-buttons    { flex-direction: column; align-items: center; }
  .trust-item     { flex: 1 1 50%; }
  .footer-inner   { grid-template-columns: 1fr; }
  .concepts-grid  { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; align-items: flex-start; }
}
