/* ═══════════════════════════════════════════
   CSS VARIABLES & RESET
   ═══════════════════════════════════════════ */
:root {
  --bg-primary: #060611;
  --bg-secondary: #0c0c24;
  --bg-card: #0e1225;
  --bg-card-hover: #121836;
  --primary: #00c8ff;
  --primary-rgb: 0, 200, 255;
  --accent: #7b68ee;
  --accent-rgb: 123, 104, 238;
  --accent2: #a78bfa;
  --accent2-rgb: 167, 139, 250;
  --text: #e2e8f0;
  --text-dim: rgba(226, 232, 240, 0.5);
  --text-muted: rgba(226, 232, 240, 0.3);
  --font-display: 'Chakra Petch', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --glow-primary: 0 0 20px rgba(var(--primary-rgb), 0.3), 0 0 60px rgba(var(--primary-rgb), 0.1);
  --glow-accent: 0 0 20px rgba(var(--accent-rgb), 0.3), 0 0 60px rgba(var(--accent-rgb), 0.1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--primary-rgb), 0.3) var(--bg-primary);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 3px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: none;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════ */
.cursor-dot {
  position: fixed;
  top: -20px;
  left: -20px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-4px, -2px);
  will-change: left, top;
  filter: drop-shadow(0 0 6px rgba(var(--primary-rgb), 0.8));
  transition: filter 0.3s;
}

.cursor-dot svg {
  width: 100%;
  height: 100%;
}

.cursor-ring {
  position: fixed;
  top: -60px;
  left: -60px;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s;
}

.cursor-ring svg {
  width: 100%;
  height: 100%;
  animation: cursor-spin 4s linear infinite;
}

@keyframes cursor-spin {
  to { transform: rotate(360deg); }
}

.cursor-dot.active { opacity: 1; }
.cursor-ring.active { opacity: 1; }

.cursor-dot.hover {
  filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.9));
}

.cursor-dot.hover svg path {
  fill: var(--accent);
}

.cursor-ring.hover {
  width: 50px;
  height: 50px;
}

.cursor-ring.hover svg circle {
  stroke: rgba(var(--accent-rgb), 0.5);
}

.cursor-ring.click {
  width: 24px;
  height: 24px;
}

/* ═══════════════════════════════════════════
   ANIMATED BACKGROUND ELEMENTS
   ═══════════════════════════════════════════ */
.bg-lights {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.light {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  animation: light-float linear infinite;
}

.light:nth-child(1) { width: 3px; height: 3px; left: 10%; animation-duration: 12s; animation-delay: 0s; }
.light:nth-child(2) { width: 2px; height: 2px; left: 25%; animation-duration: 15s; animation-delay: 2s; background: var(--accent); }
.light:nth-child(3) { width: 4px; height: 4px; left: 40%; animation-duration: 10s; animation-delay: 4s; }
.light:nth-child(4) { width: 2px; height: 2px; left: 55%; animation-duration: 14s; animation-delay: 1s; background: var(--accent2); }
.light:nth-child(5) { width: 3px; height: 3px; left: 70%; animation-duration: 11s; animation-delay: 3s; background: var(--accent); }
.light:nth-child(6) { width: 2px; height: 2px; left: 85%; animation-duration: 13s; animation-delay: 5s; }
.light:nth-child(7) { width: 3px; height: 3px; left: 50%; animation-duration: 16s; animation-delay: 7s; background: var(--accent2); }
.light:nth-child(8) { width: 2px; height: 2px; left: 30%; animation-duration: 12s; animation-delay: 6s; background: var(--accent); }
.light:nth-child(9) { width: 3px; height: 3px; left: 65%; animation-duration: 14s; animation-delay: 8s; }
.light:nth-child(10) { width: 2px; height: 2px; left: 15%; animation-duration: 11s; animation-delay: 9s; background: var(--accent2); }

@keyframes light-float {
  0% { bottom: -5%; opacity: 0; transform: translateX(0); }
  10% { opacity: 0.6; }
  50% { opacity: 0.3; }
  90% { opacity: 0.5; }
  100% { bottom: 105%; opacity: 0; transform: translateX(40px); }
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.06;
  animation: orb-drift linear infinite;
}

.bg-orb:nth-child(1) {
  width: 400px; height: 400px;
  background: var(--primary);
  top: 20%; left: -10%;
  animation-duration: 25s;
}

.bg-orb:nth-child(2) {
  width: 350px; height: 350px;
  background: var(--accent);
  top: 60%; right: -10%;
  animation-duration: 30s;
  animation-delay: -10s;
}

.bg-orb:nth-child(3) {
  width: 300px; height: 300px;
  background: var(--accent2);
  bottom: 10%; left: 30%;
  animation-duration: 20s;
  animation-delay: -5s;
}

@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(100px, -60px) scale(1.1); }
  50% { transform: translate(50px, 80px) scale(0.9); }
  75% { transform: translate(-80px, 30px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

.bg-grid-pulse {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: grid-pulse 8s ease-in-out infinite;
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

a, button, input, textarea, .service-card, .pricing-card, .portfolio-item, .footer-social, .nav-links a {
  cursor: none !important;
}

/* ═══════════════════════════════════════════
   AURORA MOUSE GRADIENT
   ═══════════════════════════════════════════ */
.aurora {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.07) 0%, transparent 70%);
  filter: blur(40px);
  transition: opacity 0.3s;
}

/* ═══════════════════════════════════════════
   CLICK RIPPLE
   ═══════════════════════════════════════════ */
.click-ripple {
  position: fixed;
  pointer-events: none;
  z-index: 10002;
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%);
  animation: ripple-expand 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ripple-expand {
  0% { width: 0; height: 0; opacity: 1; }
  100% { width: 120px; height: 120px; opacity: 0; }
}

/* ═══════════════════════════════════════════
   FLOATING SHAPES (HERO)
   ═══════════════════════════════════════════ */
.floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  opacity: 0.4;
}

