/* ---------- CSS Variables ---------- */
:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --secondary: #06b6d4;
  --accent: #f472b6;
  --gold: #fbbf24;
  --gradient: linear-gradient(135deg, #06b6d4 0%, #7c3aed 50%, #f472b6 100%);
  --gradient-text: linear-gradient(90deg, #06b6d4, #7c3aed, #f472b6);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.15) 0%,
    rgba(124, 58, 237, 0.15) 50%,
    rgba(244, 114, 182, 0.15) 100%
  );

  --bg-dark: #0a0a0f;
  --bg-darker: #050507;
  --bg-card: rgba(20, 20, 30, 0.7);
  --bg-glass: rgba(20, 20, 30, 0.5);

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(124, 58, 237, 0.6);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 80px rgba(124, 58, 237, 0.4);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 80px;
  --container-width: min(1280px, 92vw);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img,
video {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Utility Classes ---------- */
.container {
  width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 5s ease-in-out infinite;
  background-size: 200% auto;
}

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

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 1rem auto 2rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* ---------- Background Effects ---------- */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(99, 102, 241, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.bg-glow-1 {
  top: -200px;
  left: -200px;
  background: var(--primary);
}

.bg-glow-2 {
  bottom: -200px;
  right: -200px;
  background: var(--accent);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-progress {
  height: 100%;
  background: var(--gradient);
  animation: loading 1.5s ease-in-out infinite;
}

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

@keyframes loading {
  0% {
    width: 0;
    margin-left: 0;
  }
  50% {
    width: 70%;
    margin-left: 15%;
  }
  100% {
    width: 0;
    margin-left: 100%;
  }
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--bg-dark);
  box-shadow: var(--shadow-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span:first-child {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.logo-text span:last-child {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

.btn-primary {
  background: var(--gradient);
  color: var(--bg-dark);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.5);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

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

/* Mobile Navigation */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .navbar.nav-open .nav-menu,
  .navbar.nav-open .nav-cta {
    display: flex;
  }

  .navbar.nav-open {
    height: auto;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
  }

  .navbar.nav-open .nav-container {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    padding: 1.5rem 0;
    gap: 1rem;
  }

  .nav-cta {
    width: 100%;
    flex-direction: column;
    padding-bottom: 1rem;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 2rem) 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(1.2);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  mix-blend-mode: overlay;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse at 50% 0%,
      rgba(124, 58, 237, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 50%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(244, 114, 182, 0.1) 0%,
      transparent 40%
    ),
    linear-gradient(
      180deg,
      rgba(10, 10, 15, 0.2) 0%,
      rgba(10, 10, 15, 0.85) 60%,
      rgba(10, 10, 15, 1) 100%
    );
}

/* ---------- Floating Orbs ---------- */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.4) 0%,
    transparent 70%
  );
  top: -10%;
  right: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.35) 0%,
    transparent 70%
  );
  bottom: -5%;
  left: -5%;
  animation-delay: -7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(244, 114, 182, 0.3) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(20px, 30px) scale(1.05);
  }
}

/* ---------- Animated Grid ---------- */
.animated-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(124, 58, 237, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 30%,
    transparent 70%
  );
}

.animated-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(6, 182, 212, 0.05) 2px,
      transparent 2px
    ),
    linear-gradient(90deg, rgba(6, 182, 212, 0.05) 2px, transparent 2px);
  background-size: 120px 120px;
  animation: gridMove 30s linear infinite reverse;
}

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

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

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 15s infinite;
  box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
}

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

.particle:nth-child(odd) {
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary);
}

.particle:nth-child(3n) {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
  width: 6px;
  height: 6px;
}

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

/* ---------- Light Beams ---------- */
.light-beams {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.beam {
  position: absolute;
  width: 2px;
  height: 200px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(124, 58, 237, 0.5),
    rgba(124, 58, 237, 0.8),
    rgba(124, 58, 237, 0.5),
    transparent
  );
  opacity: 0;
  animation: beamFall 8s infinite;
  filter: blur(1px);
}

.beam-1 {
  left: 20%;
  animation-delay: 0s;
}

.beam-2 {
  left: 50%;
  animation-delay: 3s;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(6, 182, 212, 0.5),
    rgba(6, 182, 212, 0.8),
    rgba(6, 182, 212, 0.5),
    transparent
  );
}

.beam-3 {
  left: 80%;
  animation-delay: 5s;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(244, 114, 182, 0.5),
    rgba(244, 114, 182, 0.8),
    rgba(244, 114, 182, 0.5),
    transparent
  );
}

