/* ============================================================
   BAVLIA — Design System & Styles
   ============================================================ */

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:            #03060f;
  --bg-2:          #060c1a;
  --surface:       rgba(255 255 255 / 0.04);
  --surface-raised: rgba(255 255 255 / 0.07);
  --border:        rgba(255 255 255 / 0.08);
  --border-bright: rgba(255 255 255 / 0.16);

  --blue-core:     #1565ff;
  --blue-bright:   #3b82f6;
  --blue-glow:     #0ea5e9;
  --blue-deep:     #0028cc;
  --cyan:          #22d3ee;

  --text:          #eef2ff;
  --text-muted:    #7891bc;
  --text-subtle:   rgba(238 242 255 / 0.45);

  --radius-sm:     0.5rem;
  --radius:        1rem;
  --radius-lg:     1.5rem;

  --shadow-card:   0 4px 32px rgba(0 0 0 / 0.5);
  --shadow-glow:   0 0 60px rgba(21 101 255 / 0.25);
  --shadow-glow-lg: 0 0 120px rgba(21 101 255 / 0.35);

  --transition:    200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  line-height: 1.15;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); margin-bottom: 1.25rem; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); margin-bottom: 0.6rem; }

p { margin-top: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

/* ─── Skip link ──────────────────────────────────────────── */
.skip-link { position: absolute; left: -9999px; z-index: 100; }
.skip-link:focus {
  left: 1rem; top: 1rem;
  background: var(--surface-raised);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-bright);
}

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.narrow { width: min(780px, 92vw); }

/* ─── Gradient text ──────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(125deg, #60a5fa 0%, var(--blue-glow) 35%, var(--cyan) 70%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Section base ───────────────────────────────────────── */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(59 130 246 / 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(59 130 246 / 0.08);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
  white-space: nowrap;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-core), var(--blue-deep));
  color: #fff;
  border-color: rgba(255 255 255 / 0.12);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-core));
  box-shadow: 0 4px 24px rgba(21 101 255 / 0.5);
}

.btn-glow {
  box-shadow: 0 0 0 0 rgba(21 101 255 / 0);
  animation: btn-pulse 2.5s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21 101 255 / 0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(21 101 255 / 0); }
}

.btn-outline {
  background: transparent;
  border-color: var(--border-bright);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--surface-raised);
  border-color: rgba(255 255 255 / 0.3);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  font-size: 0.875rem;
}

.btn-ghost:hover { background: var(--surface-raised); }

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ─── Nav ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(3 6 15 / 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0 0 0 / 0.4);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--border);
  background: rgba(3 6 15 / 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem;
}

.mobile-menu ul { display: flex; flex-direction: column; gap: 0.25rem; }

.mobile-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.mobile-menu a:hover { color: var(--text); background: var(--surface); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.orb-1 {
  width: clamp(400px, 55vw, 800px);
  height: clamp(400px, 55vw, 800px);
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(21 101 255 / 0.55) 0%, transparent 70%);
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  top: 30%;
  left: -15%;
  background: radial-gradient(circle, rgba(68 42 180 / 0.4) 0%, transparent 70%);
  animation: orb-drift 22s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: clamp(200px, 30vw, 450px);
  height: clamp(200px, 30vw, 450px);
  bottom: 0;
  right: 20%;
  background: radial-gradient(circle, rgba(14 165 233 / 0.25) 0%, transparent 70%);
  animation: orb-drift 16s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(5%, 8%) scale(1.08); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255 255 255 / 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255 255 255 / 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-glow);
  box-shadow: 0 0 8px var(--blue-glow);
  animation: dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 4px var(--blue-glow), 0 0 12px rgba(14 165 233 / 0.3); }
  50%       { box-shadow: 0 0 8px var(--blue-glow), 0 0 24px rgba(14 165 233 / 0.6); }
}

.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ─── Shield Visual ──────────────────────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-stage {
  position: relative;
  width: clamp(200px, 30vw, 320px);
  height: clamp(200px, 30vw, 320px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  animation: ring-spin linear infinite;
}

.ring-1 {
  border-color: rgba(21 101 255 / 0.5);
  border-top-color: rgba(21 101 255 / 0.1);
  animation-duration: 8s;
}

.ring-2 {
  inset: -14px;
  border-color: rgba(14 165 233 / 0.3);
  border-bottom-color: rgba(14 165 233 / 0.08);
  animation-duration: 14s;
  animation-direction: reverse;
}

.ring-3 {
  inset: -28px;
  border-color: rgba(59 130 246 / 0.15);
  border-right-color: rgba(59 130 246 / 0.05);
  animation-duration: 20s;
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.shield-wrap {
  position: relative;
  z-index: 2;
  animation: shield-float 5s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(21 101 255 / 0.55)) drop-shadow(0 0 80px rgba(21 101 255 / 0.25));
}

.shield-icon {
  width: clamp(140px, 22vw, 220px);
  height: clamp(140px, 22vw, 220px);
}

@keyframes shield-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.shield-glow {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21 101 255 / 0.4) 0%, transparent 70%);
  filter: blur(24px);
  animation: shield-float 5s ease-in-out infinite;
  z-index: 1;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255 255 255 / 0.4), transparent);
  margin: 0 auto;
  animation: scroll-fade 2s ease-in-out infinite;
}

