@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  /* 1:1 Seamless Cosmic Palette (1:1 with starry reference) */
  --bg-top: #090724;
  --bg-mid: #150c3d;
  --bg-bottom: #380d6e;
  --bg-card: rgba(15, 11, 38, 0.65);
  --bg-card-hover: rgba(26, 19, 58, 0.85);
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.28);
  --border-glow: rgba(168, 130, 255, 0.4);
  --text-main: #ffffff;
  --text-muted: #a3a7c2;
  --text-dim: #656986;
  --accent: #9d74ff;
  --accent-light: #c084fc;
  --accent-cyan: #38bdf8;
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --font-headline: 'Bebas Neue', 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --neon-purple: #ff2ef3;
  --neon-purple-bright: #ff52f5;
  --neon-purple-glow: rgba(255, 46, 243, 0.85);
  --neon-magenta: #f400f0;
  --neon-purple-dark: #c026d3;
  --max-w: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BRIGHT PURPLE NEON TEXT SYSTEM (1:1 with Neon Light Aesthetic)
   ========================================================================== */
.neon-purple {
  color: #ff2ef3 !important;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.95),
    0 0 10px rgba(255, 46, 243, 0.95),
    0 0 22px rgba(255, 46, 243, 0.85),
    0 0 40px rgba(217, 0, 255, 0.7),
    0 0 65px rgba(181, 0, 255, 0.5) !important;
  display: inline;
}

.neon-purple-glow {
  color: #ff2ef3 !important;
  display: inline;
  animation: neonTextPulse 3.5s ease-in-out infinite alternate;
}

@keyframes neonTextPulse {
  0% {
    text-shadow:
      0 0 4px rgba(255, 255, 255, 0.95),
      0 0 10px rgba(255, 46, 243, 0.95),
      0 0 22px rgba(255, 46, 243, 0.85),
      0 0 42px rgba(217, 0, 255, 0.7),
      0 0 70px rgba(181, 0, 255, 0.5) !important;
  }
  50% {
    text-shadow:
      0 0 2px rgba(255, 255, 255, 0.7),
      0 0 8px rgba(255, 46, 243, 0.8),
      0 0 16px rgba(255, 46, 243, 0.65),
      0 0 30px rgba(217, 0, 255, 0.5),
      0 0 48px rgba(181, 0, 255, 0.35) !important;
  }
  100% {
    text-shadow:
      0 0 5px rgba(255, 255, 255, 1),
      0 0 14px rgba(255, 46, 243, 1),
      0 0 28px rgba(255, 46, 243, 0.95),
      0 0 52px rgba(217, 0, 255, 0.8),
      0 0 80px rgba(181, 0, 255, 0.6) !important;
  }
}

.neon-badge {
  color: #ff2ef3 !important;
  border-color: rgba(255, 46, 243, 0.35) !important;
  box-shadow: 0 0 16px rgba(255, 46, 243, 0.25) !important;
  text-shadow: 0 0 10px rgba(255, 46, 243, 0.8);
}

.neon-glow-hover {
  transition: text-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

.neon-glow-hover:hover {
  color: #ff2ef3 !important;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.9),
    0 0 14px rgba(255, 46, 243, 0.9),
    0 0 28px rgba(217, 0, 255, 0.7) !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-top);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Seamless Continuous Cosmic Background */
body {
  min-height: 100vh;
  background: linear-gradient(180deg, #090724 0%, #150c3d 38%, #280a56 70%, #380d6e 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Starfield Tech Grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Global Interactive Starry Background Canvas */
.global-starry-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Smooth Entrance on Scroll Up/Down)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

button, input, textarea {
  font-family: inherit;
  outline: none;
}

.wrap {
  width: min(var(--max-w), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   FLOATING NAVBAR (Seamless Top Integration)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 18px;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
  margin: 0;
  background: transparent;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  width: 100%;
}

/* Brand Logo (Positioned Top Left, Larger Glass Circular Badge) */
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 11, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}

.brand:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(26, 19, 58, 0.9);
  transform: scale(1.06);
  box-shadow: 0 6px 25px rgba(157, 116, 255, 0.35);
}

.brand-logo {
  height: 38px;
  width: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(157, 116, 255, 0.5));
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
  display: block;
}

.brand:hover .brand-logo {
  transform: scale(1.08);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.75));
}

.footer-brand-row .brand {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.footer-brand-row .brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

/* Center Floating Pill Navbar */
.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 11, 38, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 3px 5px;
  border-radius: 9999px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}

