/* ============================================================
   SEALED VAULT — Global Stylesheet
   Aesthetic: Dark Precision / Security Noir
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --bg:          #05080f;
  --bg2:         #0b1221;
  --bg3:         #101929;
  --border:      #1a2a42;
  --border-glow: #1e3a5f;
  --accent:      #00c8ff;
  --accent-dim:  #0099cc;
  --accent2:     #0057e7;
  --gold:        #f0a500;
  --text:        #dde8f5;
  --muted:       #6e85a3;
  --danger:      #ff4d6d;
  --success:     #10d98a;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --nav-h: 72px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --glow: 0 0 40px rgba(0, 200, 255, 0.12);
  --glow-strong: 0 0 60px rgba(0, 200, 255, 0.25);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul { list-style: none; }

/* ── Grid Background ── */
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.noise {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 2rem;
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav.scrolled { background: rgba(5, 8, 15, 0.95); }
.nav-inner {
  max-width: 1200px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.45rem;
  letter-spacing: 0.01em; color: var(--text);
}
.nav-logo .logo-img {
  width: 46px; height: 46px; object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0,200,255,0.35));
  transition: filter var(--transition);
}
.nav-logo:hover .logo-img {
  filter: drop-shadow(0 0 14px rgba(0,200,255,0.6));
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta {
  padding: 0.55rem 1.25rem;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff !important;
  border-radius: 8px; font-size: 0.875rem; font-weight: 600;
  transition: opacity var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 20px rgba(0,200,255,0.2);
}
.nav-cta:hover { opacity: 0.88; box-shadow: var(--glow-strong); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; cursor: pointer;
}
.nav-hamburger span {
  display: block; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(5,8,15,0.98); border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem; z-index: 999;
  flex-direction: column; gap: 1.25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 1rem; color: var(--muted); font-weight: 500; }
.nav-mobile a:hover { color: var(--text); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 10px;
  font-size: 0.9375rem; font-weight: 600;
  transition: all var(--transition); cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff; box-shadow: 0 0 24px rgba(0,200,255,0.25);
}
.btn-primary:hover { box-shadow: var(--glow-strong); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent); 
}
.btn-outline:hover { background: rgba(0,200,255,0.08); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; border-radius: 12px; }

/* ── SECTION BASE ── */
section { position: relative; overflow: visible; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.9rem; border-radius: 100px;
  background: rgba(0,200,255,0.08); border: 1px solid rgba(0,200,255,0.2);
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-mono);
  margin-bottom: 1.25rem;
}
.section-title {
  font-family: var(--font-display); font-weight: 700;
  line-height: 1.2; color: var(--text);
}
.section-sub {
  color: var(--muted); font-size: 1.05rem; line-height: 1.7;
  max-width: 580px;
}
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }

/* ── CARDS ── */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative; overflow: hidden;
}
.card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,200,255,0.15), transparent);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
  background: rgba(0,200,255,0.07); border: 1px solid rgba(0,200,255,0.15);
}

/* ── DIVIDER ── */
.divider {
  height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
}

/* ── BADGE ── */
.badge {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-cyan { background: rgba(0,200,255,0.12); color: var(--accent); border: 1px solid rgba(0,200,255,0.2); }
.badge-gold { background: rgba(240,165,0,0.12); color: var(--gold); border: 1px solid rgba(240,165,0,0.2); }
.badge-green { background: rgba(16,217,138,0.1); color: var(--success); border: 1px solid rgba(16,217,138,0.2); }

/* ── FOOTER ── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem; padding-bottom: 3rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-top: 0.75rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.875rem; color: var(--muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--muted);
}
.footer-bottom .enc-badge {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--accent); opacity: 0.8;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  text-align: center; background: var(--bg);
}
.page-hero .section-title { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1.25rem; }
.page-hero .section-sub { margin: 0 auto; }

/* Footer logo image sizing */
footer .nav-logo .logo-img { width: 34px; height: 34px; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(0,200,255,0.2); }
  50%       { box-shadow: 0 0 60px rgba(0,200,255,0.45); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .btn-lg { width: 100%; justify-content: center; }
}
