/* AkiProtect site v2 — Cyber Night layout (extends style.css tokens) */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 14, 20, 0.85);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}
.nav a.nav-plat { font-weight: 600; }

/* Hero split */
.hero-v2 {
  padding: calc(var(--section-y) - 20px) 0 var(--section-y);
  position: relative;
  overflow: hidden;
}
.hero-v2::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto -10%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(95,168,255,.16), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-v2 h1 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero-v2 .sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 40em;
  line-height: 1.55;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  max-width: 40em;
}
.hero-bullets li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.45;
}
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.hero-visual {
  position: relative;
}
.hero-visual img,
.hero-visual svg {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
}
.hero-visual .glow-ring {
  position: absolute;
  inset: -12%;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(124,92,255,.18), transparent 60%);
  z-index: -1;
}

/* Platform switcher */
.plat-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plat-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  height: 100%;
}
.plat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  text-decoration: none;
}
.plat-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid var(--border-soft);
}
.plat-card h3 { margin: 8px 0 8px; color: var(--text); }
.plat-card p { margin: 0; color: var(--muted); font-size: 14px; }
.plat-card .plat-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.plat-card.is-soon {
  opacity: .9;
  border-style: dashed;
}
.plat-card.is-soon:hover { border-color: var(--warning); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 24px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Landing sections */
.landing-hero {
  padding: 64px 0 40px;
}
.landing-hero .eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.feature-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}
.snippet {
  background: #0b0e14;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  color: #c6d4e8;
}
.snippet .c { color: var(--muted); }
.shot-frame {
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-card);
}
.shot-frame img { width: 100%; display: block; }

.cta-band {
  margin: 48px 0;
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(95,168,255,.15), transparent 50%),
    var(--bg-card);
  text-align: center;
}
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { color: var(--muted); margin: 0 0 22px; }

@media (max-width: 900px) {
  .hero-grid, .plat-switch, .steps, .split { grid-template-columns: 1fr; }
  .hero-v2 { padding-top: 40px; }
  .nav { display: none; } /* keep mobile simple; CTA remains */
}

a.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.card-link:hover { text-decoration: none; }
a.card-link .plat-cta { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); }
