* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #0a0a15 0%, #1a1a3e 50%, #0a0a15 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
    border-radius: 10px;
    border: 2px solid #0a0a15;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a855f7 0%, #c084fc 50%, #d8b4fe 100%);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #8b5cf6 #0a0a15;
}

/* Beautiful Lighter Animated Background - Professional Design */
.site-bg-animated {
    background: linear-gradient(135deg,
        #1a1535 0%,
        #1e1b3e 25%,
        #252147 50%,
        #1e1b3e 75%,
        #1a1535 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease-in-out infinite;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Floating gradient orbs with beautiful colors */
.site-bg-animated::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle 600px at 20% 20%, rgba(168, 85, 247, 0.35), transparent 50%),
        radial-gradient(circle 500px at 80% 80%, rgba(139, 92, 246, 0.3), transparent 50%),
        radial-gradient(circle 700px at 60% 40%, rgba(124, 58, 237, 0.25), transparent 50%),
        radial-gradient(circle 400px at 40% 70%, rgba(192, 132, 252, 0.2), transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: orbsFloat 18s ease-in-out infinite;
    filter: blur(70px);
}

/* Animated wave overlay */
.site-bg-animated::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background:
        linear-gradient(90deg,
            transparent 0%,
            rgba(168, 85, 247, 0.08) 25%,
            rgba(139, 92, 246, 0.12) 50%,
            rgba(168, 85, 247, 0.08) 75%,
            transparent 100%);
    pointer-events: none;
    z-index: 0;
    animation: waveMove 25s linear infinite;
    opacity: 0.6;
}

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

@keyframes orbsFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1) rotate(90deg);
        opacity: 0.9;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95) rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: translate(20px, 30px) scale(1.05) rotate(270deg);
        opacity: 0.95;
    }
}

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

/* Hero Section Enhanced Background */
.hero-section {
    background: radial-gradient(ellipse at top, #1a0a2e 0%, #0a0a15 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(138, 43, 226, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(147, 51, 234, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    animation: pulse-bg 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-bg {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Animated Gradient Orbs */
.hero-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4) 0%, rgba(147, 51, 234, 0.2) 50%, transparent 100%);
    animation: float-orb-1 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    bottom: -10%;
    left: -5%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(192, 132, 252, 0.18) 50%, transparent 100%);
    animation: float-orb-2 25s ease-in-out infinite;
}

.orb-3 {
    width: 450px;
    height: 450px;
    top: 30%;
    left: 20%;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.3) 0%, rgba(236, 72, 153, 0.15) 50%, transparent 100%);
    animation: float-orb-3 18s ease-in-out infinite;
}

.orb-4 {
    width: 550px;
    height: 550px;
    bottom: 20%;
    right: 25%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.32) 0%, rgba(139, 92, 246, 0.16) 50%, transparent 100%);
    animation: float-orb-4 22s ease-in-out infinite;
}

.orb-5 {
    width: 480px;
    height: 480px;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.25) 0%, rgba(168, 85, 247, 0.12) 50%, transparent 100%);
    animation: float-orb-5 19s ease-in-out infinite;
}

.orb-6 {
    width: 520px;
    height: 520px;
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.28) 0%, rgba(236, 72, 153, 0.14) 50%, transparent 100%);
    animation: float-orb-6 24s ease-in-out infinite;
}

@keyframes float-orb-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-30px, 40px) scale(1.1);
    }
    66% {
        transform: translate(40px, -30px) scale(0.95);
    }
}

@keyframes float-orb-2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -40px) scale(1.08);
    }
    66% {
        transform: translate(-40px, 30px) scale(0.92);
    }
}

@keyframes float-orb-3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-40px, -50px) scale(1.12);
    }
    66% {
        transform: translate(35px, 45px) scale(0.9);
    }
}

@keyframes float-orb-4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(45px, 35px) scale(1.05);
    }
    66% {
        transform: translate(-50px, -40px) scale(0.98);
    }
}

@keyframes float-orb-5 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-35px, 40px) scale(1.08) rotate(180deg);
    }
}

@keyframes float-orb-6 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(40px, -50px) scale(0.95) rotate(-180deg);
    }
}

/* Wave Lines */
.wave-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.wave-line {
    position: absolute;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(192, 132, 252, 0.4) 20%,
        rgba(168, 85, 247, 0.6) 50%,
        rgba(192, 132, 252, 0.4) 80%,
        transparent 100%);
    left: -50%;
}

.wave-1 {
    top: 20%;
    animation: wave-move-1 15s linear infinite;
}

.wave-2 {
    top: 50%;
    animation: wave-move-2 20s linear infinite;
    animation-delay: -5s;
}

.wave-3 {
    top: 80%;
    animation: wave-move-3 18s linear infinite;
    animation-delay: -10s;
}

@keyframes wave-move-1 {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(50%) translateY(10px);
    }
}

@keyframes wave-move-2 {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(50%) translateY(-10px);
    }
}

