/* ============================================
   KREATIVE DIGITAL VISION AGENCY
   Custom CSS — Glow, Animations, Particles
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg-dark: #0a0a0f;
  --bg-surface: #1a1a2e;
  --primary: #8b5cf6;
  --secondary: #d946ef;
  --text-main: #ffffff;
  --text-muted: #a0a0b0;
  --gradient-main: linear-gradient(135deg, #d946ef, #8b5cf6, #6d28d9);
  --gradient-glow: linear-gradient(135deg, #d946ef, #8b5cf6);
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Global Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

::selection {
  background: rgba(139, 92, 246, 0.4);
  color: #fff;
}

/* ---------- Scroll Progress Bar ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-main);
  z-index: 9999;
  transition: none;
}

/* ---------- PRELOADER (3-Sequence) ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#preloader-bg {
  position: absolute;
  inset: 0;
  background-color: #050508;
  z-index: 1;
  will-change: transform, background-color;
  transform-origin: top center;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}

#preloader-header {
  display: flex;
  align-items: center;
  gap: 14px;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

#preloader-logo {
  display: flex;
}

#preloader-brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

#preloader-text-wrap {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100vw;
  overflow: hidden;
}

#preloader-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  font-family: 'Inter', monospace;
  will-change: transform, opacity;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ── Preloader Keyframe Animations ── */
@keyframes headerShrinkUp {
  0%   { transform: translateX(0px) translateY(0) scale(1); }
  100% { transform: translateX(0px) translateY(var(--target-y)) scale(var(--final-s, 0.6)); }
}

@keyframes textGrow {
  0%   { transform: scale(1); letter-spacing: 0.25em; color: rgba(255,255,255,0.45); }
  50%  { transform: scale(1.65); }
  70%  { transform: scale(1.42); }
  100% { transform: scale(1.5); letter-spacing: 0.35em; color: rgba(255,255,255,0.8); }
}

@keyframes textExplode {
  0%   { transform: scale(1.15); opacity: 0.6; letter-spacing: 0.18em; }
  30%  { transform: scale(1.35); opacity: 0.5; }
  100% { transform: scale(3.2); opacity: 0; letter-spacing: 0.7em; }
}

/* ---------- Navbar (Transparent Overlay) ---------- */
.navbar-inner {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled .navbar-inner {
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-pill {
  position: relative;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 12.5px !important;
  letter-spacing: 0.1em !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.nav-pill:hover {
  color: #fff !important;
  border-bottom-color: rgba(139, 92, 246, 0.5);
  background: transparent;
}

.nav-pill.active {
  color: #fff !important;
  border-bottom-color: var(--primary);
  background: transparent;
}

/* Navbar right-side icon links — same readability boost */
#navbar a[aria-label="Contact"] {
  color: rgba(255, 255, 255, 0.92) !important;
}
#navbar a[aria-label="Contact"]:hover {
  color: #fff !important;
}

/* Brand text in navbar — make it pop on video bg */
#navbar a > span {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.5s var(--transition-smooth);
}
.mobile-menu.open {
  transform: translateX(0);
}

/* Hamburger animation */
.hamburger span {
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Hero Section ---------- */
.hero-video-overlay {
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.3) 0%,
    rgba(10, 10, 15, 0.1) 40%,
    rgba(10, 10, 15, 0.4) 80%,
    rgba(10, 10, 15, 0.95) 100%
  );
}

.hero-title {
}

/* Hide hero text content while preloader is running (revealed after preloader exit) */
body.preloader-active,
body.preloader-locking {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}
html.preloader-lock {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}
body.preloader-active #hero .relative.z-20 {
  opacity: 0 !important;
  pointer-events: none;
}
body.preloader-active #navbar {
  pointer-events: none;
}
#hero .relative.z-20 {
  transition: opacity 0.4s ease;
}

