/* =========================================================
   TACTIVE — Brand Defense Automation
   Design system v3 — based on tactiveBrand tokens
   Navy + Pink, Inter / Instrument Serif / JetBrains Mono
   ========================================================= */

:root {
  /* ---------- Brand core ---------- */
  --tac-navy-900: #0F1B2D;
  --tac-navy-800: #16243A;
  --tac-navy-700: #1E3050;
  --tac-navy-600: #2A4368;
  --tac-navy-500: #4A6586;

  --tac-pink-500: #E91A4F;
  --tac-pink-400: #FF3D6E;
  --tac-pink-300: #FF6E92;
  --tac-pink-100: #FFE3EC;

  /* ---------- Neutrals ---------- */
  --tac-white:    #FFFFFF;
  --tac-paper:    #FAFBFC;
  --tac-mist:     #F2F4F7;
  --tac-fog:      #E6EAF0;
  --tac-stone:    #C9D0DA;
  --tac-slate:    #6B7B91;
  --tac-graphite: #3A4A60;

  /* ---------- Status ---------- */
  --tac-success: #1FA971;
  --tac-warn:    #E89923;
  --tac-danger:  #E91A4F;

  /* ---------- Semantic foreground/background ---------- */
  --fg-1: var(--tac-navy-900);
  --fg-2: var(--tac-graphite);
  --fg-3: var(--tac-slate);
  --fg-on-dark: #ffffff;
  --fg-accent: var(--tac-pink-500);

  --bg-0: var(--tac-paper);
  --bg-1: var(--tac-white);
  --bg-2: var(--tac-mist);
  --bg-inverse: var(--tac-navy-900);

  --border:        var(--tac-fog);
  --border-strong: var(--tac-stone);
  --border-vivid:  var(--tac-pink-500);

  /* Compatibility aliases (older class names) */
  --text:       var(--fg-1);
  --text-mute:  var(--fg-2);
  --text-dim:   var(--fg-3);
  --surface:        var(--tac-white);
  --surface-strong: var(--tac-mist);
  --surface-tint:   var(--tac-pink-100);
  --violet: var(--tac-pink-500);
  --cyan:   var(--tac-navy-700);
  --cyan-2: var(--tac-navy-900);

  /* ---------- Type ---------- */
  --font-sans:    'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif:   'Instrument Serif', 'Times New Roman', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: var(--font-sans);
  --font-body:    var(--font-sans);

  /* ---------- Radii ---------- */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;
  --radius-sm: var(--r-sm);
  --radius:    var(--r-md);
  --radius-lg: var(--r-xl);

  /* ---------- Shadows ---------- */
  --shadow-1: 0 1px 2px rgba(15,27,45,.04), 0 1px 3px rgba(15,27,45,.06);
  --shadow-2: 0 4px 12px rgba(15,27,45,.06), 0 2px 4px rgba(15,27,45,.04);
  --shadow-3: 0 12px 32px rgba(15,27,45,.08), 0 4px 8px rgba(15,27,45,.05);
  --shadow-4: 0 24px 60px rgba(15,27,45,.12), 0 8px 16px rgba(15,27,45,.06);
  --shadow-pink: 0 8px 24px rgba(233,26,79,.25);
  --shadow-xs: var(--shadow-1);
  --shadow-sm: var(--shadow-2);
  --shadow-md: var(--shadow-3);
  --shadow-lg: var(--shadow-4);
  --shadow-glow: var(--shadow-pink);

  /* ---------- Motion ---------- */
  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);

  --container: 1280px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--fg-1);
  line-height: 1.5;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before, body::after { content: none !important; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease-out); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* =========================================================
   Layout
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

/* Dark navy section block */
.section-dark {
  background: var(--bg-inverse);
  color: var(--fg-on-dark);
  padding: clamp(72px, 9vw, 120px) 0;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--fg-on-dark); }