.shape--1 {
  width: 80px;
  height: 80px;
  top: 15%;
  left: 8%;
  border-radius: 16px;
  transform: rotate(45deg);
  animation: float-rotate 12s ease-in-out infinite;
}

.shape--2 {
  width: 50px;
  height: 50px;
  top: 20%;
  right: 12%;
  border-radius: 50%;
  border-color: rgba(var(--accent-rgb), 0.15);
  animation: float-rotate 10s ease-in-out infinite reverse;
}

.shape--3 {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid rgba(var(--primary-rgb), 0.06);
  top: 65%;
  left: 12%;
  border: none;
  width: 60px;
  height: 60px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: rgba(var(--primary-rgb), 0.06);
  animation: float-rotate 15s ease-in-out infinite;
}

.shape--4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  right: 8%;
  border-radius: 20px;
  border-color: rgba(var(--accent2-rgb), 0.1);
  animation: float-rotate 13s ease-in-out infinite reverse;
}

.shape--5 {
  width: 30px;
  height: 30px;
  top: 40%;
  left: 25%;
  border-radius: 6px;
  border-color: rgba(var(--accent-rgb), 0.1);
  animation: float-rotate 8s ease-in-out infinite;
}

.shape--6 {
  width: 45px;
  height: 45px;
  top: 35%;
  right: 25%;
  border-radius: 50%;
  border-color: rgba(var(--primary-rgb), 0.08);
  animation: float-rotate 11s ease-in-out infinite reverse;
}

@keyframes float-rotate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(90deg); }
  50% { transform: translateY(-10px) rotate(180deg); }
  75% { transform: translateY(-25px) rotate(270deg); }
}

/* ═══════════════════════════════════════════
   MAGNETIC BUTTON
   ═══════════════════════════════════════════ */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease-out;
}

.btn .btn-shine {
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-25deg);
  transition: left 0.5s;
  pointer-events: none;
}

.btn:hover .btn-shine {
  left: 125%;
}

/* ═══════════════════════════════════════════
   TEXT SCRAMBLE ON HOVER
   ═══════════════════════════════════════════ */
.scramble-text {
  display: inline-block;
  cursor: default;
}

/* ═══════════════════════════════════════════
   GLOBAL NOISE OVERLAY
   ═══════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 6, 17, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar.scrolled {
  background: rgba(6, 6, 17, 0.92);
  border-bottom-color: rgba(var(--primary-rgb), 0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
}

.nav-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.4) drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.5));
}

.nav-logo span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  align-self: center;
  position: relative;
  top: 3px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.hero-glow--primary {
  background: var(--primary);
  top: -200px;
  right: -100px;
}

.hero-glow--accent {
  background: var(--accent);
  bottom: -200px;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
  background: rgba(var(--primary-rgb), 0.05);
  animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-typing-wrapper {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-dim);
  margin-bottom: 40px;
  min-height: 40px;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-typing-wrapper .prompt {
  color: var(--primary);
  opacity: 0.6;
}

.hero-typing-wrapper .typed-text {
  color: var(--accent2);
  font-weight: 500;
}

.hero-typing-wrapper .cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--primary);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink-cursor 0.8s step-end infinite;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.5);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.btn-outline:hover {
  background: rgba(var(--primary-rgb), 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scroll-down 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════ */