/* Scroll indicator bounce */
.scroll-indicator {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50% { transform: translate(-50%, 12px); opacity: 1; }
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  padding: 2px;
  background: conic-gradient(from var(--glow-angle, 0deg), transparent 60%, var(--primary) 80%, var(--secondary) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover::before {
  opacity: 1;
  animation: glowSpin 3s linear infinite;
}

.glass-card:hover {
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.2), 0 0 80px rgba(217, 70, 239, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
}

/* ---------- 3D Tilt ---------- */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card .tilt-inner {
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
}

/* ---------- Gradient Glow Border Animation ---------- */
@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes glowSpin {
  to { --glow-angle: 360deg; }
}

/* ---------- Section Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.10s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.20s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.30s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.40s; }

/* ---------- Horizontal Scroll Portfolio ---------- */
.horizontal-scroll-wrapper {
  position: relative;
  overflow: hidden;
}

.horizontal-scroll-track {
  display: flex;
  gap: 2rem;
  will-change: transform;
}

.portfolio-card {
  flex-shrink: 0;
  width: 400px;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .overlay {
  opacity: 1;
}

/* ---------- Contact Form ---------- */
.form-input {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* ---------- Floating Particles ---------- */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Glow Divider ---------- */
.glow-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary), var(--secondary), var(--primary), transparent);
  opacity: 0.4;
}

/* ---------- Lang Toggle ---------- */
.lang-toggle {
  position: relative;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 9999px;
  padding: 2px;
  display: inline-flex;
}

.lang-toggle .lang-option {
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.lang-toggle .lang-option.active {
  background: var(--primary);
  color: #fff;
}

.lang-globe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.10);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.lang-globe:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(139, 92, 246, 0.5);
  color: #fff;
}

.lang-globe svg {
  flex-shrink: 0;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 1024px) {
  /* Tablet: tone down decorative blobs for perf */
  .footer-blob-1 { width: 360px; height: 360px; filter: blur(70px); }
  .footer-blob-2 { width: 420px; height: 420px; filter: blur(70px); }
}

@media (max-width: 768px) {
  /* Section spacing */
  section { padding-left: 0 !important; padding-right: 0 !important; }
  section > .max-w-7xl,
  section > div > .max-w-7xl { padding-left: 1rem; padding-right: 1rem; }

  /* Hero */
  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
  }
  #hero p {
    font-size: 0.95rem !important;
    padding: 0 0.5rem;
  }
  .scroll-indicator { bottom: 1.25rem !important; }
  .scroll-indicator span { font-size: 0.65rem !important; }

  /* Section heading */
  section h2 {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    line-height: 1.2 !important;
  }
  section .text-center.mb-16 { margin-bottom: 2.5rem !important; }

  /* Glass cards: tighter padding + remove conic border (perf) */
  .glass-card { padding: 1.5rem !important; border-radius: 14px; }
  .glass-card::before { display: none; }
  .glass-card .w-14.h-14 { width: 3rem !important; height: 3rem !important; margin-bottom: 1rem !important; }
  .glass-card h3 { font-size: 1.05rem !important; }
  .glass-card p { font-size: 0.85rem !important; }

  /* Portfolio cards */
  .portfolio-card { width: 280px !important; height: 360px !important; }

  /* Disable expensive decorative animations on mobile */
  .preloader-orb { display: none; }
  #particles-canvas { opacity: 0.4; }

  /* Navbar */
  #navbar .navbar-inner { padding-left: 1rem !important; padding-right: 1rem !important; height: 3.25rem !important; }
  #navbar img { width: 2.25rem !important; height: 2.25rem !important; }
  .hamburger { padding: 0.5rem !important; }
  .hamburger span { width: 1.5rem; }
  /* Touch-friendly tap targets */
  .mobile-menu a { padding: 0.5rem 1rem; min-height: 44px; display: inline-flex; align-items: center; }

  /* CTA button — full width */
  #hero .mt-10 a {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    text-align: center;
    padding: 1rem 1.5rem !important;
  }

  /* Footer modern */
  .footer-modern .pt-20 { padding-top: 3rem !important; }
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem !important;
    margin-bottom: 2.5rem !important;
    gap: 1.25rem !important;
    border-radius: 20px;
  }
  .footer-cta-text h3 { font-size: 1.25rem !important; }
  .footer-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem !important;
  }
  .footer-blob-1 { width: 260px; height: 260px; top: -80px; left: -80px; filter: blur(60px); opacity: 0.25; }
  .footer-blob-2 { width: 300px; height: 300px; bottom: -120px; right: -80px; filter: blur(60px); opacity: 0.25; }
  .footer-grid-overlay { background-size: 40px 40px; opacity: 0.3; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; margin-top: 2.5rem !important; padding-top: 1.5rem !important; }

  /* Footer columns: tighter spacing */
  .footer-modern .grid.md\:grid-cols-12 { gap: 2rem !important; }
  .footer-col-title { margin-bottom: 0.875rem !important; font-size: 0.7rem; }

  /* Contact form: tighter padding + iOS zoom fix (16px min) */
  .form-input { padding: 0.875rem 1rem !important; font-size: 16px !important; }
  #contact-form button[type="submit"] { padding: 1rem 1.5rem !important; }

  /* Glow divider — narrower */
  .glow-divider { max-width: 90% !important; }
}

