/* ============================================================
   WTN Access — Design System
   Red/Purple primary + Green access accent
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --primary: #e63946;
  --primary-hover: #cc2f3b;
  --primary-glow: rgba(230, 57, 70, 0.35);
  --accent: #f72585;
  --accent-secondary: #7209b7;
  --color-access: #06d6a0;
  --color-access-hover: #05c090;
  --color-access-glow: rgba(6, 214, 160, 0.3);

  /* Backgrounds */
  --bg-darker: #080808;
  --bg-dark: #0d0d0d;
  --bg-card: #121212;
  --bg-card-hover: #181818;
  --bg-elevated: #1a1a1a;
  --bg-overlay: rgba(8, 8, 8, 0.97);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #a8b2c0;
  --text-tertiary: #6b7280;
  --text-muted: #4b5563;
  --text-link: #06d6a0;
  --text-code: #f72585;

  /* Status */
  --success: #06d6a0;
  --warning: #ffd166;
  --danger: #ef476f;
  --info: #4cc9f0;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #e63946 0%, #7209b7 100%);
  --gradient-accent: linear-gradient(135deg, #f72585 0%, #7209b7 100%);
  --gradient-access: linear-gradient(135deg, #06d6a0 0%, #4cc9f0 100%);
  --gradient-hero: linear-gradient(160deg, rgba(230, 57, 70, 0.08) 0%, rgba(114, 9, 183, 0.06) 50%, rgba(6, 214, 160, 0.04) 100%);
  --gradient-card: linear-gradient(180deg, #161616 0%, #0d0d0d 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.7);
  --shadow-primary: 0 0 20px rgba(230, 57, 70, 0.3), 0 0 40px rgba(230, 57, 70, 0.1);
  --shadow-access: 0 0 20px rgba(6, 214, 160, 0.3), 0 0 40px rgba(6, 214, 160, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;

  /* Border */
  --border-subtle: 1px solid rgba(255,255,255,0.06);
  --border-primary: 1px solid rgba(230, 57, 70, 0.3);
  --border-access: 1px solid rgba(6, 214, 160, 0.3);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-darker);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-access-hover);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

code, pre {
  font-family: var(--font-mono);
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-20) 0;
}

.section-alt {
  background-color: var(--bg-dark);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: var(--space-12);
}

/* CTA Title (instead of H2 for some sections) */
.cta-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-access);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

/* --- Header / Nav --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(230, 57, 70, 0.15);
  transition: background var(--transition-normal);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--text-primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-accent {
  color: var(--color-access);
  margin-left: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-link {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-link.active {
  color: var(--color-access);
}

.nav-external::after {
  content: ' ↗';
  font-size: 0.7em;
  opacity: 0.6;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(230, 57, 70, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
  color: #fff;
}

.btn-access {
  background: var(--gradient-access);
  color: var(--bg-darker);
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(6, 214, 160, 0.25);
}

.btn-access:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-access);
  color: var(--bg-darker);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border-color: rgba(255,255,255,0.15);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.3);
  background: var(--bg-glass);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
  border-radius: var(--radius-md);
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  font-family: var(--font-mono);
}

.badge-success {
  background: rgba(6, 214, 160, 0.15);
  color: var(--success);
  border: 1px solid rgba(6, 214, 160, 0.3);
}

.badge-primary {
  background: rgba(230, 57, 70, 0.15);
  color: var(--primary);
  border: 1px solid rgba(230, 57, 70, 0.3);
}

.badge-verified {
  background: rgba(114, 9, 183, 0.2);
  color: #c77dff;
  border: 1px solid rgba(114, 9, 183, 0.4);
}

.badge-canada {
  background: rgba(255, 49, 49, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(255, 49, 49, 0.3);
}

.badge-warning {
  background: rgba(255, 209, 102, 0.15);
  color: var(--warning);
  border: 1px solid rgba(255, 209, 102, 0.3);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(230, 57, 70, 0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(114, 9, 183, 0.05) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 50%, rgba(6, 214, 160, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-access);
  margin-bottom: var(--space-6);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-access);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .access-highlight {
  color: var(--color-access);
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: var(--space-8);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

/* --- Stats Bar --- */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--bg-glass);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.stat-item {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-access);
  font-family: var(--font-mono);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* --- Onion Link Box --- */