.section {
  padding: 120px 48px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════ */
.services {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(var(--primary-rgb), 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

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

.service-card:hover {
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: var(--glow-primary);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  position: relative;
}

.service-card:nth-child(1) .service-icon {
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.service-card:nth-child(2) .service-icon {
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(var(--accent2-rgb), 0.1);
  border: 1px solid rgba(var(--accent2-rgb), 0.2);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.service-card:nth-child(2) .service-tag {
  background: rgba(var(--accent-rgb), 0.06);
  border-color: rgba(var(--accent-rgb), 0.1);
}

.service-card:nth-child(3) .service-tag {
  background: rgba(var(--accent2-rgb), 0.06);
  border-color: rgba(var(--accent2-rgb), 0.1);
}

.service-line {
  width: 50px;
  height: 2px;
  margin: 16px auto 20px;
  border-radius: 1px;
}

.service-card:nth-child(1) .service-line {
  background: linear-gradient(90deg, var(--primary), transparent);
}

.service-card:nth-child(2) .service-line {
  background: linear-gradient(90deg, var(--accent), transparent);
}

.service-card:nth-child(3) .service-line {
  background: linear-gradient(90deg, var(--accent2), transparent);
}

/* ═══════════════════════════════════════════
   STATS SECTION
   ═══════════════════════════════════════════ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 60px 48px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.2), transparent);
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(var(--primary-rgb), 0.15);
}

/* ═══════════════════════════════════════════
   PORTFOLIO SECTION
   ═══════════════════════════════════════════ */
.portfolio {
  background: var(--bg-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  transition: border-color 0.4s, transform 0.2s ease-out, box-shadow 0.4s;
}

.portfolio-item:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), var(--glow-primary);
}

.portfolio-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-bg {
  transform: scale(1.05);
}

.portfolio-item:nth-child(1) .portfolio-bg {
  background: linear-gradient(135deg, #0c1a3a 0%, #162454 50%, rgba(var(--primary-rgb), 0.15) 100%);
}

.portfolio-item:nth-child(2) .portfolio-bg {
  background: linear-gradient(135deg, #1a0c3a 0%, #2a1654 50%, rgba(var(--accent-rgb), 0.15) 100%);
}

.portfolio-item:nth-child(3) .portfolio-bg {
  background: linear-gradient(135deg, #0c1a2a 0%, #162040 50%, rgba(var(--accent2-rgb), 0.15) 100%);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,6,17,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.portfolio-icon {
  font-size: 2.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  opacity: 0.15;
  transition: opacity 0.4s, transform 0.4s;
}

.portfolio-item:hover .portfolio-icon {
  opacity: 0.3;
  transform: translate(-50%, -65%);
}

.portfolio-type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.portfolio-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.portfolio-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.portfolio-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════ */
.contact {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.04);
  filter: blur(80px);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.contact-info h3 .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info > p {
  color: var(--text-dim);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.contact-detail-text strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  background: rgba(var(--primary-rgb), 0.03);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.08);
}

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

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

.form-submit {
  align-self: flex-start;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 32px 48px;
  background: var(--bg-primary);
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-logo .nav-logo-img {
  height: 28px;
}

.footer-logo span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s;
}

.footer-social:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(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.from-left {
  transform: translateX(-60px);
}

.reveal.from-right {
  transform: translateX(60px);
}

.reveal.from-scale {
  transform: scale(0.9);
}

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

.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; }

/* ═══════════════════════════════════════════
   KEYFRAMES
   ═══════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 4px var(--primary); }
  50% { box-shadow: 0 0 12px var(--primary), 0 0 24px rgba(var(--primary-rgb), 0.3); }
}

@keyframes scroll-down {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

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

/* ═══════════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════════ */
.pricing {
  background: var(--bg-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s, box-shadow 0.5s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s;
}

.pricing-glow {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(var(--primary-rgb), 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    rgba(var(--primary-rgb), 0.08),
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: skewX(-25deg);
  transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.pricing-card:hover::before {
  left: 125%;
}

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

.pricing-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateY(-8px);
  box-shadow:
    0 0 20px rgba(var(--primary-rgb), 0.15),
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(var(--primary-rgb), 0.1);
  background: var(--bg-card-hover);
}

.pricing-card:hover .pricing-icon {
  animation: pricing-icon-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing-card:hover .pricing-price {
  animation: pricing-price-glow 1.5s ease-in-out infinite alternate;
}

.pricing-card:hover .pricing-line {
  width: 80px;
}

.pricing-card:hover .pricing-features li {
  opacity: 1;
  transform: translateX(6px);
}

.pricing-card:hover .pricing-check {
  animation: pricing-check-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.pricing-card:hover .pricing-features li:nth-child(1) .pricing-check { animation-delay: 0s; }
.pricing-card:hover .pricing-features li:nth-child(2) .pricing-check { animation-delay: 0.06s; }
.pricing-card:hover .pricing-features li:nth-child(3) .pricing-check { animation-delay: 0.12s; }
.pricing-card:hover .pricing-features li:nth-child(4) .pricing-check { animation-delay: 0.18s; }
.pricing-card:hover .pricing-features li:nth-child(5) .pricing-check { animation-delay: 0.24s; }

@keyframes pricing-icon-bounce {
  0% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.3) rotate(-8deg); }
  50% { transform: scale(0.9) rotate(4deg); }
  70% { transform: scale(1.15) rotate(-2deg); }
  100% { transform: scale(1.1) rotate(0deg); }
}

@keyframes pricing-price-glow {
  0% { filter: drop-shadow(0 0 4px rgba(var(--primary-rgb), 0.2)); }
  100% { filter: drop-shadow(0 0 16px rgba(var(--primary-rgb), 0.5)); }
}

@keyframes pricing-check-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.6); }
  100% { transform: scale(1.2); }
}

.pricing-card--featured {
  border-color: rgba(var(--accent-rgb), 0.25);
  transform: scale(1.05);
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.04) 0%,
    var(--bg-card) 40%
  );
}

.pricing-card--featured .pricing-glow {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(var(--accent-rgb), 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%);
  opacity: 0.6;
}

.pricing-card--featured::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    rgba(var(--accent-rgb), 0.12),
    rgba(255, 255, 255, 0.06),
    transparent
  );
}

.pricing-card--featured:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: scale(1.05) translateY(-10px);
  box-shadow:
    0 0 30px rgba(var(--accent-rgb), 0.2),
    0 30px 70px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(var(--accent-rgb), 0.15);
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.08) 0%,
    var(--bg-card-hover) 40%
  );
}

