/* ==========================================================================
   SOXIT CONSULTING — ENTERPRISE DESIGN SYSTEM & VIBRANT STYLESHEET
   High-Contrast Corporate Navy, Luminous Energy Gradients, Kinetic Simulation
   ========================================================================== */

:root {
  /* Brand Navy Palette (Corporate Architecture Canvas) */
  --soxit-navy-950: #030914;
  --soxit-navy-900: #07152a; /* Deepest Navy canvas */
  --soxit-navy-850: #0a1b35;
  --soxit-navy-800: #0d2242; /* Deep Enterprise Navy */
  --soxit-navy-750: #102a50;
  --soxit-navy-700: #143564; /* Elevated dark card surface */
  --soxit-navy-650: #1a427c;
  --soxit-navy-600: #205196;
  --soxit-navy-500: #2864b5;

  /* Consulting Strategic Accent Palette (Energy & Distinction) */
  --soxit-orange-500: #ff6418; /* Vibrant Laser Orange */
  --soxit-orange-600: #e04e0a; /* Deep Orange (Hover / Active) */
  --soxit-orange-400: #ff8544; /* Bright highlight */
  --soxit-orange-subtle: rgba(255, 100, 24, 0.14);
  --soxit-orange-glow: rgba(255, 100, 24, 0.4);
  --soxit-orange-border: rgba(255, 100, 24, 0.55);

  /* Luminous Multi-Tone Practice Accents */
  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.35);
  --accent-cyan-subtle: rgba(0, 229, 255, 0.12);
  --accent-cyan-border: rgba(0, 229, 255, 0.45);

  --accent-purple: #a855f7;
  --accent-purple-glow: rgba(168, 85, 247, 0.35);
  --accent-purple-subtle: rgba(168, 85, 247, 0.12);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.35);
  --accent-emerald-subtle: rgba(16, 185, 129, 0.12);

  --accent-crimson: #ff4343;
  --accent-crimson-glow: rgba(255, 67, 67, 0.35);
  --accent-crimson-subtle: rgba(255, 67, 67, 0.12);

  --accent-gold: #fbbf24;
  --accent-gold-glow: rgba(251, 191, 36, 0.35);

  /* Light Accent / Contrast Elements */
  --soxit-light-bg: #f8fafc;
  --soxit-light-surface: #ffffff;
  --soxit-light-border: #e2e8f0;
  --soxit-text-dark: #0f172a;
  --soxit-text-dark-muted: #475569;

  /* Neutral Dark Mode Typography */
  --soxit-text-primary: #ffffff; /* Crisp Pure White */
  --soxit-text-secondary: #9cb1ce; /* Slate Blue 300 */
  --soxit-text-muted: #6b82a3; /* Slate 400 */
  --soxit-text-subtle: #4d6485;

  /* Structural Dividers & Glowing Borders */
  --soxit-border-hairline: rgba(255, 255, 255, 0.09);
  --soxit-border-medium: rgba(255, 255, 255, 0.18);
  --soxit-border-strong: rgba(255, 255, 255, 0.3);

  /* Elevation Shadows */
  --soxit-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --soxit-shadow-md: 0 6px 20px -2px rgba(3, 9, 20, 0.55);
  --soxit-shadow-lg: 0 18px 45px -4px rgba(3, 9, 20, 0.75);
  --soxit-shadow-orange: 0 6px 28px -2px rgba(255, 100, 24, 0.45);
  --soxit-shadow-cyan: 0 6px 28px -2px rgba(0, 229, 255, 0.35);

  /* Typography Stacks */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1300px;
  --nav-height: 72px;
}

