/* ============================================================
   ALEXANDR PORTFOLIO — MAIN STYLESHEET
   Gradient system inspired by FusionAI / Lovable.dev
   ============================================================ */

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

:root {
  --black:        #060608;
  --dark:         #0d0d12;
  --dark-2:       #13131a;
  --dark-3:       #1a1a24;
  --border:       rgba(255,255,255,0.07);
  --border-grad:  rgba(120,80,255,0.25);

  /* Gradient palette */
  --g-purple:     #7c3aed;
  --g-cyan:       #00d4ff;
  --g-blue:       #3b82f6;
  --g-pink:       #ec4899;
  --g-orange:     #f97316;

  /* Gradient definitions */
  --grad-primary:      linear-gradient(135deg, #7c3aed 0%, #00d4ff 50%, #3b82f6 100%);
  --grad-warm:         linear-gradient(135deg, #f97316 0%, #ec4899 100%);
  --grad-cta:          linear-gradient(135deg, #7c3aed 0%, #00d4ff 100%);
  --grad-text:         linear-gradient(135deg, #a78bfa 0%, #00d4ff 50%, #60a5fa 100%);
  --grad-border:       linear-gradient(135deg, rgba(124,58,237,0.6) 0%, rgba(0,212,255,0.6) 100%);
  --grad-glow-purple:  rgba(124,58,237,0.3);
  --grad-glow-cyan:    rgba(0,212,255,0.2);

  /* Legacy compat */
  --cyan:         #00d4ff;
  --cyan-dim:     rgba(0,212,255,0.1);
  --cyan-glow:    rgba(0,212,255,0.25);

  --white:        #ffffff;
  --gray:         #9090a8;
  --gray-light:   #c8c8d8;
  --font-main:    'Space Grotesk', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { cursor: none; border: none; background: none; font-family: inherit; }

/* ---- Gradient text utility ---- */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Custom Cursor ---- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px;
  background: var(--grad-cta);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.1s, width 0.3s, height 0.3s;
}
.cursor-follower {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(124,58,237,0.5);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.15s ease, width 0.3s, height 0.3s, opacity 0.3s;
}
body.cursor-hover .cursor { width: 14px; height: 14px; }
body.cursor-hover .cursor-follower { width: 56px; height: 56px; opacity: 0.6; border-color: rgba(0,212,255,0.5); }

/* ---- Container ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---- Navigation ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(6,6,8,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(124,58,237,0.15);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-main); font-weight: 700; font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-text { color: var(--white); }
.logo-dot {
  width: 7px; height: 7px;
  background: var(--grad-cta);
  border-radius: 50%;
  margin-bottom: 2px;
  animation: dotPulse 3s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0.6); }
  50% { box-shadow: 0 0 0 4px rgba(0,212,255,0.0); }
}
.nav-links {
  display: flex; gap: 32px; list-style: none; margin-left: auto;
}
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--gray);
  transition: color var(--transition); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--grad-cta);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
  margin-left: 8px; padding: 10px 22px;
  background: var(--grad-cta);
  color: var(--white);
  border-radius: 100px; font-size: 13px; font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  position: relative; overflow: hidden;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  opacity: 0; transition: opacity var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(124,58,237,0.45); }
.nav-cta:hover::before { opacity: 1; }
.nav-cta span { position: relative; z-index: 1; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.4s cubic-bezier(0.77,0,0.18,1), opacity 0.3s ease; }
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile Menu ---- */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

/* Animated background panels */
.mobile-menu::before,
.mobile-menu::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--black);
  transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.77,0,0.18,1);
  z-index: -1;
}
.mobile-menu::after {
  background: var(--dark);
  transition-delay: 0.06s;
}
.mobile-menu.open::before,
.mobile-menu.open::after {
  transform: translateY(0);
}

/* Gradient accent line at top */
.mobile-menu .menu-accent-line {
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.77,0,0.18,1) 0.3s;
}
.mobile-menu.open .menu-accent-line {
  transform: scaleX(1);
}

.mobile-menu { pointer-events: none; }
.mobile-menu.open { pointer-events: all; }

