/* ==========================================================================
   LUNXCLOUD - Modern Cloud Hosting & Infrastructure Design System
   Brand: LunxCloud (lunxcloud.com)
   ========================================================================== */

:root {
  /* Brand Color Palette - Cyber Indigo & Radiant Cyan */
  --primary-rgb: 99, 102, 241;
  --primary: #6366f1;
  /* Electric Indigo */
  --primary-glow: rgba(99, 102, 241, 0.4);
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;

  --secondary: #06b6d4;
  /* Radiant Cyan */
  --secondary-glow: rgba(6, 182, 212, 0.4);
  --cyan-bright: #38bdf8;
  --accent: #8b5cf6;
  /* Deep Violet */
  --accent-neon: #a855f7;

  --success: #10b981;
  /* Emerald Green */
  --success-glow: rgba(16, 185, 129, 0.3);
  --warning: #f59e0b;
  /* Amber */
  --danger: #f43f5e;
  /* Sleek Rose/Coral */

  /* Theme Tokens (Obsidian Dark Infrastructure & Radiant Glass) */
  --bg-main: #07090e;
  --bg-surface: #0e121b;
  --bg-surface-elevated: #151b27;
  --bg-card: rgba(14, 18, 27, 0.75);
  --bg-card-hover: rgba(21, 27, 39, 0.88);
  --bg-glass: rgba(14, 18, 27, 0.72);
  --bg-glass-heavy: rgba(10, 13, 20, 0.94);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(99, 102, 241, 0.85);
  --border-glow: rgba(56, 189, 248, 0.45);
  --border-specular: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #07090e;

  /* Modern Precision Elevation & Atmospheric Aura */
  --shadow-sm: 0 2px 6px rgba(10, 15, 28, 0.35);
  --shadow-md: 0 8px 24px -2px rgba(10, 15, 28, 0.42), 0 2px 6px -1px rgba(10, 15, 28, 0.3);
  --shadow-lg: 0 20px 48px -8px rgba(10, 15, 28, 0.52), 0 10px 22px -4px rgba(10, 15, 28, 0.35);
  --shadow-card: 0 12px 32px -4px rgba(10, 15, 28, 0.42), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.28);
  --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, 0.28);

  /* Canonical Unified 9-Step Typography Scale (Aim <= 10) */
  --font-xs: 0.75rem;    /* 12px (strictly >= 12px min) */
  --font-sm: 0.875rem;   /* 14px */
  --font-base: 1rem;     /* 16px */
  --font-md: 1.125rem;   /* 18px */
  --font-lg: 1.25rem;    /* 20px */
  --font-xl: 1.5rem;     /* 24px */
  --font-2xl: 2rem;      /* 32px */
  --font-3xl: 2.5rem;    /* 40px */
  --font-4xl: 3.25rem;   /* 52px */

  /* Canonical 5-Step Corner Radii (Aim <= 6) */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Canonical 8 Semantic Text Colours (Aim <= 12) */
  --color-text-primary: var(--text-primary);
  --color-text-secondary: var(--text-secondary);
  --color-text-muted: var(--text-muted);
  --color-text-dim: var(--text-dim);
  --color-text-inverse: var(--text-inverse);
  --color-text-accent: var(--secondary);
  --color-text-brand: var(--primary-light);
  --color-text-success: var(--success);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --container-max: 1280px;
  --header-height: 76px;
}