.section-dark p, .section-dark li { color: var(--tac-stone); }
.section-dark .lead { color: var(--tac-stone); }
.section-dark .eyebrow { color: var(--tac-pink-300); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.section-dark .eyebrow::before { background: var(--tac-pink-500); box-shadow: 0 0 8px rgba(233,26,79,.6); }
.section-dark .text-mute, .section-dark .text-dim { color: var(--tac-stone); }
.section-dark .gradient-text, .section-dark .gradient-violet, .section-dark .gradient-magenta { background: none; -webkit-text-fill-color: var(--fg-on-dark); color: var(--fg-on-dark); }

/* Pink dot — append to headings */
.dot { color: var(--tac-pink-500); }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--tac-pink-500);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-1);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tac-pink-500);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--fg-1);
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; }
h4 { font-size: 18px; line-height: 1.35; font-weight: 600; }

.h-display {
  font-family: var(--font-sans);
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--fg-1);
  text-wrap: balance;
}

.h-1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
.h-2 { font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -0.02em; font-weight: 700; line-height: 1.2; }
.h-3 { font-size: 18px; font-weight: 600; }

p { font-family: var(--font-sans); color: var(--fg-2); line-height: 1.55; text-wrap: pretty; }

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--fg-2);
  max-width: 620px;
  line-height: 1.55;
}

.text-mute { color: var(--fg-2); }
.text-dim  { color: var(--fg-3); }

/* Compatibility — gradient/highlight text now uses pink instead of violet→cyan */
.gradient-text, .gradient-violet, .gradient-magenta {
  color: var(--tac-pink-500);
  -webkit-text-fill-color: var(--tac-pink-500);
  background: none;
}

/* Editorial italic accent (Instrument Serif) */
.serif-italic, em.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform var(--dur-base, 200ms) var(--ease-out),
              box-shadow var(--dur-base, 200ms) var(--ease-out),
              background var(--dur-base, 200ms) var(--ease-out),
              border-color var(--dur-base, 200ms) var(--ease-out),
              color var(--dur-base, 200ms) var(--ease-out);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 14px 24px; font-size: 15px; }

.btn-primary {
  background: var(--tac-pink-500);
  color: #fff;
  box-shadow: var(--shadow-pink);
}
.btn-primary:hover {
  background: var(--tac-pink-400);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(233,26,79,.35);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--fg-1);
}
.btn-ghost:hover {
  background: var(--bg-1);
  border-color: var(--fg-1);
}

.section-dark .btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.section-dark .btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tac-pink-500);
  font-weight: 600;
  font-size: 14px;
  transition: gap .2s var(--ease-out), color .2s var(--ease-out);
}
.btn-link:hover { gap: 10px; color: var(--tac-pink-400); }

.btn .arrow { transition: transform .2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(2px); }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all .3s var(--ease-out);
}
.nav.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Tactive wordmark logo */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--tac-navy-900);
  line-height: 1;
}
.logo-mark {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--tac-pink-500);
  display: inline-block;
  margin-left: 2px;
  transform: translateY(-2px);
  /* reset old gradient mark */
  box-shadow: none;
  place-items: initial;
}
.logo-mark::after { content: none; }
.logo-text { display: inline; }
.logo-text small { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  font-size: 14px;
  color: var(--fg-2);
  font-weight: 500;
  position: relative;
}
.nav-links a:hover { color: var(--fg-1); }
.nav-links a.active,
.nav-links .menu .current-menu-item > a,
.nav-links .menu .current_page_item > a,
.nav-links .menu .current-menu-ancestor > a,
.nav-links .menu .current-page-ancestor > a {
  color: var(--fg-1);
  font-weight: 600;
}
.nav-links a.active::after,
.nav-links .menu .current-menu-item > a::after,
.nav-links .menu .current_page_item > a::after { content: none; }

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

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--fg-1);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; right: 0; height: 2px;
  background: var(--fg-1);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    position: absolute;
    top: 70px; left: 16px; right: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-3);
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: clamp(120px, 14vw, 168px) 0 clamp(56px, 8vw, 96px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

.hero-eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; max-width: 540px; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 40px; }