.mobile-menu ul {
  list-style: none; text-align: center;
  position: relative; z-index: 1;
}
.mobile-menu li {
  overflow: hidden;
}
.mobile-link {
  display: block;
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 700; font-family: var(--font-main);
  color: var(--white); padding: 10px 0;
  letter-spacing: -0.02em;
  transform: translateY(60px);
  opacity: 0;
  transition: color var(--transition), transform 0.5s cubic-bezier(0.77,0,0.18,1), opacity 0.5s ease;
}
.mobile-menu.open .mobile-link {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu.open li:nth-child(1) .mobile-link { transition-delay: 0.18s; }
.mobile-menu.open li:nth-child(2) .mobile-link { transition-delay: 0.24s; }
.mobile-menu.open li:nth-child(3) .mobile-link { transition-delay: 0.30s; }
.mobile-menu.open li:nth-child(4) .mobile-link { transition-delay: 0.36s; }
.mobile-link:hover {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Close state — links slide back down */
.mobile-menu:not(.open) .mobile-link {
  transform: translateY(60px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-size: 15px; font-weight: 600; font-family: var(--font-main);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: none; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--grad-cta);
  color: var(--white);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  opacity: 0; transition: opacity var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(124,58,237,0.45); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid rgba(124,58,237,0.35);
}
.btn-ghost:hover {
  border-color: rgba(0,212,255,0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.1);
}
.btn-full { width: 100%; justify-content: center; }

/* ---- Section Labels & Titles ---- */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 1px;
  background: var(--grad-cta);
  -webkit-text-fill-color: unset;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-main); font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* ---- Reveal Animations ---- */
.reveal-up { opacity: 0; transform: translateY(40px); }
.reveal-scale { opacity: 0; transform: scale(0.92); }

/* ============================================================
   HERO — Animated Aurora Background
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding: 120px 80px 80px;
  overflow: hidden;
}

/* Aurora gradient background — smooth orb animation via pseudo-elements */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}

/* Orb 1 — purple, top-left */
.hero::after {
  content: '';
  position: absolute; z-index: 0;
  width: 70vw; height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, transparent 70%);
  top: -20%; left: -15%;
  filter: blur(60px);
  animation: orbFloat1 20s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orbFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(8vw, 6vh) scale(1.1); }
  50%  { transform: translate(4vw, 12vh) scale(0.95); }
  75%  { transform: translate(-4vw, 5vh) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Orb 2 — cyan, top-right */
.hero-orb-cyan {
  position: absolute; z-index: 0;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.22) 0%, transparent 70%);
  top: -25%; right: -10%;
  filter: blur(70px);
  animation: orbFloat2 25s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orbFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  30%  { transform: translate(-6vw, 8vh) scale(1.08); }
  60%  { transform: translate(-10vw, 3vh) scale(0.92); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Orb 3 — blue, bottom-right */
.hero-orb-blue {
  position: absolute; z-index: 0;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
  bottom: -20%; right: 5%;
  filter: blur(80px);
  animation: orbFloat3 30s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orbFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(-8vw, -5vh) scale(1.12); }
  70%  { transform: translate(-3vw, -10vh) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Noise texture */
.hero-noise {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
}

/* Grid lines */
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-content { position: relative; z-index: 2; }

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(0,212,255,0.1) 100%);
  border: 1px solid rgba(124,58,237,0.3);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 32px;
  opacity: 0;
  color: var(--gray-light);
}
.hero-label-dot {
  width: 6px; height: 6px;
  background: var(--grad-cta);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(0,212,255,0.5); }
  50% { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 4px rgba(0,212,255,0); }
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900; line-height: 1.0; letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-line { display: block; overflow: hidden; }
.hero-word { display: inline-block; opacity: 0; transform: translateY(100%); }
.hero-accent {
  background: linear-gradient(
    105deg,
    #a78bfa 0%,
    #00d4ff 30%,
    #ffffff 48%,
    #00d4ff 55%,
    #60a5fa 75%,
    #a78bfa 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerSweep 3s ease-in-out infinite;
}
@keyframes shimmerSweep {
  0%   { background-position: 200% center; }
  60%  { background-position: -50% center; }
  100% { background-position: -50% center; }
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 18px); color: var(--gray);
  line-height: 1.7; margin-bottom: 40px;
  opacity: 0; transform: translateY(20px);
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  margin-bottom: 56px;
}

