/* ================================================================
   NETRIGO STORE — style.css
   Fully rebuilt — Inter + Fira Code, dark theme, glassmorphism,
   scroll animations, premium micro-interactions.
================================================================= */

/* ═══ GOOGLE FONTS (fallback import — primary is in <head>) ════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Fira+Code:wght@400;500&display=swap');

/* ═══ DESIGN TOKENS ════════════════════════════════════════════ */
:root {
  /* Background */
  --bg:              #050505;
  --bg-2:            #0a0a0a;
  --bg-3:            #0f0f0f;

  /* Surfaces */
  --panel:           rgba(255, 255, 255, 0.025);
  --panel-hover:     rgba(255, 255, 255, 0.045);
  --panel-elevated:  rgba(255, 255, 255, 0.04);

  /* Text */
  --text:            #ffffff;
  --text-muted:      #a8b3bb;
  --muted:           #71717a;

  /* Accent (deep red) */
  --accent:          #8B0000;
  --accent-mid:      #a01212;
  --accent-bright:   #c0392b;
  --accent-glow:     rgba(192, 57, 43, 0.35);

  /* Borders */
  --border:          rgba(255, 255, 255, 0.08);
  --border-hover:    rgba(255, 255, 255, 0.16);
  --border-accent:   rgba(139, 0, 0, 0.3);

  /* Shadows */
  --shadow-sm:       0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md:       0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-lg:       0 32px 100px rgba(0, 0, 0, 0.8);
  --shadow-button:   0 8px 32px rgba(192, 57, 43, 0.4);

  /* Radii */
  --radius-xs:       8px;
  --radius-sm:       12px;
  --radius:          20px;
  --radius-lg:       28px;
  --radius-xl:       36px;

  /* Typography */
  --font-sans:       'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:       'Fira Code', 'Courier New', Courier, monospace;

  /* Layout */
  --max-w:           1160px;
  --header-h:        72px;
}

/* ═══ RESET ════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a  { color: inherit; text-decoration: none; }
button, input, label, textarea { font: inherit; }
img { display: block; max-width: 100%; }

/* ═══ PRELOADER ════════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}
.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.preloader-mark {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  box-shadow: 0 0 48px rgba(192, 57, 43, 0.45);
  animation: preloader-pulse 1.6s ease-in-out infinite;
}
.preloader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-mid));
  border-radius: 99px;
  animation: preloader-load 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes preloader-load { to { width: 100%; } }
@keyframes preloader-pulse {
  0%, 100% { box-shadow: 0 0 48px rgba(192, 57, 43, 0.45); }
  50%       { box-shadow: 0 0 72px rgba(192, 57, 43, 0.75); transform: scale(1.04); }
}

/* ═══ TOAST NOTIFICATIONS ══════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast {
  min-width: 280px;
  max-width: 380px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 15, 15, 0.96);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: var(--shadow-md);
  animation: toast-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
}
.toast.toast-out {
  animation: toast-out 0.3s ease forwards;
}
.toast-icon {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 2px;
  flex-shrink: 0;
}
.toast-success .toast-icon { color: #4ade80; }
.toast-error   .toast-icon { color: var(--accent-bright); }
.toast-body    { flex: 1; }
.toast-title   { font-weight: 700; font-size: 0.9rem; }
.toast-msg     { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; line-height: 1.5; }
@keyframes toast-in  { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { from { opacity: 1; transform: none; }  to { opacity: 0; transform: translateY(8px); } }

/* ═══ HEADER ═══════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: padding 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}
.header-inner {
  width: min(var(--max-w), 100%);
  margin: 0 auto;
  padding: 0 28px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Brand */
.brand-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-shrink: 0;
}
.brand-mark {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-left: auto;
}
.site-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
  padding: 4px 0;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-bright);
  transition: width 0.25s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { width: 100%; }

.header-cta { margin-left: 0.75rem; }

/* Mobile menu toggle */
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-xs);
  transition: background 0.2s ease;
  order: 10;
}
.menu-button:hover { background: var(--panel); }
.menu-button span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.25s ease, width 0.25s ease;
  width: 100%;
}

