/* Vilkax · /features/ - cinematic ecosystem showcase.
 * Pure CSS animation system.  GPU-friendly: transform + opacity
 * only.  Honors prefers-reduced-motion. */

:root {
  --bg-deep:    #060c1c;
  --bg-rise:    #0b1426;
  --ink:        #f1f5f9;
  --ink-soft:   rgba(241, 245, 249, 0.62);
  --ink-faint:  rgba(241, 245, 249, 0.32);
  --vilkax:     #3B82F6;
  --vilkax-2:   #60A5FA;
  --vilkax-3:   #93C5FD;
  --emerald:    #22c55e;
  --rose:       #f43f5e;
}

.features-body {
  margin: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(59,130,246,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-deep), var(--bg-rise));
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Ambient backdrop ─────────────────────────────────────── */
.fx-ambient {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
}
.fx-orb {
  position: absolute;
  width: 56vw; height: 56vw;
  max-width: 720px; max-height: 720px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
  animation: fxOrbDrift 24s ease-in-out infinite alternate;
}
.fx-orb-1 { top:  -10%; left: -10%; background: radial-gradient(circle, rgba(59,130,246,0.45), transparent 65%); }
.fx-orb-2 { top:  40%;  right: -15%; background: radial-gradient(circle, rgba(147,197,253,0.32), transparent 65%); animation-delay: -8s; }
.fx-orb-3 { bottom: -20%; left: 30%; background: radial-gradient(circle, rgba(96,165,250,0.30), transparent 65%); animation-delay: -16s; }
@keyframes fxOrbDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(30px, -20px, 0) scale(1.08); }
}
.fx-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(96,165,250,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 40% at 50% 20%, #000, transparent 80%);
  opacity: 0.6;
}

/* ── Main ─────────────────────────────────────────────────── */
.fx-main {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  padding: 96px 28px 120px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.fx-hero { text-align: center; padding: 40px 0 80px; position: relative; }
.fx-eyebrow {
  font-size: 12px; letter-spacing: 0.42em; font-weight: 700;
  color: var(--vilkax-2); margin: 0 0 18px;
}
.fx-h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.02;
  margin: 0 auto 22px; max-width: 14ch;
}
.fx-h1-accent {
  background: linear-gradient(135deg, #60A5FA 0%, #93C5FD 50%, #3B82F6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fx-sub {
  max-width: 56ch; margin: 0 auto 36px;
  font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6;
  color: var(--ink-soft);
}
.fx-hero-cta {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.fx-btn {
  display: inline-block; padding: 14px 26px;
  border-radius: 12px; font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border: 1px solid rgba(96,165,250,0.40);
  color: var(--ink);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.fx-btn:hover {
  transform: translateY(-2px);
  background: rgba(96,165,250,0.10);
  border-color: rgba(96,165,250,0.70);
  box-shadow: 0 12px 32px rgba(59,130,246,0.25);
}
.fx-btn-primary {
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  border-color: #3B82F6;
  box-shadow: 0 8px 24px rgba(59,130,246,0.35);
}
.fx-btn-primary:hover { box-shadow: 0 16px 38px rgba(59,130,246,0.50); }
.fx-btn-lg { padding: 18px 34px; font-size: 15px; }
.fx-tertiary { display: inline-block; margin-left: 14px; color: var(--vilkax-3); text-decoration: none; font-weight: 600; }
.fx-tertiary:hover { color: #fff; }

.fx-pulse {
  position: absolute; left: 50%; bottom: -10px;
  width: 360px; height: 360px;
  border-radius: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 60%);
  filter: blur(40px);
  animation: fxPulse 6s ease-in-out infinite;
}
@keyframes fxPulse { 0%,100% { opacity: 0.55; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.12); } }

/* ── Pillars ──────────────────────────────────────────────── */
.fx-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 64px 0 96px;
}
@media (max-width: 880px) { .fx-pillars { grid-template-columns: 1fr; } }

.fx-card {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(96,165,250,0.20);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 320ms cubic-bezier(.2,.7,.1,1), border-color 320ms ease, box-shadow 320ms ease;
}
.fx-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96,165,250,0.50);
  box-shadow: 0 24px 64px rgba(0,0,0,0.40), 0 0 0 1px rgba(96,165,250,0.10);
}
.fx-card-tall { min-height: 460px; display: flex; flex-direction: column; }
.fx-card-glow {
  position: absolute; inset: -2px;
  border-radius: 26px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(59,130,246,0.0), rgba(96,165,250,0.18), rgba(59,130,246,0.0));
  opacity: 0; transition: opacity 320ms ease;
  filter: blur(20px);
  z-index: -1;
}
.fx-card:hover .fx-card-glow { opacity: 1; }

