:root {
  /* Brand Primary */
  --nexa-primary: #0C243A;
  --nexa-80: #3D5061;
  --nexa-60: #6D7C89;
  --nexa-40: #9EA7B0;
  --nexa-20: #CED3D8;

  /* Brand Secondary */
  --nexa-secondary-1: #6E7886;
  --nexa-secondary-2: #F0F7F9;
  --nexa-secondary-3: #59B1D5;

  /* Neutrals */
  --nexa-neutral-900: #1F2937;
  --nexa-neutral-700: #6B7280;
  --nexa-neutral-500: #D1D5DB;
  --nexa-neutral-300: #F3F4F6;
  --nexa-neutral-100: #FFFFFF;

  /* Functional */
  --bg-dark: #0C243A;
  --bg-card: rgba(31, 41, 55, 0.55);
  --bg-elevated: rgba(39, 53, 74, 0.65);
  --accent-primary: #59B1D5;
  --accent-secondary: #9EA7B0;
  --accent-soft: rgba(89, 177, 213, 0.12);
  --accent-secondary-soft: rgba(158, 167, 176, 0.12);
  --text-primary: #FFFFFF;
  --text-secondary: #9EA7B0;
  --text-muted: #6D7C89;
  --border-color: rgba(61, 80, 97, 0.6);
  --border-light: rgba(255, 255, 255, 0.08);
  --success: #22C55E;
  --warning: #EAB308;
  --error: #EF4444;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-playfair {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--nexa-60);
}

/* Selection */
::selection {
  background: rgba(89, 177, 213, 0.3);
  color: #fff;
}

/* Mesh gradient backgrounds */
.mesh-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 0% 0%, rgba(89, 177, 213, 0.18) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(12, 36, 58, 0.9) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(89, 177, 213, 0.12) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(61, 80, 97, 0.3) 0px, transparent 50%),
    linear-gradient(135deg, #0C243A 0%, #1a3042 100%);
  z-index: 0;
}

.mesh-gradient-animated {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 20% 30%, rgba(89, 177, 213, 0.22) 0px, transparent 45%),
    radial-gradient(at 80% 20%, rgba(158, 167, 176, 0.12) 0px, transparent 45%),
    radial-gradient(at 70% 80%, rgba(89, 177, 213, 0.16) 0px, transparent 45%),
    radial-gradient(at 30% 70%, rgba(61, 80, 97, 0.28) 0px, transparent 45%),
    linear-gradient(135deg, #0C243A 0%, #132a3d 50%, #0C243A 100%);
  background-size: 200% 200%;
  animation: meshMove 20s ease-in-out infinite;
  z-index: 0;
}

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

/* Grid pattern overlay */
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(89, 177, 213, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 177, 213, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* Circuit board decoration */
.circuit-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

.circuit-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(89, 177, 213, 0.25), transparent);
  height: 1px;
}

.circuit-line.vertical {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(89, 177, 213, 0.2), transparent);
}

.circuit-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(89, 177, 213, 0.4);
  box-shadow: 0 0 12px rgba(89, 177, 213, 0.4);
}

.circuit-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-primary);
  animation: circuitPulse 3s ease-in-out infinite;
}

@keyframes circuitPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* Data flow particles along lines */
.data-flow {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  animation: dataFlow 4s linear infinite;
}

@keyframes dataFlow {
  0% { transform: translateX(-100px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(100px); opacity: 0; }
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(89, 177, 213, 0.35);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

.particle:nth-child(1) { left: 10%; top: 90%; animation-duration: 18s; animation-delay: 0s; opacity: 0.4; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-duration: 22s; animation-delay: 2s; opacity: 0.3; }
.particle:nth-child(3) { left: 30%; top: 95%; animation-duration: 16s; animation-delay: 4s; opacity: 0.5; }
.particle:nth-child(4) { left: 45%; top: 85%; animation-duration: 20s; animation-delay: 1s; opacity: 0.35; }
.particle:nth-child(5) { left: 60%; top: 90%; animation-duration: 19s; animation-delay: 3s; opacity: 0.45; }
.particle:nth-child(6) { left: 75%; top: 82%; animation-duration: 21s; animation-delay: 5s; opacity: 0.3; }
.particle:nth-child(7) { left: 85%; top: 95%; animation-duration: 17s; animation-delay: 2s; opacity: 0.4; }
.particle:nth-child(8) { left: 95%; top: 88%; animation-duration: 23s; animation-delay: 0s; opacity: 0.35; }

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) translateX(30px);
    opacity: 0;
  }
}