@keyframes wave-move-3 {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(50%) translateY(5px);
    }
}

/* Animated Grid */
.animated-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(138, 43, 226, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    animation: grid-flow 20s linear infinite;
    opacity: 0.4;
}

@keyframes grid-flow {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(60px) translateX(60px);
    }
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(192, 132, 252, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(192, 132, 252, 0.8);
    animation: particle-float 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 20%; animation-delay: -2s; animation-duration: 22s; }
.particle:nth-child(3) { left: 30%; animation-delay: -4s; animation-duration: 20s; }
.particle:nth-child(4) { left: 40%; animation-delay: -6s; animation-duration: 25s; }
.particle:nth-child(5) { left: 50%; animation-delay: -8s; animation-duration: 19s; }
.particle:nth-child(6) { left: 60%; animation-delay: -10s; animation-duration: 23s; }
.particle:nth-child(7) { left: 70%; animation-delay: -12s; animation-duration: 21s; }
.particle:nth-child(8) { left: 80%; animation-delay: -14s; animation-duration: 24s; }
.particle:nth-child(9) { left: 90%; animation-delay: -16s; animation-duration: 18s; }
.particle:nth-child(10) { left: 15%; animation-delay: -1s; animation-duration: 26s; }
.particle:nth-child(11) { left: 25%; animation-delay: -3s; animation-duration: 20s; }
.particle:nth-child(12) { left: 35%; animation-delay: -5s; animation-duration: 22s; }
.particle:nth-child(13) { left: 45%; animation-delay: -7s; animation-duration: 19s; }
.particle:nth-child(14) { left: 55%; animation-delay: -9s; animation-duration: 24s; }
.particle:nth-child(15) { left: 65%; animation-delay: -11s; animation-duration: 21s; }
.particle:nth-child(16) { left: 75%; animation-delay: -13s; animation-duration: 23s; }
.particle:nth-child(17) { left: 85%; animation-delay: -15s; animation-duration: 18s; }
.particle:nth-child(18) { left: 95%; animation-delay: -17s; animation-duration: 25s; }
.particle:nth-child(19) { left: 12%; animation-delay: -2.5s; animation-duration: 20s; }
.particle:nth-child(20) { left: 88%; animation-delay: -8.5s; animation-duration: 22s; }

@keyframes particle-float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Code Decorations Container */
.code-decorations {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* Code Block Styling */
.code-block {
  position: absolute;
  background: linear-gradient(135deg, rgba(26, 10, 46, 0.98) 0%, rgba(15, 15, 35, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(138, 43, 226, 0.3),
    0 0 0 1px rgba(168, 85, 247, 0.1) inset,
    0 20px 60px rgba(138, 43, 226, 0.2);
  overflow: hidden;
  animation: float-subtle 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

/* Main Large Terminal */
.code-block-main {
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 500px;
  animation: float-main 8s ease-in-out infinite;
  box-shadow:
    0 12px 48px rgba(138, 43, 226, 0.4),
    0 0 0 1px rgba(192, 132, 252, 0.2) inset,
    0 24px 80px rgba(138, 43, 226, 0.3);
}

@keyframes float-main {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(-10px);
  }
}

.code-block-1 {
  top: 8%;
  right: 10%;
  width: 280px;
  animation-delay: 0s;
}

.code-block-3 {
  bottom: 8%;
  right: 12%;
  width: 300px;
  animation-delay: -4s;
}

.code-header {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(138, 43, 226, 0.1) 100%);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
  position: relative;
}

.code-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.5), transparent);
}

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