.pricing-card--featured:hover .pricing-glow {
  opacity: 1;
}

.pricing-card--featured:hover .pricing-price {
  animation-name: pricing-price-glow-accent;
}

@keyframes pricing-price-glow-accent {
  0% { filter: drop-shadow(0 0 4px rgba(var(--accent-rgb), 0.2)); }
  100% { filter: drop-shadow(0 0 20px rgba(var(--accent-rgb), 0.6)); }
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 0 0 12px 12px;
  z-index: 2;
  animation: pricing-badge-pulse 3s ease-in-out infinite;
}

@keyframes pricing-badge-pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3); }
  50% { box-shadow: 0 4px 25px rgba(var(--accent-rgb), 0.6); }
}

.pricing-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  transition: transform 0.4s, filter 0.4s;
  display: inline-block;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  transition: color 0.3s, letter-spacing 0.4s;
}

.pricing-card:hover .pricing-name {
  color: #fff;
  letter-spacing: 1.5px;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 8px;
  position: relative;
}

.pricing-unit {
  font-size: 0.9rem;
  font-weight: 500;
}

.pricing-line {
  width: 50px;
  height: 2px;
  margin: 16px auto 24px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card--featured .pricing-line {
  background: linear-gradient(90deg, var(--accent), transparent);
}

.pricing-card:last-child .pricing-line {
  background: linear-gradient(90deg, var(--accent2), transparent);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s, opacity 0.3s;
  opacity: 0.7;
}

.pricing-features li:nth-child(1) { transition-delay: 0s; }
.pricing-features li:nth-child(2) { transition-delay: 0.04s; }
.pricing-features li:nth-child(3) { transition-delay: 0.08s; }
.pricing-features li:nth-child(4) { transition-delay: 0.12s; }
.pricing-features li:nth-child(5) { transition-delay: 0.16s; }

.pricing-card:hover .pricing-features li {
  color: var(--text);
}

.pricing-check {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  display: inline-block;
}

.pricing-card--featured .pricing-check {
  color: var(--accent);
}

.pricing-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  z-index: 2;
  position: relative;
}

/* ═══════════════════════════════════════════
   SCAN LINE
   ═══════════════════════════════════════════ */
