/* ===== Filaxy Vault landing — tokens ===== */
:root {
  --violet: #7c3aed;
  --sky: #0ea5e9;
  --grad: linear-gradient(135deg, #7c3aed, #0ea5e9);
  --radius: 14px;
  --maxw: 1160px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Sora', var(--font-sans);
}
:root[data-theme="dark"] {
  --bg: #0b0f1a;
  --bg-2: #0f1524;
  --surface: rgba(255,255,255,0.03);
  --surface-solid: #121a2c;
  --card: rgba(255,255,255,0.035);
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text: #eaf0fb;
  --muted: #9aa7c2;
  --faint: #66738f;
  --footer-bg: #090d16;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.7);
}
:root[data-theme="light"] {
  --bg: #f7f9fe;
  --bg-2: #eef2fb;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --card: #ffffff;
  --border: rgba(12,18,35,0.09);
  --border-strong: rgba(12,18,35,0.16);
  --text: #0b1220;
  --muted: #55617a;
  --faint: #8a93a8;
  --footer-bg: #0b0f1a;
  --shadow: 0 30px 70px -34px rgba(20,30,60,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { overflow-x: clip; }
body {
  font-family: var(--font-sans); background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
sup { font-size: 0.5em; vertical-align: super; opacity: .8; }
section { position: relative; z-index: 1; }

/* backdrop orbs */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
:root[data-theme="light"] .orb { opacity: .28; }
.o1 { width: 520px; height: 520px; background: #7c3aed; top: -140px; left: -120px; }
.o2 { width: 460px; height: 460px; background: #0ea5e9; top: 30%; right: -160px; }
.o3 { width: 420px; height: 420px; background: #6d28d9; bottom: -160px; left: 30%; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 22px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; }
.brand img { border-radius: 8px; }
.brand-name { font-size: 17px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 6px; margin-left: 8px; }
.nav-link {
  position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  border-radius: 9px; transition: color .2s, transform .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.nav-link:hover { color: var(--text); transform: translateY(-1px); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.seg-btn {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.seg-btn.active { color: #fff; background: var(--grad); }
.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: transform .2s, border-color .2s;
}
.icon-btn:hover { transform: scale(1.08); border-color: var(--border-strong); }
.i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }
.nav-cta { display: none; }

/* ===== buttons ===== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; border-radius: 12px; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, background .25s ease; white-space: nowrap;
  overflow: hidden;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 15.5px; }
.btn-primary { color: #fff; background: var(--grad); background-size: 180% 100%; background-position: 0 0; box-shadow: 0 14px 34px -12px rgba(124,58,237,.6); }
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 20px 44px -12px rgba(14,165,233,.65); }
.btn-primary::after { content:""; position:absolute; inset:0; transform:translateX(-120%) skewX(-12deg); background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent); transition:transform .7s ease; }
.btn-primary:hover::after { transform: translateX(120%) skewX(-12deg); }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: transparent; box-shadow: 0 14px 30px -14px rgba(124,58,237,.4); }

/* ===== HERO ATMOSPHERE (living-cipher canvas + aurora + grid + spotlight) ===== */
.hero-fx {
  position: absolute; top: 0; left: 0; right: 0; height: 1280px; z-index: 0;
  pointer-events: none; overflow: hidden;
  mask-image: linear-gradient(#000 76%, transparent);
  -webkit-mask-image: linear-gradient(#000 76%, transparent);
}
.hero-fx .aurora {
  position: absolute; inset: -25% -15% 20%;
  background:
    radial-gradient(38% 42% at 22% 12%, rgba(124,58,237,.34), transparent 62%),
    radial-gradient(36% 42% at 80% 8%, rgba(14,165,233,.30), transparent 62%),
    radial-gradient(42% 46% at 55% 42%, rgba(167,139,250,.20), transparent 66%);
  filter: blur(24px); animation: aurora-drift 16s ease-in-out infinite alternate;
}
:root[data-theme="light"] .hero-fx .aurora { opacity: .55; }
@keyframes aurora-drift { 0%{transform:translate3d(-2%,0,0) scale(1)} 100%{transform:translate3d(3%,2%,0) scale(1.08)} }
/* site-wide fixed layer: cipher rain + cursor spotlight, behind all content */
.site-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.site-fx .cipher { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
:root[data-theme="light"] .site-fx .cipher { opacity: .68; }
.site-fx .spotlight {
  position: absolute; left: 0; top: 0; width: 680px; height: 680px; margin: -340px 0 0 -340px;
  background: radial-gradient(circle, rgba(124,58,237,.18), rgba(14,165,233,.09) 40%, transparent 62%);
  transform: translate(var(--mx, 50vw), var(--my, 40vh)); transition: transform .2s cubic-bezier(.2,.8,.2,1);
}
:root[data-theme="light"] .site-fx .spotlight {
  background: radial-gradient(circle, rgba(124,58,237,.26), rgba(14,165,233,.16) 40%, transparent 62%);
}
.hero-fx .grid-mask {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(72% 58% at 50% 22%, #000 0%, transparent 76%);
  -webkit-mask-image: radial-gradient(72% 58% at 50% 22%, #000 0%, transparent 76%);
}
:root[data-theme="light"] .hero-fx .grid-mask {
  background-image:
    linear-gradient(rgba(12,18,35,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,18,35,.05) 1px, transparent 1px);
}

/* ===== HERO ===== */
.hero {
  position: relative; z-index: 2; max-width: 1500px; margin: 0 auto;
  padding: 96px 22px 34px; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 780px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .01em;
  color: var(--muted); padding: 6px 15px 6px 11px; border-radius: 999px; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 60%, transparent); backdrop-filter: blur(10px); margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.16); animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.85)} }
.hero h1 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.01;
  letter-spacing: -.032em; margin-bottom: 22px; max-width: 16ch;
}
.grad-text {
  background: linear-gradient(102deg, #b79dff 0%, #7c3aed 42%, #0ea5e9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(16.5px, 1.7vw, 20px); color: var(--muted); max-width: 54ch; margin: 0 auto 34px; line-height: 1.6; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 10px 15px; border-radius: 12px; border: 1px dashed var(--border-strong); background: var(--surface);
}
.hero-meta { font-size: 13px; color: var(--faint); margin-top: 20px; }

/* hero product visual — dominant light screenshot with colored glow + 3D tilt */
.hero-visual { position: relative; z-index: 2; width: 100%; max-width: 1500px; margin: 64px auto 0; perspective: 1700px; }
.tilt { position: relative; transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.shot-glow {
  display: none;
}
@keyframes glow-breathe { 0%,100%{transform:scale(1);opacity:.82} 50%{transform:scale(1.05);opacity:1} }
/* --- MacBook Pro mockup (real PNG frame + screenshot composited into the screen) --- */
.device { position: relative; width: 100%; max-width: 1500px; margin: 0 auto; }
.dev-mockup { display: block; width: 100%; position: relative; z-index: 1; pointer-events: none; filter: drop-shadow(0 54px 70px rgba(0,0,0,.62)); }
.dev-screen {
  position: absolute; z-index: 2; top: 4.7%; left: 16.6%; right: 16.7%; bottom: 36.5%;
  overflow: hidden; border-radius: 14px; background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.dev-screen .hero-shot {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 14px;
}
/* floating capability pills */
.pill {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; z-index: 5; transform: translateZ(70px);
  background: color-mix(in srgb, var(--surface-solid) 80%, transparent);
  border: 1px solid var(--border-strong); backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px -20px rgba(3,6,20,.7);
}
.pdot { width: 8px; height: 8px; border-radius: 50%; }
.pdot.d1 { background: #a78bfa; box-shadow: 0 0 10px rgba(167,139,250,.8); }
.pdot.d2 { background: #38bdf8; box-shadow: 0 0 10px rgba(56,189,248,.8); }
.pdot.d3 { background: #22c55e; box-shadow: 0 0 10px rgba(34,197,94,.8); }
.pdot.d4 { background: #f59e0b; box-shadow: 0 0 10px rgba(245,158,11,.8); }
.pill.p1 { top: 21.5%; left: 26%; } .pill.p2 { top: 13.5%; right: 18%; }
.pill.p3 { top: 46%; left: 19%; } .pill.p4 { top: 57%; right: 18.5%; }
[data-float] { animation: float-y 6s ease-in-out infinite; }
.pill.p2[data-float] { animation-delay: -1.5s; } .pill.p3[data-float] { animation-delay: -3s; } .pill.p4[data-float] { animation-delay: -4.5s; }
@keyframes float-y { 0%,100%{transform:translateZ(70px) translateY(0)} 50%{transform:translateZ(70px) translateY(-10px)} }

/* ===== TRUST ===== */
.trust {
  max-width: var(--maxw); margin: 20px auto 10px; padding: 22px; display: flex; flex-wrap: wrap; gap: 12px 34px;
  justify-content: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust { position: relative; overflow: hidden; }
/* light beams flowing along the top & bottom rules */
.trust::before, .trust::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,.95), rgba(56,189,248,.95), transparent);
  background-size: 42% 100%; background-repeat: no-repeat;
  animation: trust-flow 5.5s linear infinite;
}
.trust::before { top: -1px; }
.trust::after { bottom: -1px; animation-delay: -2.75s; }
@keyframes trust-flow { 0% { background-position: -45% 0; } 100% { background-position: 145% 0; } }
.trust-item {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--muted);
  transition: color .25s ease, transform .25s cubic-bezier(.2,.8,.2,1);
}
.trust-item:hover { color: var(--text); transform: translateY(-2px); }
.ti-ic { display: inline-flex; color: #8b7bf0; transition: transform .3s cubic-bezier(.2,.8,.2,1), color .3s ease; animation: ti-glow 3.2s ease-in-out infinite; }
.trust-item:hover .ti-ic { transform: scale(1.22); color: var(--sky); }
.ti-ic svg { width: 19px; height: 19px; }
@keyframes ti-glow {
  0%,100% { filter: drop-shadow(0 0 2px rgba(139,123,240,.3)); }
  50% { filter: drop-shadow(0 0 9px rgba(139,123,240,.9)); }
}
.trust-item:nth-child(2) .ti-ic { animation-delay: -.6s; }
.trust-item:nth-child(3) .ti-ic { animation-delay: -1.2s; }
.trust-item:nth-child(4) .ti-ic { animation-delay: -1.8s; }
.trust-item:nth-child(5) .ti-ic { animation-delay: -2.4s; }

/* ===== SECTIONS ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 22px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px;
}
.section h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.section-sub { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* support / donations */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 820px; margin: 0 auto; perspective: 1200px; }
.donate-cta { margin-top: auto; align-self: flex-start; }
.warn {
  position: relative; padding-left: 26px; color: var(--muted); font-size: 14px; line-height: 1.55;
}
.warn::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4M12 17h.01M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3C/svg%3E");
}
.qr { align-self: center; margin: 18px auto 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 10px 26px -12px rgba(0,0,0,.55); }
.qr img { display: block; width: 118px; height: 118px; border-radius: 4px; }
.addr { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 0; }
.addr code {
  flex: 1; min-width: 0; font-family: 'SF Mono', ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.btn-copy {
  flex: 0 0 auto; font: inherit; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 9px; padding: 9px 14px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn-copy:hover { transform: translateY(-1px); border-color: transparent; background: var(--grad); color: #fff; }
.btn-copy.copied { background: #16a34a; border-color: transparent; color: #fff; }

/* features cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-rows: 1fr; perspective: 1200px; }
.card--wide { grid-column: span 2; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
  overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  transform-style: preserve-3d; will-change: transform;
}
/* capability chips inside wide bento cards */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.chips span {
  font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; color: var(--muted);
  background: color-mix(in srgb, var(--violet) 12%, transparent); border: 1px solid var(--border);
  transition: transform .25s ease, color .25s ease, border-color .25s ease;
}
.card:hover .chips span { border-color: color-mix(in srgb, var(--violet) 40%, transparent); color: var(--text); }
/* cursor-following spotlight sheen */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(280px 280px at var(--cx, 50%) var(--cy, 0%), color-mix(in srgb, var(--violet) 30%, transparent), color-mix(in srgb, var(--sky) 12%, transparent) 45%, transparent 68%);
}
/* animated light beam traveling around the card border (continuous) */
@property --beam { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px;
  background:
    conic-gradient(from var(--beam),
      transparent 0deg, transparent 205deg,
      rgba(139,92,246,.95) 265deg, rgba(56,189,248,.95) 315deg, transparent 360deg),
    linear-gradient(135deg, rgba(139,92,246,.22), rgba(56,189,248,.16));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .6; transition: opacity .3s ease;
  animation: card-beam 5s linear infinite;
}
@keyframes card-beam { to { --beam: 360deg; } }
.card:nth-child(2)::after { animation-delay: -.8s; }
.card:nth-child(3)::after { animation-delay: -1.6s; }
.card:nth-child(4)::after { animation-delay: -2.4s; }
.card:nth-child(5)::after { animation-delay: -3.2s; }
.card:nth-child(6)::after { animation-delay: -4s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(124,58,237,.5); }
.card:hover::after { opacity: 1; }
.card:hover::before { opacity: 1; }
.icon-chip {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; color: #fff;
  background: var(--grad); background-size: 160% 160%;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  animation: icon-glow 3.6s ease-in-out infinite, icon-shift 6s ease-in-out infinite;
}
@keyframes icon-glow {
  0%,100% { box-shadow: 0 12px 26px -12px rgba(124,58,237,.55), inset 0 1px 0 rgba(255,255,255,.25); }
  50% { box-shadow: 0 16px 34px -10px rgba(124,58,237,.9), 0 0 22px -2px rgba(56,189,248,.5), inset 0 1px 0 rgba(255,255,255,.32); }
}
@keyframes icon-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.card:nth-child(2) .icon-chip { animation-delay: -.5s, -1s; }
.card:nth-child(3) .icon-chip { animation-delay: -1s, -2s; }
.card:nth-child(4) .icon-chip { animation-delay: -1.5s, -3s; }
.card:nth-child(5) .icon-chip { animation-delay: -2s, -4s; }
.card:nth-child(6) .icon-chip { animation-delay: -2.5s, -5s; }
.icon-chip svg { width: 25px; height: 25px; }
.card:hover .icon-chip { transform: scale(1.1) rotate(-4deg); }
.card h3 { font-family: var(--font-display); font-size: 18.5px; font-weight: 700; margin-bottom: 9px; letter-spacing: -.01em; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* security */
.security { }
.sec-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.sec-copy h2 { margin-bottom: 18px; }
.sec-lead { font-size: 17px; color: var(--muted); margin-bottom: 26px; }
.sec-list { list-style: none; display: grid; gap: 16px; }
.sec-list li { display: grid; gap: 3px; padding-left: 24px; position: relative; }
.sec-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: #22c55e; font-weight: 800; }
.sec-list b { font-family: var(--font-display); font-size: 15.5px; }
.sec-list span { font-size: 14.5px; color: var(--muted); }
/* shield visual — animated orbiting rings + breathing core */
.sec-visual { display: grid; place-items: center; }
.shield { position: relative; width: 300px; height: 300px; display: grid; place-items: center; }
/* pulsing halo behind the core */
.shield::before {
  content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.5), rgba(14,165,233,.18) 55%, transparent 72%);
  filter: blur(22px); animation: shield-halo 4.5s ease-in-out infinite;
}
@keyframes shield-halo { 0%,100% { transform: scale(.9); opacity: .55; } 50% { transform: scale(1.18); opacity: 1; } }
.shield-ring { position: absolute; border-radius: 50%; border: 1px solid var(--border-strong); }
.shield-ring.r1 { width: 300px; height: 300px; border-style: dashed; animation: shield-spin 26s linear infinite; }
.shield-ring.r2 { width: 210px; height: 210px; border-color: color-mix(in srgb, var(--violet) 30%, var(--border-strong)); animation: shield-spin-rev 19s linear infinite; }
@keyframes shield-spin { to { transform: rotate(360deg); } }
@keyframes shield-spin-rev { to { transform: rotate(-360deg); } }
/* glowing dots orbiting on each ring */
.shield-ring::after {
  content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; left: 50%; margin-left: -5.5px;
}
.shield-ring.r1::after { top: -6px; background: radial-gradient(circle, #c4b5fd, #7c3aed); box-shadow: 0 0 14px 3px rgba(124,58,237,.85); }
.shield-ring.r2::after { bottom: -6px; width: 9px; height: 9px; margin-left: -4.5px; background: radial-gradient(circle, #7dd3fc, #0ea5e9); box-shadow: 0 0 14px 3px rgba(14,165,233,.85); }
.shield-core {
  position: relative; z-index: 1;
  width: 128px; height: 128px; border-radius: 30px; display: grid; place-items: center; background: var(--grad); background-size: 160% 160%;
  animation: shield-core 5s ease-in-out infinite, icon-shift 7s ease-in-out infinite;
}
@keyframes shield-core {
  0%,100% { transform: translateY(0); box-shadow: 0 24px 60px -18px rgba(124,58,237,.7); }
  50% { transform: translateY(-9px); box-shadow: 0 36px 72px -16px rgba(124,58,237,.95), 0 0 30px -4px rgba(14,165,233,.5); }
}
.shield-core img { filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }

/* screenshots — coverflow carousel */
.gallery { overflow: hidden; }
.cf { position: relative; height: clamp(320px, 44vw, 540px); perspective: 1900px; margin-top: 6px; }
.cf-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.cf-item {
  position: absolute; top: 50%; left: 50%; margin: 0;
  width: clamp(280px, 56vw, 760px);
  will-change: transform, opacity; cursor: pointer;
  transition: transform .6s cubic-bezier(.2,.85,.25,1), opacity .5s ease;
}
.cf-item img { display: block; width: 100%; height: auto; }
.cf-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 40;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: var(--text); background: var(--surface-solid); border: 1px solid var(--border-strong);
  box-shadow: 0 12px 28px -12px rgba(0,0,0,.5); transition: transform .2s ease, border-color .2s ease;
}
.cf-nav:hover { transform: translateY(-50%) scale(1.12); border-color: var(--violet); }
.cf-prev { left: 6px; } .cf-next { right: 6px; }
.cf-dots { display: flex; justify-content: center; gap: 7px; margin-top: 30px; flex-wrap: wrap; }
.cf-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--border-strong); cursor: pointer; transition: width .3s ease, background .3s ease; }
.cf-dot.active { width: 26px; background: var(--grad); }

/* download */
.download { padding-top: 40px; }
.dl-card {
  text-align: center; max-width: 720px; margin: 0 auto; padding: 56px 30px; border-radius: 26px;
  border: 1px solid var(--border-strong); background: var(--card); box-shadow: var(--shadow);
}
.dl-card img { margin: 0 auto 18px; border-radius: 18px; }
.dl-card h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.dl-card > p { color: var(--muted); font-size: 16.5px; margin-bottom: 26px; }
.dl-card .hero-cta { justify-content: center; }

/* ===== FOOTER (legible both themes) ===== */
.footer { background: var(--footer-bg); color: #eaf0fb; margin-top: 40px; }
.foot-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 50px 22px 26px; display: flex; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.foot-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; }
.foot-logo img { border-radius: 7px; }
.foot-tag { margin-top: 12px; font-size: 14px; color: #aab6cf; max-width: 34ch; }
.foot-links { display: flex; gap: 8px 22px; flex-wrap: wrap; align-content: start; }
.foot-link { position: relative; font-size: 14.5px; font-weight: 500; color: #c3cee3; padding: 3px 0; transition: color .2s; }
.foot-link::after { content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; border-radius:2px; background:var(--grad); transform:scaleX(0); transform-origin:left; transition:transform .25s cubic-bezier(.2,.8,.2,1); }
.foot-link:hover { color: #fff; } .foot-link:hover::after { transform: scaleX(1); }
.foot-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 22px; display: flex; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.09); font-size: 13px; color: #97a3bd;
}

/* ===== reveal (motion) ===== */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; }

/* ===== lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 44px;
  background: rgba(5,6,10,.86); backdrop-filter: blur(12px);
}
.lightbox.open { display: grid; animation: lb-fade .25s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-img {
  max-width: min(1400px, 96vw); max-height: 90vh; width: auto; height: auto; border-radius: 12px;
  box-shadow: 0 50px 120px -24px rgba(0,0,0,.85); animation: lb-zoom .32s cubic-bezier(.2,.8,.2,1);
}
@keyframes lb-zoom { from { transform: scale(.92); opacity: .5; } to { transform: scale(1); opacity: 1; } }
.lb-close {
  position: fixed; top: 22px; right: 24px; width: 46px; height: 46px; border-radius: 999px; z-index: 101;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s ease;
}
.lb-close:hover { transform: scale(1.1) rotate(90deg); background: rgba(255,255,255,.22); }

/* ===== responsive ===== */
@media (max-width: 900px) {
  .hero { padding-top: 66px; }
  .hero-visual { margin-top: 46px; }
  .tilt { transform: none !important; }
  .pill { display: none; }
  .hero-fx { height: 760px; }
  .sec-grid { grid-template-columns: 1fr; gap: 40px; }
  .sec-visual { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
  .shots { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-cta { display: inline-flex; }
}
@media (max-width: 560px) {
  .cards, .shots { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .donate-grid { grid-template-columns: 1fr; }
  .foot-inner { flex-direction: column; }
  .nav { gap: 10px; padding: 12px 16px; }
  .brand-name { font-size: 15px; }
  .section { padding: 64px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn, .card, .nav-link, .tilt { transition: none !important; }
  .aurora, .shot-glow, [data-float], .eyebrow .dot, .icon-chip { animation: none !important; }
  .card::after { animation: none !important; opacity: .5 !important; }
  .trust::before, .trust::after, .ti-ic { animation: none !important; }
  .shield::before, .shield-ring, .shield-core { animation: none !important; }
  .cipher { display: none !important; }
}