.code-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.code-dots span:nth-child(1) {
  background: linear-gradient(135deg, #ff6b6b, #ff5f56);
  box-shadow: 0 2px 8px rgba(255, 95, 86, 0.5);
}
.code-dots span:nth-child(2) {
  background: linear-gradient(135deg, #ffd93d, #ffbd2e);
  box-shadow: 0 2px 8px rgba(255, 189, 46, 0.5);
}
.code-dots span:nth-child(3) {
  background: linear-gradient(135deg, #6bcf7f, #27c93f);
  box-shadow: 0 2px 8px rgba(39, 201, 63, 0.5);
}

.code-title {
  font-size: 12px;
  color: rgba(192, 132, 252, 0.9);
  font-family: 'Courier New', monospace;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.code-content {
  padding: 16px;
  font-size: 13px;
  font-family: 'Courier New', monospace;
  line-height: 1.8;
  color: #e8e8e8;
  margin: 0;
}

.code-keyword { color: #d19aff; font-weight: 600; }
.code-class { color: #7dd3fc; font-weight: 600; }
.code-function { color: #60a5fa; }
.code-string { color: #a3e635; }
.code-comment { color: #6ee7b7; }

/* ASCII Art Styling */
.ascii-art {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.ascii-line {
  display: block;
  color: rgba(192, 132, 252, 0.8);
}

.ascii-dots {
  color: #60a5fa;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
  animation: pulse-dots 2s ease-in-out infinite;
}

@keyframes pulse-dots {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
  }
  50% {
    opacity: 0.6;
    text-shadow: 0 0 20px rgba(96, 165, 250, 1);
  }
}

.ascii-wave {
  color: #22d3ee;
  animation: wave-flow 3s ease-in-out infinite;
}

@keyframes wave-flow {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
  }
}

.ascii-text {
  color: #c084fc;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(192, 132, 252, 0.6);
  animation: glow-text 4s ease-in-out infinite;
}

@keyframes glow-text {
  0%, 100% {
    text-shadow: 0 0 8px rgba(192, 132, 252, 0.6);
  }
  50% {
    text-shadow: 0 0 16px rgba(192, 132, 252, 0.9);
  }
}

/* Glitch Effect for ASCII Logo */
.code-block-main.glitch-active .ascii-text,
.code-block-main:hover .ascii-text {
  animation: glitch 0.6s ease-in-out;
}

.code-block-main.glitch-active .ascii-dots {
  animation: pulse-dots 0.3s ease-in-out, glitch-dots 0.6s ease-in-out;
}

@keyframes glitch {
  0%, 100% {
    transform: translate(0);
    opacity: 1;
  }
  20% {
    transform: translate(-2px, 2px);
    opacity: 0.8;
  }
  40% {
    transform: translate(2px, -2px);
    opacity: 0.9;
  }
  60% {
    transform: translate(-1px, -1px);
    opacity: 0.85;
  }
  80% {
    transform: translate(1px, 1px);
    opacity: 0.95;
  }
}

@keyframes glitch-dots {
  0%, 100% {
    color: #60a5fa;
  }
  25% {
    color: #22d3ee;
  }
  50% {
    color: #c084fc;
  }
  75% {
    color: #60a5fa;
  }
}

/* Enhanced terminal glow */
.code-block-main {
  position: relative;
}

.code-block-main::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.2), rgba(138, 43, 226, 0.1));
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(10px);
}

.code-block-main:hover::after {
  opacity: 1;
}

.ascii-highlight {
  color: #fbbf24;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
  animation: highlight-pulse 2.5s ease-in-out infinite;
}

@keyframes highlight-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
    text-shadow: 0 0 20px rgba(251, 191, 36, 1);
  }
}

/* Terminal Styling */
.terminal-header {
  background: linear-gradient(135deg, rgba(20, 0, 40, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

.terminal-content {
  background: linear-gradient(135deg, rgba(10, 0, 20, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
  color: #a3e635;
}

.terminal-command {
  color: #c084fc;
  font-weight: 600;
}
.terminal-success {
  color: #6ee7b7;
  font-weight: 700;
}
.terminal-cursor {
  color: #c084fc;
  animation: blink 1s step-end infinite;
}

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

/* AI Agent Card */
.ai-agent-card {
  position: absolute;
  top: 25%;
  right: 40%;
  width: 220px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.25) 0%, rgba(147, 51, 234, 0.15) 50%, rgba(168, 85, 247, 0.1) 100%);
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(138, 43, 226, 0.4),
    0 0 0 1px rgba(192, 132, 252, 0.2) inset,
    0 20px 60px rgba(138, 43, 226, 0.3);
  animation: float-subtle 5s ease-in-out infinite;
  animation-delay: -1s;
  position: relative;
  overflow: hidden;
}

.ai-agent-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.6), transparent);
}

.ai-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: #27c93f;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(39, 201, 63, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(39, 201, 63, 0);
  }
}

.ai-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #a855f7, #c084fc, #d946ef);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow:
    0 8px 24px rgba(168, 85, 247, 0.5),
    0 0 0 4px rgba(168, 85, 247, 0.1);
  position: relative;
}

.ai-icon::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #a855f7, #c084fc);
  border-radius: 18px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}

.ai-icon svg {
  width: 30px;
  height: 30px;
}

.ai-status {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #e0d1ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.ai-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ai-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #c084fc, #d946ef);
  width: 0%;
  animation: progress 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

@keyframes progress {
  0%, 100% { width: 0%; }
  50% { width: 100%; }
}

/* Floating Stats */
.floating-stat {
  position: absolute;
  background: linear-gradient(135deg, rgba(26, 10, 46, 0.95) 0%, rgba(15, 15, 35, 0.9) 100%);
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  box-shadow:
    0 8px 24px rgba(138, 43, 226, 0.35),
    0 0 0 1px rgba(192, 132, 252, 0.15) inset;
  animation: float-subtle 7s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.floating-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.7), transparent);
}

.stat-1 {
  top: 60%;
  right: 8%;
  animation-delay: -3s;
}

.stat-2 {
  bottom: 35%;
  right: 35%;
  animation-delay: -5s;
}

.stat-value {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #c084fc, #e0d1ff, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 8px rgba(192, 132, 252, 0.5));
}