.onion-box {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(6, 214, 160, 0.08);
  border: var(--border-access);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.onion-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-access);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.onion-url {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-primary);
  word-break: break-all;
  flex: 1;
}

.copy-btn {
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.3);
  color: var(--color-access);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-family: var(--font-mono);
}

.copy-btn:hover {
  background: rgba(6, 214, 160, 0.2);
  box-shadow: var(--shadow-access);
}

/* --- Cards --- */
.card {
  background: var(--gradient-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: all var(--transition-normal);
}

.card:hover {
  border-color: rgba(230, 57, 70, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-access {
  border-color: rgba(6, 214, 160, 0.2);
}

.card-access:hover {
  border-color: rgba(6, 214, 160, 0.4);
  box-shadow: var(--shadow-access);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
}

.card-icon-primary {
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.25);
}

.card-icon-access {
  background: rgba(6, 214, 160, 0.12);
  border: 1px solid rgba(6, 214, 160, 0.25);
}

.card-icon-purple {
  background: rgba(114, 9, 183, 0.2);
  border: 1px solid rgba(114, 9, 183, 0.3);
}

.card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* --- Grid Layouts --- */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Steps --- */
.steps-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.step-card {
  position: relative;
  background: var(--gradient-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: rgba(6, 214, 160, 0.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-access);
  border-radius: var(--radius-sm);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--bg-darker);
  font-family: var(--font-mono);
  margin-bottom: var(--space-4);
}

.step-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.7;
}

/* --- Images --- */
.img-rounded {
  border-radius: var(--radius-md);
  border: var(--border-subtle);
}

.img-featured {
  border-radius: var(--radius-md);
  border: 1px solid rgba(230, 57, 70, 0.2);
  box-shadow: var(--shadow-xl);
}

.img-access {
  border-radius: var(--radius-md);
  border: 1px solid rgba(6, 214, 160, 0.2);
  box-shadow: 0 8px 32px rgba(6, 214, 160, 0.1);
}

.img-caption {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-align: center;
  margin-top: var(--space-2);
  font-style: italic;
}

/* Content + Image layout */
.content-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  margin: var(--space-10) 0;
}

.content-image-row.reverse {
  direction: rtl;
}

.content-image-row.reverse > * {
  direction: ltr;
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 800px;
}

.faq-item {
  background: var(--gradient-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(230, 57, 70, 0.2);
}

.faq-item.active {
  border-color: rgba(6, 214, 160, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color var(--transition-fast);
  gap: var(--space-4);
}

.faq-question:hover {
  color: var(--color-access);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-access);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.8;
}

/* --- Feature List --- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(6, 214, 160, 0.12);
  border: 1px solid rgba(6, 214, 160, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-access);
  margin-top: 1px;
}

/* --- Code / Onion Blocks --- */
.code-block {
  background: #0a0a0a;
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-5);
  position: relative;
  margin: var(--space-4) 0;
}

.code-block code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-access);
  word-break: break-all;
}

.code-block .copy-btn {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  font-size: 11px;
  padding: 4px 10px;
}

/* --- Alert / Warning Boxes --- */
.alert {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-sm);
  margin: var(--space-6) 0;
}

.alert-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1.6;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.alert-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: 0;
}

.alert-success {
  background: rgba(6, 214, 160, 0.08);
  border: 1px solid rgba(6, 214, 160, 0.25);
}

.alert-success .alert-title { color: var(--success); }
.alert-success .alert-text { color: rgba(6, 214, 160, 0.8); }

.alert-warning {
  background: rgba(255, 209, 102, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.25);
}

.alert-warning .alert-title { color: var(--warning); }
.alert-warning .alert-text { color: rgba(255, 209, 102, 0.8); }

.alert-danger {
  background: rgba(239, 71, 111, 0.08);
  border: 1px solid rgba(239, 71, 111, 0.25);
}

.alert-danger .alert-title { color: var(--danger); }
.alert-danger .alert-text { color: rgba(239, 71, 111, 0.8); }

.alert-info {
  background: rgba(76, 201, 240, 0.08);
  border: 1px solid rgba(76, 201, 240, 0.25);
}

.alert-info .alert-title { color: var(--info); }
.alert-info .alert-text { color: rgba(76, 201, 240, 0.8); }

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: var(--space-20) 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.06) 0%, rgba(114, 9, 183, 0.06) 100%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner .section-title {
  margin-bottom: var(--space-4);
}