/* ==========================================================================
   Day Mode (Light Theme) System Tokens - High-Contrast Precision
   ========================================================================== */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-heavy: rgba(255, 255, 255, 0.96);

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-light: #e2e8f0;
  --border-focus: #4f46e5;
  --border-glow: rgba(79, 70, 229, 0.2);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --text-inverse: #ffffff;

  /* High-Contrast Modern Tech Accents */
  --primary: #4f46e5;
  --primary-light: #4338ca;
  --primary-dark: #3730a3;
  --primary-glow: rgba(79, 70, 229, 0.22);
  --secondary: #0284c7;
  --secondary-glow: rgba(2, 132, 199, 0.18);
  --cyan-bright: #0369a1;
  --accent: #4f46e5;
  --accent-neon: #6366f1;
  --success: #047857;
  --success-glow: rgba(4, 120, 87, 0.18);
  --warning: #b45309;
  --danger: #e11d48;

  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 48px -8px rgba(15, 23, 42, 0.09), 0 10px 20px -4px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 14px 34px -6px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03), inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);
  --shadow-glow: 0 0 35px rgba(79, 70, 229, 0.12);
  --shadow-glow-cyan: 0 0 35px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] body {
  background-color: #f8fafc !important;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.04) 0px, transparent 50%) !important;
  background-attachment: fixed !important;
  color: #334155 !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
[data-theme="light"] .section-title,
[data-theme="light"] .section-heading-modern,
[data-theme="light"] .hero-title,
[data-theme="light"] .product-hero-title,
[data-theme="light"] .logo-title {
  color: #0f172a !important;
}

[data-theme="light"] p,
[data-theme="light"] .section-desc,
[data-theme="light"] .section-desc-modern,
[data-theme="light"] .hero-desc,
[data-theme="light"] .hero-subtitle,
[data-theme="light"] .product-hero-subtitle {
  color: #334155 !important;
}

/* Ensure Dark-Themed Widgets Maintain Light Text in Day Mode */
[data-theme="light"] .site-footer {
  background: #090e1a !important;
  color: #94a3b8 !important;
}
[data-theme="light"] .site-footer h1,
[data-theme="light"] .site-footer h2,
[data-theme="light"] .site-footer h3,
[data-theme="light"] .site-footer h4,
[data-theme="light"] .site-footer h5,
[data-theme="light"] .site-footer h6 {
  color: #ffffff !important;
}
[data-theme="light"] .site-footer p,
[data-theme="light"] .site-footer .footer-desc {
  color: #94a3b8 !important;
}
[data-theme="light"] .site-footer .logo-title,
[data-theme="light"] .brand-logo.footer-brand .logo-title {
  color: #ffffff !important;
}
[data-theme="light"] .site-footer .logo-title .text-accent,
[data-theme="light"] .brand-logo.footer-brand .logo-title .text-accent {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.5)) !important;
}
[data-theme="light"] .site-footer .brand-logo .logo-tagline,
[data-theme="light"] .brand-logo.footer-brand .logo-tagline {
  color: #94a3b8 !important;
}
[data-theme="light"] .site-footer .footer-bottom strong,
[data-theme="light"] .footer-bottom strong,
[data-theme="light"] .footer-bottom .footer-brand-name {
  color: #ffffff !important;
  font-weight: 700 !important;
}
[data-theme="light"] .site-footer .footer-links a {
  color: #94a3b8 !important;
}
[data-theme="light"] .site-footer .footer-links a:hover {
  color: #38bdf8 !important;
}

[data-theme="light"] .launch-cta-card h2 {
  color: #ffffff !important;
}
[data-theme="light"] .launch-cta-card p {
  color: #e2e8f0 !important;
}
[data-theme="light"] .launch-cta-card .badge-tag {
  color: #ffffff !important;
}

[data-theme="light"] .terminal-box {
  background: #05070d !important;
  color: #94a3b8 !important;
}
[data-theme="light"] .terminal-box * {
  color: #94a3b8 !important;
}
[data-theme="light"] .terminal-box .term-prompt {
  color: #10b981 !important;
}
[data-theme="light"] .terminal-box .term-cmd {
  color: #38bdf8 !important;
}

/* Day Mode High-Contrast Gradient Text */
[data-theme="light"] .text-gradient,
[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #4338ca 45%, #0284c7 90%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(67, 56, 202, 0.12)) !important;
}

[data-theme="light"] .text-gradient-primary {
  background: linear-gradient(135deg, #0f172a 0%, #4338ca 50%, #0284c7 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .text-gradient-gold {
  background: linear-gradient(135deg, #b45309 0%, #d97706 60%, #92400e 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .bg-glow-orb {
  opacity: 0.12;
}

[data-theme="light"] .circuit-grid-canvas,
[data-theme="light"] .circuit-canvas,
[data-theme="light"] .bg-grid-pattern {
  opacity: 0.2;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* High Performance 120 FPS Scrolling: suppresses hover calculations during active scroll */
body.is-scrolling * {
  pointer-events: none !important;
}
body.is-scrolling {
  pointer-events: auto !important;
}

/* Content-Visibility: Renders offscreen sections on-demand for lightning fast load and scroll */
.pricing-section,
.features-section,
.datacenter-section,
.comparison-section,
.testimonials-section,
.faq-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 650px;
}

/* Ambient Aurora Glows (GPU-friendly smooth gradient feathering without heavy blur filters) */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  animation: auroraBreath 22s ease-in-out infinite alternate;
}

.bg-orb-1 {
  width: 900px;
  height: 550px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.22) 0%, rgba(6, 182, 212, 0.12) 35%, rgba(6, 182, 212, 0.04) 55%, transparent 70%);
}