@keyframes scroll-fade {
  0%, 100% { opacity: 0; transform: scaleY(0.5); transform-origin: top; }
  50%       { opacity: 1; transform: scaleY(1); }
}

/* ─── Threat Section ─────────────────────────────────────── */
.section-threat {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(68 42 180 / 0.07) 0%, transparent 70%),
    var(--bg-2);
}

.threat-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.threat-copy h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  color: var(--text);
}

.threat-copy p {
  color: var(--text-muted);
  font-size: 1rem;
}

.threat-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(21 101 255 / 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.stat-card:hover {
  border-color: rgba(21 101 255 / 0.4);
  box-shadow: 0 4px 24px rgba(21 101 255 / 0.12);
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #60a5fa, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.15rem;
}

/* ─── Feature Cards ──────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21 101 255 / 0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.feature-card:hover {
  border-color: rgba(21 101 255 / 0.35);
  box-shadow: 0 8px 40px rgba(21 101 255 / 0.12);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(21 101 255 / 0.12);
  border: 1px solid rgba(21 101 255 / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--blue-bright);
  flex-shrink: 0;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 { color: var(--text); font-size: 1.1rem; }

.feature-card p { color: var(--text-muted); font-size: 0.925rem; margin-bottom: 1.1rem; }

.feature-tag {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(59 130 246 / 0.1);
  border: 1px solid rgba(59 130 246 / 0.2);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

/* ─── Security Section ───────────────────────────────────── */
.section-security {
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(21 101 255 / 0.06) 0%, transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(21 101 255 / 0.15);
  border: 1px solid rgba(21 101 255 / 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--blue-bright);
}

.check-icon svg { width: 11px; height: 11px; }

/* ─── Flow Diagram ───────────────────────────────────────── */
.security-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.flow-diagram {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: 100%;
  justify-content: center;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  min-width: 70px;
}

.flow-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
}

.flow-icon svg { width: 24px; height: 24px; }

.flow-icon-locked { background: rgba(21 101 255 / 0.08); border-color: rgba(21 101 255 / 0.25); }

.flow-node span { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.flow-node small { font-size: 0.68rem; color: var(--text-muted); display: block; line-height: 1.3; }

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.flow-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.flow-arrow svg { width: 60px; height: 20px; }

.flow-caption {
  font-size: 0.82rem;
  color: var(--text-subtle);
  text-align: center;
  font-style: italic;
  margin: 0;
}

/* ─── How It Works ───────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: steps;
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  border-color: rgba(21 101 255 / 0.3);
  box-shadow: 0 4px 24px rgba(21 101 255 / 0.08);
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
  background: rgba(59 130 246 / 0.1);
  border: 1px solid rgba(59 130 246 / 0.2);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.step-card h3 { font-size: 1.05rem; color: var(--text); }
.step-card p  { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ─── CTA Section ────────────────────────────────────────── */
.section-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(21 101 255 / 0.2) 0%, transparent 65%);
  filter: blur(40px);
  animation: orb-drift 12s ease-in-out infinite alternate;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-shield {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.cta-shield svg,
.cta-shield img {
  filter: drop-shadow(0 0 20px rgba(21 101 255 / 0.5));
  animation: shield-float 5s ease-in-out infinite;
}

.section-cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  margin-bottom: 1rem;
}

.cta-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 48ch;
  margin: 0 auto 2rem;
}

.cta-actions {
  margin-bottom: 2.5rem;
}

.platform-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: color var(--transition), border-color var(--transition);
}

.platform-badge:hover {
  color: var(--text);
  border-color: var(--border-bright);
}

.platform-note {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin: 0;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  color: var(--text-subtle);
  font-size: 0.8rem;
  margin: 0;
}

/* ─── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

.reveal-delay { transition-delay: 0.15s; }

/* ─── Focus visible ──────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (width <= 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (width <= 800px) {
  .nav-links { display: none; }
  .btn-ghost  { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner   { grid-template-columns: 1fr; text-align: center; }
  .hero-copy    { order: 2; }
  .hero-visual  { order: 1; }
  .eyebrow      { justify-content: center; }
  .hero-ctas    { justify-content: center; }
  .hero-sub     { margin-inline: auto; }

  .threat-grid    { grid-template-columns: 1fr; }
  .feature-grid   { grid-template-columns: 1fr; }
  .security-inner { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; }
}

@media (width <= 480px) {
  h1 { font-size: 2.1rem; }
  .shield-stage { width: 200px; height: 200px; }
}

/* ─── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* User Guide Section */
.guide-grid {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.guide-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
}

.guide-block h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #eef2ff;
  margin-bottom: 0.75rem;
}

.guide-block p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.guide-block ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.guide-block ul li {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.guide-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: #1565ff;
  border-radius: 50%;
}

.guide-block a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

.guide-block a:hover {
  color: #60a5fa;
}