.hero-trust {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--fg-3);
}
.hero-trust strong { color: var(--fg-1); font-weight: 600; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tac-success); box-shadow: 0 0 6px rgba(31,169,113,.45); }

/* =========================================================
   Hero media — image OR video, with placeholder fallback
   ========================================================= */
.hero-media,
.hero-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-inverse);
  box-shadow: var(--shadow-4);
  aspect-ratio: 4 / 5;
}
.hero-media-asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 20%, rgba(233,26,79,.20), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(74,101,134,.30), transparent 60%),
    var(--tac-navy-900);
}
.hero-media-glow {
  position: absolute;
  top: 18%; left: 50%;
  width: 70%; height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(233,26,79,.35) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-media-mark {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--tac-pink-500);
  display: grid;
  place-items: center;
  box-shadow: 0 24px 60px rgba(233,26,79,.45);
  z-index: 1;
}
.hero-media-pulse {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 2px solid rgba(233,26,79,.5);
  animation: heroPulse 2.4s var(--ease-out) infinite;
}
@keyframes heroPulse {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hero-media-label {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tac-pink-300);
  background: rgba(255,255,255,.06);
  border: 1px dashed rgba(255,110,146,.4);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  max-width: calc(100% - 40px);
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}
.hero-media-label code {
  font-family: var(--font-mono);
  background: rgba(0,0,0,.25);
  padding: 1px 5px;
  border-radius: 3px;
  color: #fff;
}
.hero-media-caption {
  position: absolute;
  bottom: 22px; left: 0; right: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--tac-stone);
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-media, .hero-visual { aspect-ratio: 4 / 3; max-width: 540px; margin-inline: auto; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Light-bg image placeholder (rest of site) */
.image-placeholder {
  position: relative; width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(233,26,79,.06), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(15,27,45,.04), transparent 60%);
  padding: 28px;
  text-align: center;
  overflow: hidden;
  border-radius: inherit;
}
.image-placeholder-inner { position: relative; z-index: 1; max-width: 360px; }
.image-placeholder .label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tac-pink-500);
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px dashed rgba(233,26,79,.4);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.7);
}
.image-placeholder .prompt {
  color: var(--fg-3);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  font-family: var(--font-serif);
}
.image-placeholder .icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  font-size: 22px;
}

/* =========================================================
   Stats marquee
   ========================================================= */
.stats-strip {
  border-block: 1px solid var(--border);
  background: var(--bg-1);
  padding: 22px 0;
  overflow: hidden;
}
.stats-marquee { display: flex; gap: 56px; white-space: nowrap; animation: marquee 55s linear infinite; }
.stat-pill { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--fg-2); }
.stat-pill strong {
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 700;
  color: var(--tac-navy-900);
  font-feature-settings: 'tnum' 1;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Section headers
   ========================================================= */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 12px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* =========================================================
   Card grid
   ========================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  position: relative;
  transition: all .25s var(--ease-out);
  box-shadow: var(--shadow-1);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-2);
}
.card .card-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  margin-bottom: 16px;
  font-size: 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--tac-navy-900);
}
.card h3 { margin-bottom: 8px; font-size: 17px; }
.card p { color: var(--fg-2); font-size: 14px; line-height: 1.55; }

.section-dark .card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: var(--tac-stone); }
.section-dark .card .card-icon { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); color: #fff; }

.card.glow::after { content: none; }
.card.glow:hover { border-color: var(--tac-pink-500); }

/* =========================================================
   Threats grid
   ========================================================= */
.threat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 800px) { .threat-grid { grid-template-columns: 1fr; } }

.threat {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}
.threat .num {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tac-pink-500);
  background: none;
  -webkit-text-fill-color: var(--tac-pink-500);
  line-height: 1;
  flex-shrink: 0;
  font-feature-settings: 'tnum' 1;
}
.threat .body h4 { font-size: 15px; margin-bottom: 4px; color: var(--fg-1); font-weight: 600; }
.threat .body p  { color: var(--fg-2); font-size: 14px; line-height: 1.5; }

/* =========================================================
   Pipeline (Detect → Decide → Act)
   ========================================================= */