.stat-label {
  font-size: 11px;
  color: rgba(224, 209, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.stat-icon {
  font-size: 24px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.6));
}

/* Data Flow Animation */
.data-flow {
  position: absolute;
  top: 50%;
  right: 20%;
  width: 200px;
  height: 200px;
  transform: translateY(-50%);
  z-index: 2;
}

.data-node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #c084fc, #a855f7);
  border-radius: 50%;
  box-shadow:
    0 0 20px rgba(192, 132, 252, 1),
    0 0 40px rgba(168, 85, 247, 0.6),
    0 0 0 4px rgba(192, 132, 252, 0.2);
  animation: pulse-node 2s ease-in-out infinite;
}

.node-1 {
  top: 0;
  left: 50%;
  animation-delay: 0s;
}

.node-2 {
  bottom: 0;
  left: 0;
  animation-delay: 0.7s;
}

.node-3 {
  bottom: 0;
  right: 0;
  animation-delay: 1.4s;
}

.data-line {
  position: absolute;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(192, 132, 252, 0.9),
    rgba(168, 85, 247, 0.7),
    rgba(147, 51, 234, 0.5));
  transform-origin: left center;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.8);
}

.line-1 {
  top: 0;
  left: 50%;
  width: 140px;
  transform: rotate(60deg);
  animation: flow-1 2s ease-in-out infinite;
}

.line-2 {
  top: 0;
  left: 50%;
  width: 140px;
  transform: rotate(120deg);
  animation: flow-2 2s ease-in-out infinite;
}

@keyframes float-subtle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-node {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }
}

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

@keyframes flow-2 {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Responsive Design for Code Decorations */
@media (max-width: 1440px) {
  .code-block-main {
    width: 450px;
  }
  .ascii-art {
    font-size: 10px;
  }
}

@media (max-width: 1024px) {
  .code-decorations {
    width: 55%;
    opacity: 0.9;
  }
  .code-block-main {
    width: 400px;
    right: 5%;
  }
  .ascii-art {
    font-size: 9px;
    line-height: 1.3;
  }
  .code-block-1 { width: 240px; }
  .code-block-3 { width: 260px; }
  .ai-agent-card { width: 180px; padding: 16px; }
  .gradient-orb { filter: blur(60px); }
}

@media (max-width: 768px) {
  .code-decorations {
    width: 100%;
    opacity: 0.6;
  }
  .code-block-main {
    width: 340px;
    right: 50%;
    transform: translateY(-50%) translateX(50%);
  }
  .code-block {
    font-size: 10px;
  }
  .code-content {
    padding: 10px;
  }
  .ascii-art {
    font-size: 8px;
  }
  .code-block-1,
  .code-block-3 {
    display: none;
  }
  .floating-stat { display: none; }
  .data-flow { display: none; }
  .gradient-orb { filter: blur(50px); opacity: 0.4; }
  .particles { opacity: 0.5; }
}

@media (max-width: 640px) {
  .code-decorations {
    opacity: 0.4;
  }
  .code-block-main {
    width: 280px;
    top: 60%;
  }
  .ascii-art {
    font-size: 7px;
    line-height: 1.2;
  }
  .ai-agent-card {
    display: none;
  }
  .gradient-orb { display: none; }
  .animated-grid { opacity: 0.2; }
}

/* Hero content styling */
.hero-content {
  position: relative;
  z-index: 20;
  max-width: 60%;
  padding: 0;
  padding-left: 2rem;
  backdrop-filter: none;
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

/* Decorative animated accent line */
.hero-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 200px;
  background: linear-gradient(180deg,
    #8b5cf6 0%,
    #d946ef 25%,
    #ec4899 50%,
    #06b6d4 75%,
    #8b5cf6 100%
  );
  background-size: 100% 200%;
  border-radius: 3px;
  box-shadow:
    0 0 30px rgba(139, 92, 246, 0.8),
    0 0 60px rgba(217, 70, 239, 0.4);
  animation: gradient-flow 4s ease infinite, pulse-glow 3s ease-in-out infinite;
}

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

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 40px rgba(217, 70, 239, 0.8);
  }
}

.hero-badge {
  backdrop-filter: blur(20px);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(217, 70, 239, 0.15) 100%);
  box-shadow:
    0 8px 32px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.hero-badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 12px 48px rgba(139, 92, 246, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(217, 70, 239, 0.2) 100%);
  border-color: rgba(139, 92, 246, 0.5);
}

.hero-title {
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.9),
    0 4px 20px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(139, 92, 246, 0.3);
  letter-spacing: -0.03em;
  line-height: 0.85;
}

.gradient-text-hero {
  background: linear-gradient(135deg, #a78bfa 0%, #c084fc 25%, #e879f9 50%, #f0abfc 75%, #06b6d4 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 50px rgba(167, 139, 250, 0.8));
  animation: gradient-shift 8s ease infinite;
}

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

.hero-subtitle {
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.9),
    0 4px 16px rgba(0, 0, 0, 0.7);
  line-height: 1.4;
}