.bg-orb-2 {
  width: 700px;
  height: 700px;
  top: 35vh;
  left: -200px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.16) 0%, rgba(99, 102, 241, 0.09) 35%, rgba(99, 102, 241, 0.03) 55%, transparent 70%);
  animation-duration: 26s;
  animation-delay: -7s;
}

.bg-orb-3 {
  width: 800px;
  height: 800px;
  bottom: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(99, 102, 241, 0.09) 35%, rgba(99, 102, 241, 0.03) 55%, transparent 70%);
  animation-duration: 30s;
  animation-delay: -12s;
}

@keyframes auroraBreath {
  0% {
    transform: scale(1) translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.06) translateY(-14px);
    opacity: 0.76;
  }
  100% {
    transform: scale(0.96) translateY(8px);
    opacity: 0.54;
  }
}

/* Precision Micro-Dot Matrix & Modern Grid Overlay */
.bg-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 15%, black 45%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 15%, black 45%, transparent 95%);
  pointer-events: none;
  z-index: 0;
}

/* Cyber Circuit Grid Canvas (iotamine-style traveling dot data streams) */
.circuit-grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1020px;
  max-height: 100%;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 95% 75% at 50% 15%, #000 35%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 15%, #000 35%, transparent 88%);
}

/* Night Sky Shooting Stars (Meteor Shower / Toota Taara) Cosmic Canvas */
.shooting-stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}

[data-theme="light"] .shooting-stars-canvas {
  display: none !important;
  opacity: 0 !important;
}

/* Luminous Divider Trace Line with Moving Energy Beam (iotamine-style) */
.divider-trace {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
  overflow: hidden;
  margin: 36px 0;
}

.divider-trace::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -160px;
  width: 160px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), #ffffff, var(--secondary), transparent);
  filter: blur(1px);
  box-shadow: 0 0 14px var(--secondary);
  animation: traceBeam 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes traceBeam {
  0% { left: -160px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Status Indicator Dot with Expanding Aura (iotamine-style) */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  position: relative;
  vertical-align: middle;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--success);
  animation: statusPulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-dot.dot-cyan {
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
}

.status-dot.dot-cyan::after {
  border-color: var(--secondary);
}

.status-dot.dot-indigo {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.status-dot.dot-indigo::after {
  border-color: var(--primary);
}

@keyframes statusPulseRing {
  0% { transform: scale(0.9); opacity: 1; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Infinite Tech Stack Marquee (iotamine-style) */
.tech-marquee-section {
  padding: 10px 0 20px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.tech-marquee-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tech-marquee-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.tech-marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.tech-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

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

.tech-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.tech-marquee-item:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.tech-diamond {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--secondary);
  transform: rotate(45deg);
  border-radius: 1px;
  box-shadow: 0 0 6px var(--secondary);
  opacity: 0.8;
  flex-shrink: 0;
}

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

/* Hero Node Telemetry Strip (iotamine live cluster indicator) */
.hero-node-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(11, 17, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 14px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  flex-wrap: wrap;
}

.hero-node-strip strong {
  color: var(--text-primary);
}

.hero-node-strip .node-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: none;
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-node-strip .ping-pill {
  color: var(--secondary);
  font-weight: 600;
}


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

ul,
ol {
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   Layout Containers & Grid Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}

.section-tight {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.28);
  backdrop-filter: blur(8px);
  margin-bottom: 16px;
}

.badge-tag.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--secondary);
  border-color: rgba(6, 182, 212, 0.28);
}

.badge-tag.badge-success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.28);
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Gradient Text Effect - Modern High-Definition Specular Text */
.text-gradient,
.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #38bdf8 55%, #818cf8 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.32));
  display: inline-block;
}