@media (max-width: 480px) {
  /* Extra-small phones */
  .portfolio-card { width: 240px !important; height: 320px !important; }

  .hero-title {
    font-size: clamp(1.5rem, 9vw, 2rem) !important;
  }
  #hero p { font-size: 0.875rem !important; }

  /* Footer CTA tighter */
  .footer-cta { padding: 1.5rem 1.25rem !important; border-radius: 18px; }
  .footer-cta-text .label { font-size: 0.65rem !important; }
  .footer-cta-text h3 { font-size: 1.1rem !important; }

  /* Footer brand */
  .footer-modern h3, .footer-modern h4 { font-size: 0.75rem; }
  .footer-social { width: 40px !important; height: 40px !important; border-radius: 12px; }

  /* Mobile menu links smaller */
  .mobile-menu a { font-size: 1.5rem !important; }

  /* Section vertical padding */
  section.py-24 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  section.sm\:py-32 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
}

/* Landscape phones — keep hero readable */
@media (max-height: 480px) and (orientation: landscape) {
  #hero { min-height: 100vh; }
  .hero-title { font-size: 1.75rem !important; }
  #hero p { font-size: 0.85rem !important; margin-top: 0.75rem !important; }
  #hero .mt-10 { margin-top: 1.25rem !important; }
  .scroll-indicator { display: none; }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .footer-blob-1, .footer-blob-2 { animation: none !important; }
}

/* ---------- Utility Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
  50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.6), 0 0 60px rgba(217, 70, 239, 0.3); }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }

/* ============================================================
   MOBILE PRELOADER FIXES
   ============================================================ */
@media (max-width: 768px) {
  #preloader-brand {
    font-size: 14px;
    letter-spacing: 0.12em;
  }
  #preloader-logo svg {
    width: 80px !important;
    height: 80px !important;
  }
  #preloader-text {
    font-size: 11px;
    letter-spacing: 0.18em;
  }
  #preloader-text-wrap {
    height: 32px;
    max-width: 100vw;
    overflow: hidden;
  }
  .preloader-inner {
    gap: 24px;
    padding: 0 12px;
    max-width: 100vw;
  }
  /* Prevent horizontal scroll while preloader is active (scaled text may overflow) */
  body.preloader-active,
  body.preloader-locking {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  #preloader-brand {
    font-size: 12px;
  }
  #preloader-logo svg {
    width: 64px !important;
    height: 64px !important;
  }
  #preloader-text {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 360px) {
  #preloader-text {
    font-size: 7px;
    letter-spacing: 0.08em;
  }
  #preloader-logo svg {
    width: 56px !important;
    height: 56px !important;
  }
}

/* ============================================================
   MODERN FOOTER
   ============================================================ */
.footer-modern {
  position: relative;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0) 0%, rgba(10, 8, 20, 0.85) 30%, rgba(15, 10, 30, 0.95) 100%),
    var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  isolation: isolate;
}

.footer-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.footer-blob-1 {
  top: -120px;
  left: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.9) 0%, rgba(139, 92, 246, 0) 70%);
  animation: float 9s ease-in-out infinite;
}

.footer-blob-2 {
  bottom: -180px;
  right: -120px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.8) 0%, rgba(217, 70, 239, 0) 70%);
  animation: float 11s ease-in-out infinite reverse;
}

.footer-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

/* CTA Banner */
.footer-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 48px;
  margin-bottom: 80px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(217, 70, 239, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.footer-cta-text {
  flex: 1;
  position: relative;
  z-index: 1;
}

.footer-cta-text .label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-cta-text h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}

.footer-cta-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 9999px;
  background: var(--gradient-main);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.55);
}

.footer-cta-btn svg {
  transition: transform 0.3s ease;
}

.footer-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Footer column titles */
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

/* Footer links */
.footer-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color 0.25s ease, transform 0.25s ease;
  position: relative;
}

.footer-link::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--gradient-main);
  margin-right: 0;
  transition: width 0.3s ease, margin-right 0.3s ease;
}

.footer-link:hover {
  color: #fff;
}

.footer-link:hover::before {
  width: 16px;
  margin-right: 10px;
}

/* Social icons */
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s ease;
}

.footer-social:hover {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.4);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .crafted {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    margin-bottom: 56px;
    gap: 24px;
  }
  .footer-cta-btn {
    width: 100%;
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