.fx-card-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.fx-card-tag  { font-size: 10px; letter-spacing: 0.42em; font-weight: 700; color: var(--vilkax-2); }
.fx-card-h    { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.015em; }
.fx-card-lead { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin: 0 0 22px; }
.fx-card-points { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-direction: column; gap: 10px; }
.fx-card-points li { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink); }
.fx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vilkax-2); box-shadow: 0 0 10px rgba(96,165,250,0.7); }

/* Card art - pure-CSS visualizations */
.fx-card-art {
  position: relative;
  width: 100%; height: 160px;
  margin: 12px 0 18px;
}

/* Shield rings */
.fx-art-shield { display: flex; align-items: center; justify-content: center; }
.fx-art-shield .fx-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(96,165,250,0.30);
}
.fx-ring-a { width: 60px;  height: 60px;  animation: fxRing 4s ease-in-out infinite; }
.fx-ring-b { width: 100px; height: 100px; border-color: rgba(96,165,250,0.22); animation: fxRing 4s ease-in-out infinite 0.5s; }
.fx-ring-c { width: 144px; height: 144px; border-color: rgba(96,165,250,0.14); animation: fxRing 4s ease-in-out infinite 1s; }
.fx-core   { width: 28px;  height: 28px;  border-radius: 50%;
             background: radial-gradient(circle, #93C5FD, #3B82F6 60%, transparent 80%);
             box-shadow: 0 0 24px rgba(59,130,246,0.6); }
@keyframes fxRing {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50%     { transform: scale(1.10); opacity: 1; }
}

/* Guardian waves */
.fx-art-guardian { overflow: hidden; }
.fx-wave {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.7), transparent);
  transform: translateY(-50%);
  animation: fxWave 3.4s ease-in-out infinite;
}
.fx-wave-b { top: 40%; animation-delay: -1s; opacity: 0.55; }
.fx-wave-c { top: 60%; animation-delay: -2s; opacity: 0.35; }
@keyframes fxWave {
  0%,100% { transform: translateY(-50%) scaleX(0.4); opacity: 0.4; }
  50%     { transform: translateY(-50%) scaleX(1);   opacity: 1; }
}

/* KIN orbiting members */
.fx-art-kin { display: flex; align-items: center; justify-content: center; perspective: 600px; }
.fx-anchor {
  position: absolute;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em;
  background: radial-gradient(circle, #60A5FA, #1D4ED8 80%);
  box-shadow: 0 0 28px rgba(59,130,246,0.55);
  color: #fff;
}
.fx-orbit {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(96,165,250,0.20);
  animation: fxSpin 18s linear infinite;
}
.fx-orbit-1 { width: 100px; height: 100px; }
.fx-orbit-2 { width: 140px; height: 140px; animation-duration: 28s; animation-direction: reverse; }
.fx-orbit-3 { width: 184px; height: 184px; animation-duration: 40s; }
.fx-satellite {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #93C5FD;
  box-shadow: 0 0 14px rgba(147,197,253,0.85);
}
.fx-orbit-2 .fx-satellite { background: #FCA5A5; box-shadow: 0 0 14px rgba(252,165,165,0.85); }
.fx-orbit-3 .fx-satellite { background: #86EFAC; box-shadow: 0 0 14px rgba(134,239,172,0.85); }
@keyframes fxSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ── Divider ─────────────────────────────────────────────── */
.fx-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 32px 0 28px;
  color: var(--ink-faint); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
}
.fx-divider::before, .fx-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.20), transparent);
}