/* Floating tech elements */
.tech-float {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  animation: techFloat 8s ease-in-out infinite;
}

.tech-float-hex {
  width: 60px;
  height: 60px;
  border: 1px solid var(--accent-primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.tech-float-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-primary);
}

.tech-float-ring {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(89, 177, 213, 0.3);
  border-radius: 50%;
}

@keyframes techFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Morphing blob shapes */
.morph-blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  animation: morphBlob 12s ease-in-out infinite;
}

.morph-blob-cyan {
  background: radial-gradient(circle, rgba(89, 177, 213, 0.5) 0%, transparent 70%);
}

.morph-blob-gray {
  background: radial-gradient(circle, rgba(158, 167, 176, 0.3) 0%, transparent 70%);
}

@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 50% 60% 30% 60% / 30% 40% 70% 60%; }
  75% { border-radius: 40% 30% 60% 50% / 60% 50% 40% 70%; }
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  animation: orbPulse 10s ease-in-out infinite;
}

.orb-cyan {
  background: radial-gradient(circle, rgba(89, 177, 213, 0.35) 0%, transparent 70%);
}

.orb-gray {
  background: radial-gradient(circle, rgba(158, 167, 176, 0.2) 0%, transparent 70%);
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.15); opacity: 0.6; }
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #FFFFFF 60%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #7FD1F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-animated {
  background: linear-gradient(90deg, var(--accent-primary), #FFFFFF, var(--accent-secondary), var(--accent-primary));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientTextMove 4s linear infinite;
}

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

/* Typing effect */
.typing-text {
  border-right: 3px solid var(--accent-primary);
  animation: blinkCursor 0.8s step-end infinite;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes blinkCursor {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--accent-primary); }
}

/* Glitch effect */
.glitch-text {
  position: relative;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch-text:hover::before {
  animation: glitch-1 0.3s linear infinite;
  color: var(--accent-primary);
  opacity: 0.8;
  z-index: -1;
}

.glitch-text:hover::after {
  animation: glitch-2 0.3s linear infinite;
  color: var(--accent-secondary);
  opacity: 0.8;
  z-index: -2;
}

@keyframes glitch-1 {
  0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  20% { clip-path: inset(20% 0 30% 0); transform: translate(-3px, 2px); }
  40% { clip-path: inset(50% 0 20% 0); transform: translate(3px, -2px); }
  60% { clip-path: inset(10% 0 60% 0); transform: translate(-2px, 1px); }
  80% { clip-path: inset(70% 0 10% 0); transform: translate(2px, -1px); }
}

@keyframes glitch-2 {
  0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  20% { clip-path: inset(60% 0 10% 0); transform: translate(3px, -2px); }
  40% { clip-path: inset(10% 0 50% 0); transform: translate(-3px, 2px); }
  60% { clip-path: inset(30% 0 20% 0); transform: translate(2px, 1px); }
  80% { clip-path: inset(20% 0 40% 0); transform: translate(-2px, -1px); }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Stagger groups */
.stagger-group .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-group .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-group .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger-group .reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger-group .reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger-group .reveal:nth-child(6) { transition-delay: 0.3s; }
.stagger-group .reveal:nth-child(7) { transition-delay: 0.35s; }
.stagger-group .reveal:nth-child(8) { transition-delay: 0.4s; }

/* Glassmorphism cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(89, 177, 213, 0.15), transparent 40%, transparent 60%, rgba(158, 167, 176, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(89, 177, 213, 0.4);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.35), 0 0 30px rgba(89, 177, 213, 0.08);
}

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

.glass-card-light {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-light:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(89, 177, 213, 0.25);
  transform: translateY(-4px);
}

/* 3D Tilt card styles */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.tilt-card .tilt-content {
  transform: translateZ(30px);
}

.tilt-card .tilt-icon {
  transform: translateZ(50px);
}

/* Glowing border animation */
.glow-border {
  position: relative;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
  background-size: 200% 100%;
  animation: glowBorderMove 3s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(8px);
}

.glow-border:hover::after {
  opacity: 0.6;
}

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

/* Pricing cards */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(89, 177, 213, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(89, 177, 213, 0.35);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}

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

.pricing-card.featured {
  border-color: rgba(89, 177, 213, 0.5);
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.7) 0%, rgba(89, 177, 213, 0.08) 100%);
  box-shadow: 0 0 60px rgba(89, 177, 213, 0.12);
}