.bg-scan-line {
  position: fixed;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(var(--primary-rgb), 0.04) 20%,
    rgba(var(--primary-rgb), 0.08) 50%,
    rgba(var(--primary-rgb), 0.04) 80%,
    transparent 100%);
  box-shadow: 0 0 20px 4px rgba(var(--primary-rgb), 0.03);
  animation: scan-line-move 8s ease-in-out infinite;
}

@keyframes scan-line-move {
  0% { top: -2px; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { top: 100vh; opacity: 0; }
}

/* ═══════════════════════════════════════════
   ENERGY PULSES
   ═══════════════════════════════════════════ */
.bg-energy-pulses {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.energy-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  opacity: 0;
  animation: energy-pulse-expand ease-out infinite;
}

.energy-pulse:nth-child(1) {
  top: 15%;
  left: 20%;
  animation-duration: 6s;
  animation-delay: 0s;
}

.energy-pulse:nth-child(2) {
  top: 55%;
  right: 15%;
  left: auto;
  animation-duration: 7s;
  animation-delay: 2s;
  border-color: rgba(var(--accent-rgb), 0.12);
}

.energy-pulse:nth-child(3) {
  bottom: 20%;
  left: 60%;
  top: auto;
  animation-duration: 5.5s;
  animation-delay: 4s;
  border-color: rgba(var(--accent2-rgb), 0.12);
}

.energy-pulse:nth-child(4) {
  top: 40%;
  left: 45%;
  animation-duration: 8s;
  animation-delay: 6s;
}

@keyframes energy-pulse-expand {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    transform: translate(-50%, -50%);
  }
  10% {
    opacity: 0.6;
  }
  100% {
    width: 400px;
    height: 400px;
    opacity: 0;
    transform: translate(-50%, -50%);
  }
}

/* ═══════════════════════════════════════════
   FLOATING CODE FRAGMENTS
   ═══════════════════════════════════════════ */
.bg-code-fragments {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.code-fragment {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(var(--primary-rgb), 0.08);
  opacity: 0;
  animation: code-fragment-float linear infinite;
  user-select: none;
}

.code-fragment:nth-child(1) {
  left: 5%;
  font-size: 0.9rem;
  animation-duration: 18s;
  animation-delay: 0s;
}

.code-fragment:nth-child(2) {
  left: 18%;
  animation-duration: 22s;
  animation-delay: 3s;
  color: rgba(var(--accent-rgb), 0.07);
}

.code-fragment:nth-child(3) {
  left: 32%;
  font-size: 0.8rem;
  animation-duration: 20s;
  animation-delay: 6s;
}

.code-fragment:nth-child(4) {
  left: 48%;
  animation-duration: 24s;
  animation-delay: 2s;
  color: rgba(var(--accent2-rgb), 0.06);
}

.code-fragment:nth-child(5) {
  left: 62%;
  font-size: 0.85rem;
  animation-duration: 19s;
  animation-delay: 8s;
}

.code-fragment:nth-child(6) {
  left: 75%;
  animation-duration: 21s;
  animation-delay: 5s;
  color: rgba(var(--accent-rgb), 0.07);
}

.code-fragment:nth-child(7) {
  left: 85%;
  font-size: 0.75rem;
  animation-duration: 17s;
  animation-delay: 10s;
}

.code-fragment:nth-child(8) {
  left: 92%;
  animation-duration: 23s;
  animation-delay: 7s;
  color: rgba(var(--accent2-rgb), 0.06);
}

@keyframes code-fragment-float {
  0% {
    bottom: -30px;
    opacity: 0;
    transform: translateX(0) rotate(0deg);
  }
  8% {
    opacity: 1;
  }
  50% {
    transform: translateX(20px) rotate(8deg);
  }
  92% {
    opacity: 1;
  }
  100% {
    bottom: 105%;
    opacity: 0;
    transform: translateX(-15px) rotate(-5deg);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    gap: 40px;
  }

  .stat-item + .stat-item::before {
    left: -20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-ring, .aurora { display: none; }
  body { cursor: auto; }
  a, button, input, textarea, .service-card, .pricing-card, .portfolio-item, .footer-social, .nav-links a { cursor: auto !important; }
  .bg-lights, .bg-orbs, .bg-scan-line, .bg-energy-pulses, .bg-code-fragments { display: none; }
  .navbar {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 6, 17, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 80px 24px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .stats-bar {
    flex-direction: column;
    gap: 24px;
    padding: 40px 24px;
  }

  .stat-item + .stat-item::before {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