/* Base Body & Reset */
html {
  font-family: var(--font-sans);
  background-color: var(--soxit-navy-950);
  color: var(--soxit-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body.consulting-page {
  background-color: var(--soxit-navy-950);
  color: var(--soxit-text-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
}

/* ==========================================================================
   SUPPORT FOR EXISTING PAGES (consulting-domains, domain-cyber, etc.)
   ========================================================================== */
.hero-grid {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), 
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}

.glow-cyan:hover {
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.45),
              0 10px 36px rgba(0, 229, 255, 0.2);
}

.glow-red:hover {
  box-shadow: 0 0 0 1px rgba(255, 67, 67, 0.45),
              0 10px 36px rgba(255, 67, 67, 0.2);
}

.glow-orange:hover {
  box-shadow: 0 0 0 1px rgba(255, 100, 24, 0.45),
              0 10px 36px rgba(255, 100, 24, 0.2);
}

/* Override Shared Shell Header & Footer to seamlessly blend with Dark Theme */
.shared-site-header {
  background: rgba(3, 9, 20, 0.94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
}

.shared-site-header__nav a {
  color: #9cb1ce !important;
  font-weight: 600 !important;
  transition: color 0.2s ease, border-color 0.2s ease !important;
}

.shared-site-header__nav a:hover,
.shared-site-header__nav a.is-active {
  color: var(--soxit-orange-500) !important;
  border-bottom-color: var(--soxit-orange-500) !important;
  text-shadow: 0 0 12px rgba(255, 100, 24, 0.5);
}

.shared-site-header__login {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #f8fafc !important;
  transition: all 0.2s ease !important;
}

.shared-site-header__login:hover {
  border-color: var(--soxit-orange-500) !important;
  color: var(--soxit-orange-500) !important;
  background: rgba(255, 100, 24, 0.1) !important;
}

.shared-site-header__cta {
  background: linear-gradient(135deg, #ff6418, #e04e0a) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(255, 100, 24, 0.35) !important;
  transition: all 0.2s ease !important;
}

.shared-site-header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 100, 24, 0.55) !important;
}

.shared-site-header__menu span {
  background-color: #f8fafc !important;
}

.shared-site-footer {
  background: var(--soxit-navy-950) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.shared-site-footer__socials a:hover {
  background: var(--soxit-orange-500) !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 100, 24, 0.5);
}

.shared-site-footer__column a:hover {
  color: var(--soxit-orange-500) !important;
}

/* Accessibility Skip Link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 24px;
  background: var(--soxit-orange-500);
  color: #ffffff;
  padding: 12px 20px;
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 16px;
  outline: 2px solid #ffffff;
}

:focus-visible {
  outline: 2px solid var(--soxit-orange-500);
  outline-offset: 3px;
}

/* Containers & Grid */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: 48px;
    padding-right: 48px;
  }
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
  position: relative;
}

@media (min-width: 1024px) {
  .section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* Ambient Colorful Lighting Glows */
.aurora-glow-top {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.16) 0%, rgba(255, 100, 24, 0.12) 40%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.aurora-glow-left {
  position: absolute;
  top: 20%;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.aurora-glow-right {
  position: absolute;
  bottom: 10%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 100, 24, 0.14) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Architectural Grid Backdrop */
.grid-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
}

/* Eyebrows, Badges & Labels */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--soxit-orange-400);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.eyebrow-pill {
  background: linear-gradient(135deg, rgba(255, 100, 24, 0.18), rgba(0, 229, 255, 0.08));
  border: 1px solid var(--soxit-orange-border);
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(255, 100, 24, 0.2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.badge-discipline {
  background: linear-gradient(135deg, rgba(20, 53, 100, 0.8), rgba(13, 34, 66, 0.8));
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--accent-cyan);
}

.badge-flagship {
  background: linear-gradient(135deg, rgba(255, 100, 24, 0.25), rgba(224, 78, 10, 0.35));
  border: 1px solid rgba(255, 100, 24, 0.7);
  color: #ff985c;
  box-shadow: 0 0 12px rgba(255, 100, 24, 0.3);
}

.badge-status {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #9cb1ce;
}

/* Practice-Specific Badges */
.badge-transform {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--accent-cyan);
}