/* ── Mini grid ───────────────────────────────────────────── */
.fx-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.fx-mini {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(96,165,250,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  backdrop-filter: blur(10px);
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
  overflow: hidden;
}
.fx-mini:hover {
  transform: translateY(-4px);
  border-color: rgba(96,165,250,0.45);
  background: linear-gradient(180deg, rgba(96,165,250,0.08), rgba(255,255,255,0.012));
}
.fx-mini h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: -0.005em; }
.fx-mini p  { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.fx-soon, .fx-preview-pill {
  display: inline-block; margin-left: 6px;
  padding: 1px 8px; font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; border-radius: 999px;
  background: rgba(96,165,250,0.14); color: #93c5fd;
  border: 1px solid rgba(96,165,250,0.40);
}

/* Mini glyphs - pure CSS, no SVG round-trips. */
.fx-mini-glyph {
  width: 32px; height: 32px;
  margin-bottom: 14px;
  border-radius: 10px;
  position: relative;
  background: radial-gradient(circle at 30% 25%, rgba(147,197,253,0.40), transparent 60%),
              linear-gradient(135deg, rgba(59,130,246,0.20), rgba(96,165,250,0.06));
  border: 1px solid rgba(96,165,250,0.25);
  overflow: hidden;
}
.fx-mini-glyph::after {
  content: ""; position: absolute; inset: 6px;
  border-radius: 6px;
  background: rgba(96,165,250,0.10);
}
.fx-glyph-2fa::after     { background: radial-gradient(circle, #93C5FD 30%, transparent 60%); }
.fx-glyph-risk::after    { background: linear-gradient(45deg, transparent 45%, #F43F5E 45%, #F43F5E 55%, transparent 55%); }
.fx-glyph-hearth::after  { background: radial-gradient(circle at 50% 60%, #FCA5A5 40%, transparent 70%); }
.fx-glyph-orbit::after   { background: radial-gradient(circle, transparent 30%, #93C5FD 31%, #93C5FD 34%, transparent 35%); }
.fx-glyph-vpn::after     { background: linear-gradient(90deg, #86EFAC 0 50%, #93C5FD 50% 100%); }
.fx-glyph-vault::after   { background: linear-gradient(180deg, #93C5FD 0 60%, transparent 60%); }
.fx-glyph-scanner::after { background: radial-gradient(circle, transparent 38%, #93C5FD 39%, #93C5FD 50%, transparent 51%); }
.fx-glyph-intel::after   { background: linear-gradient(45deg, #93C5FD, #1D4ED8); }
.fx-glyph-copilot::after { background: radial-gradient(circle at 30% 30%, #fff 14%, transparent 16%),
                                    radial-gradient(circle at 70% 30%, #fff 14%, transparent 16%),
                                    #1D4ED8; }
.fx-glyph-identity::after { background: radial-gradient(circle, #93C5FD 30%, transparent 32%); border-radius: 50%; inset: 10px; }
.fx-glyph-network::after { background: radial-gradient(circle at 30% 30%, #93C5FD 16%, transparent 18%),
                                    radial-gradient(circle at 70% 70%, #93C5FD 16%, transparent 18%),
                                    radial-gradient(circle at 70% 30%, #93C5FD 16%, transparent 18%),
                                    radial-gradient(circle at 30% 70%, #93C5FD 16%, transparent 18%); }
.fx-glyph-labs::after    { background: linear-gradient(135deg, #F472B6, #93C5FD); }

.fx-mini-labs {
  border-color: rgba(244,114,182,0.30);
  background: linear-gradient(180deg, rgba(244,114,182,0.06), rgba(255,255,255,0.012));
}

/* ── CTA ─────────────────────────────────────────────────── */
.fx-cta {
  margin-top: 96px;
  text-align: center;
  padding: 56px 28px;
  border-radius: 24px;
  background: radial-gradient(60% 80% at 50% 20%, rgba(59,130,246,0.18), transparent 70%),
              linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  border: 1px solid rgba(96,165,250,0.22);
}
.fx-cta-h { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; }
.fx-cta-sub { max-width: 50ch; margin: 0 auto 28px; color: var(--ink-soft); }

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fx-orb, .fx-pulse, .fx-ring-a, .fx-ring-b, .fx-ring-c,
  .fx-wave, .fx-orbit { animation: none; }
}