.cta-inner p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* --- Mirror Link --- */
.mirror-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(6, 214, 160, 0.05);
  border: 1px solid rgba(6, 214, 160, 0.2);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  transition: all var(--transition-fast);
  flex-wrap: wrap;
}

.mirror-link:hover {
  border-color: rgba(6, 214, 160, 0.4);
  background: rgba(6, 214, 160, 0.08);
}

.mirror-info {
  flex: 1;
  min-width: 200px;
}

.mirror-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-access);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
  font-family: var(--font-mono);
}

.mirror-url {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-primary);
  word-break: break-all;
}

/* --- Crypto Tool Cards --- */
.tool-card {
  background: var(--gradient-card);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: all var(--transition-normal);
}

.tool-card:hover {
  border-color: rgba(6, 214, 160, 0.2);
  transform: translateY(-1px);
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.2);
}

.tool-body h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--text-primary);
}

.tool-body p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.tool-body a {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-access);
  font-family: var(--font-mono);
}

/* --- Security Feature Grid --- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--bg-glass);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.security-item:hover {
  border-color: rgba(6, 214, 160, 0.2);
  background: var(--bg-glass-hover);
}

.security-item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.security-item-body h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--text-primary);
}

.security-item-body p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* --- Scroll Animation --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-elevated);
  color: var(--color-access);
  border: 1px solid rgba(6, 214, 160, 0.3);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-mono);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-normal);
  z-index: 9999;
  box-shadow: var(--shadow-xl);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  border-top: var(--border-subtle);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.footer-brand .logo {
  margin-bottom: var(--space-3);
}

.footer-tagline {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-access);
  margin-bottom: var(--space-2);
}

.footer-desc {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-access);
}

.footer-security h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-stat {
  text-align: center;
  padding: var(--space-2);
  background: var(--bg-glass);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
}

.footer-stat-value {
  display: block;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-mono);
  line-height: 1.2;
}

.footer-stat-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Footer Crypto Widget */
.footer-crypto {
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
  padding: var(--space-5) 0;
  margin-bottom: var(--space-8);
}

.crypto-widget {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.crypto-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.crypto-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.btc-icon { color: #f7931a; }
.xmr-icon { color: #ff6600; }

.crypto-info {
  display: flex;
  flex-direction: column;
}

.crypto-sublabel {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.crypto-value {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  min-width: 120px;
}

.crypto-accepts {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-access);
}

.crypto-updated-time {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.crypto-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
}

.footer-bottom {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.footer-bottom > p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin: 0;
}

.footer-warning {
  font-size: var(--text-xs);
  color: var(--warning);
  opacity: 0.7;
  margin: 0;
}

/* Error Page */
.error-code {
  font-size: 8rem;
  font-weight: 900;
  font-family: var(--font-mono);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-4);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-image-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-overlay);
    border-bottom: var(--border-subtle);
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-1);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .badge {
    display: none;
  }

  .hero-section {
    padding: var(--space-16) 0;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .stats-bar {
    gap: var(--space-4);
  }

  .stat-item {
    min-width: 80px;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-crypto .crypto-widget {
    gap: var(--space-4);
  }

  .crypto-divider {
    display: none;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .container {
    padding: 0 var(--space-4);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-xl {
    width: 100%;
    justify-content: center;
  }

  .content-image-row.reverse {
    direction: ltr;
  }

  .onion-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  :root { font-size: 15px; }

  .section-title {
    font-size: var(--text-2xl);
  }

  .cta-title {
    font-size: var(--text-xl);
  }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-access { color: var(--color-access); }
.text-primary-color { color: var(--primary); }
.text-secondary-color { color: var(--text-secondary); }
.font-mono { font-family: var(--font-mono); }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.fw-bold { font-weight: 700; }
.fw-800 { font-weight: 800; }
.gap-4 { gap: var(--space-4); }

/* --- Glassmorphism --- */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

/* --- Divider --- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.3), rgba(114, 9, 183, 0.3), transparent);
  margin: var(--space-12) 0;
}

/* --- Body Background Pattern --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(230, 57, 70, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(114, 9, 183, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(6, 214, 160, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Header becomes more opaque on scroll */
.header.scrolled {
  background: rgba(8, 8, 8, 0.98);
  border-bottom-color: rgba(230, 57, 70, 0.25);
}