.hero-stats {
  display: flex; align-items: center; gap: 32px;
  opacity: 0; transform: translateY(20px);
}
.stat { text-align: left; }
.stat-num {
  font-family: var(--font-main); font-size: 36px; font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em; line-height: 1;
}
.stat-plus {
  font-size: 20px; font-weight: 700;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { display: block; font-size: 12px; color: var(--gray); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, rgba(124,58,237,0.4), transparent); }

/* Hero Reel */
.hero-reel {
  position: relative; z-index: 2;
  opacity: 0; transform: translateX(60px) scale(0.95);
}
.hero-reel-inner {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(124,58,237,0.25);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 60px rgba(124,58,237,0.12);
  aspect-ratio: 16/9;
}
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-reel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
}
.hero-reel-label {
  position: absolute; bottom: 16px; left: 16px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.75);
  background: rgba(6,6,8,0.6); backdrop-filter: blur(10px);
  padding: 6px 12px; border-radius: 100px;
  border: 1px solid rgba(124,58,237,0.2);
}
.reel-dot {
  width: 5px; height: 5px;
  background: var(--grad-cta);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Hero play button (mobile only) */
.hero-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: none;
  flex-direction: column; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  color: white; font-family: var(--font-main); font-size: 13px;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform 0.2s ease;
}
.hero-play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
.hero-play-btn svg { filter: drop-shadow(0 2px 12px rgba(124,58,237,0.7)); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 80px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); opacity: 0;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(124,58,237,0.6), transparent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   MARQUEE — seamless infinite scroll
   ============================================================ */
.marquee-section {
  border-top: 1px solid rgba(124,58,237,0.12);
  border-bottom: 1px solid rgba(124,58,237,0.12);
  padding: 18px 0;
  overflow: hidden;
  background: var(--dark);
}
.marquee-track {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee 28s linear infinite;
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--gray);
  padding-right: 28px;
}
.marquee-dot {
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 10px;
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 120px 0;
  background: linear-gradient(to bottom, var(--black), var(--dark));
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.about-text {
  font-size: 17px; color: var(--gray-light); line-height: 1.8;
  margin-bottom: 20px;
}
.about-clients { margin-top: 32px; }
.clients-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gray); display: block; margin-bottom: 12px;
}
.clients-list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.clients-list span {
  font-size: 13px; font-weight: 500;
  background: var(--dark-3);
  border: 1px solid rgba(124,58,237,0.15);
  padding: 6px 14px; border-radius: 100px; color: var(--gray-light);
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.clients-list span:hover {
  border-color: rgba(0,212,255,0.4);
  color: var(--white);
  box-shadow: 0 0 12px rgba(0,212,255,0.08);
}

/* About Photo */
.about-photo-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(124,58,237,0.2); margin-bottom: 24px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 40px rgba(124,58,237,0.08);
}
.about-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center top; }
.about-photo-tag {
  position: absolute; bottom: 16px; left: 16px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.8);
  background: rgba(6,6,8,0.65); backdrop-filter: blur(10px);
  padding: 6px 12px; border-radius: 100px;
  border: 1px solid rgba(124,58,237,0.2);
}

/* Services Grid */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.service-card {
  background: var(--dark-3);
  border: 1px solid rgba(124,58,237,0.12);
  border-radius: var(--radius); padding: 20px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, rgba(0,212,255,0.04) 100%);
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 20px rgba(124,58,237,0.1);
}
.service-card:hover::before { opacity: 1; }
.service-icon { margin-bottom: 12px; }
.service-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; font-family: var(--font-main); }
.service-card p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ============================================================
   PORTFOLIO / WORK
   ============================================================ */
