/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #07070F;
  --bg-2:      #0C0C1A;
  --bg-card:   #111127;
  --border:    rgba(124, 58, 237, 0.18);
  --border-h:  rgba(124, 58, 237, 0.5);
  --purple:    #7C3AED;
  --purple-2:  #9333EA;
  --pink:      #C026D3;
  --white:     #F2F2FF;
  --muted:     #7A7A9A;
  --font:      'Inter', sans-serif;
  --font-2:    'Space Grotesk', sans-serif;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

@media (pointer: coarse) { body { cursor: auto; } }

a { text-decoration: none; color: inherit; }
img, iframe, video { max-width: 100%; display: block; }

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(124, 58, 237, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              border-color 0.3s, background 0.3s, opacity 0.3s;
}

.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--purple);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

.cursor.hover {
  width: 64px; height: 64px;
  background: rgba(124, 58, 237, 0.08);
  border-color: var(--purple);
}

@media (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  z-index: 9998;
  transition: width 0.1s linear;
}

/* ── UTILITY ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 120px 0; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-2);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── REVEAL ANIMATIONS ── */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  position: relative;
  white-space: nowrap;
}

@media (pointer: fine) { .btn { cursor: none; } }

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  color: #fff;
  box-shadow: 0 4px 28px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.6);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1.5px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--border-h);
  background: rgba(124, 58, 237, 0.12);
  transform: translateY(-2px);
}

.magnetic { display: inline-flex; }

/* ── LOGO IMAGE ── */
.logo-img {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-img--nav {
  height: 36px;
  width: auto;
}

.logo-img--about {
  height: 110px;
  width: auto;
  margin: 0 auto 20px;
}

.about-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-2);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (pointer: fine) { .nav-logo { cursor: none; } }

.nav-logo span {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  cursor: pointer;
  position: relative;
}

@media (pointer: fine) { .nav-links a { cursor: none; } }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--pink)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
}

.nav-cta::after { background: linear-gradient(90deg, var(--purple), var(--pink)); }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  transform-origin: center;
}

.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 28px 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, transparent 70%);
  top: -250px; left: -150px;
  animation: blobFloat1 12s ease-in-out infinite;
}

.blob-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(192,38,211,0.3) 0%, transparent 70%);
  bottom: -200px; right: -100px;
  animation: blobFloat2 15s ease-in-out infinite;
}

.blob-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: blobFloat3 10s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(50px, 40px) scale(1.05); }
  66%       { transform: translate(-30px, 20px) scale(0.97); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-40px, -30px) scale(1.08); }
  66%       { transform: translate(20px, 50px) scale(0.95); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(1.3); }
}

.particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.4;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 28px;
  background: rgba(124, 58, 237, 0.06);
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px #22c55e; transform: scale(1); }
  50%       { box-shadow: 0 0 14px #22c55e; transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-2);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

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

.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero reel / marquee */
.hero-reel {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.reel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 18s linear infinite;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.reel-track .sep { color: var(--purple); opacity: 0.5; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(124, 58, 237, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mouse-wheel {
  width: 3px; height: 8px;
  background: var(--purple);
  border-radius: 3px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  80%  { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ── ABOUT ── */
.about { background: var(--bg-2); position: relative; overflow: hidden; }

.about::before {
  content: '';
  position: absolute;
  top: 50%; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-desc {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.about-desc strong { color: var(--white); font-weight: 600; }

.about-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

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

.stat-num {
  font-family: var(--font-2);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-2);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Tilt card */
.tilt-card { transform-style: preserve-3d; }

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  text-align: center;
}

.about-card:hover {
  border-color: var(--border-h);
  box-shadow: 0 24px 80px rgba(124, 58, 237, 0.15);
}

.card-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 250px; height: 250px;
  background: var(--purple);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  pointer-events: none;
}

.avatar-ring {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  padding: 3px;
  margin: 0 auto 20px;
}

.avatar-placeholder {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-2);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}

.about-card h3 {
  font-family: var(--font-2);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-card-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.skill-tag {
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid var(--border);
  font-size: 0.73rem;
  font-weight: 600;
  color: rgba(124, 58, 237, 0.9);
  transition: all 0.2s;
}

.skill-tag:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--purple);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 100px;
  padding: 7px 16px;
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── SERVICES ── */
.services { background: var(--bg); }

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  cursor: default;
}

@media (pointer: fine) { .service-card { cursor: none; } }

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(192,38,211,0.04));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: var(--border-h);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(124, 58, 237, 0.15);
}

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

.service-number {
  font-family: var(--font-2);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(124, 58, 237, 0.4);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(192,38,211,0.15));
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative; z-index: 1;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.service-icon svg {
  width: 22px; height: 22px;
  color: var(--purple);
  transition: color 0.3s;
}

.service-card:hover .service-icon svg { color: #fff; }

.service-card h3 {
  font-family: var(--font-2);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}

.service-card p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; z-index: 1;
}

.service-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}

.service-arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--purple);
  transition: all 0.3s;
  flex-shrink: 0;
}

.service-card:hover .service-arrow {
  background: var(--purple);
  color: #fff;
  transform: rotate(45deg);
}

/* CTA service card */
.service-card-cta {
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(192,38,211,0.1));
  border-color: rgba(124, 58, 237, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.service-card-cta:hover { border-color: rgba(124,58,237,0.6); }

.cta-card-bg {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: var(--purple);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.12;
}

.cta-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  position: relative; z-index: 1;
}

.service-card-cta h3 {
  font-family: var(--font-2);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
  position: relative; z-index: 1;
  margin: 0;
}

/* ── PORTFOLIO ── */
.portfolio { background: var(--bg-2); }