.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin-top: 32px;
}
.pipeline-step {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-1);
  transition: all .25s var(--ease-out);
}
.pipeline-step:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.pipeline-step .step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--tac-pink-500);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.pipeline-step h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--tac-navy-900);
  background: none;
  -webkit-text-fill-color: var(--tac-navy-900);
}
.pipeline-step p { color: var(--fg-2); font-size: 14px; line-height: 1.55; }
.pipeline-arrow {
  align-self: center;
  font-size: 20px;
  color: var(--tac-pink-500);
  opacity: 0.7;
}
@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline-arrow { transform: rotate(90deg); justify-self: center; }
}

/* =========================================================
   Mode cards
   ========================================================= */
.mode-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all .25s var(--ease-out);
  box-shadow: var(--shadow-1);
}
.mode-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tac-pink-500);
}
.mode-card.brand::before     { background: var(--tac-pink-500); }
.mode-card.campaign::before  { background: var(--tac-navy-700); }
.mode-card.competitive::before { background: var(--tac-warn); }

.mode-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: var(--border-strong);
}

.mode-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--fg-3);
  font-weight: 600;
}
.mode-card h3 { font-size: 22px; margin-bottom: 10px; color: var(--fg-1); }
.mode-card .who {
  margin-top: 16px;
  font-size: 13px;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.mode-card .who strong { color: var(--fg-1); font-weight: 600; }

.mode-list { margin-top: 14px; }
.mode-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.5;
}
.mode-list li::before {
  content: '';
  width: 5px; height: 5px; margin-top: 9px;
  border-radius: 50%;
  background: var(--tac-pink-500);
  flex-shrink: 0;
}
.section-dark .mode-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
}
.section-dark .mode-card h3 { color: #fff; }
.section-dark .mode-card .text-mute,
.section-dark .mode-card p { color: var(--tac-stone); }
.section-dark .mode-list li { color: var(--tac-stone); }
.section-dark .mode-card .who { color: var(--tac-slate); border-color: rgba(255,255,255,.08); }
.section-dark .mode-card .who strong { color: #fff; }
.section-dark .mode-tag { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: var(--tac-pink-300); }

/* =========================================================
   Pricing
   ========================================================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.price-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .25s var(--ease-out);
  box-shadow: var(--shadow-1);
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }

.price-card.featured {
  background: var(--bg-inverse);
  border-color: var(--tac-navy-900);
  color: #fff;
  box-shadow: var(--shadow-4);
}
.price-card.featured .tier-name,
.price-card.featured .tier-price .amount { color: #fff; -webkit-text-fill-color: #fff; background: none; }
.price-card.featured .tier-tagline,
.price-card.featured .tier-meta,
.price-card.featured .tier-price .period,
.price-card.featured .tier-hook { color: var(--tac-stone); }
.price-card.featured .feature-list li { color: var(--tac-fog); }
.price-card.featured .feature-list li::before { color: var(--tac-pink-300); }
.price-card.featured .tier-hook { border-color: rgba(255,255,255,.1); }
.price-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--tac-pink-500);
  color: #fff;
  font-weight: 600;
}

.tier-name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--fg-1);
}
.tier-tagline {
  color: var(--fg-3);
  font-size: 13px;
  margin-bottom: 22px;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.tier-price .amount {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--tac-navy-900);
  background: none;
  -webkit-text-fill-color: var(--tac-navy-900);
  line-height: 1;
  font-feature-settings: 'tnum' 1;
}
.tier-price .period { color: var(--fg-3); font-size: 14px; }

.tier-meta {
  font-size: 12px;
  color: var(--fg-3);
  margin-bottom: 22px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.tier-cta { margin-bottom: 24px; }
.tier-cta .btn { width: 100%; }
.price-card.featured .tier-cta .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.price-card.featured .tier-cta .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
}
.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: var(--tac-pink-500);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 14px;
}

.tier-hook {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-3);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
}

/* =========================================================
   Reasons
   ========================================================= */
.reason {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.reason:last-child { border-bottom: none; }
.reason .num {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--tac-pink-500);
  background: none;
  -webkit-text-fill-color: var(--tac-pink-500);
  line-height: 1;
  font-feature-settings: 'tnum' 1;
}
.reason h3 { font-size: 22px; margin-bottom: 8px; color: var(--fg-1); }
.reason p  { color: var(--fg-2); font-size: 16px; max-width: 720px; line-height: 1.6; }
@media (max-width: 640px) { .reason { grid-template-columns: 1fr; gap: 8px; } }

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 64px);
  overflow: hidden;
  background: var(--bg-inverse);
  color: #fff;
  text-align: left;
  box-shadow: var(--shadow-4);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,26,79,.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner .eyebrow { color: var(--tac-pink-300); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.05); }