.text-gradient-silver {
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
  background: linear-gradient(135deg, #ffffff 0%, #818cf8 45%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fbbf24 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Common UI Buttons - Ultra-Modern Micro-Interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-position 0.5s ease,
              border-color 0.25s ease,
              color 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

.btn svg,
.btn .btn-arrow {
  display: inline-block;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover svg,
.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn:active {
  transform: translateY(-1px) scale(0.98) !important;
  transition-duration: 0.1s;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 40%, #06b6d4 80%, #6366f1 100%);
  background-size: 220% 220%;
  background-position: 0% 50%;
  color: #ffffff !important;
  box-shadow: 0 6px 20px -2px rgba(99, 102, 241, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px -4px rgba(99, 102, 241, 0.65), 0 0 24px rgba(6, 182, 212, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(20, 28, 52, 0.82) 0%, rgba(12, 17, 34, 0.94) 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-secondary:hover {
  background: linear-gradient(180deg, rgba(30, 42, 76, 0.95) 0%, rgba(18, 24, 48, 0.98) 100%);
  border-color: rgba(99, 102, 241, 0.55);
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 22px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: rgba(99, 102, 241, 0.6);
  color: #ffffff;
  background: rgba(99, 102, 241, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3), 0 0 12px rgba(99, 102, 241, 0.2);
}

.btn-glow-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 50%, #3b82f6 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(6, 182, 212, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-glow-cyan:hover {
  background-position: 100% 50%;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(6, 182, 212, 0.65), 0 0 25px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: var(--font-sm);
  border-radius: var(--radius-sm);
}

.btn-md {
  padding: 12px 24px;
  font-size: var(--font-base);
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--font-md);
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* Shimmer animation on buttons */
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg,
      transparent 20%,
      rgba(255, 255, 255, 0.15) 30%,
      transparent 40%);
  transform: rotate(30deg);
  animation: shimmer 5s infinite linear;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }

  20%,
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

/* Glass Card - Precision Specular Obsidian Slab */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 42px -8px rgba(0, 0, 0, 0.65), 0 0 25px rgba(99, 102, 241, 0.16), inset 0 1px 0 0 rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   Announcement Bar (3D Ultra-Modern Animated Launch Offer)
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #090e1f 0%, #0f172a 20%, #1e1b4b 50%, #0c2340 80%, #090e1f 100%);
  background-size: 200% 100%;
  animation: barGradientFlow 12s ease infinite;
  color: #f8fafc;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 8px 36px 8px 16px;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  perspective: 1000px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes barGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Ambient 3D Aurora behind the bar */
.announcement-aurora {
  position: absolute;
  top: -60%;
  left: 20%;
  width: 60%;
  height: 220%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.28) 0%, rgba(6, 182, 212, 0.18) 50%, transparent 75%);
  filter: blur(20px);
  pointer-events: none;
  animation: barAuroraFloat 7s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes barAuroraFloat {
  0% { transform: translateX(-10%) scaleY(0.9); opacity: 0.7; }
  100% { transform: translateX(10%) scaleY(1.1); opacity: 1; }
}

/* 3D Laser Border Beam running along bottom edge */
.announcement-beam {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0) 10%, #38bdf8 45%, #818cf8 55%, #c084fc 75%, transparent 100%);
  background-size: 200% 100%;
  animation: barBeamRun 4s linear infinite;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8), 0 0 18px rgba(99, 102, 241, 0.5);
  pointer-events: none;
  z-index: 2;
}

@keyframes barBeamRun {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 3;
  transform-style: preserve-3d;
}

/* 3D Floating Pill Badge */
.announcement-badge-wrap {
  perspective: 600px;
  display: inline-flex;
}

.announcement-badge {
  background: linear-gradient(135deg, #ef4444 0%, #ec4899 50%, #8b5cf6 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  animation: badgeFloat 3s ease-in-out infinite alternate;
  transform: translateZ(10px);
}

@keyframes badgeFloat {
  0% { transform: translateY(0px) translateZ(8px); }
  100% { transform: translateY(-1.5px) translateZ(12px); }
}

/* Radar Beacon in Badge */
.announcement-beacon {
  position: relative;
  width: 8px;
  height: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.beacon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.beacon-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.6);
  animation: beaconWave 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beaconWave {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* Text and Coupon Section */
.announcement-text {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-size: 0.84rem;
}

.announcement-text strong,
.offer-highlight {
  color: #38bdf8;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.coupon-lead {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
}

/* 3D Cyber Coupon Pill */
.coupon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  perspective: 500px;
}

.coupon-code {
  font-family: var(--font-mono);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px dashed rgba(250, 204, 21, 0.7);
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  color: #fef08a;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-style: preserve-3d;
}

.coupon-icon {
  width: 13px;
  height: 13px;
  opacity: 0.85;
}

.coupon-wrapper:hover .coupon-code {
  transform: translateY(-2px) translateZ(8px) scale(1.04);
  border-color: #facc15;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(250, 204, 21, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.coupon-wrapper:active .coupon-code {
  transform: translateY(1px) scale(0.97);
}

.coupon-wrapper.is-copied .coupon-code {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border-color: #34d399;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.coupon-tooltip {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.coupon-wrapper:hover .coupon-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 3D Segmented Countdown Clock */
.announcement-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.25);
}