.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: var(--font);
  letter-spacing: 0.02em;
}

@media (pointer: fine) { .filter-btn { cursor: none; } }

.filter-btn:hover {
  border-color: var(--border-h);
  color: var(--white);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

/* Video grid — 3 portrait columns on desktop */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  cursor: default;
}

@media (pointer: fine) { .video-card { cursor: none; } }

.video-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(124, 58, 237, 0.2);
  border-color: var(--border-h);
}

.video-card.hidden { display: none; }

.video-card.fade-in {
  animation: videoReveal 0.5s var(--ease) forwards;
}

@keyframes videoReveal {
  from { opacity: 0; transform: scale(0.95) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Default: 9:16 portrait (1080×1920) */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%;
  overflow: hidden;
  background: #0a0a18;
}

/* Wide variant: 16:9 (YouTube longform) */
.video-wrapper--wide { padding-bottom: 56.25%; }

/* Square variant: 1:1 */
.video-wrapper--square { padding-bottom: 100%; }

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
  pointer-events: none;
}

.video-card:hover .video-wrapper iframe { pointer-events: auto; }

.video-thumb-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.video-thumb-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── VIDEO LIGHTBOX ── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.video-modal-inner {
  position: relative;
  z-index: 1;
  width: min(88vw, 380px);
  aspect-ratio: 9 / 16;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.open .video-modal-inner {
  transform: scale(1);
}

.video-modal-inner.wide {
  width: min(90vw, 900px);
  aspect-ratio: 16 / 9;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.video-modal-frame {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
}

.video-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 7, 15, 0.45);
  transition: opacity 0.35s ease;
  backdrop-filter: blur(2px);
}

.play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(124, 58, 237, 0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.play-btn svg {
  width: 20px; height: 20px;
  color: white;
  margin-left: 3px;
}

.video-card:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 0 16px rgba(124, 58, 237, 0.1);
}

.video-card:hover .video-overlay { opacity: 0; pointer-events: none; }

.video-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.video-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple);
}

.video-title {
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-2);
  color: var(--white);
}

/* ── CONTACT / CTA ── */
.contact {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-blob-1 {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
}

.contact-blob-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,38,211,0.08) 0%, transparent 65%);
  top: 20%; right: 10%;
  filter: blur(60px);
  animation: blobFloat2 12s ease-in-out infinite;
}

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-2);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.contact-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 48px;
}

/* Big WhatsApp button */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 40px;
  border-radius: 18px;
  font-family: var(--font-2);
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.5);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

@media (pointer: fine) { .wa-btn { cursor: none; } }

.wa-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.wa-btn:hover::before { opacity: 1; }
.wa-btn > * { position: relative; z-index: 1; }

.wa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 60px rgba(124, 58, 237, 0.7);
}

.wa-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-icon svg { width: 20px; height: 20px; }

.wa-arrow {
  width: 20px; height: 20px;
  transition: transform 0.3s var(--ease);
}

.wa-btn:hover .wa-arrow { transform: translateX(4px); }

.contact-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.25s;
  cursor: pointer;
}

@media (pointer: fine) { .social-pill { cursor: none; } }

.social-pill:hover {
  border-color: var(--border-h);
  color: var(--white);
  background: rgba(124, 58, 237, 0.08);
  transform: translateY(-2px);
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

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

.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.25s;
  cursor: pointer;
}

@media (pointer: fine) { .footer-socials a { cursor: none; } }

.footer-socials a svg { width: 16px; height: 16px; }

.footer-socials a:hover {
  border-color: var(--purple);
  color: var(--white);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}

/* ── RESPONSIVE — TABLET (960px) ── */
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual { order: -1; }

  .about-card {
    max-width: 480px;
    margin: 0 auto;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .video-grid { grid-template-columns: repeat(2, 1fr); }

  .nav { padding: 0 24px; }

  .section { padding: 90px 0; }
}

/* ── RESPONSIVE — MOBILE (640px) ── */
@media (max-width: 640px) {
  /* Nav */
  .nav { padding: 0 16px; height: 64px; }
  .nav-logo { font-size: 1.1rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(7, 7, 15, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 28px 20px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
    flex-direction: column;
  }

  .nav-links.open { display: flex; }
  .nav-links.open a { font-size: 1.1rem; }
  .burger { display: flex; }

  /* Hero */
  .hero { padding: 100px 20px 80px; }
  .hero-title { letter-spacing: -0.02em; }
  .hero-eyebrow { font-size: 0.7rem; padding: 7px 14px; }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 15px 24px;
  }

  /* About */
  .about-stats { gap: 20px; }
  .stat-num { font-size: 2rem; }
  .about-card { padding: 28px 20px; }

  /* Sections */
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 40px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px; }
  .service-card-cta h3 { font-size: 1.2rem; }

  /* Portfolio */
  .video-grid { grid-template-columns: 1fr; gap: 16px; }
  .filter-tabs { gap: 6px; }
  .filter-btn { padding: 8px 16px; font-size: 0.78rem; }

  /* Contact */
  .wa-btn {
    padding: 16px 24px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
  .contact-sub { font-size: 0.92rem; }

  /* Footer */
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-copy { order: 2; }
  .footer-socials { order: 3; }
}

/* ── RESPONSIVE — SMALL MOBILE (400px) ── */
@media (max-width: 400px) {
  .hero-title { font-size: clamp(2.4rem, 13vw, 3.5rem); }
  .hero-sub br { display: none; }
  .hero-btns .btn { max-width: 100%; }
  .about-stats { flex-direction: column; gap: 16px; }
  .filter-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .filter-btn { flex-shrink: 0; }
}