.work {
  padding: 120px 0;
  background: var(--dark);
}
.work-header { margin-bottom: 48px; }
.work-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 100px; font-size: 13px; font-weight: 500;
  border: 1px solid rgba(124,58,237,0.2); color: var(--gray);
  transition: all var(--transition); cursor: none;
  background: transparent;
}
.filter-btn:hover {
  border-color: rgba(0,212,255,0.4); color: var(--white);
}
.filter-btn.active {
  background: var(--grad-cta); color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}

/* Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.work-item--wide { grid-column: span 2; }

.work-item {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.4s, transform 0.4s;
}
.work-item.hidden { display: none; }
.work-item.hidden-overflow { display: none; }

.work-thumb {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid rgba(124,58,237,0.1); aspect-ratio: 16/10;
  background: var(--dark-3);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.work-item--wide .work-thumb { aspect-ratio: 21/9; }
.work-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 30px rgba(124,58,237,0.15);
  border-color: rgba(0,212,255,0.25);
}

.work-thumb img, .work-thumb video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.work-thumb:hover img { transform: scale(1.05); }

/* Video thumbnails */
.work-thumb--video .thumb-video {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.4s;
}
.work-thumb--video:hover .thumb-video { opacity: 1; }
.work-thumb--video:hover .thumb-img { opacity: 0; }