/* Hero buttons */
.hero-btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
  z-index: 0;
}

.hero-btn-primary:hover::before {
  opacity: 1;
}

.hero-btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.6);
  border-color: rgba(255,255,255,0.4);
}

.hero-btn-secondary {
  border: 2px solid rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.1);
  color: white;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(139, 92, 246, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
  z-index: 0;
}

.hero-btn-secondary:hover::before {
  opacity: 1;
}

.hero-btn-secondary:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(167, 139, 250, 0.8);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}

/* Hero stats */
.hero-stats {
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

@media (max-width: 1440px) {
  .hero-content {
    max-width: 65%;
  }

  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    max-width: 70%;
    padding-left: 1.5rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-content::before {
    width: 5px;
    height: 150px;
  }

  nav .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .hero-content {
    max-width: 90%;
    padding-left: 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-subtitle {
    font-size: 1.1rem !important;
  }

  .hero-content::before {
    width: 4px;
    height: 120px;
  }

  .hero-badge {
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .hero-content {
    max-width: 100%;
    padding-left: 1rem;
  }

  .hero-title {
    font-size: 1.75rem !important;
  }

  .hero-title .text-white\/95 {
    font-size: 1.5rem !important;
  }

  .hero-stats {
    gap: 1.5rem !important;
  }

  .hero-content::before {
    width: 3px;
    height: 80px;
  }
}

/* Force all text to white for contrast on dark background */
.text-all-white, .text-all-white * { color: #ffffff !important; }


/* Single-banner layout helpers */
.only-hero main > *:not(:first-child),
.only-hero footer { display: none !important; }
.banner-full { min-height: 100vh; display: flex; align-items: center; position: relative; }
.banner-black { background: #000000; }
/* Subtle vignette to unify scene and content */
.banner-full::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 5;
}

/* Glass panel for copy on dark backgrounds */
.glass-panel { background: transparent; backdrop-filter: none; box-shadow: none; border-radius: 0; border: none !important; outline: none !important; }
.glass-blend { position: relative; }
.glass-blend::after { content: ""; position: absolute; top: 0; right: -40px; height: 100%; width: 160px; background: linear-gradient(90deg, rgba(26,26,62,0.6), rgba(26,26,62,0.3), rgba(26,26,62,0)); filter: blur(10px); pointer-events: none; z-index: -1; }

/* Gradient Backgrounds */
.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg-purple {
    background: linear-gradient(135deg, #0a0a15 0%, #0f0f23 30%, #1a1a3e 60%, #2d1b4e 100%);
    position: relative;
}

.gradient-bg-purple::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

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

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

.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.animate-fade-in-down { animation: fadeInDown 0.8s ease-out forwards; opacity: 0; }
.animate-scale-in { animation: scaleIn 0.6s ease-out forwards; opacity: 0; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-custom { animation: pulse 2s ease-in-out infinite; }

/* Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Navigation */
nav {
    backdrop-filter: blur(20px) saturate(180%);
    background: linear-gradient(135deg, rgba(35, 20, 60, 0.85) 0%, rgba(25, 25, 50, 0.8) 100%);
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 2px 20px rgba(138, 43, 226, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

select[data-lang-select] {
    background-color: rgba(26, 10, 46, 0.9) !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

select[data-lang-select]:focus {
    outline: none;
    border-color: rgba(192, 132, 252, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.1);
}

select[data-lang-select]:hover {
    border-color: rgba(168, 85, 247, 0.5) !important;
}

select[data-lang-select] option {
    background-color: rgba(26, 10, 46, 0.98);
    color: white;
    padding: 8px;
    border: 1px solid rgba(192, 132, 252, 0.2);
}

.nav-scrolled {
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(168, 85, 247, 0.15);
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.98) 0%, rgba(15, 15, 35, 0.95) 100%);
    border-bottom-color: rgba(168, 85, 247, 0.4);
    backdrop-filter: blur(25px) saturate(200%);
}

.nav-link {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #d946ef);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 8px;
    z-index: -1;
}

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

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

.nav-link:hover {
    color: #c084fc;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transform: scale(1.05);
}

/* Advanced Section Backgrounds */
.section-bg-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.geometric-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.gradient-mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  mix-blend-mode: screen;
}

.mesh-1 {
  width: 800px;
  height: 800px;
  top: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.4) 0%, rgba(139, 92, 246, 0.2) 40%, transparent 70%);
  animation: mesh-float-1 25s ease-in-out infinite;
}

.mesh-2 {
  width: 600px;
  height: 600px;
  bottom: -15%;
  left: -5%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(192, 132, 252, 0.15) 40%, transparent 70%);
  animation: mesh-float-2 30s ease-in-out infinite;
}

.mesh-3 {
  width: 700px;
  height: 700px;
  top: 10%;
  left: -10%;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.3) 0%, rgba(236, 72, 153, 0.15) 40%, transparent 70%);
  animation: mesh-float-3 28s ease-in-out infinite;
}

.mesh-4 {
  width: 650px;
  height: 650px;
  bottom: -5%;
  right: -8%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.35) 0%, rgba(168, 85, 247, 0.2) 40%, transparent 70%);
  animation: mesh-float-4 32s ease-in-out infinite;
}