.cta-banner .eyebrow::before { background: var(--tac-pink-500); }
.cta-banner h2 {
  margin-bottom: 18px;
  max-width: 820px;
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.06;
  font-weight: 700;
}
.cta-banner p { color: var(--tac-stone); max-width: 580px; margin: 0 0 28px; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner .btn-ghost { background: transparent; border-color: rgba(255,255,255,.2); color: #fff; }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); }

/* =========================================================
   Blog
   ========================================================= */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .25s var(--ease-out);
  box-shadow: var(--shadow-1);
}
.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-3);
}

.post-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.post-thumb .image-placeholder { height: 100%; padding: 22px; }
.post-thumb .image-placeholder .icon { width: 40px; height: 40px; font-size: 18px; margin-bottom: 12px; }
.post-thumb .image-placeholder .prompt { font-size: 12px; }

.post-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: 12px;
  font-weight: 600;
}
.post-meta .tag {
  padding: 3px 9px;
  background: var(--tac-pink-100);
  border: 0;
  border-radius: var(--r-pill);
  color: var(--tac-pink-500);
  font-weight: 700;
}
.post-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.3;
  flex-grow: 1;
  color: var(--fg-1);
  font-weight: 600;
}
.post-card p {
  color: var(--fg-2);
  font-size: 14px;
  margin-bottom: 16px;
}

/* =========================================================
   Article
   ========================================================= */
.article {
  padding: clamp(120px, 15vw, 168px) 0 80px;
}
.article-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.article-head .post-meta { justify-content: center; }
.article-head h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.03em;
  margin: 16px 0 18px;
  font-weight: 700;
}
.article-head .lead { margin-inline: auto; color: var(--fg-2); font-size: 19px; }

.article-hero {
  max-width: 1080px;
  margin: 0 auto 56px;
  aspect-ratio: 21/9;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-3);
}
.article-hero .image-placeholder { height: 100%; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
}
.article-body h2 {
  margin: 48px 0 14px;
  color: var(--fg-1);
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.article-body h3 {
  margin: 32px 0 10px;
  color: var(--fg-1);
  font-size: 20px;
  font-weight: 600;
}
.article-body p { margin-bottom: 18px; }
.article-body strong { color: var(--fg-1); font-weight: 600; }
.article-body em { color: var(--fg-1); font-style: italic; font-family: var(--font-serif); font-size: 1.05em; }
.article-body a {
  color: var(--tac-pink-500);
  text-decoration: underline;
  text-decoration-color: rgba(233,26,79,.4);
  text-underline-offset: 4px;
}
.article-body a:hover { color: var(--tac-pink-400); text-decoration-color: var(--tac-pink-400); }
.article-body ul {
  margin-bottom: 18px;
  padding-left: 0;
}
.article-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  list-style: none;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tac-pink-500);
}
.article-body ol {
  margin-bottom: 18px;
  padding-left: 22px;
  list-style: decimal;
  color: var(--fg-2);
}
.article-body ol li { padding: 4px 0; }
.article-body blockquote {
  margin: 28px 0;
  padding: 22px 28px;
  border-left: 3px solid var(--tac-pink-500);
  background: var(--bg-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--fg-1);
  line-height: 1.4;
}

.article-cta { max-width: 820px; margin: 64px auto 0; }