/* ═══ BUTTONS ══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.25s ease,
              background 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { background: rgba(255, 255, 255, 0.06); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: var(--shadow-button);
}
.btn-primary:hover {
  box-shadow: 0 12px 48px rgba(192, 57, 43, 0.58);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
}
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.8rem; }
.btn-full { width: 100%; }

/* Loading state */
.btn-loading .btn-text   { opacity: 0; }
.btn-loading .btn-spinner { display: block; }
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  position: absolute;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══ SCROLL REVEAL ════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.revealed             { opacity: 1; transform: none; }
.reveal-delay-1              { transition-delay: 0.1s; }
.reveal-delay-2              { transition-delay: 0.2s; }
.reveal-delay-3              { transition-delay: 0.3s; }
.reveal-delay-4              { transition-delay: 0.45s; }

/* ═══ HERO ══════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 28px 3rem;
}

/* Animated background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 0%, transparent 100%);
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orb-drift 9s ease-in-out infinite alternate;
}
.bg-orb-1 {
  width: 560px; height: 560px;
  background: rgba(139, 0, 0, 0.13);
  top: -140px; left: -120px;
  animation-delay: 0s;
}
.bg-orb-2 {
  width: 420px; height: 420px;
  background: rgba(192, 57, 43, 0.08);
  bottom: -60px; right: -60px;
  animation-delay: -3.5s;
}
.bg-orb-3 {
  width: 280px; height: 280px;
  background: rgba(220, 40, 40, 0.05);
  top: 45%; left: 55%;
  animation-delay: -6s;
}
@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(28px, -22px) scale(1.1); }
}

/* Hero inner two-col grid */
.hero-shell {
  position: relative;
  z-index: 2;
  width: min(var(--max-w), 100%);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

/* Hero copy side */
.hero-content { display: grid; gap: 2rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(139, 0, 0, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.28);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(255, 130, 110, 0.95);
  width: fit-content;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff4444;
  box-shadow: 0 0 8px #ff4444;
  animation: status-pulse 2.2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 8px #ff4444; }
  50%       { box-shadow: 0 0 18px #ff4444, 0 0 28px rgba(255, 68, 68, 0.4); }
}

.hero-heading {
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.hero-heading em {
  font-style: normal;
  background: linear-gradient(135deg,
    #ffffff       0%,
    #ffccc7       45%,
    var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.88;
  color: var(--text-muted);
  max-width: 34rem;
  font-weight: 400;
}

/* Hero email form */
.hero-form { display: grid; gap: 0.8rem; }
.form-row  { display: grid; grid-template-columns: 1fr auto; gap: 0.7rem; }
.hero-form input {
  width: 100%;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  outline: none;
}
.hero-form input::placeholder { color: var(--muted); }
.hero-form input:focus {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.12);
}
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  padding-left: 0.5rem;
  letter-spacing: 0.02em;
}
.center-note { text-align: center; }

/* Social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.avatars { display: flex; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  border: 2px solid var(--bg);
  margin-left: -9px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
}
.avatar:first-child { margin-left: 0; }
.av-1 { background: linear-gradient(135deg, #8B0000, #4a0000); }
.av-2 { background: linear-gradient(135deg, #2a2a2a, #111); }
.av-3 { background: linear-gradient(135deg, #3d1a1a, #1a0808); }
.av-4 { background: rgba(255, 255, 255, 0.06); border-color: rgba(255,255,255,0.1); color: var(--muted); }
.hero-social-proof p    { font-size: 0.88rem; color: var(--text-muted); }
.hero-social-proof strong { color: #fff; font-weight: 800; }

/* Hero terminal panel */
.hero-terminal {
  background: rgba(8, 8, 8, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  animation: crt-flicker 4.5s ease-in-out infinite;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.3rem;
  background: rgba(255, 255, 255, 0.018);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}
.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.t-red    { background: #ff5f57; }
.t-yellow { background: #ffbd2e; }
.t-green  { background: #28ca41; }
.t-title  {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: auto;
  letter-spacing: 0.06em;
}
.terminal-body {
  padding: 1.6rem 1.4rem;
  font-family: var(--font-mono);
  display: grid;
  gap: 0.7rem;
  position: relative;
}
/* CRT scanlines */
.terminal-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    transparent 0px,
    rgba(255, 255, 255, 0.008) 1px,
    transparent 2px
  );
  pointer-events: none;
}
.t-line {
  font-size: 0.82rem;
  color: rgba(200, 200, 210, 0.82);
  line-height: 1.55;
}
.t-prompt { color: var(--accent-bright); margin-right: 0.45rem; font-weight: 500; }
.t-success { color: #4ade80; }
.t-muted   { color: rgba(150, 150, 160, 0.55); }
.terminal-cursor {
  display: inline-block;
  color: var(--accent-bright);
  animation: blink 0.9s steps(2, start) infinite;
  margin-left: 2px;
}
@keyframes blink {
  0%, 49.9% { opacity: 1; }
  50%, 100%  { opacity: 0; }
}
@keyframes crt-flicker {
  0%   { opacity: 0.99; }
  50%  { opacity: 0.97; }
  100% { opacity: 0.99; }
}

/* Scroll indicator */
.scroll-indicator {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: scroll-bob 2.2s ease-in-out infinite;
  transition: opacity 0.2s ease;
}
.scroll-indicator:hover { opacity: 0.6; }
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  border-radius: 2px;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ═══ SHARED SECTION STYLES ════════════════════════════════════ */
.section-inner {
  width: min(var(--max-w), 100%);
  margin: 0 auto;
  padding: 6.5rem 28px;
}
.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
  display: grid;
  gap: 1rem;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 36rem;
  margin: 0 auto;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

/* ═══ VAULT SECTION ════════════════════════════════════════════ */
.vault-section {
  background: radial-gradient(ellipse 80% 50% at 50% 50%,
    rgba(139, 0, 0, 0.04),
    transparent);
}
.vault-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.vault-card {
  padding: 2.25rem 2rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.vault-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(139, 0, 0, 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.vault-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
}
.vault-card:hover::before { opacity: 1; }
.vault-card-featured {
  border-color: rgba(139, 0, 0, 0.28);
  background: linear-gradient(140deg, rgba(139, 0, 0, 0.07), var(--panel));
}
.vault-card-featured:hover { border-color: rgba(192, 57, 43, 0.48); }
.vault-card-icon {
  font-size: 2rem;
  color: var(--accent-bright);
  margin-bottom: 1.35rem;
  display: block;
}
.vault-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}
.vault-card p {
  color: var(--text-muted);
  line-height: 1.78;
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}
.vault-card-tag {
  display: inline-flex;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: rgba(139, 0, 0, 0.1);
  border: 1px solid rgba(139, 0, 0, 0.22);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: rgba(255, 140, 120, 0.9);
  text-transform: uppercase;
}

/* ═══ BENEFITS SECTION ═════════════════════════════════════════ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.benefit-item {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 2.75rem;
  border: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.benefit-item::after {
  content: '';
  position: absolute;
  background: var(--border);
}
/* right gutter line */
.benefit-item:nth-child(odd)::after {
  top: 15%; bottom: 15%;
  right: 0; width: 1px;
}
/* bottom gutter line */
.benefit-item:nth-child(1)::before,
.benefit-item:nth-child(2)::before {
  content: '';
  position: absolute;
  left: 15%; right: 15%;
  bottom: 0; height: 1px;
  background: var(--border);
}
.benefit-item:hover { background: rgba(255, 255, 255, 0.018); }
.benefit-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-bright);
  letter-spacing: 0.1em;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(192, 57, 43, 0.22);
  border-radius: var(--radius-xs);
  background: rgba(139, 0, 0, 0.06);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.benefit-item h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.benefit-item p {
  color: var(--text-muted);
  line-height: 1.78;
  font-size: 0.92rem;
}

/* ═══ REGISTER SECTION ═════════════════════════════════════════ */
.register-section { background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(139,0,0,0.05), transparent); }
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Copy side */
.register-copy { display: grid; gap: 1.6rem; padding-top: 1rem; }
.register-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.register-copy > p {
  color: var(--text-muted);
  line-height: 1.82;
  font-size: 0.97rem;
}
.register-perks { display: grid; gap: 0.9rem; }
.register-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.perk-icon {
  color: #4ade80;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Form card */
.register-form-wrap {
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.register-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192,57,43,0.4), transparent);
}
.register-form { display: grid; gap: 1.35rem; }

.input-group { display: grid; gap: 0.5rem; }
.input-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.required-mark { color: var(--accent-bright); }
.input-group input {
  width: 100%;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  outline: none;
}
.input-group input::placeholder { color: rgba(161, 161, 170, 0.45); }
.input-group input:focus {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
  background: rgba(255, 255, 255, 0.05);
}
.input-hint {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Checkboxes */
.consent-group { display: grid; gap: 0.85rem; }
.checkbox-field {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  cursor: pointer;
}
.checkbox-field input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.checkbox-box {
  width: 20px; height: 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.checkbox-box::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 3px;
  background: transparent;
  transition: background 0.18s ease, transform 0.18s ease;
  transform: scale(0.4);
}
.checkbox-field input[type="checkbox"]:checked + .checkbox-box {
  border-color: var(--accent-bright);
  background: rgba(139, 0, 0, 0.08);
}
.checkbox-field input[type="checkbox"]:checked + .checkbox-box::after {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  transform: scale(1);
  box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}
.checkbox-field input[type="checkbox"]:focus-visible + .checkbox-box {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.3);
}
.checkbox-copy {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.checkbox-copy a {
  color: rgba(255, 130, 110, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.checkbox-copy a:hover { color: rgba(255, 160, 140, 1); }

/* ═══ FOOTER ════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.footer-wrap {
  width: min(var(--max-w), 100%);
  margin: 0 auto;
  padding: 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding: 4rem 0 3rem;
}
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.footer-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.site-footer a {
  display: block;
  color: var(--muted);
  font-size: 0.87rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: #fff; }
.footer-note {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.8;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.trust-logos {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.trust-logos span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

/* ═══ LEGAL PAGES ═══════════════════════════════════════════════ */
.legal-hero {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  padding: 4rem 28px 6rem;
}
.legal-card {
  width: min(780px, 100%);
}
.legal-card .eyebrow { margin-bottom: 0.75rem; }
.legal-card h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.legal-date {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 3rem;
}
.legal-body { display: grid; gap: 2.5rem; }
.legal-body h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.legal-body p,
.legal-body li {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.95rem;
}
.legal-body ul { display: grid; gap: 0.6rem; padding-left: 1.25rem; list-style: disc; }
.legal-body a { color: rgba(255,130,110,0.9); text-decoration: underline; text-underline-offset: 2px; }

/* ═══ 404 ═══════════════════════════════════════════════════════ */
.error-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  padding: 48px 28px;
}
.error-card {
  position: relative;
  max-width: 680px;
  width: 100%;
  padding: 3.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.014);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  text-align: center;
  z-index: 2;
  overflow: hidden;
}
.error-card::before {
  content: "404";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 17rem;
  line-height: 1;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.022);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}
.error-code {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-bright);
  font-weight: 800;
  position: relative; z-index: 2;
  margin-bottom: 0.5rem;
}
.error-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 0.9rem;
  position: relative; z-index: 2;
}
.error-card > p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  position: relative; z-index: 2;
}