@keyframes beamFall {
  0% {
    transform: translateY(-200px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* ---------- Floating Shapes ---------- */
.floating-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.15;
}

.shape-circle {
  width: 300px;
  height: 300px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  top: 10%;
  right: 5%;
  animation: shapeFloat 25s ease-in-out infinite,
    shapePulse 4s ease-in-out infinite;
}

.shape-square {
  width: 150px;
  height: 150px;
  border: 2px solid var(--secondary);
  bottom: 20%;
  left: 5%;
  animation: shapeFloat 20s ease-in-out infinite reverse,
    shapeRotate 30s linear infinite;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid rgba(244, 114, 182, 0.15);
  top: 40%;
  right: 15%;
  animation: shapeFloat 22s ease-in-out infinite,
    shapeRotate 25s linear infinite reverse;
}

.shape-ring {
  width: 200px;
  height: 200px;
  border: 3px solid var(--primary-light);
  border-radius: 50%;
  bottom: 30%;
  right: 20%;
  animation: shapeFloat 18s ease-in-out infinite reverse,
    shapePulse 5s ease-in-out infinite;
}

.shape-ring::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
}

.shape-dot {
  width: 15px;
  height: 15px;
  background: var(--primary);
  border-radius: 50%;
  top: 25%;
  left: 15%;
  animation: shapePulse 3s ease-in-out infinite,
    shapeFloat 15s ease-in-out infinite;
  box-shadow: 0 0 30px var(--primary);
}

.shape-dot-2 {
  width: 10px;
  height: 10px;
  background: var(--secondary);
  border-radius: 50%;
  bottom: 40%;
  left: 25%;
  animation: shapePulse 4s ease-in-out infinite 1s,
    shapeFloat 18s ease-in-out infinite reverse;
  box-shadow: 0 0 20px var(--secondary);
}

@keyframes shapeFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(20px, -30px);
  }
  50% {
    transform: translate(-15px, 20px);
  }
  75% {
    transform: translate(25px, 15px);
  }
}

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

@keyframes shapePulse {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    transform: scale(1.05);
  }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem 0.5rem 0.5rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-xl);
  margin-bottom: 2.5rem;
  backdrop-filter: blur(20px);
  animation: fadeInUp 0.8s ease-out, glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.4);
  }
}

.hero-badge-pill {
  padding: 0.35rem 0.75rem;
  background: var(--gradient);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bg-dark);
}

.hero-badge span:last-child {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title .line {
  display: block;
}

.hero-title .hero-subtitle-line {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-title .hero-subtitle-line .gradient-text {
  font-weight: 700;
}

.typewriter {
  position: relative;
  display: inline-block;
}

.typewriter::after {
  content: "|";
  animation: blink 0.7s infinite;
  color: var(--primary);
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-actions .btn {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollDown 1.5s infinite;
}

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

@keyframes scrollDown {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

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

/* ---------- About Section ---------- */
.about {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.about-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.about-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.3);
  top: -100px;
  left: -100px;
  animation: aboutGlow 8s ease-in-out infinite;
}

.about-glow-2 {
  width: 350px;
  height: 350px;
  background: rgba(6, 182, 212, 0.25);
  bottom: -50px;
  right: -50px;
  animation: aboutGlow 8s ease-in-out infinite 4s;
}

@keyframes aboutGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

.about-wrapper {
  position: relative;
  z-index: 1;
}

.about-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.about-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.15) 0%,
    rgba(6, 182, 212, 0.1) 100%
  );
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-description em {
  color: var(--primary-light);
  font-style: italic;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .about-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.about-feature-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 35, 0.8) 0%,
    rgba(30, 30, 50, 0.5) 100%
  );
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.about-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.about-feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2),
    0 0 0 1px rgba(124, 58, 237, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about-feature-card:hover::before {
  transform: scaleX(1);
}

.about-feature-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.about-feature-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.2) 0%,
    rgba(6, 182, 212, 0.15) 100%
  );
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
}

.icon-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.4) 0%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.about-feature-card:hover .icon-glow {
  opacity: 1;
  animation: pulseGlow 2s ease-in-out infinite;
}

.about-feature-card:hover .about-feature-icon {
  transform: scale(1.1) rotate(5deg);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.about-feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.about-feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

.feature-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.4s ease;
}

.about-feature-card:hover .feature-line {
  width: 60%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-visual {
  position: relative;
}

.about-video-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-video-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  pointer-events: none;
  z-index: 1;
}

.about-video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  opacity: 0.8;
}