.badge-protect {
  background: rgba(255, 67, 67, 0.12);
  border: 1px solid rgba(255, 67, 67, 0.4);
  color: var(--accent-crimson);
}

.badge-operate {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--accent-purple);
}

.badge-optimize {
  background: rgba(255, 100, 24, 0.12);
  border: 1px solid rgba(255, 100, 24, 0.4);
  color: var(--soxit-orange-400);
}

/* Typography Hierarchy */
.heading-display {
  font-size: clamp(2.35rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--soxit-text-primary);
  background: linear-gradient(180deg, #ffffff 40%, #c4d7ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading-1 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--soxit-text-primary);
}

.heading-2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--soxit-text-primary);
}

.heading-3 {
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--soxit-text-primary);
}

.lead-text {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.68;
  color: var(--soxit-text-secondary);
}

.body-text {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--soxit-text-secondary);
}

/* Vibrant Button Primitives */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6418 0%, #e04e0a 100%);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(255, 100, 24, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff7a36 0%, #ee5610 100%);
  box-shadow: 0 6px 30px rgba(255, 100, 24, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(16, 42, 80, 0.85), rgba(10, 27, 53, 0.9));
  color: var(--soxit-text-primary) !important;
  border-color: rgba(0, 229, 255, 0.3);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(20, 53, 100, 0.95), rgba(16, 42, 80, 0.95));
  border-color: var(--accent-cyan);
  color: #ffffff !important;
  box-shadow: 0 6px 24px rgba(0, 229, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--soxit-text-primary) !important;
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--soxit-orange-500);
  color: var(--soxit-orange-400) !important;
  background-color: rgba(255, 100, 24, 0.08);
  box-shadow: 0 4px 18px rgba(255, 100, 24, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 0.96rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* Cards & Surfaces with Luminous Glass */
.card-dark {
  background: linear-gradient(145deg, rgba(13, 34, 66, 0.85) 0%, rgba(7, 21, 42, 0.92) 100%);
  border: 1px solid var(--soxit-border-hairline);
  border-radius: 8px;
  backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
  position: relative;
}

.card-dark:hover {
  border-color: rgba(255, 100, 24, 0.45);
  box-shadow: 0 12px 36px rgba(3, 9, 20, 0.65), 0 0 20px rgba(255, 100, 24, 0.15);
  transform: translateY(-3px);
}

/* Glowing Border Accent Cards */
.card-glow-cyan {
  border: 1px solid rgba(0, 229, 255, 0.25);
}
.card-glow-cyan:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 36px rgba(0, 229, 255, 0.2);
}

.card-glow-orange {
  border: 1px solid rgba(255, 100, 24, 0.25);
}
.card-glow-orange:hover {
  border-color: var(--soxit-orange-500);
  box-shadow: 0 12px 36px rgba(255, 100, 24, 0.25);
}

/* Interactive Tabs & Selectors */
.interactive-tab {
  background: linear-gradient(135deg, rgba(13, 34, 66, 0.5), rgba(7, 21, 42, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 18px 22px;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  width: 100%;
}

.interactive-tab:hover {
  border-color: rgba(255, 100, 24, 0.5);
  background: linear-gradient(135deg, rgba(20, 53, 100, 0.7), rgba(13, 34, 66, 0.7));
  transform: translateY(-2px);
}

.interactive-tab.active {
  background: linear-gradient(135deg, rgba(26, 66, 124, 0.9), rgba(13, 34, 66, 0.95));
  border-color: var(--soxit-orange-500);
  box-shadow: 0 6px 24px rgba(255, 100, 24, 0.25), inset 0 0 12px rgba(255, 100, 24, 0.1);
}

/* Canvas Hero Container */
.crystal-hero-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: auto;
}

.crystal-hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 65% 35%, rgba(20, 53, 100, 0.55) 0%, rgba(7, 21, 42, 0.95) 65%, #030914 100%);
}