.nav-link svg {
  width: 13px;
  height: 13px;
  opacity: 0.65;
  transition: opacity 0.25s var(--ease);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover svg {
  opacity: 1;
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-link.active svg {
  opacity: 1;
  color: #fff;
}

/* Left Nav Discord Button */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Right Nav Actions & Brand */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--discord);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.4);
  transition: all 0.25s var(--ease);
}

.btn-discord svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.btn-discord:hover {
  background: var(--discord-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.6);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 62px;
  left: 0;
  right: 0;
  background: rgba(15, 11, 38, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

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

/* ==========================================================================
   HERO SECTION & 1:1 CYBER GLITCH TEXT ANIMATION
   ========================================================================== */
.hero {
  position: relative;
  padding: 85px 0 45px;
  text-align: center;
}

.hero-badge-wrap {
  display: inline-block;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(22, 17, 48, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #d1d5ea;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* 1:1 Cyberpunk Text Glitch Effect */
.hero-title {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(64px, 12vw, 136px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  text-shadow: 0 10px 50px rgba(0, 0, 0, 0.9);
  display: inline-block;
  cursor: default;
}

.hero-title.glitching::before,
.hero-title.glitching::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-title.glitching::before {
  color: #00ffff;
  z-index: -1;
  animation: glitchAnim1 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero-title.glitching::after {
  color: #ff0055;
  z-index: -2;
  animation: glitchAnim2 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both;
}

@keyframes glitchAnim1 {
  0% { transform: translate(0); clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%); }
  20% { transform: translate(-3px, 2px); clip-path: polygon(0 15%, 100% 15%, 100% 28%, 0 28%); }
  40% { transform: translate(-2px, -2px); clip-path: polygon(0 40%, 100% 40%, 100% 52%, 0 52%); }
  60% { transform: translate(3px, 1px); clip-path: polygon(0 65%, 100% 65%, 100% 75%, 0 75%); }
  80% { transform: translate(2px, -1px); clip-path: polygon(0 80%, 100% 80%, 100% 92%, 0 92%); }
  100% { transform: translate(0); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

@keyframes glitchAnim2 {
  0% { transform: translate(0); clip-path: polygon(0 8%, 100% 8%, 100% 18%, 0 18%); }
  25% { transform: translate(3px, -2px); clip-path: polygon(0 30%, 100% 30%, 100% 45%, 0 45%); }
  50% { transform: translate(-3px, 1px); clip-path: polygon(0 55%, 100% 55%, 100% 68%, 0 68%); }
  75% { transform: translate(2px, 2px); clip-path: polygon(0 75%, 100% 75%, 100% 85%, 0 85%); }
  100% { transform: translate(0); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

.hero-desc {
  max-width: 600px;
  margin: 0 auto 34px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 55px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #0c0822;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 26px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 34px rgba(255, 255, 255, 0.4);
  background: #f4f4f7;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(22, 17, 48, 0.75);
  backdrop-filter: blur(14px);
  color: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 12px 22px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(32, 25, 68, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-secondary svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* 3-Col Stats Row */
.hero-stats-row {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  position: relative;
  z-index: 1;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}

.hero-stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-stat-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ==========================================================================
   HERO SHOWCASE WINDOW (1:1 with 3D Perspective & Floating Chips)
   ========================================================================== */
.showcase-section {
  position: relative;
  padding: 30px 0 60px;
}

.showcase-window {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(12, 9, 28, 0.88);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.8),
    0 0 90px rgba(157, 116, 255, 0.16);
  position: relative;
}

.window-header {
  height: 38px;
  background: rgba(14, 11, 32, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: relative;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.window-stage {
  min-height: 440px;
  position: relative;
  background: radial-gradient(circle at 50% 30%, #19123c 0%, #0c0822 80%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px 40px;
}

.window-stage.video-stage {
  min-height: 0;
  padding: 0;
  background: #0b081e;
  position: relative;
  display: block;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

.showcase-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 75%;
  transform: scale(1.05);
}

/* 3D Perspective Grid Floor */
.grid-floor {
  position: absolute;
  bottom: 0;
  left: -50%;
  right: -50%;
  height: 260px;
  background-image: 
    linear-gradient(to right, rgba(157, 116, 255, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(157, 116, 255, 0.22) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: perspective(280px) rotateX(65deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, transparent 95%);
  pointer-events: none;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 0 36px; }
}

/* 3D Floating Chips */
.showcase-3d-scene {
  position: relative;
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.floating-3d-card {
  position: absolute;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(18, 14, 42, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  animation: floatCard 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.card-pos-tl { top: -16px; left: -10px; transform: rotate(-6deg); animation-delay: 0s; }
.card-pos-tr { top: -16px; right: -10px; transform: rotate(6deg); animation-delay: 0.5s; }
.card-pos-bl { bottom: -16px; left: -10px; transform: rotate(4deg); animation-delay: 1s; }
.card-pos-br { bottom: -16px; right: -10px; transform: rotate(-4deg); animation-delay: 1.5s; }

@keyframes floatCard {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.02); }
}

.showcase-slide {
  display: none;
  width: 100%;
  animation: slideFadeIn 0.35s var(--ease);
}

.showcase-slide.active {
  display: block;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.mockup-dashboard {
  background: rgba(16, 12, 38, 0.92);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.mockup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.mockup-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #10b981;
}

.mockup-status-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mockup-stat-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 12px;
}

.mockup-stat-cell .label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.mockup-stat-cell .value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-top: 3px;
}

/* Tab Switcher at bottom of Window */
.window-footer-tabs {
  background: rgba(12, 9, 28, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 14px;
  gap: 10px;
  pointer-events: none;
}

.showcase-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 10px;
  cursor: default;
  pointer-events: none;
  text-align: center;
  user-select: none;
  transition: all 0.25s var(--ease);
}

.showcase-tab-btn .tab-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
}

.tab-category {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tab-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
}

/* ==========================================================================
   TICKER TAPE (MARQUEE 1:1 WITH SEAMLESS BLENDED BACKGROUND)
   ========================================================================== */
.ticker-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000000 12%, #000000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000000 12%, #000000 88%, transparent 100%);
}

.ticker-track {
  display: inline-flex;
  gap: 36px;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-track span.sep {
  color: var(--accent-light);
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.8);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 95px 0;
  position: relative;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-headline);
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.section-desc {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ==========================================================================
   "BUILT FOR THE COMPETITIVE EDGE" (6 Feature Cards with Mouse Follow Glow)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(157, 116, 255, 0.18) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.feature-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #fff;
}

.feature-icon-wrap svg {
  width: 17px;
  height: 17px;
}

.feature-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.feature-card-text {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ==========================================================================
   METRICS / STATS BAND
   ========================================================================== */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(15, 11, 38, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin: 55px 0 20px;
}

.metric-box {
  padding: 34px 24px;
  position: relative;
}

.metric-box:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   HIGH-IMPACT CTA BANNER
   ========================================================================== */
.cta-banner {
  margin: 60px 0 20px;
  background: radial-gradient(circle at 50% 0%, rgba(157, 116, 255, 0.22) 0%, rgba(15, 11, 38, 0.85) 80%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 56px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 80px rgba(157, 116, 255, 0.12);
}

.cta-banner-title {
  font-family: var(--font-headline);
  font-size: clamp(36px, 6vw, 60px);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.cta-banner-desc {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 28px;
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCTS PAGE & GRID (1:1 with video)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(157, 116, 255, 0.16) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6);
}

.product-card:hover::before {
  opacity: 1;
}

.product-visual {
  height: 155px;
  background: rgba(10, 8, 22, 0.95);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-visual::after {
  transform: translateX(100%);
}

.product-preview-canvas {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-thumb-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  filter: blur(20px);
}

.product-thumb-ui {
  position: relative;
  z-index: 2;
  background: rgba(16, 12, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.product-thumb-ui .icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
}

.product-thumb-ui .info {
  font-family: var(--font-mono);
  font-size: 9.5px;
}

.product-category-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.product-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.product-price-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-dim);
}

.btn-purchase {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.btn-purchase:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   CHECKOUT MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
  animation: modalFade 0.25s var(--ease);
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.checkout-modal {
  width: 100%;
  max-width: 840px;
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  position: relative;
  animation: modalPop 0.3s var(--ease);
}

@keyframes modalPop {
  from { transform: scale(0.96) translateY(8px); }
  to { transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f1f2f4;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  color: #555;
  z-index: 10;
  transition: background 0.2s;
}

.modal-close:hover {
  background: #e2e4e8;
}

.checkout-left {
  padding: 30px;
  overflow-y: auto;
  max-height: 85vh;
}

.checkout-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  color: #000;
  margin-bottom: 18px;
}

.express-checkout-label {
  text-align: center;
  font-size: 11px;
  color: #707070;
  margin-bottom: 8px;
}

.express-btns-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.btn-express {
  height: 40px;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity 0.2s;
}

.btn-express:hover {
  opacity: 0.9;
}

.btn-shoppay { background: #5a31f4; color: #fff; }
.btn-paypal { background: #ffc439; color: #003087; }
.btn-gpay { background: #000000; color: #fff; }

.or-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #888;
  font-size: 11px;
  margin: 16px 0;
}

.or-divider::before, .or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}

.checkout-field-group {
  margin-bottom: 16px;
}

.checkout-field-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
  display: block;
}

.checkout-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 13px;
  color: #111;
  background: #fff;
  transition: border-color 0.2s;
}

.checkout-input:focus {
  border-color: #5a31f4;
}

.checkout-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.checkout-right {
  background: #f8f9fa;
  border-left: 1px solid #e9ecef;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.order-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.order-item-thumb {
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  position: relative;
}

.order-item-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #666;
  color: #fff;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  font-size: 9.5px;
  display: grid;
  place-items: center;
}

.order-item-info {
  flex: 1;
}

.order-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #111;
}

.order-item-price {
  font-size: 13.5px;
  font-weight: 700;
  color: #111;
}

.discount-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.btn-apply-code {
  padding: 0 14px;
  background: #e2e4e8;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-apply-code:hover {
  background: #d4d7dc;
}

.order-totals {
  margin-top: auto;
  border-top: 1px solid #e2e4e8;
  padding-top: 16px;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.btn-pay-now {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-pay-now:hover {
  background: #333;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 32px;
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.about-hero-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 650px;
}

.about-hero-emblem {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: rgba(14, 11, 32, 0.9);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 30px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 35px rgba(157, 116, 255, 0.25);
}

.about-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 55px;
}

.about-col-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-mission-text p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.values-list {
  display: grid;
  gap: 12px;
}

.value-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}

.value-item-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 5px;
}

.value-item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-light);
}

.value-item-name {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}

.value-item-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.team-avatar {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #15112e;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  flex-shrink: 0;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.team-bio {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 6px;
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}

.link-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s var(--ease);
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.link-card-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.link-card-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-community-banner {
  background: radial-gradient(circle at 50% 50%, rgba(88, 101, 242, 0.2) 0%, rgba(14, 11, 32, 0.95) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 16px;
  padding: 44px 28px;
  text-align: center;
  margin-top: 55px;
}

.about-community-title {
  font-family: var(--font-headline);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
}

.about-community-text {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.contact-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}

.contact-box:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.contact-box-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 18px;
}

.contact-box-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.contact-box-desc {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-badges-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.contact-badge-item {
  background: rgba(14, 11, 32, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-badge-val {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 7px;
}

.contact-badge-val .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.contact-badge-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Accordion FAQ */
.accordion-wrap {
  margin-top: 45px;
}

.accordion-item {
  border-top: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--border);
}

.accordion-btn {
  width: 100%;
  padding: 20px 4px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.accordion-btn:hover {
  color: var(--accent-light);
}

.accordion-icon {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--text-dim);
  transition: transform 0.25s var(--ease);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0 4px;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 0 4px 20px;
}

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

/* ==========================================================================
   FOOTER (Seamless Translucent Blur Blending with Cosmic Background)
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 9, 32, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 70px 0 25px;
  margin-top: 75px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(22, 17, 48, 0.95);
  border: 1px solid var(--border-hover);
  color: #fff;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s var(--ease);
  z-index: 2000;
}

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .metric-box:nth-child(2)::after { display: none; }
  .metric-box:nth-child(1), .metric-box:nth-child(2) { border-bottom: 1px solid var(--border); }
  /* Odd count in a 2-up band: the last tile takes the full row rather than
     leaving a dead half-cell beside it. */
  .metric-box:nth-child(3) { grid-column: 1 / -1; }
  .about-columns-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-header { padding: 0 16px; top: 12px; }
  .brand { width: 42px; height: 42px; }
  .brand-logo { height: 32px; width: 32px; }
  .nav-pill { display: none; }
  .mobile-toggle { display: grid; }
  .hero-title { font-size: 72px; }
  .hero-stats-row { grid-template-columns: 1fr; gap: 16px; }
  .hero-stat-item:not(:last-child)::after { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .metric-box:not(:last-child)::after { display: none; }
  .metric-box:not(:last-child) { border-bottom: 1px solid var(--border); }
  .products-grid { grid-template-columns: 1fr; }
  .about-hero-card { flex-direction: column; text-align: center; }
  .links-grid { grid-template-columns: 1fr; }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .contact-badges-row { grid-template-columns: 1fr; }
  .checkout-modal { grid-template-columns: 1fr; }
  .checkout-right { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ==========================================================================
   REAL PRODUCT CARDS — screenshot art, blurb, GBP (3-product catalogue)
   ========================================================================== */
.products-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

/* The product visual now frames a real screenshot of the app. */
.product-visual-shot {
  /* Tall enough for the portrait box renders (roughly 4:5) to sit whole.
     Deliberately NOT a centring grid: as a grid item the image would size to
     its own content instead of stretching, so height:100% would not apply and
     the box would overflow this container and get clipped. Letting the image
     fill the box and centre itself via object-fit is what keeps it whole. */
  height: 280px;
  padding: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(157, 116, 255, 0.18) 0%, transparent 62%),
    #05030f;
}
.product-visual-shot .product-thumb-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 140%;
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}
.product-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  /* The product renders are transparent portrait boxes, not screenshots —
     `contain` shows each box whole instead of cropping its edges off. */
  object-fit: contain;
  object-position: center;
  padding: 18px 16px 14px;
  /* Grounds the box on the card instead of leaving it floating flat. */
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-shot { transform: translateY(-4px) scale(1.04); }
.product-shot-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid;
  backdrop-filter: blur(6px);
}
.product-blurb {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.product-name { margin-bottom: 8px; }

/* ==========================================================================
   ORDER CONFIRMATION PAGE
   One centred column that renders whichever outcome Stripe reported: paid,
   processing, declined, abandoned or expired. The badge carries the colour, so
   the result reads before a word of it does.
   ========================================================================== */
.order-result { max-width: 640px; margin: 0 auto; text-align: center; }

.order-badge {
  width: 60px; height: 60px; border-radius: 50%;
  font-size: 30px; font-weight: 800;
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.order-badge.is-ok   { background: #34d399; color: #04120c; box-shadow: 0 0 30px rgba(52, 211, 153, 0.45); }
.order-badge.is-fail { background: #f87171; color: #1a0505; box-shadow: 0 0 30px rgba(248, 113, 113, 0.45); }
.order-badge.is-wait { background: #fbbf24; color: #1b1200; box-shadow: 0 0 30px rgba(251, 191, 36, 0.40); }

/* The reference the buyer quotes in their Discord ticket. Monospaced and
   select-all, because it exists to be copied out of the page. */
.order-ref {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 16px;
  border: 1px dashed rgba(157, 116, 255, 0.45);
  border-radius: 9px;
  background: rgba(157, 116, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.order-ref b { color: #fff; font-weight: 700; user-select: all; }

/* ── Discord ticket instructions ────────────────────────────────────────────
   Staff hand over the product and the licence key in a ticket, so this is the
   step that actually completes the purchase — it gets the Discord blurple and
   the only glow on the page. */
.ticket-panel {
  text-align: left;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 14px;
  box-shadow: 0 0 34px rgba(88, 101, 242, 0.12);
}
.ticket-panel h3 { font-family: var(--font-heading); font-size: 16px; color: #fff; margin-bottom: 12px; }
.ticket-steps { margin: 0 0 18px; padding-left: 20px; }
.ticket-steps li { color: var(--text-muted); font-size: 13px; line-height: 1.65; margin-bottom: 8px; }
.ticket-steps li::marker { color: var(--accent); font-weight: 700; }
.ticket-steps b { color: var(--text-main); font-weight: 600; }
.ticket-cta { background: var(--discord); color: #fff; box-shadow: 0 4px 24px rgba(88, 101, 242, 0.35); }
.ticket-cta:hover { background: var(--discord-hover); box-shadow: 0 8px 34px rgba(88, 101, 242, 0.5); }
.ticket-foot { font-size: 11px; color: var(--text-dim); margin: 12px 0 0; }

/* ── Direct download — a convenience below the ticket, not the main path ── */
.dl-block { text-align: left; margin-top: 26px; }
.dl-block-title { font-family: var(--font-heading); font-size: 15px; color: #fff; margin-bottom: 4px; }
.dl-block-copy { font-size: 12px; color: var(--text-muted); margin: 0 0 12px; }
.dl-list { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.dl-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}
.dl-item:hover { border-color: var(--border-glow); transform: translateY(-2px); background: var(--bg-card-hover); }
.dl-item-name { font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 15px; }
.dl-item-btn {
  font-size: 12.5px; font-weight: 600; color: #fff;
  background: linear-gradient(90deg, #8b21d9, #c026d3);
  padding: 9px 15px; border-radius: 8px; white-space: nowrap;
}

/* ── What to try next, on a payment that did not go through ────────────── */
.order-note {
  text-align: left;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.order-note h3 { font-family: var(--font-heading); font-size: 15px; color: #fff; margin-bottom: 10px; }
.order-note-list { margin: 0; padding-left: 20px; }
.order-note-list li { color: var(--text-muted); font-size: 13px; line-height: 1.65; margin-bottom: 7px; }
.order-note-list li:last-child { margin-bottom: 0; }
.order-note-list li::marker { color: var(--accent); }

.order-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

@media (max-width: 860px) {
  .products-grid { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 560px) {
  .order-actions { flex-direction: column; }
  .order-actions > * { width: 100%; }
}


/* ==========================================================================
   CHECKOUT HAND-OFF
   checkout.html collects nothing any more — it creates the Stripe session and
   forwards straight to it. All that is left is one card saying so, plus the
   error state for when Stripe cannot be reached.
   ========================================================================== */
.checkout-grid { max-width: 520px; margin: 0 auto; }

.checkout-loading {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.checkout-card {
  background: rgba(15, 11, 38, 0.62);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
}

.checkout-handoff { text-align: center; padding: 40px 30px; }

.handoff-spinner {
  width: 34px; height: 34px;
  margin: 0 auto 20px;
  border: 2px solid rgba(157, 116, 255, 0.25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: handoffSpin 0.8s linear infinite;
}
@keyframes handoffSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .handoff-spinner { animation-duration: 2.4s; } }

.handoff-title { font-family: var(--font-heading); font-size: 19px; color: #fff; margin-bottom: 8px; }
.handoff-copy { font-size: 13px; line-height: 1.6; color: var(--text-muted); margin: 0 0 18px; }
.handoff-retry { margin-top: 18px; }
.handoff-retry.hidden { display: none; }

.co-secure {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 13px; font-size: 10.5px; color: var(--text-muted);
}
.co-secure svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ── Error / offline banner ────────────────────────────────────────────── */
.co-alert {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.07);
  color: #fca5a5;
  font-size: 11.5px;
  line-height: 1.55;
  text-align: left;
}
.co-alert.hidden { display: none; }
.co-alert b { display: block; color: #f87171; margin-bottom: 4px; font-size: 12px; }
.co-alert code {
  font-family: var(--font-mono); font-size: 10.5px;
  background: rgba(0, 0, 0, 0.35); padding: 1px 5px; border-radius: 4px;
}

/* Buy buttons hold an "Opening Stripe…" state while the session is created, so
   the hover treatment must not fight the disabled look. */
.btn-purchase:disabled { opacity: 0.6; cursor: wait; }
.btn-purchase:disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--border);
  transform: none;
}

/* ==========================================================================
   PREVIEW NOTICE
   Shown only when the page has no store server behind it (see showPreviewNotice
   in app.js). Deliberately loud and unmissable: a preview looks identical to the
   real store right up until someone tries to pay, and that is far too late to
   find out.
   ========================================================================== */
.preview-notice {
  position: relative;
  z-index: 999;
  padding: 12px 20px;
  background: linear-gradient(90deg, #b4530a, #c2410c);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.preview-notice b { font-weight: 700; }

/* ==========================================================================
   PAYMENT / INVOICE PANEL  (confirmation page)
   What was actually paid, plus links to the invoice Stripe issued for it.
   ========================================================================== */
.pay-panel {
  text-align: left;
  margin: 0 0 22px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.pay-panel h3 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-heading); font-size: 15px; color: #fff; margin-bottom: 12px;
}
.pay-invoice-no {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.06em; color: var(--text-muted);
  user-select: all;
}
.pay-rows { display: flex; flex-direction: column; gap: 7px; }
.pay-row {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--text-muted);
}
.pay-row.is-discount span:last-child { color: #34d399; }
.pay-row.is-total {
  margin-top: 5px; padding-top: 11px;
  border-top: 1px solid var(--border);
  font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #fff;
}
.pay-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pay-actions .btn-secondary { font-size: 12.5px; padding: 9px 16px; text-decoration: none; }

@media (max-width: 560px) {
  .pay-actions { flex-direction: column; }
  .pay-actions .btn-secondary { width: 100%; }
}