.timer-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
}

.timer-flame-icon {
  width: 13px;
  height: 13px;
  color: #f59e0b;
  animation: flameFlicker 1.8s ease-in-out infinite alternate;
}

@keyframes flameFlicker {
  0% { transform: scale(0.95); opacity: 0.85; filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.4)); }
  100% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.8)); }
}

.timer-chips-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.timer-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 4px;
  padding: 1px 5px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.78rem;
  color: #38bdf8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.4);
}

.chip-unit {
  font-size: 0.6rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

.timer-chip-sep {
  color: #64748b;
  font-weight: 700;
  font-size: 0.72rem;
  animation: colonBlink 1s ease-in-out infinite;
}

@keyframes colonBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* 3D Shimmer CTA Button */
.announcement-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 45%, #6366f1 80%, #38bdf8 100%);
  background-size: 220% 220%;
  background-position: 0% 50%;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 3px 14px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              background-position 0.5s ease;
  transform-style: preserve-3d;
  text-decoration: none;
}

.announcement-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: rotate(25deg);
  animation: btnShimmerSweep 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes btnShimmerSweep {
  0% { left: -70%; }
  35%, 100% { left: 140%; }
}

.announcement-btn:hover {
  background-position: 100% 50%;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.65), 0 0 16px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.btn-arrow {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 0.85rem;
}

.announcement-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* 3D Rotational Close Button */
.announcement-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: all 0.25s ease;
  z-index: 4;
}

.announcement-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) rotate(90deg) scale(1.1);
}

/* ==========================================================================
   2. HEADER & NAVBAR — Ultra-Modern Dark Cyber Glassmorphism
   ========================================================================== */
/* ==========================================================================
   2. HEADER & NAVBAR — Ultra-Modern Precision Cyber Glassmorphism
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 18, 38, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(8, 15, 32, 0.97);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(56, 189, 248, 0.08);
}

/* Luminous Ambient Bottom Laser Beam */
.header-laser-line {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.15) 20%, rgba(99, 102, 241, 0.3) 50%, rgba(56, 189, 248, 0.15) 80%, transparent 100%);
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.site-header.scrolled .header-laser-line {
  opacity: 0.85;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .navbar {
  height: 64px;
}

/* Brand Logo — Monogram & Modern Wordmark */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
  flex-shrink: 0;
}

.logo-icon-wrap {
  width: 38px;
  height: 38px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brand-logo:hover .logo-icon-wrap {
  transform: translateY(-1px) scale(1.06);
  border: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.75)) drop-shadow(0 0 24px rgba(99, 102, 241, 0.45));
}

.brand-svg-mark {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-family: var(--font-main);
  font-size: 1.42rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.035em;
  display: flex;
  align-items: center;
}

.logo-title .text-accent {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 45%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.55));
}

.logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}

.brand-logo.footer-brand .logo-tagline {
  color: #64748b;
}

/* Navigation Menu (Modern Clean Seamless Bar) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  list-style: none;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 500;
  color: #94a3b8;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transform: none;
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
}

.nav-link svg.chevron {
  width: 11px;
  height: 11px;
  color: #64748b;
  margin-left: 2px;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.nav-item:hover .nav-link svg.chevron {
  transform: rotate(180deg);
  color: #38bdf8;
}

.nav-link .nav-item-icon {
  display: none;
}

/* Mega Dropdown Menu — High-End Glassmorphism */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.98);
  width: 650px;
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.98) 0%, rgba(7, 10, 20, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(56, 189, 248, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Invisible hover bridge to prevent flicker */
.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 16px;
}

/* Top luminous laser line inside dropdown */
.mega-dropdown::after {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent);
  border-radius: 2px;
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.nav-item:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.dropdown-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(79, 70, 229, 0.3) 100%);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dropdown-item:hover .dropdown-icon {
  transform: scale(1.1) rotate(-3deg);
}

.dropdown-icon.cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(14, 116, 144, 0.3) 100%);
  color: #38bdf8;
  border-color: rgba(6, 182, 212, 0.35);
}

.dropdown-icon.emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(4, 120, 87, 0.3) 100%);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.dropdown-icon.amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(180, 83, 9, 0.3) 100%);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.dropdown-icon.indigo {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(79, 70, 229, 0.35) 100%);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.4);
}

.dropdown-text {
  flex: 1;
  min-width: 0;
}