/* =========================================================
   Forms
   ========================================================= */
.form { display: grid; gap: 16px; max-width: 540px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 6px;
  font-weight: 600;
}
.form input, .form textarea, .form select {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--fg-1);
  font-family: inherit;
  font-size: 14px;
  transition: all .15s var(--ease-out);
}
.form input::placeholder, .form textarea::placeholder { color: var(--fg-3); }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--tac-pink-500);
  box-shadow: 0 0 0 3px rgba(233,26,79,.12);
}
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; padding: 14px; }

/* =========================================================
   Two-column / split
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* =========================================================
   Quote block
   ========================================================= */
.quote-block {
  padding: clamp(40px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--bg-1);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-2);
}
.quote-block .quote-mark {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 0.6;
  color: var(--tac-pink-500);
  background: none;
  -webkit-text-fill-color: var(--tac-pink-500);
  margin-bottom: 14px;
}
.quote-block blockquote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  max-width: 800px;
  margin: 0 auto;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-1);
  text-align: left;
  padding: 0;
}
.faq-question .toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: all .2s var(--ease-out);
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--fg-1);
}
.faq-item.open .toggle {
  background: var(--tac-pink-500);
  color: white;
  transform: rotate(45deg);
  border-color: transparent;
}
.faq-answer {
  display: none;
  padding-top: 14px;
  color: var(--fg-2);
  max-width: 800px;
  font-size: 15px;
  line-height: 1.6;
}
.faq-item.open .faq-answer { display: block; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-1);
  padding: 56px 0 32px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-about p {
  color: var(--fg-3);
  font-size: 14px;
  max-width: 320px;
  margin-top: 14px;
  line-height: 1.5;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--tac-navy-900);
  margin-bottom: 14px;
  text-transform: none;
  letter-spacing: 0;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--fg-3); font-size: 13px; }
.footer-col a:hover { color: var(--fg-1); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--fg-3);
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-bottom-left a {
  color: var(--fg-3);
  font-size: 12px;
  transition: color .2s var(--ease-out);
}
.footer-bottom-left a:hover { color: var(--tac-pink-500); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: all .2s var(--ease-out);
  color: var(--fg-2);
}
.footer-social a svg { width: 16px; height: 16px; display: block; }
.footer-social a:hover {
  background: var(--tac-pink-500);
  border-color: transparent;
  color: white;
  transform: translateY(-1px);
}

/* Footer credit — Growth by Deeploy */
.footer-credit {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fg-3);
}
.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-2);
  font-weight: 600;
  transition: color .2s var(--ease-out), opacity .2s var(--ease-out);
  opacity: 0.85;
}
.footer-credit a:hover { opacity: 1; color: var(--tac-pink-500); }
.footer-credit a img {
  height: 22px;
  width: auto;
  display: block;
}

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
  padding: clamp(120px, 14vw, 168px) 0 48px;
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 880px;
  margin-inline: auto;
  font-weight: 700;
}
.page-hero .lead { margin-inline: auto; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   Utility
   ========================================================= */
.center { text-align: center; }
.relative { position: relative; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

::selection { background: rgba(233,26,79,.18); color: var(--fg-1); }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--tac-stone); border-radius: 6px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--tac-slate); }

/* =========================================================
   Cookie consent banner
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  background: var(--tac-navy-900);
  color: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(15,27,45,.32), 0 0 0 1px rgba(255,255,255,.06) inset;
  animation: cookieIn .4s var(--ease-out);
}
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}
.cookie-banner-text { flex: 1; min-width: 0; }
.cookie-banner-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.cookie-banner-text p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--tac-stone);
  margin: 0;
}
.cookie-banner-text a {
  color: var(--tac-pink-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner-text a:hover { color: #fff; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner-actions .btn { padding: 10px 18px; font-size: 13px; }
.cookie-banner-actions .btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.cookie-banner-actions .btn-ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.4);
}
@media (max-width: 720px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 20px; }
  .cookie-banner-actions { flex-direction: column-reverse; }
  .cookie-banner-actions .btn { width: 100%; }
}