.about-float-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 1.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-float-card .number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-float-card .label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.about-feature:hover {
  background: rgba(124, 58, 237, 0.05);
  transform: translateX(5px);
}

.about-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.2) 0%,
    rgba(6, 182, 212, 0.15) 100%
  );
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
  transition: all 0.3s ease;
}

.about-feature:hover .about-feature-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.about-feature h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.about-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- Services Section ---------- */
.services {
  padding: 4rem 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(15, 23, 42, 0.5) 50%,
    transparent 100%
  );
}

.services-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.services-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 30, 0.8) 0%,
    rgba(30, 30, 45, 0.6) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3),
    0 0 0 1px rgba(124, 58, 237, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.service-card-content {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.2) 0%,
    rgba(6, 182, 212, 0.15) 100%
  );
  border: 1px solid rgba(124, 58, 237, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
}

.service-card:hover .service-icon {
  background: var(--gradient);
  border-color: transparent;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  padding: 0.35rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  color: var(--primary-light);
}

/* ---------- Stats Section ---------- */
.stats {
  padding: 4rem 0;
  background: radial-gradient(
      ellipse at 30% 50%,
      rgba(124, 58, 237, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse at 70% 50%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 40%
    ),
    var(--bg-darker);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.stats::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

@media (max-width: 500px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  text-align: center;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease;
}

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

.stat-number {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(124, 58, 237, 0.3);
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ---------- Customers Section ---------- */
.customers {
  padding: 4rem 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(15, 23, 42, 0.3) 50%,
    transparent 100%
  );
}

.customers-header {
  text-align: center;
  margin-bottom: 3rem;
}

.customers-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.customer-logo {
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.6;
}

.customer-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
}

.customer-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Portfolio Section ---------- */
.portfolio {
  padding: 4rem 0;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 2rem;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--bg-dark);
  background: var(--gradient);
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
}

.portfolio-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(124, 58, 237, 0.3);
  border-color: rgba(124, 58, 237, 0.4);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(3, 7, 18, 0.95) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.1);
}

.portfolio-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.portfolio-tags span {
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(15, 23, 42, 0.5) 50%,
    transparent 100%
  );
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-size: 4rem;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-dark);
}

.testimonial-info h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-info span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-nav button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.25rem;
  transition: var(--transition);
}

.testimonial-nav button:hover {
  background: var(--gradient);
  color: var(--bg-dark);
  border-color: transparent;
}

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

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  transition: var(--transition);
}

.testimonial-dot.active {
  width: 30px;
  border-radius: 5px;
  background: var(--gradient);
}

/* ---------- Contact Section ---------- */
.contact {
  padding: 4rem 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

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

.form-input,
.form-textarea,
.form-select {
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

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

.form-select {
  cursor: pointer;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 30, 0.8) 0%,
    rgba(30, 30, 45, 0.6) 100%
  );
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-card), 0 0 40px rgba(124, 58, 237, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.contact-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.2);
  transform: translateY(-5px);
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.contact-details {
  display: grid;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-info span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-item-info strong {
  font-weight: 600;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 200px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient);
  color: var(--bg-dark);
  border-color: transparent;
  transform: translateY(-3px);
}

/* ---------- Footer ---------- */
.footer {
  background: radial-gradient(
      ellipse at 50% 0%,
      rgba(124, 58, 237, 0.1) 0%,
      transparent 50%
    ),
    var(--bg-darker);
  border-top: 2px solid;
  border-image: var(--gradient) 1;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.footer-brand p {
  color: var(--text-secondary);
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

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

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

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.active > *:nth-child(1) {
  transition-delay: 0.1s;
}
.stagger-children.active > *:nth-child(2) {
  transition-delay: 0.2s;
}
.stagger-children.active > *:nth-child(3) {
  transition-delay: 0.3s;
}
.stagger-children.active > *:nth-child(4) {
  transition-delay: 0.4s;
}
.stagger-children.active > *:nth-child(5) {
  transition-delay: 0.5s;
}
.stagger-children.active > *:nth-child(6) {
  transition-delay: 0.6s;
}

.stagger-children.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Cursor Effect ---------- */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.cursor.active {
  opacity: 1;
}

.cursor.hover {
  transform: translate(-50%, -50%) scale(1.5);
  background: rgba(99, 102, 241, 0.1);
}

@media (max-width: 900px) {
  .cursor {
    display: none;
  }
}

/* ---------- Success Message ---------- */
.success-message {
  display: none;
  text-align: center;
  padding: 2rem;
}

.success-message.show {
  display: block;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: var(--text-secondary);
}
