:root {
  /* Kris Anfalova NextWare Dribbble Palette - Deep Obsidian Canvas */
  --bg-primary: #080d0d;
  --bg-secondary: #0e1415;
  --bg-tertiary: #141c1d;
  --bg-elevated: #162021;
  --bg-card: rgba(18, 26, 26, 0.75);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-hover: rgba(22, 32, 33, 0.9);
  --bg-glass: rgba(15, 22, 22, 0.75);

  /* Primary Accent - Electric Mint & Radiant Cyan-Green (#4FE0B6) */
  --accent-mint: #4fe0b6;
  --accent-mint-bright: #5cf9d0;
  --accent-mint-pressed: #45eba5;
  --accent-mint-dark: #071912;
  --accent-mint-glow: rgba(79, 224, 182, 0.4);

  /* Unified Theme Mapping */
  --accent-cyan: #4fe0b6;
  --accent-cyan-light: #5cf9d0;
  --accent-cyan-bright: #80f2ce;
  --accent-cyan-glow: rgba(79, 224, 182, 0.35);
  --accent-blue: #059669;
  --accent-indigo: #10b981;
  --accent-violet: #4fe0b6;

  /* Functional Indicators */
  --accent-emerald: #27e38c;
  --accent-emerald-light: #45eba5;
  --accent-emerald-glow: rgba(39, 227, 140, 0.25);

  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);
  --accent-amber: #f59e0b;

  --accent-rose: #ff5b5b;
  --accent-rose-light: #ff7676;
  --accent-rose-glow: rgba(255, 91, 91, 0.25);

  /* Micro-tag Ice Mint */
  --accent-ice: #80f2ce;

  /* Typography */
  --text-main: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #8b9b9b;
  --text-dim: #5c6e6e;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 24px -2px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  background-image: radial-gradient(ellipse at 50% 0%, #164e33 0%, #0d2a1f 28%, #080d0d 65%);
  background-repeat: no-repeat;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography & Helpers */
html {
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  overscroll-behavior-y: none;
}