.play-icon {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(6,6,8,0.65); backdrop-filter: blur(8px);
  border: 1px solid rgba(124,58,237,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.work-thumb:hover .play-icon {
  background: var(--grad-cta);
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(124,58,237,0.5);
  border-color: transparent;
}

/* Work overlay */
.work-overlay {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to top, rgba(6,6,8,0.95) 0%, rgba(6,6,8,0.3) 50%, transparent 100%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 20px;
}
.work-thumb:hover .work-overlay { opacity: 1; }
.work-info { transform: translateY(12px); transition: transform var(--transition); }
.work-thumb:hover .work-info { transform: translateY(0); }
.work-cat {
  display: inline-block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.work-info h3 { font-size: 16px; font-weight: 700; font-family: var(--font-main); margin-bottom: 6px; }
.work-info p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.4; }
.work-link { color: var(--cyan); text-decoration: underline; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 120px 0;
  background: linear-gradient(to bottom, var(--dark), var(--black));
}
.testimonials-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 48px; overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.testimonial-card {
  background: var(--dark-3);
  border: 1px solid rgba(124,58,237,0.12);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-cta);
  opacity: 0; transition: opacity var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(0,212,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 20px rgba(124,58,237,0.08);
}
.testimonial-card:hover::before { opacity: 1; }
.testimonial-stars {
  font-size: 14px; margin-bottom: 16px; letter-spacing: 2px;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.testimonial-card blockquote {
  font-size: 15px; color: var(--gray-light); line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(0,212,255,0.15) 100%);
  border: 1px solid rgba(124,58,237,0.3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  background-clip: padding-box;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; font-weight: 600; }
.testimonial-author span { font-size: 12px; color: var(--gray); }

.testimonials-nav {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 32px;
}
.t-nav-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.2); color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); cursor: none;
}
.t-nav-btn:hover {
  border-color: rgba(0,212,255,0.4); color: var(--white);
  box-shadow: 0 0 16px rgba(0,212,255,0.1);
}
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(124,58,237,0.25); transition: all var(--transition); cursor: none;
}
.t-dot.active {
  background: var(--grad-cta);
  width: 20px; border-radius: 3px;
  box-shadow: 0 0 8px rgba(124,58,237,0.5);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 120px 0;
  background: var(--black);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start;
}
.contact-text { font-size: 17px; color: var(--gray-light); line-height: 1.8; margin-bottom: 32px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 500;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: gap var(--transition);
}
.contact-link:hover { gap: 14px; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--gray); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-3);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: var(--radius); padding: 14px 16px;
  color: var(--white); font-size: 15px; font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.08);
}
.form-group select option { background: var(--dark-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(124,58,237,0.1);
  background: var(--black);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-brand p { font-size: 13px; color: var(--gray); margin-top: 4px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 14px; color: var(--gray); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-copy p { font-size: 13px; color: rgba(255,255,255,0.25); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(6,6,8,0.96); backdrop-filter: blur(24px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px; z-index: 10;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), box-shadow var(--transition); cursor: none;
}
.lightbox-close:hover {
  background: rgba(124,58,237,0.3);
  box-shadow: 0 0 20px rgba(124,58,237,0.3);
}

/* Prev / Next nav buttons */
.lightbox-nav {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: none;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-nav:hover {
  background: rgba(124,58,237,0.5);
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
  transform: translateY(-50%) scale(1.08);
}
@media (max-width: 768px) {
  .lightbox-nav { display: none; }
}

/* Counter */
.lightbox-counter {
  position: absolute; bottom: 60px; left: 50%;
  transform: translateX(-50%);
  font-size: 13px; color: rgba(255,255,255,0.5);
  font-family: var(--font-main); letter-spacing: 0.05em;
  pointer-events: none;
}

/* Swipe hint — mobile only */
.lightbox-swipe-hint {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.45);
  font-family: var(--font-main); letter-spacing: 0.05em;
  pointer-events: none;
  animation: hintFade 3s ease-in-out forwards;
}
@keyframes hintFade {
  0%   { opacity: 0; transform: translateX(-50%) translateY(6px); }
  20%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  70%  { opacity: 1; }
  100% { opacity: 0; }
}
@media (max-width: 768px) {
  .lightbox-swipe-hint { display: flex; }
  .lightbox-counter { bottom: 52px; }
}

.lightbox-content { max-width: 90vw; max-height: 82vh; }
.lightbox-content img,
.lightbox-content video { max-width: 90vw; max-height: 82vh; border-radius: var(--radius); }

/* ============================================================
   PORTFOLIO SECTION HEADERS
   ============================================================ */
.portfolio-section-header {
  margin-bottom: 28px;
}
.portfolio-section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-main); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(124,58,237,0.15);
  width: 100%;
}
.portfolio-section-label svg {
  color: var(--g-purple);
  flex-shrink: 0;
  -webkit-text-fill-color: unset;
}

/* ============================================================
   VIDEO GRID
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.video-item {
  opacity: 0; transform: translateY(30px);
}
.video-item .work-thumb {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  border: 1px solid rgba(124,58,237,0.1);
  overflow: hidden;
  background: var(--dark-3);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.video-item .work-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 24px rgba(124,58,237,0.15);
  border-color: rgba(0,212,255,0.25);
}

/* ============================================================
   GRAPHICS — Masonry columns (no gaps)
   ============================================================ */
.graphics-grid {
  columns: 4;
  column-gap: 8px;
}
.graphic-tile {
  display: inline-block;
  width: 100%;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(124,58,237,0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  break-inside: avoid;
  vertical-align: top;
}
.graphic-tile:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(124,58,237,0.12);
  border-color: rgba(0,212,255,0.2);
}
.graphic-thumb {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
}
.graphic-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.graphic-tile:hover .graphic-thumb img {
  transform: scale(1.04);
}

/* ============================================================
   LOAD MORE
   ============================================================ */
.load-more-wrap {
  text-align: center; margin-top: 48px;
}
.load-more-btn {
  padding: 14px 40px; font-size: 15px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding: 120px 40px 80px; gap: 40px; }
  .hero-reel { max-width: 600px; }
  .hero-scroll-hint { left: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-track { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .graphics-grid { columns: 3; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .hero { padding: 100px 24px 60px; }
  .video-grid { grid-template-columns: 1fr; }
  .graphics-grid { columns: 2; }
  .hero-scroll-hint { left: 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 24px; justify-content: space-between; }
  .hero-play-btn { display: flex; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item--wide { grid-column: span 1; }
  .work-item--wide .work-thumb { aspect-ratio: 16/10; }
  .testimonials-track { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 28px; }
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
  button { cursor: pointer; }
  a { cursor: pointer; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(36px, 10vw, 56px); }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.magnetic { position: relative; }
::selection { background: rgba(124,58,237,0.5); color: var(--white); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,0.6); }