@keyframes mesh-float-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(50px, -30px) rotate(120deg); }
  66% { transform: translate(-30px, 40px) rotate(240deg); }
}

@keyframes mesh-float-2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-40px, 50px) rotate(-120deg); }
  66% { transform: translate(40px, -40px) rotate(-240deg); }
}

@keyframes mesh-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 60px) scale(1.1); }
}

@keyframes mesh-float-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -50px) scale(1.15); }
}

.floating-shapes {
  position: absolute;
  inset: 0;
}

.shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.05));
  backdrop-filter: blur(5px);
  border: 1px solid rgba(192, 132, 252, 0.1);
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 15%;
  left: 10%;
  animation: shape-morph-1 15s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation: shape-morph-2 18s ease-in-out infinite;
}

.shape-3 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  left: 60%;
  animation: shape-morph-3 20s ease-in-out infinite;
}

.shape-4 {
  width: 220px;
  height: 220px;
  top: 25%;
  right: 20%;
  animation: shape-morph-1 17s ease-in-out infinite reverse;
}

.shape-5 {
  width: 160px;
  height: 160px;
  bottom: 30%;
  left: 15%;
  animation: shape-morph-2 22s ease-in-out infinite reverse;
}

@keyframes shape-morph-1 {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    transform: translate(30px, -20px) rotate(120deg);
  }
  66% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    transform: translate(-20px, 30px) rotate(240deg);
  }
}

@keyframes shape-morph-2 {
  0%, 100% {
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    transform: translate(-25px, 25px) rotate(180deg);
  }
}

@keyframes shape-morph-3 {
  0%, 100% {
    border-radius: 73% 27% 44% 56% / 49% 44% 56% 51%;
    transform: translate(0, 0) scale(1);
  }
  50% {
    border-radius: 27% 73% 56% 44% / 51% 56% 44% 49%;
    transform: translate(20px, -20px) scale(1.1);
  }
}

.radial-gradient-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

.dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192, 132, 252, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
}

/* Service Cards */
/* Section Divider */
.section-divider {
  height: 60px;
  background: transparent;
  margin: 0;
  position: relative;
  display: block;
}

/* Simple elegant gradient line */
.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139, 92, 246, 0.5) 25%,
    rgba(168, 85, 247, 0.8) 50%,
    rgba(139, 92, 246, 0.5) 75%,
    transparent 100%);
  transform: translateY(-50%);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

/* Enhanced first divider */
.section-divider-hero {
  height: 120px;
  background: linear-gradient(180deg,
    rgba(10, 10, 21, 0.5) 0%,
    rgba(26, 26, 62, 0.8) 30%,
    rgba(45, 27, 78, 0.7) 60%,
    rgba(139, 92, 246, 0.15) 100%);
  margin: 0;
  position: relative;
  overflow: hidden;
}

.section-divider-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139, 92, 246, 0.3) 10%,
    rgba(168, 85, 247, 0.8) 30%,
    rgba(236, 72, 153, 0.8) 50%,
    rgba(168, 85, 247, 0.8) 70%,
    rgba(139, 92, 246, 0.3) 90%,
    transparent 100%);
  transform: translateY(-50%);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.section-divider-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(139, 92, 246, 0.05) 50%,
        rgba(168, 85, 247, 0.03) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -1px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(139, 92, 246, 0.2),
        transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow:
        0 20px 25px -5px rgba(139, 92, 246, 0.3),
        0 10px 10px -5px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(217, 70, 239, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow:
        0 30px 60px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    box-shadow:
        0 4px 15px rgba(139, 92, 246, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.3);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(139, 92, 246, 0.5),
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #d8b4fe 100%);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: -1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

/* Background Decorations */
.bg-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

/* Additional background animations */
@keyframes moveGradient {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-gradient { animation: moveGradient 10s ease-in-out infinite; }
.animate-rotate-slow { animation: rotate 20s linear infinite; }

/* Stats */
.stat-card {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card:hover {
    transform: scale(1.05);
}

/* Dark theme content colors inside cards */
.service-card h3, .process-step h3, .stat-card h3 { color: #ffffff; }
.service-card p, .process-step p, .stat-card p, .service-card li, .process-step li { color: #d1d5db; }

/* Process steps */
.process-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Forms */
input, textarea {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
}

input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.6); }

input:focus, textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* Icon Wrapper */
.icon-wrapper {
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Logo */
.logo-text {
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 900;
    letter-spacing: 2px;
    position: relative;
}

.logo-text img {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.4));
}

.logo-text::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
    z-index: -1;
}

.logo-text:hover::before {
    opacity: 1;
}

.logo-text:hover img {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 0 24px rgba(192, 132, 252, 0.8)) drop-shadow(0 0 40px rgba(168, 85, 247, 0.6));
}