button, a, [role="button"], .crypto-token-badge, .ios-tab-item {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

@media (pointer: coarse) {
  input, textarea, select {
    font-size: 16px !important;
  }
}

.font-mono {
  font-family: var(--font-mono);
}

.font-bold {
  font-weight: 700;
}

.accent-cyan {
  color: var(--accent-mint);
}

.accent-emerald {
  color: var(--accent-emerald);
}

.accent-rose {
  color: var(--accent-rose);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #80f2ce 60%, #4fe0b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Container */
.main-content,
.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navbar - Kris Anfalova Floating Pill Structure */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 13, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 224, 182, 0.12), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(79, 224, 182, 0.3);
  box-shadow: 0 0 20px rgba(79, 224, 182, 0.2);
  transition: var(--transition);
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.brand-logo:hover {
  transform: scale(1.04);
  border-color: rgba(92, 249, 208, 0.6);
  box-shadow: 0 0 28px rgba(79, 224, 182, 0.35);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.ticker-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(79, 224, 182, 0.12);
  color: var(--accent-mint);
  border-radius: var(--radius-full);
  border: 1px solid rgba(79, 224, 182, 0.3);
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* Top Navbar Links Segment */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 4px 6px;
  background: rgba(18, 26, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  overflow: visible;
  max-width: 100%;
  flex-shrink: 0;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-link {
  color: #7e8e8e;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 9px;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.node-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(18, 26, 26, 0.8);
  border: 1px solid var(--bg-card-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.node-status-full {
  display: inline;
}

.node-status-mobile {
  display: none;
}

/* Icon-Only Resized Social Media Buttons */
.nav-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  background: rgba(18, 26, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-social-btn svg {
  width: 15px;
  height: 15px;
  display: block;
}

.nav-social-btn .social-label {
  display: none !important;
}

.nav-social-btn:hover {
  border-color: rgba(79, 224, 182, 0.5);
  background: rgba(79, 224, 182, 0.15);
  color: var(--accent-mint);
  transform: translateY(-1px);
}

.nav-social-tg:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

@media (max-width: 768px) {
  .nav-social-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.status-dot.pulsing {
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Hero Section - Kris Anfalova NextWare Layout */
.hero-section {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  overflow: visible;
  text-align: center;
}

.hero-ambient-glow {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(79, 224, 182, 0.22) 0%, rgba(22, 78, 51, 0.12) 42%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-laser-flare {
  position: absolute;
  top: 51%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(92, 249, 208, 0.1) 12%, rgba(92, 249, 208, 0.85) 50%, rgba(92, 249, 208, 0.1) 88%, transparent 100%);
  box-shadow: 0 0 15px rgba(92, 249, 208, 0.7), 0 0 35px rgba(79, 224, 182, 0.4);
  pointer-events: none;
  z-index: 1;
}

/* Micro-Tag at top ("Your Gateway to Smarter...") */
.hero-micro-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 18px;
  background: rgba(18, 26, 26, 0.75);
  border: 1px solid rgba(128, 242, 206, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #80f2ce;
  margin-bottom: 2.25rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 0 20px rgba(79, 224, 182, 0.15);
  position: relative;
  z-index: 2;
}

.hero-micro-sparkle {
  color: #4fe0b6;
  font-size: 1rem;
}

/* Dual Split Grid with Phone in the Middle */
.hero-dual-grid {
  display: grid;
  grid-template-columns: 1fr 380px 1fr;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  margin-bottom: 3.5rem;
}

.hero-col-left {
  text-align: left;
  padding-right: 1rem;
}

.hero-col-right {
  text-align: left;
  padding-left: 1rem;
}

.hero-col-left h1,
.hero-col-right h2 {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-col-desc {
  font-size: 0.95rem;
  color: #8b9b9b;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 340px;
}

/* Supported Crypto Token Pills */
.crypto-tokens-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.crypto-token-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.crypto-token-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 26, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.crypto-token-badge:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: #4fe0b6;
  box-shadow: 0 0 20px rgba(79, 224, 182, 0.4);
}

.crypto-token-label {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  white-space: nowrap;
  letter-spacing: 0.02em;
  user-select: none;
}

/* Next Gen Badge on Right */
.next-gen-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 16px;
  background: rgba(18, 26, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* Central Phone Mockup Device */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 310px;
  background: #0e1415;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(79, 224, 182, 0.18);
  position: relative;
  z-index: 3;
  animation: floatPhone 6s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  will-change: transform;
}

.phone-mockup:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 95px rgba(0, 0, 0, 0.9), 0 0 55px rgba(79, 224, 182, 0.32);
}

@keyframes floatPhone {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.phone-screen {
  background: #080d0d;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.phone-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #8b9b9b;
}

.phone-balance-headline {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.phone-balance-headline span.cents {
  color: #5c6e6e;
}

.phone-token-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  color: #8b9b9b;
}

/* Elevated Wallet Card inside Phone */
.phone-wallet-card {
  background: #162021;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.phone-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.phone-card-title {
  color: #ffffff;
  font-weight: 600;
}

.phone-card-hash {
  font-family: var(--font-mono);
  color: #5c6e6e;
  font-size: 0.68rem;
}

.phone-card-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.phone-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-pill-badge {
  padding: 3px 8px;
  background: rgba(39, 227, 140, 0.15);
  border: 1px solid rgba(39, 227, 140, 0.3);
  border-radius: var(--radius-full);
  color: #27e38c;
  font-size: 0.72rem;
  font-weight: 700;
}

.phone-action-row {
  display: flex;
  gap: 0.5rem;
}

.phone-action-btn {
  flex: 1;
  padding: 8px;
  background: #1a2425;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* Phone Dock Bar */
.phone-dock {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-dock-item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #8b9b9b;
}

.phone-dock-item.active {
  background: #4fe0b6;
  color: #071912;
  box-shadow: 0 0 12px rgba(79, 224, 182, 0.4);
}

/* Floating Satellite Cards (Glassmorphism) */
.satellite-cards-cluster {
  display: contents;
}

.satellite-card {
  position: absolute;
  z-index: 4;
  background: rgba(18, 26, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.8rem 1rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.satellite-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(79, 224, 182, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(79, 224, 182, 0.25);
}

@keyframes floatSatellite1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes floatSatellite2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

@keyframes floatSatellite3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes floatSatellite4 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.satellite-card-top-left {
  left: -55px;
  top: 8%;
  min-width: 175px;
  animation: floatSatellite1 5.2s ease-in-out infinite;
}

.satellite-card-bottom-left {
  left: -60px;
  bottom: 12%;
  min-width: 180px;
  animation: floatSatellite2 4.8s ease-in-out infinite 1.2s;
}

.satellite-card-top-right {
  right: -55px;
  top: 8%;
  min-width: 175px;
  animation: floatSatellite3 5.6s ease-in-out infinite 0.6s;
}

.satellite-card-bottom-right {
  right: -60px;
  bottom: 12%;
  min-width: 180px;
  animation: floatSatellite4 5.0s ease-in-out infinite 1.8s;
}

@media (prefers-reduced-motion: reduce) {
  .phone-mockup,
  .satellite-card {
    animation: none !important;
  }
}

.satellite-title {
  font-size: 0.72rem;
  color: #8b9b9b;
  margin-bottom: 0.25rem;
}

.satellite-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.satellite-chart {
  margin-top: 0.35rem;
}

/* Bottom Center Primary CTA */
.hero-bottom-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.btn-hero-glow {
  background: #4fe0b6 !important;
  color: #071912 !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  padding: 0.95rem 2.5rem !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 0 35px rgba(79, 224, 182, 0.45) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-hero-glow:hover {
  background: #5cf9d0 !important;
  box-shadow: 0 0 55px rgba(79, 224, 182, 0.7) !important;
  transform: translateY(-2px);
}

.hero-bottom-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  z-index: 2;
  position: relative;
}

.hero-sub-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Buttons Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: #4fe0b6 !important;
  color: #071912 !important;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(79, 224, 182, 0.35);
}

.btn-primary:hover {
  background: #5cf9d0 !important;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(79, 224, 182, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-tertiary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--bg-card-border);
}

.btn-tertiary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent-mint);
  color: var(--accent-mint);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

/* Metrics Ribbon */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 3.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
}

.stat-card:hover {
  border-color: rgba(79, 224, 182, 0.3);
  transform: translateY(-2px);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.stat-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-value .stat-num {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-value .unit {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8b9b9b;
  margin-left: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.stat-card-wide {
  grid-column: span 2;
}

.stat-card-wide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.stat-gas-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 4px 10px;
  background: rgba(79, 224, 182, 0.1);
  border: 1px solid rgba(79, 224, 182, 0.25);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-mint);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Content Sections */
.content-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--bg-card-border);
}

.section-header {
  margin-bottom: 2rem;
}

.section-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  font-weight: 700;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.25rem;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Comparison Cards */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comp-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
}

.comp-card.vulnerable {
  border-color: rgba(244, 63, 94, 0.25);
}

.comp-card.immune {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.03);
}

.card-status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-status-pill.bad {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.card-status-pill.good {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.comp-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.comp-list {
  list-style: none;
}

.comp-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.comp-list li strong {
  color: #fff;
}

/* Search Bar Card */
.search-bar-card {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.search-bar-card input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 21, 37, 0.8);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.search-bar-card input:focus {
  border-color: var(--accent-cyan);
}

.account-details-panel {
  background: var(--bg-card);
  border: 1px solid rgba(79, 224, 182, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  font-size: 0.9rem;
}

.storage-box {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-card-border);
  font-size: 0.85rem;
}

.storage-box pre {
  background: #050811;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  color: #a7f3d0;
  overflow-x: auto;
}

/* Explorer Table */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--bg-card-border);
}

.table-title {
  font-size: 1rem;
  font-weight: 700;
}

.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.data-table th {
  padding: 0.875rem 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--bg-card-border);
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-main);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.loading-cell {
  text-align: center;
  color: var(--text-muted);
  padding: 2.5rem !important;
}

/* Cards & Forms */
.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
}

.card-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-title-bar h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.field-group {
  margin-bottom: 1.25rem;
}

.field-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.field-group input,
.select-box,
.code-area {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.field-group input:focus,
.select-box:focus,
.code-area:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(79, 224, 182, 0.2);
}

.select-box {
  cursor: pointer;
}

.code-area {
  font-family: var(--font-mono);
  resize: vertical;
  line-height: 1.4;
}

.input-with-copy {
  display: flex;
  position: relative;
}

.input-with-copy input {
  padding-right: 45px;
}

.btn-copy,
.btn-toggle-view {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.btn-copy:hover,
.btn-toggle-view:hover {
  color: #fff;
}

.balances-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.balance-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bg-card-border);
  padding: 0.875rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.tile-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.tile-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.wallet-grid,
.contracts-grid,
.staking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .wallet-grid,
  .contracts-grid,
  .staking-grid {
    grid-template-columns: 1fr;
  }
}

.tab-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Validator Economics Banner */
.validator-econ-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.econ-metric-item {
  background: rgba(9, 13, 24, 0.8);
  border: 1px solid rgba(79, 224, 182, 0.18);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.econ-metric-item:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 224, 182, 0.4);
}

.econ-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.econ-val {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-bottom: 0.25rem;
}

.econ-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

.accent-gold {
  color: #f59e0b;
}

.accent-purple {
  color: #a855f7;
}

.accent-green {
  color: #10b981;
}

.accent-white {
  color: #ffffff;
}

/* Footer */
.footer {
  border-top: 1px solid var(--bg-card-border);
  padding: 2.5rem 0;
  margin-top: 4rem;
  background: #04060c;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.footer-right {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1000;
}

.toast {
  background: rgba(15, 21, 37, 0.95);
  border: 1px solid var(--bg-card-border);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 400px;
}

.toast.success {
  border-left: 4px solid var(--accent-emerald);
}

.toast.error {
  border-left: 4px solid var(--accent-rose);
}

.toast.info {
  border-left: 4px solid var(--accent-cyan);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==========================================
   48-Word Post-Quantum Wallet Creation Styles
   ========================================== */

/* Refined Dribbble NextWare Primary Action Button */
.nav-link.nav-cta {
  background: #4fe0b6 !important;
  color: #071912 !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  padding: 5px 12px !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
  height: 30px !important;
  box-sizing: border-box !important;
  box-shadow: 0 0 16px rgba(79, 224, 182, 0.3) !important;
}

.nav-link.nav-cta:hover {
  background: #5cf9d0 !important;
  color: #071912 !important;
  box-shadow: 0 0 24px rgba(79, 224, 182, 0.5) !important;
  transform: translateY(-1px);
}

.nav-link.glitter-link {
  color: var(--text-main) !important;
  font-weight: 600 !important;
  position: relative;
  padding: 4px 6px;
  border: none !important;
  text-decoration: none;
}

.nav-link.glitter-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #4fe0b6, #5cf9d0);
  transition: width 0.25s ease;
}

.nav-link.glitter-link:hover::after {
  width: 100%;
}

.create-wallet-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
}

