/* ============================================
   BENGX CREATIVE AGENCY — ENHANCED STYLESHEET
   Dark, Premium, Startup-focused
   + 3D Effects, Depth Animations, Motion
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ============ CSS VARIABLES ============ */
:root {
  --black: #0B0B0F;
  --black-2: #111116;
  --black-3: #1a1a22;
  --teal: #00C9A7;
  --teal-dim: rgba(0, 201, 167, 0.12);
  --teal-mid: rgba(0, 201, 167, 0.25);
  --white: #FFFFFF;
  --grey: #888888;
  --grey-dim: #444450;
  --border: rgba(255,255,255,0.07);

  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --nav-h: 72px;
  --section-pad: 120px 0;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* 3D perspective vars */
  --perspective: 1200px;
  --card-depth: 20px;
}

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

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 4px; }

::selection { background: var(--teal); color: var(--black); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.teal { color: var(--teal); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--teal-dim);
  border: 1px solid rgba(0, 201, 167, 0.3);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tag .dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 520px;
}

/* ============ FADE-IN ANIMATION ============ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 3D TILT CURSOR TRACKING ============ */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -1px;
  color: var(--white);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo .x { color: var(--teal); }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
  transition: color var(--transition);
  letter-spacing: 0.2px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}

/* Shimmer effect on buttons */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 150%;
}

.btn-teal {
  background: var(--teal);
  color: var(--black);
}

.btn-teal:hover {
  background: #00e0bb;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 201, 167, 0.35), 0 0 0 1px rgba(0,201,167,0.3);
}

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

.btn-outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Animated grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Teal glow */
.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

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

/* Second ambient glow (bottom-left) */
.hero-ambient {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.05) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite 2s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.hero-tag { margin-bottom: 28px; }

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
}

/* Text reveal animation for hero headline */
.hero-headline .word {
  display: inline-block;
  animation: wordReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 0.1s + 0.3s);
}

@keyframes wordReveal {
  from {
    opacity: 0;
    transform: translateY(30px) skewY(3deg);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
    filter: blur(0);
  }
}

.hero-sub {
  font-size: 18px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

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

.stat-item {}

.stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-num span { color: var(--teal); }

.stat-label {
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.5px;
}

/* Hero Right — 3D Enhanced */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 480px;
  perspective: var(--perspective);
}

.hero-logo-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(0, 201, 167, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: floatLogo 5s ease-in-out infinite;
  background: radial-gradient(circle, rgba(0,201,167,0.07) 0%, transparent 70%);
  transform-style: preserve-3d;
  /* Subtle 3D depth on logo circle */
  box-shadow:
    0 0 0 1px rgba(0,201,167,0.1),
    0 0 40px rgba(0,201,167,0.08),
    0 20px 60px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-logo-text {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -2px;
}

/* Orbiting ring */
.orbit-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 201, 167, 0.2);
  animation: spinOrbit 20s linear infinite;
}

/* Second orbit ring for depth */
.orbit-ring-2 {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(0, 201, 167, 0.06);
  animation: spinOrbit 35s linear infinite reverse;
}

.orbit-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--teal), 0 0 24px rgba(0,201,167,0.4);
}

/* Second orbit dot */
.orbit-dot-2 {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: rgba(0, 201, 167, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,201,167,0.5);
}

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

@keyframes floatLogo {
  0%, 100% { transform: translateY(0px) rotateX(0deg); }
  50% { transform: translateY(-16px) rotateX(4deg); }
}

/* Floating service cards — 3D enhanced */
.float-card {
  position: absolute;
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 0 0 1px rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
}

.float-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--teal-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.float-card-1 {
  top: 8%;
  left: -10%;
  animation: float1 6s ease-in-out infinite;
}

.float-card-2 {
  top: 38%;
  right: -15%;
  animation: float2 7s ease-in-out infinite 0.5s;
}

.float-card-3 {
  bottom: 12%;
  left: -5%;
  animation: float3 5.5s ease-in-out infinite 1s;
}

@keyframes float1 {
  0%,100%{transform:translateY(0) rotateX(0deg) rotateY(0deg)}
  50%{transform:translateY(-10px) rotateX(3deg) rotateY(-2deg)}
}
@keyframes float2 {
  0%,100%{transform:translateY(0) rotateX(0deg) rotateY(0deg)}
  50%{transform:translateY(10px) rotateX(-2deg) rotateY(3deg)}
}
@keyframes float3 {
  0%,100%{transform:translateY(0) rotateX(0deg) rotateY(0deg)}
  50%{transform:translateY(-8px) rotateX(4deg) rotateY(2deg)}
}