.dropdown-text h4 {
  font-size: 0.90rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-text p {
  font-size: 0.77rem;
  color: #94a3b8;
  line-height: 1.35;
  margin: 0;
}

.dropdown-arrow {
  color: #38bdf8;
  font-size: 1.05rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.dropdown-item:hover .dropdown-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Mini Badges */
.badge-mini {
  font-size: 0.65rem;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.badge-mini.hot {
  background: linear-gradient(135deg, #ef4444 0%, #f43f5e 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

.badge-mini.new {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(6, 182, 212, 0.4);
}

.badge-mini.turbo {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.badge-mini.speed {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.4);
}

/* Mega Dropdown Footer Strip */
.mega-dropdown-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.77rem;
  color: #cbd5e1;
}

.mega-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-live-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  flex-shrink: 0;
  animation: pulseLiveDot 1.8s infinite;
}

.mega-footer-action {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mega-footer-action:hover {
  color: #ffffff;
  transform: translateX(2px);
}

/* Header Action Controls */
/* Header Action Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   Ultra-Modern Custom Currency Dropdown ("Options Look")
   ========================================================================== */
.custom-currency-dropdown {
  position: relative;
  display: inline-block;
  user-select: none;
}

.currency-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  color: #f1f5f9;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.currency-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  color: #ffffff;
}

.custom-currency-dropdown.open .currency-trigger-btn,
.currency-trigger-btn:focus-visible {
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.currency-flag {
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.currency-label-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.currency-trigger-chevron {
  color: #64748b;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
  margin-left: 1px;
}

.currency-trigger-btn:hover .currency-trigger-chevron,
.custom-currency-dropdown.open .currency-trigger-chevron {
  color: #38bdf8;
}

.custom-currency-dropdown.open .currency-trigger-chevron {
  transform: rotate(180deg);
}

/* Floating Custom Currency Menu Popover */
.currency-menu-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 195px;
  background: linear-gradient(180deg, rgba(14, 18, 30, 0.98) 0%, rgba(9, 12, 22, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(56, 189, 248, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-currency-dropdown.open .currency-menu-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.currency-menu-header {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  padding: 6px 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}

.currency-option-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: #cbd5e1;
  font-family: var(--font-main);
  cursor: pointer;
  text-align: left;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.currency-option-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.currency-option-item.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
  border-color: rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

.option-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.option-flag {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.option-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.option-code {
  font-size: 0.84rem;
  font-weight: 700;
  color: #f1f5f9;
}

.currency-option-item.active .option-code {
  color: #38bdf8;
}

.option-name {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

.currency-option-item.active .option-name {
  color: #94a3b8;
}

.option-check {
  color: #38bdf8;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.currency-option-item.active .option-check {
  opacity: 1;
  transform: scale(1);
}

/* Hidden Fallback for Scripts */
.currency-select-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Mobile Segmented Currency Toggle */
.mobile-currency-segmented {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 3px;
  gap: 3px;
}

.mobile-curr-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 9999px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.mobile-curr-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.45);
}

/* Fallback Legacy Segmented Currency Pill */
.currency-selector {
  display: inline-flex;
  align-items: center;
  height: 32px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 2px;
  gap: 2px;
  box-sizing: border-box;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.currency-btn {
  height: 26px;
  padding: 0 10px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 9999px;
  color: #94a3b8;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.currency-btn:hover {
  color: #ffffff;
}

.currency-btn.active {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.45);
}

/* Primary CTA Button (Get Started) */
.nav-cta-btn {
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 55%, #4f46e5 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-family: var(--font-main);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-sizing: border-box;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.nav-cta-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(25deg);
  animation: navCtaShimmer 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes navCtaShimmer {
  0% { left: -70%; }
  30%, 100% { left: 140%; }
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
}

.nav-cta-btn:active {
  transform: translateY(0);
}

.nav-cta-arrow {
  transition: transform 0.2s ease;
}

.nav-cta-btn:hover .nav-cta-arrow {
  transform: translateX(3px);
}

/* Fallback Theme Toggle (Hidden as Day Mode is removed) */
.theme-toggle-btn {
  display: none !important;
}

/* Mobile Toggle Hamburger Animated Button */
.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0;
}

.mobile-toggle:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.mobile-toggle.active .bar-1 {
  transform: translateY(7px) rotate(45deg);
  background: #38bdf8;
}

.mobile-toggle.active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
  background: #38bdf8;
}

/* Chat Bot Permanently Disabled */
.chat-launcher-btn,
.chat-window,
#chatLauncherBtn,
#chatWindow {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}