@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Fira+Code:wght@400;500&display=swap');

:root {
  /* Design Tokens */
  --bg-primary: #020204; /* Pure obsidian pitch-black */
  --bg-secondary: #060609; /* Sleek dark graphite-obsidian */
  --bg-tertiary: #0c0d12; /* Rich dark border frame */
  --bg-card: rgba(6, 6, 9, 0.45); /* Translucent glassmorphism obsidian card */
  --border-color: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(245, 102, 43, 0.25);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #f5662b; /* Vibrant mid-orange */
  --accent-emerald: #ffa040; /* Amber yellow-orange */
  --accent-purple: #8b5cf6;
  --accent-indigo: #6366f1;
  --accent-rose: #f43f5e;
  
  --accent-cyan-hsl: 18, 91%, 56%;
  --accent-emerald-hsl: 30, 100%, 63%;
  --accent-purple-hsl: 262, 83%, 58%;
  --accent-indigo-hsl: 239, 84%, 67%;
  
  --glow-cyan: rgba(245, 102, 43, 0.15);
  --glow-emerald: rgba(255, 160, 64, 0.12);
  --glow-purple: rgba(139, 92, 246, 0.12);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* Offset for fixed header */
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
  mask-image: radial-gradient(circle at 50% 200px, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 200px, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
  pointer-events: none;
  z-index: -1;
}

/* Base Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Background Gradients & Glows */
.bg-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow-1 {
  position: absolute;
  top: -10%;
  left: 15%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(245, 102, 43, 0.28) 0%, transparent 70%);
  filter: blur(120px);
  animation: float-glow-1 25s infinite alternate ease-in-out;
}

.bg-glow-2 {
  position: absolute;
  top: 35%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 70%);
  filter: blur(130px);
  animation: float-glow-2 30s infinite alternate ease-in-out;
}

.bg-glow-3 {
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 160, 64, 0.24) 0%, transparent 70%);
  filter: blur(140px);
  animation: float-glow-3 28s infinite alternate ease-in-out;
}

@keyframes float-glow-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 10%) scale(1.12); }
  100% { transform: translate(-3%, -5%) scale(0.9); }
}

@keyframes float-glow-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8%, -5%) scale(0.9); }
  100% { transform: translate(4%, 7%) scale(1.15); }
}

@keyframes float-glow-3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6%, -8%) scale(1.08); }
  100% { transform: translate(-4%, 5%) scale(0.95); }
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, rgba(248, 250, 252, 0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffe0b2 0%, #ffa040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #ffd6d0 0%, #f5662b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan-emerald {
  background: linear-gradient(90deg, #ffa040 0%, #f5662b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Fix browser rendering bug where inline-block children inside background-clipped elements are transparent */
.stagger-reveal .text-gradient-cyan-emerald,
.stagger-reveal .text-gradient-cyan,
.stagger-reveal .text-gradient-emerald,
.stagger-reveal .text-gradient-purple,
.stagger-reveal .text-gradient {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
}

.stagger-reveal .text-gradient-cyan-emerald .split-word {
  background: linear-gradient(90deg, #ffa040 0%, #f5662b 100%);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}
.stagger-reveal .text-gradient-cyan .split-word {
  background: linear-gradient(135deg, #ffe0b2 0%, #ffa040 100%);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}
.stagger-reveal .text-gradient-emerald .split-word {
  background: linear-gradient(135deg, #ffd6d0 0%, #f5662b 100%);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}
.stagger-reveal .text-gradient-purple .split-word {
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}
.stagger-reveal .text-gradient .split-word {
  background: linear-gradient(135deg, var(--text-primary) 30%, rgba(248, 250, 252, 0.5) 100%);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Navigation Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(8, 11, 17, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(8, 11, 17, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-normal);
}

.header.scrolled .header-container {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-emerald) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
  transition: var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 101;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-emerald) 100%);
  color: #ffffff; /* Crystal white text */
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245, 102, 43, 0.3);
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(245, 102, 43, 0.5), 0 0 10px rgba(255, 160, 64, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-purple {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
  border: none;
}

.btn-purple:hover {
  box-shadow: 0 4px 25px rgba(139, 92, 246, 0.4);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* Badge Styling */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.badge-glow-cyan {
  border-color: rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.04);
  color: var(--accent-cyan);
}

.badge-glow-purple {
  border-color: rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.04);
  color: var(--accent-purple);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
}

/* Grid Layouts & Sections */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section-lg {
  padding-top: 140px;
  padding-bottom: 140px;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

/* Horizontal Proof Numbers Bar */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(4px);
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Calculator Section & Widget */
.calc-section {
  position: relative;
  background: radial-gradient(ellipse at center, rgba(15, 21, 36, 0.4) 0%, transparent 80%);
}

.calc-widget {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.95), 0 0 40px rgba(245, 102, 43, 0.08);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}

.calc-control {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-control h3 {
  font-size: 1.8rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.calc-label-row span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.calc-spend-output {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* Styled Range Input Slider */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.7);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}

.calc-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
}

.calc-minmax {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-breakdown-row span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.calc-breakdown-row strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-primary);
}

.calc-connect-toggle-wrapper {
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition-normal);
}

.calc-connect-toggle-wrapper:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.02);
}

.calc-connect-toggle-label {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.calc-checkbox {
  display: none;
}

.calc-checkbox-custom {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition-normal);
}

.calc-checkbox:checked + .calc-checkbox-custom {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-emerald) 100%);
  border-color: transparent;
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(245, 102, 43, 0.4);
}

.calc-checkbox-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.calc-checkbox-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.calc-checkbox-text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-top: 2px;
}

.connect-secure-indicator {
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.connect-secure-indicator.secured {
  background: rgba(245, 102, 43, 0.05);
  border-color: rgba(245, 102, 43, 0.25);
  color: var(--accent-cyan);
}

.indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--text-muted);
  transition: var(--transition-normal);
}