/* Live Telemetry Metric Strip */
.telemetry-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(13, 34, 66, 0.7) 0%, rgba(20, 53, 100, 0.8) 50%, rgba(13, 34, 66, 0.7) 100%);
  backdrop-filter: blur(14px);
  padding: 24px 0;
}

.metric-item {
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.metric-number {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #00e5ff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: -0.02em;
}

.metric-number-orange {
  background: linear-gradient(135deg, #ff6418 0%, #ffc078 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soxit-text-secondary);
}

/* Closed Loop Architecture Visualizer */
.cycle-card {
  background: linear-gradient(145deg, rgba(13, 34, 66, 0.5) 0%, rgba(7, 21, 42, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 26px 22px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
}

.cycle-card:hover {
  border-color: rgba(255, 100, 24, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(3, 9, 20, 0.6);
}

.cycle-card.active {
  background: linear-gradient(145deg, rgba(20, 53, 100, 0.9) 0%, rgba(13, 34, 66, 0.95) 100%);
  border: 2px solid var(--soxit-orange-500);
  box-shadow: 0 10px 30px rgba(255, 100, 24, 0.3), inset 0 0 15px rgba(255, 100, 24, 0.15);
}

/* Filter Pills */
.filter-pill {
  background: rgba(13, 34, 66, 0.7);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  border-color: var(--soxit-orange-500);
  color: #ffffff;
  transform: translateY(-1px);
}

.filter-pill.active {
  background: linear-gradient(135deg, #ff6418, #e04e0a);
  color: #ffffff;
  border-color: var(--soxit-orange-500);
  box-shadow: 0 4px 18px rgba(255, 100, 24, 0.4);
}

/* Platform Showcase Grid & Cards */
.platform-card {
  background: linear-gradient(145deg, rgba(13, 34, 66, 0.8) 0%, rgba(7, 21, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.platform-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, #ff6418, #00e5ff);
  transition: height var(--transition-normal);
}

.platform-card:hover {
  border-color: rgba(255, 100, 24, 0.5);
  box-shadow: 0 16px 40px rgba(3, 9, 20, 0.75), 0 0 24px rgba(255, 100, 24, 0.2);
  transform: translateY(-4px);
}

.platform-card:hover::after {
  height: 100%;
}

/* Perspective Article Card */
.perspective-card {
  background: linear-gradient(145deg, rgba(13, 34, 66, 0.8) 0%, rgba(7, 21, 42, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 34px 28px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.perspective-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 14px 40px rgba(3, 9, 20, 0.7), 0 0 20px rgba(0, 229, 255, 0.18);
  transform: translateY(-4px);
}

/* Delivery Model Accordions */
.delivery-model-card {
  background: linear-gradient(145deg, rgba(13, 34, 66, 0.6) 0%, rgba(7, 21, 42, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px 26px;
  transition: all var(--transition-normal);
}

.delivery-model-card:hover {
  border-color: rgba(255, 100, 24, 0.45);
  box-shadow: 0 10px 30px rgba(3, 9, 20, 0.6);
  transform: translateY(-3px);
}

/* Modals & Slide-over Drawers */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 9, 20, 0.88);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: linear-gradient(145deg, #0d2242 0%, #07152a 100%);
  border: 1px solid rgba(255, 100, 24, 0.5);
  border-radius: 10px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--soxit-shadow-lg), 0 0 35px rgba(255, 100, 24, 0.25);
  padding: 40px 36px;
  position: relative;
  transform: scale(0.96) translateY(12px);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #9cb1ce;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--soxit-orange-500);
  color: #ffffff;
  border-color: var(--soxit-orange-500);
  transform: rotate(90deg);
}

/* Subtle animation triggers */
@keyframes pulseSubtle {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.animate-pulse-subtle {
  animation: pulseSubtle 3s infinite ease-in-out;
}