/* ============ MARQUEE ============ */
.marquee-section {
  background: var(--teal);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}

/* Depth edge fade */
.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--teal), transparent);
}
.marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--teal), transparent);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.marquee-item .sep {
  width: 6px;
  height: 6px;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ============ SERVICES ============ */
.services-section {
  padding: var(--section-pad);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 40px;
}

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

/* 3D card perspective container */
.services-grid {
  perspective: var(--perspective);
}

.service-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transform-origin: center bottom;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius);
}

/* Glowing border on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,201,167,0), rgba(0,201,167,0.35), rgba(0,201,167,0));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.service-card:hover {
  border-color: rgba(0, 201, 167, 0.35);
  transform: translateY(-8px) rotateX(2deg);
  box-shadow:
    0 24px 60px rgba(0, 201, 167, 0.12),
    0 8px 20px rgba(0,0,0,0.4),
    0 1px 0 rgba(255,255,255,0.07) inset;
}

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

.service-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #0f1f1c 0%, var(--black-2) 60%);
  border-color: rgba(0, 201, 167, 0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.service-card.featured:hover {
  transform: translateY(-6px) rotateX(1.5deg);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-dim);
  border: 1px solid rgba(0, 201, 167, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-card-icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,201,167,0.2);
}

.service-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.service-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-tag {
  padding: 4px 10px;
  background: var(--black-3);
  border: 1px solid var(--grey-dim);
  border-radius: 50px;
  font-size: 11px;
  color: var(--grey);
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.service-card:hover .service-tag {
  border-color: rgba(0,201,167,0.2);
  color: rgba(255,255,255,0.6);
}

.service-price {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
}

.service-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--grey);
  font-family: var(--font-body);
}

/* ============ PORTFOLIO ============ */
.portfolio-section {
  padding: var(--section-pad);
  background: var(--black-2);
}

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

.portfolio-header .section-sub { margin: 0 auto; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: var(--perspective);
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--black-3);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-12px) rotateX(3deg) scale(1.02);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(0,201,167,0.2),
    0 0 40px rgba(0,201,167,0.08);
  z-index: 10;
}

.portfolio-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  transition: transform var(--transition);
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0.85;
  transition: opacity var(--transition);
  z-index: 5;
  pointer-events: none;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(0,201,167,0.15) 0%, rgba(0,0,0,0.85) 60%);
}

.portfolio-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
  transform: translateZ(10px);
}

.portfolio-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.portfolio-result {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.portfolio-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.portfolio-card:hover .portfolio-arrow { opacity: 1; transform: translateY(0); }

/* ============ WHY BENGX ============ */
.why-section {
  padding: var(--section-pad);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
  perspective: var(--perspective);
}

.why-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Top-edge shimmer line */
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  transition: left 0.6s ease;
}

.why-card:hover::before {
  left: 100%;
}

.why-card:hover {
  border-color: rgba(0, 201, 167, 0.25);
  box-shadow:
    0 20px 60px rgba(0, 201, 167, 0.08),
    0 0 0 1px rgba(0,201,167,0.1);
  transform: translateY(-6px) rotateX(2deg);
}

.why-num {
  font-family: var(--font-head);
  border: 1px solid rgba(0,201,167,0.15);
  border-radius: 8px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--teal);
  background: var(--teal-dim);
  margin-bottom: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover .why-num {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,201,167,0.2);
}

.why-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.why-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.75;
}

/* ============ PROCESS ============ */
.process-section {
  padding: var(--section-pad);
  background: var(--black-2);
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
}

.process-header .section-sub { margin: 0 auto; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(90deg, var(--teal) 0%, rgba(0,201,167,0.2) 100%);
}

/* Animated progress line */
.process-steps::after {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5%);
  width: 0;
  height: 1px;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  transition: width 2s ease;
}

.process-steps.animate::after {
  width: calc(100% - 25%);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--black-3);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 8px rgba(0,201,167,0.06),
    0 0 20px rgba(0,201,167,0.1);
  transition: all 0.4s ease;
}

.process-step:hover .step-num {
  background: var(--teal);
  color: var(--black);
  transform: scale(1.15) translateY(-4px);
  box-shadow:
    0 0 0 12px rgba(0,201,167,0.08),
    0 0 30px rgba(0,201,167,0.3),
    0 12px 30px rgba(0,0,0,0.3);
}

.step-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.step-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.7;
}