.gradient-text-logo {
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(167, 139, 250, 0.5);
}

/* ========== NEW HERO GRID LAYOUT ========== */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 80px;
}

/* Left Content */
.hero-left {
  max-width: 600px;
}

.hero-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text-modern {
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 50%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.5));
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Modern Buttons */
.btn-modern {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
  position: relative;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
  background: rgba(168, 85, 247, 0.1);
  border: 2px solid rgba(168, 85, 247, 0.5);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(192, 132, 252, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

/* Right Terminal */
.hero-right {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.terminal-large {
  width: 100%;
  max-width: 800px;
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.98) 0%, rgba(15, 15, 20, 0.95) 100%);
  border-radius: 12px;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 8px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  padding: 2rem 3rem 4rem 3rem;
  animation: terminal-float 6s ease-in-out infinite;
  backdrop-filter: blur(20px);
}

.terminal-header-mac {
  background: linear-gradient(180deg, rgba(50, 50, 50, 0.95) 0%, rgba(35, 35, 35, 0.9) 100%);
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 12px 12px 0 0;
  margin: -2rem -3rem 1.5rem -3rem;
}

.terminal-dots-mac {
  display: flex;
  gap: 8px;
  position: absolute;
  left: 12px;
}

.dot-mac {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-mac.red-mac {
  background-color: #ff5f56;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
}

.dot-mac.yellow-mac {
  background-color: #ffbd2e;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
}

.dot-mac.green-mac {
  background-color: #27c93f;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
}

.terminal-title-mac {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

@keyframes terminal-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.ascii-logo {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 1.75rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(192, 132, 252, 0.9);
}

.dot-blue {
  color: #60a5fa;
  text-shadow: 0 0 15px rgba(96, 165, 250, 1);
  animation: pulse-blue 2s ease-in-out infinite;
}

@keyframes pulse-blue {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
    text-shadow: 0 0 25px rgba(96, 165, 250, 1);
  }
}

.wave-cyan {
  color: #22d3ee;
  animation: wave-animate 3s ease-in-out infinite;
}

@keyframes wave-animate {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 15px rgba(34, 211, 238, 1);
  }
}

.logo-purple {
  color: #c084fc;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.8);
  animation: bulb-flicker 3s infinite;
}

@keyframes bulb-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
    text-shadow:
      0 0 10px rgba(192, 132, 252, 0.8),
      0 0 20px rgba(192, 132, 252, 0.6),
      0 0 30px rgba(192, 132, 252, 0.4);
  }
  20%, 24%, 55% {
    opacity: 0.4;
    text-shadow: 0 0 5px rgba(192, 132, 252, 0.3);
  }
  22% {
    opacity: 0.7;
    text-shadow: 0 0 8px rgba(192, 132, 252, 0.5);
  }
}

@keyframes logo-glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.8);
  }
  50% {
    text-shadow: 0 0 20px rgba(192, 132, 252, 1);
  }
}

.text-success {
  color: #6ee7b7;
  font-weight: 600;
}

.text-highlight {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
  animation: highlight-glow 2s ease-in-out infinite;
}

@keyframes highlight-glow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.terminal-prompt {
  color: #a855f7;
  font-weight: 700;
}

.terminal-command {
  color: #c084fc;
  font-weight: 600;
}

.terminal-cursor {
  color: #c084fc;
  animation: cursor-blink 1s step-end infinite;
}

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

/* Glitch Effect for Terminal */
.ascii-logo.glitch-active .logo-purple {
  animation: glitch-text 0.3s ease-in-out;
}

@keyframes glitch-text {
  0%, 100% {
    transform: translate(0);
  }
  25% {
    transform: translate(-2px, 1px);
  }
  50% {
    transform: translate(2px, -1px);
  }
  75% {
    transform: translate(-1px, -1px);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 3rem;
    padding-top: 120px;
  }

  .hero-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
  }

  .terminal-large {
    max-width: 600px;
  }

  .ascii-logo {
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 100px;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-right {
    justify-content: center;
  }

  .terminal-large {
    max-width: 100%;
    transform: translateX(0);
  }

  @keyframes terminal-float {
    0%, 100% {
      transform: translateX(0) translateY(0);
    }
    50% {
      transform: translateX(0) translateY(-10px);
    }
  }

  .ascii-logo {
    font-size: 0.75rem;
  }

  .btn-modern {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-heading {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .terminal-body-large {
    padding: 1rem;
  }

  .ascii-logo {
    font-size: 0.625rem;
  }
}
/* Enhanced Navigation - UI/UX Optimized */
#navbar {
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(10, 10, 21, 0.8) !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #a855f7 !important;
    background: rgba(139, 92, 246, 0.1) !important;
}

.nav-link.active {
    color: #c084fc !important;
    background: rgba(139, 92, 246, 0.15) !important;
}

/* CTA Navigation Button - Highlighted "Contact Us" */
.nav-link-cta {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
    border: 2px solid rgba(168, 85, 247, 0.5) !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%) !important;
    border-color: rgba(192, 132, 252, 0.8) !important;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6) !important;
    transform: translateY(-2px);
}