.connect-secure-indicator.secured .indicator-dot {
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.calc-savings-display {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(16, 185, 129, 0.02);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.calc-savings-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.calc-savings-title {
  font-size: 0.85rem;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 8px;
}

.calc-savings-amt {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-emerald);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

/* Dynamic Spend Comparison Bar Chart */
.calc-visual-chart {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  width: 100%;
  max-width: 220px;
  height: 120px;
  margin: 16px auto 24px auto;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 36px;
  border-radius: 6px 6px 0 0;
  transition: height var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  display: flex;
  justify-content: center;
}

.chart-bar.current {
  background: linear-gradient(to top, rgba(245, 102, 43, 0.2) 0%, var(--accent-cyan) 100%);
  box-shadow: 0 0 20px rgba(245, 102, 43, 0.25);
  height: 100%;
}

.chart-bar.fivo {
  background: linear-gradient(to top, rgba(16, 185, 129, 0.2) 0%, var(--accent-emerald) 100%);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  height: 12%;
}

.chart-bar-label {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

.chart-bar-val {
  position: absolute;
  top: -24px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.calc-savings-subtext {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 240px;
  margin-bottom: 24px;
}

/* Products Showcase Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: linear-gradient(135deg, rgba(8, 10, 16, 0.6) 0%, rgba(3, 4, 7, 0.85) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: var(--transition-normal);
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: var(--transition-normal);
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(245, 102, 43, 0.4) !important;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.95), 0 0 30px rgba(245, 102, 43, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  background: linear-gradient(135deg, rgba(12, 14, 22, 0.75) 0%, rgba(5, 6, 10, 0.95) 100%) !important;
}

.product-card:hover .product-icon {
  animation: float-icon 2s ease-in-out infinite alternate;
  box-shadow: 0 0 15px rgba(245, 102, 43, 0.25);
}

@keyframes float-icon {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.product-card.connect:hover {
  border-color: rgba(139, 92, 246, 0.45) !important;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.95), 0 0 30px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.product-card.gateway:hover::before {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
}

.product-card.cell:hover::before {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}

.product-card.connect:hover::before {
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-indigo));
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
}

.product-card.gateway .product-icon {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.15);
}

.product-card.cell .product-icon {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.15);
}

.product-card.connect .product-icon {
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.15);
}

.product-card h3 {
  position: relative;
  z-index: 2; /* Keep above outline digits */
  font-size: 1.5rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--text-primary) 50%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--transition-normal);
}

.product-card:hover h3 {
  background: linear-gradient(90deg, #ffffff 0%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-card.connect:hover h3 {
  background: linear-gradient(90deg, #ffffff 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* outline Watermark transparent text indicator */
.card-watermark {
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 7.5rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.035);
  user-select: none;
  pointer-events: none;
  transition: var(--transition-normal);
  z-index: 0;
}

.product-card:hover .card-watermark, .outcome-card:hover .card-watermark {
  -webkit-text-stroke: 1px rgba(245, 102, 43, 0.08);
  transform: scale(1.05) rotate(3deg);
}

.product-card.connect:hover .card-watermark {
  -webkit-text-stroke: 1px rgba(139, 92, 246, 0.1);
}

.product-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-features-list {
  list-style: none;
  margin-bottom: 32px;
}

.product-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.product-feature-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-emerald);
}

.product-card.connect .product-feature-item svg {
  color: var(--accent-purple);
}

.product-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: var(--transition-fast);
}

.product-card.gateway .product-link { color: var(--accent-cyan); }
.product-card.cell .product-link { color: var(--accent-cyan); }
.product-card.connect .product-link { color: var(--accent-purple); }

.product-link:hover {
  gap: 10px;
}

.playground-widget {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.95), 0 0 45px rgba(139, 92, 246, 0.08);
  max-width: 1040px;
  margin: 0 auto;
  transition: var(--transition-normal);
}

.playground-widget:hover {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.95), 0 0 45px rgba(139, 92, 246, 0.15);
}

.playground-nav {
  display: flex;
  background: rgba(8, 11, 17, 0.5);
  border-bottom: 1px solid var(--border-color);
}

.playground-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.playground-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.01);
}

.playground-tab.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.playground-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-normal);
}

.playground-tab.active::after {
  width: 100%;
}

.playground-tab:nth-child(3).active::after {
  background: var(--accent-purple);
}

.playground-content {
  padding: 32px;
  min-height: 380px;
  display: none;
  animation: fadeIn var(--transition-normal);
}

.playground-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Code Board / VS Code-like view */
.code-board {
  background: #06090f;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  overflow: hidden;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.5);
}

.code-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4b5563;
}