.pricing-card.featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(89, 177, 213, 0.5), rgba(158, 167, 176, 0.2), rgba(89, 177, 213, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Buttons */
.btn-primary {
  background: var(--accent-primary);
  color: var(--bg-dark);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(89, 177, 213, 0.35);
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(89, 177, 213, 0.08);
  color: var(--text-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Navigation */
.nav-link {
  color: var(--text-secondary);
  transition: color 0.2s ease;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(12, 36, 58, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(12, 36, 58, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.badge-cyan {
  background: var(--accent-soft);
  color: var(--accent-primary);
  border: 1px solid rgba(89, 177, 213, 0.2);
}

.badge-purple {
  background: var(--accent-secondary-soft);
  color: var(--text-primary);
  border: 1px solid rgba(158, 167, 176, 0.2);
}

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

/* Lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  background: var(--accent-soft);
  border-radius: 50%;
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--accent-primary);
  border-bottom: 2px solid var(--accent-primary);
  transform: rotate(-45deg);
}

/* Traffic light indicators */
.traffic-light {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 12px;
  position: relative;
}

.traffic-light::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

.light-green { background: var(--success); box-shadow: 0 0 16px rgba(34, 197, 94, 0.5); }
.light-green::after { background: var(--success); }
.light-yellow { background: var(--warning); box-shadow: 0 0 16px rgba(234, 179, 8, 0.5); }
.light-yellow::after { background: var(--warning); }
.light-red { background: var(--error); box-shadow: 0 0 16px rgba(239, 68, 68, 0.5); }
.light-red::after { background: var(--error); }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.3); opacity: 0; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 36, 58, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 40;
  padding: 32px 24px;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-section-inner {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-section-inner.hero-compact {
  min-height: auto;
  padding-top: 140px;
  padding-bottom: 80px;
}

/* Hero canvas for neural network particles */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Scan line effect */
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(89, 177, 213, 0.4), transparent);
  box-shadow: 0 0 20px rgba(89, 177, 213, 0.3);
  animation: scanLine 6s linear infinite;
  z-index: 3;
  pointer-events: none;
}

@keyframes scanLine {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Code snippet decoration */
.code-snippet {
  position: absolute;
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 0.75rem;
  color: rgba(89, 177, 213, 0.2);
  pointer-events: none;
  z-index: 1;
  white-space: pre;
  line-height: 1.6;
}

/* Stats / counters */
.stat-card {
  background: rgba(31, 41, 55, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(89, 177, 213, 0.3);
  transform: translateY(-4px);
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats section */
.stats-section {
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(89, 177, 213, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(158, 167, 176, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.stat-item {
  position: relative;
  padding: 24px;
  text-align: center;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(89, 177, 213, 0.2), transparent);
}

.stat-item:last-child::after {
  display: none;
}

@media (max-width: 768px) {
  .stat-item::after {
    display: none;
  }
}

/* EIO diagram */
.eio-diagram {
  position: relative;
}

.eio-pillar {
  position: relative;
  padding: 24px;
  border-radius: 16px;
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.eio-pillar:hover {
  border-color: rgba(89, 177, 213, 0.4);
  background: rgba(31, 41, 55, 0.7);
  transform: translateY(-4px);
}

.eio-center {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(89, 177, 213, 0.15), rgba(31, 41, 55, 0.8));
  border: 1px solid rgba(89, 177, 213, 0.3);
  backdrop-filter: blur(16px);
}

.eio-connector {
  position: absolute;
  background: linear-gradient(180deg, rgba(89, 177, 213, 0.3), rgba(158, 167, 176, 0.1));
  width: 2px;
}

/* Section backgrounds */
.section-alt {
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.25) 0%, rgba(12, 36, 58, 0) 100%);
}

.section-dark {
  background: rgba(31, 41, 55, 0.35);
}

/* Wave dividers */
.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
  pointer-events: none;
}

.wave-divider-top {
  top: 0;
  transform: rotate(180deg);
}

.wave-divider-bottom {
  bottom: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-divider .shape-fill {
  fill: rgba(12, 36, 58, 1);
}

.wave-divider-dark .shape-fill {
  fill: rgba(31, 41, 55, 0.35);
}

.diagonal-divider {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  z-index: 5;
  pointer-events: none;
}

.diagonal-divider-top {
  top: 0;
  clip-path: polygon(0 0, 100% 80%, 100% 100%, 0 100%);
  background: var(--bg-dark);
}

.diagonal-divider-bottom {
  bottom: 0;
  clip-path: polygon(0 0, 100% 0, 100% 20%, 0 100%);
  background: var(--bg-dark);
}

/* Glowing dots */
.glow-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-primary), 0 0 40px rgba(89, 177, 213, 0.4);
  animation: glowDotPulse 2s ease-in-out infinite;
}

@keyframes glowDotPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Progress bars */
.progress-bar {
  height: 6px;
  background: rgba(61, 80, 97, 0.4);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), #7FD1F0);
  border-radius: 999px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
  animation: progressShine 2s infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-20px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(20px); opacity: 0; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: rgba(12, 36, 58, 0.85);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.footer-link {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.footer-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-contact-email:hover {
  color: #fff;
  text-shadow: 0 0 20px rgba(89, 177, 213, 0.5);
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(89, 177, 213, 0.1);
  border-color: rgba(89, 177, 213, 0.3);
  color: var(--accent-primary);
  transform: translateY(-3px);
}

/* Animated gradient border */
.gradient-border {
  position: relative;
  border-radius: 20px;
  background: rgba(31, 41, 55, 0.5);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(89, 177, 213, 0.4), rgba(158, 167, 176, 0.2), rgba(89, 177, 213, 0.4));
  background-size: 200% 200%;
  animation: gradientRotate 4s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

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

/* Icon containers */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(89, 177, 213, 0.1);
  border: 1px solid rgba(89, 177, 213, 0.15);
  color: var(--accent-primary);
  transition: all 0.3s ease;
}

.icon-box-animated {
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.glass-card:hover .icon-box {
  background: rgba(89, 177, 213, 0.18);
  transform: scale(1.05);
}

.glass-card:hover .icon-box-animated {
  animation-duration: 1s;
}

.icon-box-secondary {
  background: rgba(158, 167, 176, 0.1);
  border-color: rgba(158, 167, 176, 0.15);
  color: var(--accent-secondary);
}

/* Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(89, 177, 213, 0.3), transparent);
  border: none;
}

/* Container */
.container-nexa {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

/* Utility spacing */
@media (max-width: 768px) {
  .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .hero-section-inner {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .orb {
    filter: blur(60px);
    opacity: 0.35;
  }

  .wave-divider svg {
    height: 50px;
  }

  .code-snippet {
    display: none;
  }

  .typing-text {
    white-space: normal;
    border-right: none;
    animation: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-scale,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }

  .hero-canvas,
  .scan-line,
  .circuit-lines,
  .tech-float,
  .morph-blob {
    display: none !important;
  }
}

/* Contact modal */
.contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 36, 58, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-modal.open {
  display: flex;
  opacity: 1;
}

.contact-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: rgba(31, 41, 55, 0.85);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.5), 0 0 40px rgba(89, 177, 213, 0.08);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal.open .contact-modal__dialog {
  transform: translateY(0) scale(1);
}

.contact-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-modal__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-modal__subtitle {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 6px;
}

.contact-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.contact-modal__close:hover {
  background: rgba(89, 177, 213, 0.1);
  border-color: rgba(89, 177, 213, 0.3);
  color: var(--accent-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 13px 16px;
  color: #fff;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(89, 177, 213, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.form-hint a {
  color: var(--accent-primary);
  text-decoration: underline;
}

.form-hint a:hover {
  color: #fff;
}

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-status.success {
  display: flex;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #86efac;
}

.form-status.error {
  display: flex;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.form-status.hidden {
  display: none;
}

/* 404 page */
.error-code {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #FFFFFF 50%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .error-code {
    font-size: 5rem;
  }

  .contact-modal__dialog {
    padding: 24px;
    border-radius: 20px;
  }

  .contact-modal__title {
    font-size: 1.5rem;
  }
}

/* Print */
@media print {
  .site-header,
  .particles,
  .orb,
  .mesh-gradient,
  .mesh-gradient-animated,
  .grid-pattern,
  .hero-canvas,
  .scan-line,
  .circuit-lines,
  .tech-float,
  .morph-blob,
  .wave-divider,
  .diagonal-divider,
  .whatsapp-float {
    display: none !important;
  }
}

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 48px !important;
  height: 48px !important;
  max-width: 48px;
  max-height: 48px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-icon {
  display: block;
  flex-shrink: 0;
  width: 26px !important;
  height: 26px !important;
  max-width: 100%;
  max-height: 100%;
}

.whatsapp-float::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(31, 41, 55, 0.96);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8125rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.whatsapp-float:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px;
    max-height: 56px;
  }

  .whatsapp-icon {
    width: 30px !important;
    height: 30px !important;
  }
}

/* ===== Testimonials ===== */
.testimonial-author {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 20px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ===== Logo placeholder row ===== */
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 56px;
}

.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.3s ease;
}

.logo-placeholder:hover {
  opacity: 0.85;
}

.logo-placeholder__bar {
  display: block;
  width: 72px;
  height: 8px;
  border-radius: 999px;
  background: rgba(158, 167, 176, 0.3);
}

/* ===== Product dashboard mockups ===== */
.mockup-window {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  color: #e5edf5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(9, 14, 23, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), 0 0 60px rgba(89, 177, 213, 0.06);
}

.mockup-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.mockup-dot {
  display: block;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup-dot--red { background: #ff5f57; }
.mockup-dot--yellow { background: #febc2e; }
.mockup-dot--green { background: #28c840; }

.mockup-window__url {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 6px;
}

.mockup-window__body {
  display: block;
  padding: 24px;
  background: linear-gradient(135deg, rgba(7, 15, 27, 0.7), rgba(16, 25, 40, 0.45));
}

.mockup-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.mockup-kpi {
  display: block;
  grid-column: span 3;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mockup-kpi::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 14px;
  content: '';
  border-radius: 999px;
  background: linear-gradient(90deg, var(--app-accent, #59B1D5), var(--app-accent-2, #7FD1F0));
}

.mockup-kpi__label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.mockup-kpi__value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--app-accent, #fff);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.mockup-kpi__delta {
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 6px;
}

.mockup-panel {
  display: block;
  grid-column: span 6;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mockup-panel--full {
  grid-column: span 12;
}

.mockup-panel__title {
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-panel > svg {
  display: block;
  width: 100%;
  height: 120px;
  min-height: 120px;
  overflow: visible;
}

.mockup-panel__badge {
  font-size: 0.65rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 8px;
  border-radius: 6px;
}

.mockup-table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
  table-layout: auto;
}

.mockup-table th {
  text-align: left;
  color: var(--text-muted);
  font-weight: 500;
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mockup-table td {
  padding: 9px 8px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mockup-table th:last-child,
.mockup-table td:last-child {
  text-align: right;
}

.mockup-chip {
  white-space: nowrap;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
}

.mockup-chip--green { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.mockup-chip--yellow { background: rgba(234, 179, 8, 0.15); color: #fde68a; }
.mockup-chip--red { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.mockup-chip--blue { background: rgba(89, 177, 213, 0.15); color: #7fd1f0; }

.mockup-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mockup-bar-row__label {
  width: 76px;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
}

.mockup-bar-row__track {
  display: block;
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mockup-bar-row__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--app-accent, #59B1D5), var(--app-accent-2, #7FD1F0));
}

.mockup-traffic {
  display: flex;
  gap: 12px;
}

.mockup-traffic__item {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.mockup-traffic__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 auto 8px;
}

.mockup-traffic__count {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.mockup-traffic__label {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

.mockup-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
}

.mockup-stat-row:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .mockup-kpi {
    grid-column: span 6;
  }

  .mockup-panel {
    grid-column: span 12;
  }

  .mockup-window__body {
    padding: 16px;
  }
}

/* ===== Blog cards ===== */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(89, 177, 213, 0.4);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.35), 0 0 30px rgba(89, 177, 213, 0.08);
}

.blog-card__image {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card__image svg {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.92);
}

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.blog-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(89, 177, 213, 0.12);
  border: 1px solid rgba(89, 177, 213, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
}

.blog-card__date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.blog-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.3;
}

.blog-card__excerpt {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}

.blog-card__more {
  margin-top: auto;
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(31, 41, 55, 0.97);
  border: 1px solid rgba(89, 177, 213, 0.35);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.9375rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}