/* ═══ RESPONSIVE ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-shell {
    grid-template-columns: 1fr;
    max-width: 640px;
    gap: 3rem;
  }
  .hero-terminal { max-width: 100%; }
  .scroll-indicator { display: none; }

  .register-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top    { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 860px) {
  .vault-grid    { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: 1fr; border: none; gap: 0; }
  .benefit-item  { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; }
  .benefit-item::after,
  .benefit-item::before { display: none; }
  .footer-links  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .header-inner { padding: 0 20px; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(6, 6, 6, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(24px);
    z-index: 400;
  }
  .site-nav a { padding: 0.75rem 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .site-nav a::after { display: none; }
  .site-nav a:last-child { border-bottom: none; }
  .menu-toggle:checked ~ .site-nav { display: flex; }
  .menu-button { display: flex; margin-left: auto; }
  .header-cta { display: none; }

  .hero-section { padding: 3.5rem 20px 2.5rem; }
  .hero-shell   { padding: 0; }
  .hero-heading { font-size: clamp(2.4rem, 10vw, 3.4rem); }

  .form-row { grid-template-columns: 1fr; }
  .section-inner { padding: 4.5rem 20px; }
  .register-form-wrap { padding: 2rem; }
  .footer-wrap { padding: 0 20px; }
  .legal-hero  { padding: 3rem 20px 5rem; }
  .error-card  { padding: 2.5rem 2rem; }
}

@media (max-width: 480px) {
  .hero-section { padding: 3rem 16px 2rem; }
  .section-inner { padding: 4rem 16px; }
  .footer-wrap { padding: 0 16px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .register-form-wrap { padding: 1.6rem; }
  .vault-grid { max-width: 100%; }
  .trust-logos span { font-size: 0.62rem; }
}

@media print {
  .preloader,
  .toast-container,
  .site-header,
  .scroll-indicator,
  .hero-bg { display: none !important; }
}