.code-dot:nth-child(1) { background: #ef4444; }
.code-dot:nth-child(2) { background: #f59e0b; }
.code-dot:nth-child(3) { background: #ff781f; }

.code-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.code-body {
  padding: 20px;
  font-size: 0.875rem;
  line-height: 1.7;
  overflow-x: auto;
  position: relative; /* Enabled for absolute laser alignment */
}

/* Sweeping Laser Line Animation */
.obs-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent 10%, var(--accent-purple) 50%, transparent 90%);
  box-shadow: 0 0 15px 4px var(--accent-purple), 0 0 30px 8px rgba(139, 92, 246, 0.4);
  opacity: 0.9;
  z-index: 10;
  pointer-events: none;
  animation: sweep-down 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes sweep-down {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(350px);
    opacity: 0;
  }
}

/* Scanning matrix blur filter */
.code-body.is-scanning pre {
  filter: blur(2px) brightness(1.2);
  transition: filter var(--transition-fast);
  color: #a78bfa !important;
}

.code-line {
  display: flex;
}

.code-num {
  width: 28px;
  text-align: right;
  color: var(--text-muted);
  margin-right: 16px;
  user-select: none;
}

.code-txt {
  color: #e2e8f0;
  white-space: pre;
}

.code-keyword { color: #f43f5e; }
.code-string { color: #ff9f43; }
.code-comment { color: #64748b; font-style: italic; }
.code-function { color: #3b82f6; }
.code-variable { color: #f59e0b; }
.code-highlight {
  background: rgba(6, 182, 212, 0.15);
  border-left: 2px solid var(--accent-cyan);
  margin-left: -20px;
  padding-left: 18px;
  width: calc(100% + 20px);
}

.code-highlight.purple {
  background: rgba(139, 92, 246, 0.15);
  border-left-color: var(--accent-purple);
}

/* Obfuscation Simulator layout */
.obfuscation-simulator {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 16px;
  align-items: center;
}

.obs-arrow {
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  animation: pulse-horizontal 2s infinite;
}

@keyframes pulse-horizontal {
  0% { transform: translateX(0); }
  50% { transform: translateX(4px); color: var(--accent-purple); }
  100% { transform: translateX(0); }
}

.obs-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.obs-panel-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.obs-control-bar {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.obs-btn {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-normal);
}

.obs-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5);
}

.masked-token {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 1px 4px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.obfuscated-token {
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent-purple);
  border: 1px dashed rgba(139, 92, 246, 0.4);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  animation: pulse-token 1.5s infinite alternate;
}

@keyframes pulse-token {
  from { opacity: 0.8; }
  to { opacity: 1; box-shadow: 0 0 6px var(--accent-purple); }
}

/* Terminal Simulator view for Cell */
.terminal-board {
  background: #030712;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  overflow: hidden;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.8);
}

.terminal-header {
  background: #0b0f19;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  gap: 12px;
}

.terminal-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.terminal-body {
  padding: 24px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #ff9f43;
}

.term-line {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
}

.term-prompt {
  color: var(--accent-cyan);
  margin-right: 8px;
  user-select: none;
}

.term-cmd {
  color: var(--text-primary);
  font-weight: 500;
}

.term-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background-color: var(--text-primary);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.term-out {
  color: var(--text-secondary);
  white-space: pre-wrap;
  width: 100%;
}

.term-out.success {
  color: var(--accent-cyan);
}

.term-out.gray {
  color: var(--text-muted);
}

/* Outcomes grid section */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.outcome-card {
  background: linear-gradient(135deg, rgba(8, 10, 16, 0.6) 0%, rgba(3, 4, 7, 0.85) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: var(--transition-normal);
}

.outcome-card:hover {
  border-color: rgba(245, 102, 43, 0.35) !important;
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.9), 0 0 25px rgba(245, 102, 43, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(135deg, rgba(12, 14, 22, 0.7) 0%, rgba(5, 6, 10, 0.9) 100%) !important;
}

.outcome-card:hover .outcome-icon-box {
  animation: float-icon 2s ease-in-out infinite alternate;
  box-shadow: 0 0 15px rgba(245, 102, 43, 0.2);
}

.outcome-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(6, 182, 212, 0.05);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.15);
  margin-bottom: 20px;
}

.outcome-card.compliance .outcome-icon-box {
  background: rgba(16, 185, 129, 0.05);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.15);
}

.outcome-card.privacy .outcome-icon-box {
  background: rgba(139, 92, 246, 0.05);
  color: var(--accent-purple);
  border-color: rgba(139, 92, 246, 0.15);
}

.outcome-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.outcome-card p {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.outcome-quote {
  border-left: 2px solid var(--border-color);
  padding-left: 16px;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.outcome-author {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 12px;
  display: block;
  font-weight: 500;
  font-style: normal;
}

/* Call to Action Grid Section */
.cta-box {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.5);
  max-width: 1040px;
  margin: 0 auto;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 32px auto;
}

/* Footer Section */
.footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-col p {
  font-size: 0.9rem;
}

.footer-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 12px;
}

.footer-link {
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-social-link {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--text-primary);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .calc-widget {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 70px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    gap: 24px;
    z-index: 100;
    transition: var(--transition-normal);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-cta {
    display: none; /* Can merge in mobile menu if needed */
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .hero-actions {
    flex-direction: column;
    padding: 0 20px;
  }
  
  .stats-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .stat-item {
    border-right: none;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .playground-content {
    padding: 16px;
  }
  
  .obfuscation-simulator {
    grid-template-columns: 1fr;
  }
  
  .obs-arrow {
    transform: rotate(90deg);
    margin: 8px 0;
    animation: pulse-vertical 2s infinite;
  }
  
  @keyframes pulse-vertical {
    0% { transform: rotate(90deg) translateX(0); }
    50% { transform: rotate(90deg) translateX(4px); color: var(--accent-purple); }
    100% { transform: rotate(90deg) translateX(0); }
  }
  
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Scroll Reveal Animations Framework --- */
.reveal-init {
  opacity: 0;
  transform: translateY(24px) scale(0.99);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Floating Animation Utility */
.floating-element {
  animation: float-widget 6s ease-in-out infinite alternate;
}
@keyframes float-widget {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(0.2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Split Word Stagger Entrance */
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px) translateZ(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  white-space: pre;
}
.split-word.word-revealed {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

/* Drawing Underline Utility */
.draw-underline {
  position: relative;
  display: inline-block;
}
.draw-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.3s;
}
.revealed .draw-underline::after,
.draw-underline.revealed::after {
  transform: scaleX(1);
}

/* spotlight Spotlight Tracker */
.spotlight-card {
  position: relative;
}
.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.05), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.spotlight-card:hover::after {
  opacity: 1;
}

/* Infinite Scrolling Marquee Ticker */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background: rgba(2, 2, 4, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 60px;
  z-index: 10;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.marquee-content span {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee-content span::after {
  content: '•';
  color: var(--accent-cyan);
  font-size: 1.1rem;
}
@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Expansion Visual Pipeline Flow CSS */
.flow-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
  position: relative;
  margin: 40px 0;
}
.flow-node {
  background: linear-gradient(135deg, rgba(8, 10, 16, 0.4) 0%, rgba(3, 4, 7, 0.6) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.flow-node:hover {
  border-color: rgba(245, 102, 43, 0.35);
  box-shadow: 0 10px 30px rgba(245, 102, 43, 0.1);
  transform: translateY(-4px);
}
.flow-node-num {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}
.flow-node-icon {
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin-top: 8px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(245, 102, 43, 0.3));
}
.flow-node h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-family: var(--font-display);
}
.flow-node p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.flow-arrow {
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  z-index: 5;
  pointer-events: none;
  animation: flow-pulse 2s infinite ease-in-out;
}
@keyframes flow-pulse {
  0% { transform: translateY(-50%) translateX(0); opacity: 0.3; }
  50% { transform: translateY(-50%) translateX(5px); opacity: 0.9; color: var(--accent-cyan); }
  100% { transform: translateY(-50%) translateX(0); opacity: 0.3; }
}

@media (max-width: 992px) {
  .flow-pipeline {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .flow-arrow {
    top: auto;
    bottom: -26px;
    right: 50%;
    transform: translateX(50%) rotate(90deg);
    animation: flow-pulse-down 2s infinite ease-in-out;
  }
}
@keyframes flow-pulse-down {
  0% { transform: translateX(50%) rotate(90deg) translate3d(0, 0, 0); opacity: 0.3; }
  50% { transform: translateX(50%) rotate(90deg) translate3d(0, 5px, 0); opacity: 0.9; color: var(--accent-cyan); }
  100% { transform: translateX(50%) rotate(90deg) translate3d(0, 0, 0); opacity: 0.3; }
}

/* Config Schema Explorer CSS */
.config-explorer-panel {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  background: linear-gradient(135deg, rgba(8, 10, 16, 0.4) 0%, rgba(3, 4, 7, 0.6) 100%) !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.config-explorer-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.config-explorer-tab {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 14px;
}
.config-explorer-tab:hover {
  border-color: rgba(245, 102, 43, 0.25);
  background: rgba(255, 255, 255, 0.02);
}
.config-explorer-tab.active {
  background: rgba(245, 102, 43, 0.03);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(245, 102, 43, 0.15);
}
.config-explorer-tab-icon {
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.config-explorer-tab.active .config-explorer-tab-icon {
  color: var(--accent-cyan);
}
.config-explorer-tab-details h5 {
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-display);
}
.config-explorer-tab-details p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.config-explorer-code {
  background: #020204;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #e2e8f0;
  overflow-x: auto;
  min-height: 260px;
  position: relative;
}
.config-explorer-code-content {
  display: none;
}
.config-explorer-code-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@media (max-width: 768px) {
  .config-explorer-panel {
    grid-template-columns: 1fr;
  }
}

/* Models and Compliance Grid CSS */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.model-card {
  background: linear-gradient(135deg, rgba(8, 10, 16, 0.4) 0%, rgba(3, 4, 7, 0.6) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 102, 43, 0.35);
  box-shadow: 0 10px 30px rgba(245, 102, 43, 0.1);
}
.model-card-icon {
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  filter: drop-shadow(0 0 6px rgba(245, 102, 43, 0.25));
}
.model-card.connect .model-card-icon {
  color: var(--accent-purple);
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.25));
}
.model-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.model-card p {
  font-size: 0.775rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.model-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.725rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.05);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.15);
  margin-top: 12px;
  font-weight: 500;
}

/* Active State Pipeline CSS Overhaul */
.flow-node.active {
  background: rgba(245, 102, 43, 0.03);
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 10px 30px rgba(245, 102, 43, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}
.flow-node.active .flow-node-num {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan);
  color: var(--bg-primary);
}
.flow-node.active .flow-node-icon {
  animation: pulse-icon 1s infinite alternate;
}
@keyframes pulse-icon {
  0% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(245, 102, 43, 0.3)); }
  100% { transform: scale(1.1); filter: drop-shadow(0 0 16px rgba(245, 102, 43, 0.6)); }
}

/* Fivo Connect specific active node */
.flow-pipeline-connect .flow-node.active {
  background: rgba(139, 92, 246, 0.03);
  border-color: var(--accent-purple) !important;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.flow-pipeline-connect .flow-node.active .flow-node-num {
  border-color: var(--accent-purple);
  background: var(--accent-purple);
}
.flow-pipeline-connect .flow-node.active .flow-node-icon {
  animation: pulse-icon-purple 1s infinite alternate;
}
@keyframes pulse-icon-purple {
  0% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3)); }
  100% { transform: scale(1.1); filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.6)); }
}