.wizard-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--bg-card-border);
  padding-bottom: 0.75rem;
  flex-wrap: wrap;
}

.wizard-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wizard-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.wizard-tab-btn.active {
  color: var(--accent-cyan);
  background: rgba(79, 224, 182, 0.1);
  border: 1px solid rgba(79, 224, 182, 0.3);
}

.wizard-step-banner {
  background: rgba(92, 249, 208, 0.06);
  border: 1px solid rgba(92, 249, 208, 0.2);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-violet);
  background: rgba(92, 249, 208, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.wizard-step-banner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.new-generated-addr-card {
  background: linear-gradient(135deg, rgba(79, 224, 182, 0.08) 0%, rgba(92, 249, 208, 0.05) 100%);
  border: 1px solid rgba(79, 224, 182, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nga-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nga-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nga-badge {
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.nga-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nga-addr {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.mnemonic-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.grid-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.badge-entropy {
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.grid-tools {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* 48-Word Responsive Grid */
.mnemonic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.6rem;
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  transition: filter 0.3s ease;
}

.mnemonic-grid.blurred {
  filter: blur(8px);
  user-select: none;
}

.word-pill {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  transition: var(--transition);
}

.word-pill:hover {
  background: rgba(79, 224, 182, 0.05);
  border-color: rgba(79, 224, 182, 0.3);
  transform: translateY(-1px);
}

.word-idx {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  width: 26px;
  flex-shrink: 0;
  user-select: none;
}

.word-text {
  font-weight: 600;
  color: #fff;
}

/* Post-Quantum Assurance Bar */
.pqc-assurance-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: rgba(79, 224, 182, 0.03);
  border: 1px solid rgba(79, 224, 182, 0.15);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}

.assurance-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.assure-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

/* Confirm & Activate */
.confirm-backup-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bg-card-border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 1.25rem;
  user-select: none;
}

.checkbox-container input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.confirm-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Created Summary Card */
.created-summary-card {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  animation: slideIn 0.3s ease;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.summary-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent-emerald);
  color: #000;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
}

.summary-fields {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.word-counter-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.word-counter {
  color: var(--accent-cyan);
  font-weight: 600;
}

.validation-status.valid {
  color: var(--accent-emerald);
  font-weight: 600;
}

.validation-status.invalid {
  color: var(--accent-rose);
  font-weight: 600;
}

/* ==========================================
   Password First & Reveal Shield Styles
   ========================================== */

.step-indicator-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.step-number.active {
  background: rgba(79, 224, 182, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(79, 224, 182, 0.35);
}

.step-number.done {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.password-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .password-form-grid {
    grid-template-columns: 1fr;
  }
}

.reveal-shield-box {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #040711;
  border: 2px dashed rgba(79, 224, 182, 0.3);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.reveal-shield-box:hover {
  border-color: rgba(79, 224, 182, 0.5);
}

.shield-lock-icon {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}

.reveal-shield-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.reveal-shield-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   Universal Responsive Breakpoints & Native iOS App Mode
   Supports: iPhone SE/13/14/15/16 Pro Max, iPad, Android, 4K Ultrawide
   ========================================================================== */

/* iOS Floating App Bottom Tab Bar */
.ios-tab-bar {
  display: none;
}

/* Tablet & Smaller Screens (<= 992px) */
@media (max-width: 992px) {
  .hero-dual-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 2.75rem !important;
  }

  .hero-col-left,
  .hero-col-right {
    padding: 0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-col-desc {
    max-width: 540px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .crypto-tokens-row {
    justify-content: center !important;
  }

  .phone-mockup-wrapper {
    margin: 1.5rem auto !important;
  }
}

/* Intermediate Tablet Breakpoint (769px - 1180px) */
@media (max-width: 1180px) and (min-width: 769px) {
  .nav-container {
    padding: 0 0.75rem !important;
    gap: 0.4rem !important;
  }

  .nav-links {
    gap: 0.15rem !important;
    padding: 3px 5px !important;
  }

  .nav-link {
    font-size: 0.75rem !important;
    padding: 4px 7px !important;
  }

  .nav-link.nav-cta {
    padding: 4px 9px !important;
    font-size: 0.75rem !important;
    height: 28px !important;
  }

  .node-status-full {
    display: none !important;
  }

  .node-status-mobile {
    display: inline !important;
  }
}

/* Mobile Devices & Native iPhone App View (<= 768px) */
@media (max-width: 768px) {
  .navbar {
    height: auto !important;
    min-height: calc(62px + env(safe-area-inset-top, 0px)) !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    padding-bottom: 6px !important;
  }

  .nav-container {
    height: auto !important;
    min-height: 54px !important;
    padding: 6px 0.85rem !important;
    gap: 0.4rem !important;
    flex-wrap: wrap !important;
  }

  .brand-logo {
    width: 30px !important;
    height: 30px !important;
  }

  .brand-logo img {
    width: 20px !important;
    height: 20px !important;
  }

  .brand-title {
    font-size: 1.05rem !important;
  }

  .ticker-badge {
    display: none !important;
  }

  .nav-actions {
    gap: 0.35rem !important;
  }

  .nav-social-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .nav-social-btn .social-label {
    display: none !important;
  }

  .node-status {
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
    max-width: 140px !important;
    white-space: nowrap !important;
  }

  .node-status-full {
    display: none !important;
  }

  .node-status-mobile {
    display: inline !important;
    font-weight: 800 !important;
    color: var(--accent-mint) !important;
  }

  .nav-links {
    display: flex !important;
    order: 3 !important;
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: visible !important;
    overflow-x: visible !important;
    white-space: normal !important;
    gap: 4px 6px !important;
    padding: 6px 6px !important;
    margin-top: 4px !important;
    border-radius: 10px !important;
    background: rgba(18, 26, 26, 0.85) !important;
  }

  .nav-link {
    font-size: 0.72rem !important;
    padding: 4px 7px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .nav-link.nav-cta {
    height: 26px !important;
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
  }

  body {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 24px)) !important;
  }

  .main-content {
    padding: 0 0.85rem !important;
  }

  /* iOS Frosted Glass Bottom Navigation Bar */
  .ios-tab-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: calc(64px + env(safe-area-inset-bottom, 20px)) !important;
    padding-top: 6px !important;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 20px)) !important;
    background: rgba(8, 13, 13, 0.94) !important;
    backdrop-filter: blur(28px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 9999 !important;
    align-items: center !important;
    justify-content: space-around !important;
    box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.7) !important;
  }

  .ios-tab-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    flex: 1 !important;
    height: 100% !important;
    color: #8b9b9b !important;
    text-decoration: none !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    transition: all 0.15s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .ios-tab-item:active {
    transform: scale(0.92) !important;
  }

  .ios-tab-item.active {
    color: var(--accent-mint) !important;
  }

  .ios-tab-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    stroke: #8b9b9b !important;
  }

  .ios-tab-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    transition: all 0.15s ease !important;
  }

  .ios-tab-item.active .ios-tab-icon svg {
    stroke: var(--accent-mint) !important;
    filter: drop-shadow(0 0 8px rgba(79, 224, 182, 0.55)) !important;
    transform: translateY(-1px) !important;
  }

  .hero-col-left h1,
  .hero-col-right h2 {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem) !important;
    line-height: 1.15 !important;
  }

  .phone-mockup-wrapper {
    width: 100% !important;
    max-width: 320px !important;
    margin: 1.25rem auto !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .phone-mockup {
    order: 1 !important;
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    min-height: auto !important;
    padding: 8px !important;
    border-radius: 32px !important;
  }

  .phone-screen {
    border-radius: 26px !important;
    padding: 1.1rem 0.9rem !important;
    gap: 0.75rem !important;
  }

  .satellite-cards-cluster {
    order: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.6rem !important;
    width: 100% !important;
    max-width: 330px !important;
    margin-top: 1rem !important;
  }

  .satellite-card {
    position: static !important;
    animation: none !important;
    min-width: unset !important;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .hero-bottom-cta {
    width: 100% !important;
    max-width: 440px !important;
    margin: 1.5rem auto 0 !important;
    gap: 0.75rem !important;
    padding: 0 0.5rem !important;
  }

  .btn-hero-glow {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.85rem 1.5rem !important;
  }

  .hero-sub-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .hero-sub-actions a {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .hero-sub-actions a:last-child {
    grid-column: span 2 !important;
  }

  .stats-ribbon {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    padding: 0 !important;
    margin: 1.25rem 0 2.5rem !important;
  }

  .stat-card {
    padding: 0.85rem 0.75rem !important;
    border-radius: 14px !important;
    min-height: 104px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  .stat-label {
    font-size: 0.68rem !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
  }

  .stat-value {
    font-size: clamp(0.95rem, 3.6vw, 1.2rem) !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: flex !important;
    align-items: baseline !important;
  }

  .stat-value .unit {
    font-size: 0.68rem !important;
    margin-left: 3px !important;
  }

  .stat-sub {
    font-size: 0.68rem !important;
    margin-top: 0.25rem !important;
    line-height: 1.2 !important;
  }

  .stat-card:last-child,
  .stat-card-wide {
    grid-column: span 2 !important;
    min-height: 76px !important;
  }

  .stat-card-wide-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .staking-grid,
  .wallet-grid,
  .comparison-grid,
  .admin-grid {
    grid-template-columns: 1fr !important;
  }

  .btn, .btn-hero-glow {
    min-height: 48px !important;
    touch-action: manipulation !important;
  }
}

/* Small Handhelds (iPhone SE / 360px - 400px) */
@media (max-width: 400px) {
  .hero-col-left h1,
  .hero-col-right h2 {
    font-size: 1.65rem !important;
  }

  .phone-mockup {
    max-width: 280px !important;
  }

  .crypto-tokens-row {
    gap: 0.5rem !important;
  }

  .crypto-token-badge {
    width: 38px !important;
    height: 38px !important;
  }

  .stats-ribbon {
    gap: 0.5rem !important;
  }

  .stat-card {
    padding: 0.75rem 0.65rem !important;
    min-height: 98px !important;
  }

  .stat-value {
    font-size: clamp(0.85rem, 3.5vw, 1.1rem) !important;
  }
}


/* ==========================================================================
   Quanthreum Quantum-Resistant Animated Landing Page Styles
   Governed by Emil Kowalski UI Polish & Kris Anfalova NextWare Aesthetic
   ========================================================================== */

/* Quantum Section Container */
.quantum-section {
  position: relative;
  margin: 3.5rem 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(180deg, rgba(14, 20, 21, 0.75) 0%, rgba(8, 13, 13, 0.95) 100%);
  border: 1px solid rgba(79, 224, 182, 0.22);
  border-radius: 28px;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.quantum-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #4fe0b6 50%, transparent 100%);
  box-shadow: 0 0 16px rgba(79, 224, 182, 0.6);
  pointer-events: none;
}

.quantum-section-ambient {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(79, 224, 182, 0.08) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.quantum-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
  position: relative;
  z-index: 1;
}

.quantum-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 4px 14px;
  background: rgba(79, 224, 182, 0.1);
  border: 1px solid rgba(79, 224, 182, 0.3);
  border-radius: var(--radius-full);
  color: #5cf9d0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 14px rgba(79, 224, 182, 0.15);
}

.quantum-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4fe0b6;
  box-shadow: 0 0 8px #4fe0b6;
}

.quantum-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.quantum-title .highlight {
  background: linear-gradient(135deg, #ffffff 30%, #5cf9d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quantum-desc {
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  color: #8b9b9b;
  line-height: 1.6;
}

/* 1. Shor\'s Algorithm Simulator */
.qubit-slider-panel {
  background: rgba(14, 20, 21, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem 1.85rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.qubit-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.qubit-slider-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qubit-power-badge {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: #4fe0b6;
  background: rgba(79, 224, 182, 0.12);
  border: 1px solid rgba(79, 224, 182, 0.35);
  padding: 4px 12px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(79, 224, 182, 0.2);
}

.qubit-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #10b981 0%, #f59e0b 50%, #ff5b5b 100%);
  outline: none;
  margin: 1.25rem 0 0.5rem 0;
  cursor: pointer;
}

.qubit-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #4fe0b6;
  box-shadow: 0 0 15px rgba(79, 224, 182, 0.8);
  cursor: grab;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.qubit-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.qubit-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #5c6e6e;
  font-family: var(--font-mono);
  margin-top: 0.25rem;
}

/* Side-by-side Quantum Battle Grid */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.sim-card {
  border-radius: 20px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}

.sim-card:hover {
  transform: translateY(-4px);
}

.sim-card.classical {
  background: linear-gradient(145deg, rgba(35, 14, 18, 0.7) 0%, rgba(14, 20, 21, 0.9) 100%);
  border: 1px solid rgba(255, 91, 91, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 91, 91, 0.2);
}

.sim-card.quantum {
  background: linear-gradient(145deg, rgba(12, 38, 29, 0.75) 0%, rgba(14, 20, 21, 0.95) 100%);
  border: 1px solid rgba(79, 224, 182, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(79, 224, 182, 0.12), inset 0 1px 0 rgba(79, 224, 182, 0.3);
}

.sim-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.sim-card-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.sim-status-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sim-status-badge.broken {
  background: rgba(255, 91, 91, 0.2);
  border: 1px solid rgba(255, 91, 91, 0.4);
  color: #ff7676;
}

.sim-status-badge.secure {
  background: rgba(39, 227, 140, 0.2);
  border: 1px solid rgba(39, 227, 140, 0.4);
  color: #4fe0b6;
}

.sim-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.sim-metric-label {
  font-size: 0.82rem;
  color: #8b9b9b;
}

.sim-metric-val {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
}

.sim-metric-val.threat {
  color: #ff5b5b;
}

.sim-metric-val.immune {
  color: #5cf9d0;
}

.sim-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin: 0.85rem 0 1.25rem 0;
}

.sim-progress-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.sim-card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #8b9b9b;
  min-height: 60px;
}

.sim-action-row {
  display: flex;
  justify-content: center;
  margin-top: 1.85rem;
  position: relative;
  z-index: 1;
}

.sim-attack-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #4fe0b6 0%, #34d399 100%);
  color: #071912;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(79, 224, 182, 0.35);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  will-change: transform;
}

.sim-attack-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 40px rgba(79, 224, 182, 0.55);
}