/* ============ CONTACT ============ */
.contact-section {
  padding: var(--section-pad);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-label { margin-bottom: 16px; }

.contact-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.contact-sub {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 48px;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(6px);
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--teal-dim);
  border: 1px solid rgba(0, 201, 167, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon {
  background: rgba(0,201,167,0.2);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 4px 15px rgba(0,201,167,0.2);
}

.contact-item-text {
  font-size: 14px;
  color: var(--grey);
}

.contact-item-text strong {
  display: block;
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 2px;
}

.instagram-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

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

.instagram-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(253,29,29,0.4);
}

/* Contact Form — 3D floating */
.contact-form {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 20px 60px rgba(0,0,0,0.3);
}

.contact-form:focus-within {
  border-color: rgba(0,201,167,0.2);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 30px 80px rgba(0,0,0,0.4),
    0 0 0 1px rgba(0,201,167,0.1);
  transform: translateY(-4px);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.form-group:focus-within label {
  color: var(--teal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--black-3);
  border: 1px solid var(--grey-dim);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition), transform 0.2s ease;
  outline: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #555560; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.1), 0 4px 15px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

.form-group select { cursor: pointer; color: var(--white); }
.form-group select option { background: var(--black-3); }

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

.form-submit { width: 100%; margin-top: 8px; justify-content: center; }

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-top: 16px;
  font-weight: 500;
}

.form-status.success {
  display: block;
  background: rgba(0, 201, 167, 0.12);
  border: 1px solid rgba(0, 201, 167, 0.3);
  color: var(--teal);
}

.form-status.error {
  display: block;
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff6b6b;
}

/* ============ FOOTER ============ */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-tagline {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links a {
  font-size: 13px;
  color: var(--grey);
  transition: color var(--transition), transform 0.2s ease;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--teal);
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 12px;
  color: #444450;
}

/* ============ MOBILE MENU ============ */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(11, 11, 15, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px 40px 32px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
  transform-origin: top center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--grey);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), transform 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.mobile-menu .btn-teal {
  margin-top: 8px;
  justify-content: center;
  text-align: center;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: auto; grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px 0; }

  .container { padding: 0 24px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-grid { padding: 60px 24px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .services-header { flex-direction: column; align-items: flex-start; }

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

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

  .process-steps { grid-template-columns: 1fr; }

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

  .contact-form { padding: 28px 20px; }

  .footer-links { flex-wrap: wrap; gap: 20px; }

  .mobile-menu { padding: 16px 24px 24px; }

  /* Disable heavy 3D on mobile for performance */
  .service-card:hover,
  .portfolio-card:hover,
  .why-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 24px; }
}

/* ============ PORTFOLIO SLIDER (Case 1) ============ */
.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black-3);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}

.slider-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  pointer-events: none;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
  opacity: 0;
  padding: 0;
}

.portfolio-card:hover .slider-btn { opacity: 1; }
.slider-btn:hover {
  background: var(--teal);
  color: var(--black);
  border-color: var(--teal);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.slider-dots {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), width var(--transition);
}

.slider-dots .dot.active {
  background: var(--teal);
  transform: scale(1.3);
  width: 16px;
  border-radius: 3px;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0.85;
  transition: opacity var(--transition);
  z-index: 5;
  pointer-events: none;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(0,201,167,0.15) 0%, rgba(0,0,0,0.85) 60%);
}

/* ============ THANK YOU POPUP (Case 4) ============ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.popup-box {
  background: var(--black-2);
  border: 1px solid rgba(0,201,167,0.3);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 24px 80px rgba(0,201,167,0.15),
    0 0 0 1px rgba(0,201,167,0.1),
    0 40px 120px rgba(0,0,0,0.6);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.popup-overlay.active .popup-box {
  transform: translateY(0) scale(1);
}

.popup-icon {
  font-size: 52px;
  margin-bottom: 20px;
  display: block;
  animation: popupIconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes popupIconBounce {
  from { transform: scale(0) rotate(-20deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.popup-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: var(--white);
}

.popup-msg {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 32px;
}

.popup-close {
  width: 100%;
  justify-content: center;
  font-size: 15px;
}

/* ============ CUSTOM CURSOR GLOW ============ */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,167,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), #00e0bb);
  z-index: 9999;
  width: 0%;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px var(--teal);
}

/* ============ COUNTING NUMBER ANIMATION ============ */
.stat-num.counting {
  animation: countPulse 0.3s ease;
}

@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); color: var(--teal); }
}

/* ============ PARALLAX DEPTH LAYERS ============ */
.parallax-slow { will-change: transform; }
.parallax-fast { will-change: transform; }

/* ============ PARTICLE SYSTEM ============ */
.particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}