/* Fivo Cell specific active node */
.flow-pipeline-cell .flow-node.active {
  background: rgba(255, 160, 64, 0.03);
  border-color: var(--accent-emerald) !important;
  box-shadow: 0 10px 30px rgba(255, 160, 64, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.flow-pipeline-cell .flow-node.active .flow-node-num {
  border-color: var(--accent-emerald);
  background: var(--accent-emerald);
}
.flow-pipeline-cell .flow-node.active .flow-node-icon {
  animation: pulse-icon-emerald 1s infinite alternate;
}
@keyframes pulse-icon-emerald {
  0% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255, 160, 64, 0.3)); }
  100% { transform: scale(1.1); filter: drop-shadow(0 0 16px rgba(255, 160, 64, 0.6)); }
}

/* Interactive Pipeline Developer Console Styles */
.pipeline-console {
  background: #030306;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #e2e8f0;
  margin-top: 36px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8), 0 15px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  text-align: left;
  border-left: 3px solid var(--accent-cyan);
}
.pipeline-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 0.725rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.pipeline-console-dots {
  display: flex;
  gap: 6px;
}
.pipeline-console-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.pipeline-console-dot.red { background: #ef4444; }
.pipeline-console-dot.yellow { background: #f59e0b; }
.pipeline-console-dot.green { background: #10b981; }
.pipeline-console-body {
  height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}
.console-log-line {
  display: flex;
  gap: 12px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  animation: console-line-fade-in 0.25s forwards ease-out;
}
@keyframes console-line-fade-in {
  to { opacity: 1; transform: translateY(0); }
}
.console-timestamp {
  color: var(--text-muted);
  user-select: none;
  font-size: 0.75rem;
}
.console-tag {
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.console-tag.sys { background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); border: 1px solid rgba(255, 255, 255, 0.1); }
.console-tag.connect { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); border: 1px solid rgba(139, 92, 246, 0.25); }
.console-tag.gateway { background: rgba(245, 102, 43, 0.12); color: var(--accent-cyan); border: 1px solid rgba(245, 102, 43, 0.25); }
.console-tag.success { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.25); }
.console-text {
  color: #e2e8f0;
}

/* Premium 3D Glowing Model Matrix CSS */
.premium-model-card {
  background: linear-gradient(135deg, rgba(8, 10, 16, 0.45) 0%, rgba(3, 4, 7, 0.8) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.premium-model-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.premium-model-card.claude:hover {
  border-color: rgba(255, 160, 64, 0.4) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 160, 64, 0.12);
  transform: translateY(-8px) scale(1.02);
}
.premium-model-card.gpt:hover {
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(16, 185, 129, 0.12);
  transform: translateY(-8px) scale(1.02);
}
.premium-model-card.deepseek:hover {
  border-color: rgba(245, 102, 43, 0.4) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(245, 102, 43, 0.12);
  transform: translateY(-8px) scale(1.02);
}
.premium-model-card.gemini:hover {
  border-color: rgba(99, 102, 241, 0.4) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(99, 102, 241, 0.12);
  transform: translateY(-8px) scale(1.02);
}
.premium-model-card.llama:hover {
  border-color: rgba(139, 92, 246, 0.4) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(139, 92, 246, 0.12);
  transform: translateY(-8px) scale(1.02);
}
.premium-model-card-logo {
  font-size: 2.5rem;
  margin-bottom: 16px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-model-card:hover .premium-model-card-logo {
  transform: scale(1.12) rotate(6deg);
}
.premium-model-card.claude .premium-model-card-logo { color: var(--accent-emerald); filter: drop-shadow(0 0 8px rgba(255, 160, 64, 0.35)); }
.premium-model-card.gpt .premium-model-card-logo { color: #10b981; filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.35)); }
.premium-model-card.deepseek .premium-model-card-logo { color: var(--accent-cyan); filter: drop-shadow(0 0 8px rgba(245, 102, 43, 0.35)); }
.premium-model-card.gemini .premium-model-card-logo { color: #6366f1; filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.35)); }
.premium-model-card.llama .premium-model-card-logo { color: var(--accent-purple); filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.35)); }

.premium-model-card h4 {
  font-size: 1.1rem;
  font-family: var(--font-display);
  margin-bottom: 8px;
  color: var(--text-primary);
}
.premium-model-card p {
  font-size: 0.775rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.premium-model-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-top: 16px;
}
.premium-model-badge.fast {
  color: #10b981;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.premium-model-badge.save {
  color: var(--accent-emerald);
  background: rgba(255, 160, 64, 0.05);
  border: 1px solid rgba(255, 160, 64, 0.2);
}

/* --- Model Intelligence Leaderboard Styles --- */
.leaderboard-widget {
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
}

.leaderboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.leaderboard-info h3 {
  font-size: 1.4rem;
  font-family: var(--font-display);
  color: var(--text-primary);
  margin-bottom: 6px;
}

.leaderboard-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.leaderboard-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.leaderboard-tab {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

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

.leaderboard-tab.active {
  background: rgba(245, 102, 43, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(245, 102, 43, 0.3);
  box-shadow: 0 0 15px rgba(245, 102, 43, 0.1);
}

.leaderboard-chart-container {
  position: relative;
  padding: 20px 10px 40px 10px;
  min-height: 380px;
}

.leaderboard-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 300px;
  gap: 16px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 4px;
  position: relative;
}

/* Horizontal benchmark lines */
.chart-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-grid-line {
  width: 100%;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
  position: relative;
}

.chart-grid-line::after {
  content: attr(data-val);
  position: absolute;
  left: 0;
  top: -16px;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-mono);
}

.leaderboard-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  z-index: 2;
}

.leaderboard-bar-val {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(10px);
  animation: barValFadeUp 0.6s 0.3s forwards;
}

@keyframes barValFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leaderboard-bar {
  width: 100%;
  max-width: 60px;
  height: 0%; /* Dynamic */
  border-radius: 6px 6px 0 0;
  transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.leaderboard-bar:hover {
  transform: scaleY(1.02);
  filter: brightness(1.1);
}

/* Provider bar colors & shadows */
.bar-anthropic {
  background: linear-gradient(to top, rgba(234, 43, 22, 0.7), rgba(255, 160, 64, 0.9));
  border: 1px solid rgba(255, 160, 64, 0.4);
}
.leaderboard-bar-col:hover .bar-anthropic {
  box-shadow: 0 0 25px rgba(255, 160, 64, 0.3);
}

.bar-openai {
  background: linear-gradient(to top, rgba(31, 41, 55, 0.8), rgba(75, 85, 99, 0.95));
  border: 1px solid rgba(156, 163, 175, 0.3);
}
.leaderboard-bar-col:hover .bar-openai {
  box-shadow: 0 0 25px rgba(156, 163, 175, 0.15);
}

.bar-google {
  background: linear-gradient(to top, rgba(26, 115, 232, 0.7), rgba(66, 133, 244, 0.9));
  border: 1px solid rgba(66, 133, 244, 0.4);
}
.leaderboard-bar-col:hover .bar-google {
  box-shadow: 0 0 25px rgba(66, 133, 244, 0.3);
}

.bar-meta {
  background: linear-gradient(to top, rgba(94, 53, 177, 0.7), rgba(126, 87, 194, 0.9));
  border: 1px solid rgba(126, 87, 194, 0.4);
}
.leaderboard-bar-col:hover .bar-meta {
  box-shadow: 0 0 25px rgba(126, 87, 194, 0.3);
}

.bar-fivo {
  background: linear-gradient(to top, rgba(245, 102, 43, 0.8), rgba(255, 160, 64, 0.95));
  border: 1px solid rgba(255, 160, 64, 0.6);
  box-shadow: 0 0 15px rgba(245, 102, 43, 0.2);
}
.leaderboard-bar-col:hover .bar-fivo {
  box-shadow: 0 0 35px rgba(245, 102, 43, 0.5);
}

.leaderboard-bar-label {
  margin-top: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.leaderboard-bar-label i {
  font-size: 0.85rem;
}

.leaderboard-bar-label .label-sub {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Tooltip overlay styling */
.leaderboard-tooltip {
  position: absolute;
  bottom: 100%;
  margin-bottom: 12px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  z-index: 10;
  width: 180px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
}

.leaderboard-bar-col:hover .leaderboard-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.tooltip-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4px;
}

.tooltip-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  margin-top: 3px;
  color: var(--text-secondary);
}

.tooltip-row span.val {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-weight: 600;
}

.leaderboard-routing-callout {
  margin-top: 25px;
  background: rgba(245, 102, 43, 0.03);
  border: 1px solid rgba(245, 102, 43, 0.15);
  border-radius: var(--radius-lg);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.leaderboard-routing-callout i {
  font-size: 1.5rem;
  color: var(--accent-emerald);
  filter: drop-shadow(0 0 8px rgba(245, 102, 43, 0.3));
}

.leaderboard-routing-callout-text h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.leaderboard-routing-callout-text p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .leaderboard-chart {
    gap: 8px;
  }
  .leaderboard-bar-label {
    font-size: 0.6rem;
  }
  .leaderboard-bar-label i {
    font-size: 0.75rem;
  }
  .leaderboard-routing-callout {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   DEVELOPER PORTAL & DOCUMENTATION LAYOUT (docs.html)
   ========================================================================= */

.docs-body {
  background-color: #030712;
  color: var(--text-secondary);
}

.docs-wrapper {
  display: flex;
  align-items: flex-start; /* Prevents stretching so sidebar height is respected and sticky works */
  min-height: calc(100vh - 80px);
  position: relative;
  max-width: 1440px;
  margin: 80px auto 0 auto;
}

.docs-sidebar {
  width: 300px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 24px;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.docs-sidebar::-webkit-scrollbar {
  width: 4px;
}
.docs-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.docs-search-container {
  margin-bottom: 24px;
  position: relative;
}

.docs-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 16px 10px 38px;
  color: var(--text-primary);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.docs-search-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.docs-search-container i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.docs-menu-group {
  margin-bottom: 28px;
}

.docs-menu-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  opacity: 0.85;
}

.docs-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-menu-item a {
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.docs-menu-item a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.docs-menu-item.active a {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  font-weight: 500;
  border-left: 2px solid var(--accent-cyan);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.docs-container {
  flex-grow: 1;
  padding: 40px 64px 80px 64px;
  max-width: 900px;
  overflow-y: visible;
}

.docs-sec {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}

.docs-sec h1 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.docs-sec h2 {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.docs-sec h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.docs-sec p {
  font-size: 0.975rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.docs-sec ul, .docs-sec ol {
  margin-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.docs-sec li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.docs-sec code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.docs-sec pre {
  margin-bottom: 24px;
}

.docs-sec pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.docs-callout {
  background: rgba(6, 182, 212, 0.03);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-left: 4px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.docs-callout.purple {
  background: rgba(139, 92, 246, 0.03);
  border-color: rgba(139, 92, 246, 0.15);
  border-left-color: var(--accent-purple);
}

.docs-callout-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-callout p {
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Fenced Code Snippet & Tab System */
.code-tab-container {
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.code-tab-header {
  background: #0e1320;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.code-tabs {
  display: flex;
  gap: 4px;
}

.code-tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.code-tab-btn:hover {
  color: var(--text-primary);
}

.code-tab-btn.active {
  color: var(--accent-cyan);
}

.code-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-cyan);
}

.code-tab-btn.purple.active {
  color: var(--accent-purple);
}

.code-tab-btn.purple.active::after {
  background-color: var(--accent-purple);
}

.code-copy-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.code-copy-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.code-tab-content {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
}

.code-tab-panel {
  display: none;
}

.code-tab-panel.active {
  display: block;
}

/* Docs grid for multi-columns list */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.docs-grid-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-normal);
  text-decoration: none;
  display: block;
}

.docs-grid-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
}

.docs-grid-card.purple:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

.docs-grid-card i {
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.docs-grid-card.purple i {
  color: var(--accent-purple);
}

.docs-grid-card h4 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.docs-grid-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Documentation comparison table */
.docs-table-wrapper {
  overflow-x: auto;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.docs-table th, .docs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.docs-table th {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-weight: 600;
}

.docs-table tr:last-child td {
  border-bottom: none;
}

/* Sidebar Responsive adaptation */
@media (max-width: 1024px) {
  .docs-sidebar {
    width: 240px;
    padding: 30px 16px;
  }
  .docs-container {
    padding: 30px 32px 60px 32px;
  }
}

@media (max-width: 768px) {
  .docs-wrapper {
    flex-direction: column;
    margin-top: 70px;
  }
  .docs-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
  }
  .docs-container {
    padding: 32px 20px;
    max-width: 100%;
  }
}

/* ==========================================================================
   PREMIUM NEXT-GEN MICRO-ANIMATIONS & TRANSITIONS (Entire Site)
   ========================================================================== */

/* 1. Global Hardware-Accelerated Transition Speeds */
.product-card, 
.docs-grid-card, 
.outcome-card, 
.pricing-card, 
.calc-widget, 
.leaderboard-container, 
.cta-box, 
.leaderboard-bar-col, 
.code-tab-container, 
.docs-menu-item a {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, box-shadow, border-color;
}

/* 2. Premium Stagger Fade-In Reveal (Page Load) */
@keyframes fadeInUpStagger {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-reveal, .hero-title, .hero-subtitle, .hero-actions {
  animation: fadeInUpStagger 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-subtitle { animation-delay: 0.15s; }
.hero-actions { animation-delay: 0.3s; }
.stats-strip { animation: fadeInUpStagger 1.2s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.4s; }

/* 3. Card Hover Scale & Glow Expansions */
.product-card:hover, 
.docs-grid-card:hover, 
.pricing-card:hover, 
.calc-widget:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(245, 102, 43, 0.3) !important;
  box-shadow: 0 20px 40px -15px rgba(245, 102, 43, 0.22), 
              inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.product-card.purple:hover, 
.docs-grid-card.purple:hover,
.pricing-card.purple:hover {
  border-color: rgba(139, 92, 246, 0.3) !important;
  box-shadow: 0 20px 40px -15px rgba(139, 92, 246, 0.22), 
              inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

/* 4. Elegant Button Shine Sweep Micro-Animation */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::before {
  left: 100%;
}

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

/* 5. Logo & Setup Floating Icons Loop */
@keyframes floatIconMicro {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.outcome-icon-box, 
.docs-grid-card i, 
.logo-icon, 
.stat-item .stat-num {
  animation: floatIconMicro 2.2s ease-in-out infinite alternate;
}

/* 6. Dynamic Tabs Switcher Panel Transitions */
@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.code-tab-panel, 
.leaderboard-panel, 
.docs-sec {
  animation: fadeInPanel 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 7. Code Container Border Glow on Hover */
.code-tab-container {
  transition: border-color 0.35s ease, box-shadow 0.35s ease !important;
}

.code-tab-container:hover {
  border-color: rgba(6, 182, 212, 0.2) !important;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.04) !important;
}

.code-tab-container:has(.code-tab-btn.purple):hover {
  border-color: rgba(139, 92, 246, 0.2) !important;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.04) !important;
}

/* ==========================================================================
   DEVELOPER PORTAL & BLOG PORTAL LAYOUTS (blog.html)
   ========================================================================== */

.blog-hero {
  padding: 120px 0 60px 0;
  text-align: center;
  position: relative;
}

.blog-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.blog-filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-filter-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.blog-filter-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-emerald) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

.blog-filter-btn.purple.active {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.blog-card {
  background: linear-gradient(135deg, rgba(8, 10, 16, 0.6) 0%, rgba(3, 4, 7, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.blog-card:hover {
  border-color: rgba(6, 182, 212, 0.3) !important;
  box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.blog-card.purple:hover {
  border-color: rgba(139, 92, 246, 0.3) !important;
  box-shadow: 0 20px 40px -15px rgba(139, 92, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.blog-thumbnail-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.blog-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-thumbnail-wrapper img {
  transform: scale(1.06);
}

.blog-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-thumbnail-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.blog-thumbnail-icon {
  font-size: 3rem;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.4));
  animation: floatIconMicro 2.2s ease-in-out infinite alternate;
}

.blog-card.purple .blog-thumbnail-icon {
  color: var(--accent-purple);
  filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.4));
}

.blog-card-content {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-card-category {
  background: rgba(6, 182, 212, 0.08);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card.purple .blog-card-category {
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-purple);
  border-color: rgba(139, 92, 246, 0.15);
}

.blog-card h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.blog-card:hover h3 {
  color: var(--accent-cyan);
}

.blog-card.purple:hover h3 {
  color: var(--accent-purple);
}

.blog-card p {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  margin-top: 8px;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.blog-author-info {
  display: flex;
  flex-direction: column;
}

.blog-author-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.blog-author-role {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.blog-read-more {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.blog-read-more i {
  font-size: 0.75rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-read-more:hover {
  color: var(--accent-cyan);
}

.blog-card.purple .blog-read-more:hover {
  color: var(--accent-purple);
}

.blog-read-more:hover i {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/* ==========================================================================
   PURE-CSS INFOGRAPHICS, ADVANCED CHARTS & NEON CALLOUTS
   ========================================================================== */

/* 1. Neon Takeaway Callouts (DO THIS IN YOUR WORKSPACE / CODE / INFRASTRUCTURE) */
.do-this-box {
  background: rgba(16, 185, 129, 0.02) !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.04), inset 0 0 15px rgba(16, 185, 129, 0.02) !important;
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin: 40px 0;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.do-this-box:hover {
  border-color: rgba(16, 185, 129, 0.45) !important;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08), inset 0 0 20px rgba(16, 185, 129, 0.04) !important;
  transform: translateY(-2px);
}

.do-this-title {
  color: #10b981 !important;
  font-family: var(--font-display);
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.do-this-title i {
  animation: floatIconMicro 1.8s ease-in-out infinite alternate;
}

.do-this-content {
  font-size: 1.05rem !important;
  line-height: 1.7;
  color: var(--text-primary) !important;
  font-style: normal;
}

/* 2. Left-border colored highlight blockquotes */
.article-block-quote {
  border-left: 4px solid var(--accent-cyan);
  background: rgba(245, 102, 43, 0.02);
  padding: 24px 32px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 40px 0;
  position: relative;
}

.article-block-quote.purple {
  border-left-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.02);
}

.article-block-quote-text {
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
  color: var(--text-primary) !important;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 12px !important;
}

.article-block-quote-author {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 3. Glassmorphic Chart Wrapper */
.visual-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.visual-chart-title {
  font-family: var(--font-display);
  font-size: 1.3rem !important;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 24px !important;
}

/* 4. Pure CSS/HTML Vertical Bar Chart */
.css-bar-chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 280px;
  padding: 16px 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  gap: 20px;
}

.css-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  max-width: 80px;
  height: 100%;
  justify-content: flex-end;
}

.css-bar-column-wrapper {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 100%;
  width: 100%;
}

.css-bar-column {
  flex-grow: 1;
  width: 100%;
  border-radius: 6px 6px 0 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.css-bar-column:hover {
  filter: brightness(1.15);
  transform: scaleY(1.02);
}

.css-bar-column.primary-bar {
  background: linear-gradient(0deg, rgba(245, 102, 43, 0.2) 0%, var(--accent-cyan) 100%);
  box-shadow: 0 4px 15px rgba(245, 102, 43, 0.2);
}

.css-bar-column.secondary-bar {
  background: linear-gradient(0deg, rgba(6, 182, 212, 0.2) 0%, #06b6d4 100%);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.css-bar-column.purple-bar {
  background: linear-gradient(0deg, rgba(139, 92, 246, 0.2) 0%, var(--accent-purple) 100%);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.css-bar-val {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-weight: 600;
  opacity: 0.8;
}

.css-bar-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 12px;
  text-align: center;
}

.css-chart-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.css-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.css-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.css-legend-dot.primary { background: var(--accent-cyan); }
.css-legend-dot.secondary { background: #06b6d4; }
.css-legend-dot.purple { background: var(--accent-purple); }

/* 5. Pure CSS Stacked Segment Chart (Horizontal) */
.css-stacked-chart-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.css-stacked-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.css-stacked-row-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}

.css-stacked-bar-track {
  width: 100%;
  height: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  overflow: hidden;
}

.css-stacked-segment {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--bg-primary);
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.css-stacked-segment.orange { background: var(--accent-cyan); }
.css-stacked-segment.cyan { background: #06b6d4; }
.css-stacked-segment.purple { background: var(--accent-purple); }
.css-stacked-segment.graphite { background: rgba(255, 255, 255, 0.15); color: var(--text-primary); }

/* 6. Dynamic Pill Navigation Tabs */
.interactive-tabs-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.interactive-tab-pill-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-tab-pill-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.interactive-tab-pill-btn.active {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #10b981 !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05);
}

.interactive-tab-pill-btn.purple.active {
  background: rgba(139, 92, 246, 0.1) !important;
  color: #c084fc !important;
  border-color: rgba(139, 92, 246, 0.4) !important;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.05);
}

.tab-pane-content {
  display: none;
  animation: fadeInPanel 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-pane-content.active {
  display: block;
}

/* 7. Advanced SVG Charts */
.svg-chart-container {
  width: 100%;
  height: 240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg-chart-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.svg-chart-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  transition: all 0.5s ease;
}

.svg-chart-glow {
  filter: drop-shadow(0 0 8px currentColor);
}

/* ==========================================================================
   DEVELOPER INTERACTIVE PLAYGROUNDS & SIMULATOR WIDGETS
   ========================================================================== */

.playground-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.playground-card:hover {
  border-color: rgba(245, 102, 43, 0.25);
  box-shadow: 0 20px 40px rgba(245, 102, 43, 0.08);
}

.playground-card.purple:hover {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.08);
}

.playground-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 10px;
}

/* Form Controls */
.playground-control-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.playground-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.playground-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.playground-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.playground-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-emerald) 100%);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(245, 102, 43, 0.5);
  transition: transform 0.1s ease;
}

.playground-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.playground-slider.purple::-webkit-slider-thumb {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.playground-select {
  background: rgba(6, 6, 9, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.playground-select:focus {
  border-color: var(--accent-cyan);
}

.playground-select.purple:focus {
  border-color: var(--accent-purple);
}

.playground-btn {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-emerald) 100%);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(245, 102, 43, 0.2);
}

.playground-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(245, 102, 43, 0.35);
}

.playground-btn.purple {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-indigo) 100%);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.playground-btn.purple:hover {
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

/* Visualization elements */
.playground-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

@media (max-width: 600px) {
  .playground-results {
    grid-template-columns: 1fr;
  }
}

.playground-metric {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.playground-metric-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 4px;
}

.playground-metric-val.red { color: #f43f5e; }
.playground-metric-val.green { color: #10b981; }
.playground-metric-val.purple { color: #a855f7; }

.playground-visual-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.playground-visual-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.playground-visual-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.01);
}

.playground-visual-fill {
  height: 100%;
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.playground-visual-fill.red { background: linear-gradient(90deg, #f43f5e 0%, #ff5b7f 100%); }
.playground-visual-fill.green { background: linear-gradient(90deg, #10b981 0%, #34d399 100%); }
.playground-visual-fill.purple { background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%); }

/* Mock Terminal */
.mock-terminal-window {
  background: #040406;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  overflow: hidden;
  margin-top: 16px;
  transition: all 0.3s ease;
}

.mock-terminal-window.shielded {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.15), 0 10px 25px rgba(0,0,0,0.5);
}

.mock-terminal-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-terminal-buttons {
  display: flex;
  gap: 6px;
}

.mock-terminal-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mock-terminal-btn.red { background: #ef4444; }
.mock-terminal-btn.yellow { background: #f59e0b; }
.mock-terminal-btn.green { background: #10b981; }

.mock-terminal-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  flex-grow: 1;
  text-align: center;
  margin-right: 36px;
}

.mock-terminal-body {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-secondary);
  height: 180px;
  overflow-y: auto;
}

.mock-terminal-line {
  margin-bottom: 4px;
  opacity: 0;
  transform: translateY(4px);
  animation: terminalFadeIn 0.3s forwards ease;
}

.mock-terminal-line.success { color: #10b981; }
.mock-terminal-line.warning { color: #f43f5e; font-weight: 600; }
.mock-terminal-line.info { color: var(--accent-purple); }

@keyframes terminalFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Racing simulator lanes */
.race-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.race-lane {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 16px;
}

.race-lane-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.race-track {
  width: 100%;
  height: 24px;
  background: rgba(6, 6, 9, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.race-runner {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, transparent 0%, rgba(244, 63, 94, 0.2) 80%, #f43f5e 100%);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  transition: width 0.1s linear;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.race-runner.green {
  background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.2) 80%, #10b981 100%);
}

.race-runner-head {
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.race-runner-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-primary);
  font-weight: 700;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   SUPREME BLOG: INTERACTIVE CHAT-BUBBLE SIMULATOR & SCOREBOARD
   ========================================================================== */

.chat-visualizer-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 40px 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .chat-visualizer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.supreme-scoreboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 18px;
  height: fit-content;
}

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

.scoreboard-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.scoreboard-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.scoreboard-value {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
}

.scoreboard-value.red {
  color: #f43f5e;
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.25);
}

.scoreboard-value.green {
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

/* Chat display device mockup */
.chat-mock-device {
  background: #040406;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.chat-mock-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-mock-indicator {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseIndicator 1.5s infinite alternate;
}

@keyframes pulseIndicator {
  to { opacity: 0.4; }
}

.chat-mock-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
}

.chat-mock-badge {
  font-size: 0.65rem;
  background: rgba(245, 102, 43, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(245, 102, 43, 0.25);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: auto;
  font-weight: 700;
}

.chat-bubble-stream {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-bubble-item {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.5;
  position: relative;
  animation: slideBubble 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes slideBubble {
  to { opacity: 1; transform: translateY(0); }
}

.chat-bubble-item.user {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  align-self: flex-start;
}

.chat-bubble-item.assistant {
  background: linear-gradient(135deg, rgba(245, 102, 43, 0.1) 0%, rgba(255, 160, 64, 0.05) 100%);
  border: 1px solid rgba(245, 102, 43, 0.2);
  color: var(--text-primary);
  align-self: flex-end;
}

.chat-bubble-item.assistant.duplicate {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(244, 63, 94, 0.04) 100%);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #ff8b9f;
}

.chat-bubble-item.fivo-intercept {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
  align-self: flex-end;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.05);
}

.chat-bubble-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.chat-bubble-tag.red { color: #f43f5e; }
.chat-bubble-tag.green { color: #10b981; }
.chat-bubble-tag.cyan { color: var(--accent-cyan); }

/* --- Products Hover Dropdown Menu --- */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast) ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(8, 11, 17, 0.95);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  list-style: none;
  margin: 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-item {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
  display: block;
}

.dropdown-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

/* Mobile Dropdown Layout */
@media (max-width: 1024px) {
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 0 16px !important;
    margin-top: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  .dropdown-toggle i {
    transform: none !important;
  }
  
  .dropdown-item {
    padding: 6px 12px !important;
    font-size: 0.95rem !important;
    color: var(--text-secondary);
  }
  
  .dropdown-item:hover {
    color: var(--text-primary);
    background: transparent;
  }
}