.sim-attack-btn:active {
  transform: translateY(1px) scale(0.98);
}

/* 2. 67-Chain W-OTS+ Hash Visualizer */
.wots-box {
  background: rgba(14, 20, 21, 0.85);
  border: 1px solid rgba(79, 224, 182, 0.25);
  border-radius: 20px;
  padding: 1.75rem;
  position: relative;
  z-index: 1;
}

.wots-input-container {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.wots-input {
  flex: 1;
  background: #080d0d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wots-input:focus {
  border-color: #4fe0b6;
  box-shadow: 0 0 15px rgba(79, 224, 182, 0.25);
}

.wots-btn {
  padding: 0.75rem 1.4rem;
  background: #162021;
  border: 1px solid rgba(79, 224, 182, 0.4);
  border-radius: 12px;
  color: #4fe0b6;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.wots-btn:hover {
  background: rgba(79, 224, 182, 0.15);
  border-color: #5cf9d0;
  transform: translateY(-2px);
}

.wots-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.wots-step-tile {
  background: rgba(8, 13, 13, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1rem;
}

.wots-step-title {
  font-size: 0.75rem;
  color: #8b9b9b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.wots-step-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-all;
}

.wots-chains-matrix {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 120px;
  background: #080d0d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 8px 4px 8px;
  margin-bottom: 1rem;
  overflow-x: auto;
  position: relative;
}

.wots-chain-bar {
  flex: 1;
  min-width: 8px;
  max-width: 14px;
  background: linear-gradient(180deg, #5cf9d0 0%, rgba(79, 224, 182, 0.2) 100%);
  border-radius: 3px 3px 0 0;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  position: relative;
}

.wots-chain-bar:hover {
  background: #ffffff;
  box-shadow: 0 0 10px #5cf9d0;
  cursor: pointer;
}

.wots-chain-bar.checksum-chain {
  background: linear-gradient(180deg, #38bdf8 0%, rgba(56, 189, 248, 0.2) 100%);
}

.wots-status-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #8b9b9b;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* 3. Protocol Architecture Grid */
.protocol-arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.arch-card {
  background: rgba(14, 20, 21, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.arch-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 224, 182, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(79, 224, 182, 0.15);
}

.arch-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.arch-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.arch-card-desc {
  font-size: 0.82rem;
  color: #8b9b9b;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.arch-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* 4. Y2Q Timeline & Threat Horizon */
.y2q-banner {
  background: linear-gradient(135deg, rgba(8, 20, 24, 0.95) 0%, rgba(14, 25, 30, 0.98) 100%);
  border: 1px solid rgba(79, 224, 182, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(79, 224, 182, 0.08);
  border-radius: 24px;
  padding: 2rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.y2q-timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 480px;
  margin: 1.5rem auto;
}

.y2q-timer-unit {
  background: rgba(8, 13, 13, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.85rem 0.5rem;
  text-align: center;
}

.y2q-timer-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: #4fe0b6;
  text-shadow: 0 0 12px rgba(79, 224, 182, 0.4);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.y2q-timer-lbl {
  font-size: 0.65rem;
  color: #8b9b9b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.y2q-timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
}

.y2q-timeline-track::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, #10b981 0%, #f59e0b 50%, #ff5b5b 100%);
  z-index: 0;
}

.y2q-milestone {
  position: relative;
  z-index: 1;
  text-align: center;
}

.y2q-milestone-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: 0 auto 0.75rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  border: 2px solid #080d0d;
}

.y2q-milestone-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.y2q-milestone-text {
  font-size: 0.75rem;
  color: #8b9b9b;
  line-height: 1.4;
}

/* Animations */
@keyframes laserSweep {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .sim-grid {
    grid-template-columns: 1fr;
  }
  .protocol-arch-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wots-steps-grid {
    grid-template-columns: 1fr;
  }
  .y2q-timeline-track {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .y2q-timeline-track::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .quantum-section {
    padding: 1.75rem 1rem;
    border-radius: 20px;
  }
  .protocol-arch-grid {
    grid-template-columns: 1fr;
  }
  .y2q-timer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
  }
  .y2q-timer-num {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-mockup,
  .satellite-card,
  .sim-card,
  .arch-card {
    animation: none !important;
    transition: none !important;
  }
}


@media (max-width: 768px) {
  .calc-metrics-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 480px) {
  .calc-metrics-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Explorer Top View Navigation & Interactive Tabs
   ========================================================================== */
.explorer-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.explorer-tab-bar {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.explorer-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-family: inherit;
}

.explorer-tab-btn:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
}

.explorer-tab-btn.active {
  background: linear-gradient(135deg, rgba(79, 224, 182, 0.2), rgba(56, 189, 248, 0.2));
  border-color: rgba(79, 224, 182, 0.45);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(79, 224, 182, 0.18);
}

.explorer-tab-btn .tab-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-weight: 600;
}

.explorer-tab-btn.active .tab-badge {
  background: rgba(79, 224, 182, 0.25);
  color: #4fe0b6;
}

.clickable-stat-card {
  cursor: pointer !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.clickable-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 224, 182, 0.5) !important;
  box-shadow: 0 8px 24px rgba(79, 224, 182, 0.15) !important;
}

.explorer-view-section {
  animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