/* ========== BEAUTIFUL SECTION DIVIDERS ========== */

/* Regular Section Divider - Elegant gradient line with shimmer effect */
.section-divider {
    position: relative;
    height: 1px;
    margin: 4rem 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(139, 92, 246, 0.3) 20%,
        rgba(168, 85, 247, 0.5) 50%,
        rgba(139, 92, 246, 0.3) 80%,
        transparent 100%);
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(192, 132, 252, 0.8) 50%,
        transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle,
        rgba(192, 132, 252, 1) 0%,
        rgba(168, 85, 247, 0.8) 50%,
        transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.8);
    animation: pulse-divider 2s ease-in-out infinite;
}

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

@keyframes pulse-divider {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.7;
    }
}

/* Hero Divider - Smooth gradient transition from black to purple */
.hero-divider {
    position: relative;
    height: 150px;
    margin: 0;
    background: linear-gradient(180deg,
        #0a0a15 0%,
        #0d0a1a 8%,
        #100b1f 16%,
        #140d26 24%,
        #180f2d 32%,
        #1d1234 40%,
        #22153c 48%,
        #271844 56%,
        #2d1b4c 64%,
        #341f54 72%,
        #3b235d 80%,
        #432866 88%,
        #4b2d6f 96%,
        transparent 100%);
    overflow: hidden;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .section-divider {
        margin: 2rem 0;
    }

    .hero-divider {
        height: 100px;
    }
}

/* ===================================
   Testimonials Carousel
   =================================== */

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #a855f7;
    width: 2rem;
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .carousel-btn-prev {
        left: 0.5rem;
    }

    .carousel-btn-next {
        right: 0.5rem;
    }
}

/* ===================================
   Cookie Consent Banner
   =================================== */

.cookie-consent {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 450px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95) 0%, rgba(168, 85, 247, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.3);
    z-index: 9999;
    transform: translateX(150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-consent.show {
    transform: translateX(0);
    opacity: 1;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-consent-text {
    flex: 1;
    color: white;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.875rem;
}

.cookie-btn-accept {
    background: white;
    color: #8b5cf6;
}

.cookie-btn-accept:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
    .cookie-consent {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: 100%;
        padding: 1.25rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* ===================================
   FAQ Accordion Animation
   =================================== */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 800px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-color: transparent !important;
}

.faq-question {
    cursor: pointer;
    user-select: none;
}

/* Improved group hover effects */
.faq-item.group:hover .faq-question:not(.faq-item.active .faq-question) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25) !important;
}

/* FAQ Category Filter Buttons */
.category-filter-btn {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: #d1d5db;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

.category-filter-btn.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-color: #a855f7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* FAQ Filtering */
.faq-category.hidden {
    display: none !important;
}

.faq-item.hidden {
    display: none !important;
}

/* FAQ Two-Level Navigation */
#questions-view.hidden,
#categories-overview.hidden {
    display: none !important;
}

.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    cursor: pointer;
}

/* Smooth transitions for view switching */
#categories-overview,
#questions-view {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* ===================================
   Performance Optimizations
   =================================== */

/* Optimize background animations */
.site-bg-animated {
    will-change: background-position;
}

.site-bg-animated::before,
.site-bg-animated::after {
    will-change: transform, opacity;
}

/* Optimize hero animated elements */
.gradient-orb {
    will-change: transform;
}

.wave-line {
    will-change: transform, opacity;
}

.particle {
    will-change: transform, opacity;
}

.animated-grid {
    will-change: transform;
}

/* Optimize cards with hover effects */
.service-card {
    will-change: transform;
}

/* Optimize navigation */
.nav-link {
    will-change: color, background-color;
}

/* Optimize floating elements */
[class*="float-"] {
    will-change: transform;
}

/* Optimize pulse animations */
[class*="pulse-"] {
    will-change: opacity, transform;
}

/* Optimize gradient animations */
.gradient-mesh {
    will-change: transform, opacity;
}

.floating-shapes .shape {
    will-change: transform;
}

/* Optimize terminal animations */
.logo-purple {
    will-change: text-shadow;
}

/* Optimize scroll-based animations */
.animate-fade-in-up,
.animate-fade-in-down,
.animate-scale-in {
    will-change: opacity, transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        will-change: auto !important;
    }

    .gradient-orb,
    .wave-line,
    .particle,
    .floating-shapes {
        animation: none !important;
    }
}
