/* ============================================================
   ATTORNEYPROOF3D — Premium Legal Animation Studio
   Deep Navy · Dramatic Gold · Cinematic
   ============================================================ */

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

:root {
  --bg:        #030a14;
  --bg-2:      #060e1c;
  --bg-card:   #08142a;
  --bg-card-2: #0b1c3a;
  --gold:      #c9a84c;
  --gold-light:#f0d678;
  --gold-mid:  #ddb84e;
  --gold-dim:  rgba(201,168,76,0.14);
  --gold-glow: rgba(201,168,76,0.30);
  --blue:      #1a3a5c;
  --blue-light:#2a5a8c;
  --white:     #ffffff;
  --text:      #eaeaea;
  --text-dim:  #8a9ab0;
  --border:    rgba(201,168,76,0.18);
  --border-blue: rgba(26,58,92,0.55);
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 24px 72px rgba(0,0,0,0.65);
  --shadow-card: 0 12px 40px rgba(0,0,0,0.45);
  --glow-gold: 0 0 60px rgba(201,168,76,0.28);
  --glow-gold-sm: 0 0 24px rgba(201,168,76,0.22);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2 em, h1 em { font-style: italic; color: var(--gold); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-mid) 0%, #9a7020 100%);
  color: #06101e;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201,168,76,0.5), 0 0 0 1px rgba(201,168,76,0.3);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 13px 28px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.28);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.07);
  box-shadow: var(--glow-gold-sm);
}

/* ── Section scaffolding ─────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  background: rgba(201,168,76,0.06);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.section-sub {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
}

/* ── NAVBAR ──────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(3,10,20,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(201,168,76,0.14), 0 4px 24px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold-mid) 0%, #9a7020 100%);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #06101e;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.logo-accent { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--gold-mid), #9a7020);
  color: #06101e !important;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: box-shadow 0.3s, transform 0.3s;
}
.nav-links .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(201,168,76,0.45); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: rgba(3,10,20,0.98);
  backdrop-filter: blur(24px);
  padding: 24px;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-nav li a {
  display: block; padding: 14px 0; color: var(--text); font-size: 1.1rem;
  border-bottom: 1px solid var(--border-blue); transition: color 0.25s;
}
.mobile-nav li:last-child a { border-bottom: none; color: var(--gold); font-weight: 700; }
.mobile-nav li a:hover { color: var(--gold); }

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0.15;
  mix-blend-mode: screen;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(26,58,92,0.14) 0%, transparent 65%),
    linear-gradient(180deg,
      rgba(3,10,20,0.52) 0%,
      rgba(3,10,20,0.68) 50%,
      rgba(3,10,20,0.92) 90%,
      var(--bg) 100%
    );
  z-index: 2;
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 2;
}
.hero-glow.left  { background: var(--blue);  left: -260px; top: 5%; opacity: 0.18; }
.hero-glow.right { background: var(--gold);  right: -260px; top: 25%; opacity: 0.10; }

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 960px;
  padding: 130px 24px 90px;
  will-change: transform;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,76,0.09);
  border: 1px solid rgba(201,168,76,0.30);
  border-radius: 100px;
  padding: 8px 22px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  animation: fadeInDown 0.8s ease both;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

.hero-headline {
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 30px;
  animation: fadeInUp 0.9s 0.15s ease both;
  text-shadow: 0 2px 32px rgba(0,0,0,0.6);
}
.hero-headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, #b8922a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 22px rgba(201,168,76,0.45));
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(234,234,234,0.88);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.78;
  animation: fadeInUp 0.9s 0.3s ease both;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.hero-actions {
  display: flex; justify-content: center; align-items: center;
  gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.9s 0.45s ease both;
}
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); opacity: 0.55;
  animation: fadeIn 1.2s 1s ease both;
  z-index: 3;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDrop 2s 1s infinite;
}
@keyframes scrollDrop { 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; } }

/* ── STATS ───────────────────────────────────────────────── */
#stats {
  background: linear-gradient(135deg, #060f1e 0%, #091628 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
#stats::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: stretch; justify-content: center;
  position: relative;
}
.stat-item {
  flex: 1; text-align: center; padding: 50px 24px;
  position: relative; transition: background 0.3s;
}
.stat-item:hover { background: rgba(201,168,76,0.04); }
.stat-icon { font-size: 1.5rem; margin-bottom: 12px; opacity: 0.55; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--gold); line-height: 1; margin-bottom: 10px;
  text-shadow: 0 0 32px rgba(201,168,76,0.4);
}
.stat-small { font-size: 0.55em; vertical-align: middle; }
.stat-label { font-size: 0.78rem; color: var(--text-dim); font-weight: 500; letter-spacing: 0.04em; }
.stat-divider { width: 1px; background: var(--border); margin: 28px 0; flex-shrink: 0; }

/* ── PORTFOLIO ───────────────────────────────────────────── */
#portfolio {
  padding: 130px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
#portfolio::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.22;
}

.portfolio-filter {
  display: flex; justify-content: center;
  gap: 10px; flex-wrap: wrap; margin-bottom: 52px;
}
.filter-btn {
  font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.05em; padding: 9px 22px; border-radius: 6px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-dim); cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold-dim); border-color: var(--gold);
  color: var(--gold); box-shadow: var(--glow-gold-sm);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 290px;
  gap: 18px;
}
.portfolio-item { border-radius: var(--radius); overflow: hidden; position: relative; }
.portfolio-item.large { grid-column: span 1; grid-row: span 2; }
.portfolio-thumb { width: 100%; height: 100%; position: relative; overflow: hidden; }
.thumb-bg { width: 100%; height: 100%; position: relative; overflow: hidden; transition: transform 0.5s ease; }
.portfolio-item:hover .thumb-bg { transform: scale(1.05); }

.scene-1 { background: linear-gradient(135deg, #060d1e 0%, #0e2040 100%); }
.scene-2 { background: linear-gradient(135deg, #0a0d22 0%, #162040 100%); }
.scene-3 { background: linear-gradient(135deg, #050d18 0%, #0c1e30 100%); }
.scene-4 { background: linear-gradient(135deg, #08101a 0%, #0d1f2e 100%); }
.scene-5 { background: linear-gradient(135deg, #0a0d24 0%, #14183a 100%); }
.scene-6 { background: linear-gradient(135deg, #060e1c 0%, #0e1e38 100%); }
.scene-elements { position: absolute; inset: 0; overflow: hidden; }

.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,10,20,0.97) 0%, rgba(3,10,20,0.22) 50%, transparent 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(3,10,20,0.85);
  border: 2px solid rgba(201,168,76,0.5);
  cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(12px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  margin-bottom: 18px;
}
.play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.25), var(--glow-gold-sm);
  border-color: var(--gold);
}
.play-btn svg { width: 42px; height: 42px; }
.portfolio-info { text-align: center; padding: 0 20px; }
.portfolio-cat {
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.portfolio-info h4 { font-size: 1.05rem; color: var(--white); margin-bottom: 6px; }
.portfolio-result { font-size: 0.85rem; color: var(--gold); font-weight: 700; }
.portfolio-item.hidden { display: none; }
.portfolio-thumb-img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.5s ease;
}
.portfolio-item:hover .portfolio-thumb-img { transform: scale(1.05); }

/* ── ABOUT BAND ──────────────────────────────────────────── */
#about-band { padding: 88px 0; background: var(--bg); position: relative; }
.about-band-inner {
  display: flex; gap: 32px; align-items: flex-start;
  background: linear-gradient(135deg, rgba(26,58,92,0.18) 0%, rgba(8,20,42,0.6) 100%);
  border: 1px solid var(--border-blue);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 48px 52px;
  position: relative; overflow: hidden;
}
.about-band-inner::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.about-band-text { font-size: 1.1rem; color: var(--text); line-height: 1.88; font-weight: 400; }

/* ── SERVICES ────────────────────────────────────────────── */
#services { padding: 130px 0; background: var(--bg-2); position: relative; }

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

.service-card {
  position: relative; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 38px 34px 34px; overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1); cursor: default;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.45);
  box-shadow: 0 28px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.12), var(--glow-gold-sm);
}
.service-card:hover::before { opacity: 1; }
.service-card-glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.13) 0%, transparent 70%);
  top: -70px; right: -70px; pointer-events: none;
  transition: opacity 0.4s; opacity: 0;
}
.service-card:hover .service-card-glow { opacity: 1; }
.service-card.featured {
  border-color: rgba(201,168,76,0.35);
  background: linear-gradient(135deg, rgba(201,168,76,0.07) 0%, var(--bg-card) 50%);
}
.service-badge {
  position: absolute; top: 20px; right: 20px;
  background: linear-gradient(135deg, var(--gold-mid), #9a7020);
  color: #06101e; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
}
.service-icon-wrap {
  width: 76px; height: 76px; background: rgba(201,168,76,0.07);
  border: 1px solid var(--border); border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 26px;
  transition: all 0.4s;
}
.service-card:hover .service-icon-wrap {
  background: rgba(201,168,76,0.13); border-color: rgba(201,168,76,0.4);
  box-shadow: var(--glow-gold-sm);
}
.service-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.service-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.72; margin-bottom: 20px; }
.service-features {
  list-style: none; margin-bottom: 26px;
  display: flex; flex-direction: column; gap: 9px;
}
.service-features li {
  font-size: 0.82rem; color: var(--text-dim);
  padding-left: 18px; position: relative;
}
.service-features li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%); width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold); opacity: 0.7;
}
.service-link { display: inline-block; font-size: 0.82rem; font-weight: 700; color: var(--gold); letter-spacing: 0.04em; transition: color 0.3s; }
.service-link:hover { color: var(--gold-light); }

/* ── HOW IT WORKS ────────────────────────────────────────── */
#how-it-works { padding: 130px 0; background: var(--bg); position: relative; }

.steps-container { position: relative; display: flex; flex-direction: column; gap: 0; }
.steps-line {
  position: absolute; left: 52px; top: 60px; bottom: 60px; width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(201,168,76,0.08) 100%);
}
.step {
  display: flex; align-items: flex-start; gap: 32px;
  padding: 42px 0; border-bottom: 1px solid var(--border-blue);
  opacity: 0; transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.step.visible { opacity: 1; transform: none; }
.step:last-child { border-bottom: none; }
.step-left { flex-shrink: 0; }
.step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-mid) 0%, #9a7020 100%);
  display: grid; place-items: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 700;
  color: #06101e; position: relative; z-index: 1; flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.step-icon-wrap {
  width: 76px; height: 76px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 16px;
  display: grid; place-items: center; flex-shrink: 0;
}
.step-content { flex: 1; padding-top: 4px; }
.step-content h3 { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.step-content p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.72; max-width: 520px; margin-bottom: 18px; }
.step-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.step-tags span {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-dim); border: 1px solid var(--border);
  padding: 4px 14px; border-radius: 100px;
}

/* ── REAL CASE RESULTS ───────────────────────────────────── */
#case-results { padding: 130px 0; background: var(--bg-2); position: relative; }

.case-videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.case-video-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s, border-color 0.4s;
}
.case-video-card:hover {
  transform: translateY(-6px); border-color: rgba(201,168,76,0.4);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), var(--glow-gold-sm);
}
.case-video-wrap { position: relative; width: 100%; padding-top: 56.25%; background: #020810; }
.case-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.case-video-info { padding: 28px 28px 34px; }
.case-result-badge {
  display: inline-block; background: linear-gradient(135deg, var(--gold-mid), #9a7020);
  color: #06101e; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px; margin-bottom: 14px;
}
.case-video-info h3 { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.case-video-info p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; }

/* ── UPLOAD ──────────────────────────────────────────────── */
#upload { padding: 130px 0; background: var(--bg); position: relative; }
.upload-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: start; }
.upload-left h2 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--white); margin: 18px 0 22px; }
.upload-left h2 em { color: var(--gold); }
.upload-left p { color: var(--text-dim); line-height: 1.78; margin-bottom: 28px; }
.upload-checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.upload-checklist li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 0.92rem; }
.check-icon { color: var(--gold); font-size: 0.75rem; flex-shrink: 0; }
.upload-security-note {
  display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--text-dim);
  background: rgba(201,168,76,0.05); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px;
}
.dropzone {
  background: var(--bg-card); border: 2px dashed rgba(201,168,76,0.25);
  border-radius: var(--radius-lg); transition: all 0.3s; overflow: hidden;
}
.dropzone.drag-over { border-color: var(--gold); background: rgba(201,168,76,0.05); box-shadow: var(--glow-gold-sm); }
.dropzone-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 56px 32px; gap: 8px;
}
.dropzone-icon-wrap { margin-bottom: 14px; }
.dropzone-title { font-size: 1.05rem; font-weight: 600; color: var(--white); }
.dropzone-sub { font-size: 0.85rem; color: var(--text-dim); }
.dropzone-types { font-size: 0.75rem; color: var(--text-dim); letter-spacing: 0.04em; margin: 6px 0 20px; }
.dropzone-btn { font-size: 0.82rem; padding: 11px 24px; }
.uploaded-list { padding: 0 24px 16px; display: flex; flex-direction: column; gap: 8px; }
.upload-submit-row {
  display: none; flex-direction: column; align-items: stretch; gap: 8px;
  padding: 16px 24px 24px; border-top: 1px solid var(--border);
}
.upload-submit-row.visible { display: flex; }
.upload-send-btn { justify-content: center; }
.upload-submit-note { font-size: 0.72rem; color: var(--text-dim); text-align: center; }
.uploaded-file {
  display: flex; align-items: center; gap: 12px;
  background: rgba(201,168,76,0.05); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 14px; font-size: 0.82rem; color: var(--text);
}
.uploaded-file-icon { color: var(--gold); font-size: 1rem; }
.uploaded-file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uploaded-file-size { color: var(--text-dim); flex-shrink: 0; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
#testimonials { padding: 130px 0; background: var(--bg-2); position: relative; }
.testimonials-wrapper { position: relative; overflow: hidden; }
.testimonials-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.testimonial-card {
  min-width: 420px; flex-shrink: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 38px; position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { border-color: rgba(201,168,76,0.35); box-shadow: 0 18px 54px rgba(0,0,0,0.4), var(--glow-gold-sm); }
.t-quote { font-family: 'Cormorant Garamond', serif; font-size: 5.5rem; line-height: 0.6; color: var(--gold); opacity: 0.28; margin-bottom: 18px; }
.testimonial-card p { color: var(--text); font-size: 0.95rem; line-height: 1.78; margin-bottom: 28px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #0f2840 100%);
  border: 2px solid var(--border); display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 800; color: var(--gold); flex-shrink: 0;
}
.t-info { flex: 1; }
.t-info strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 2px; }
.t-info span { color: var(--text-dim); font-size: 0.78rem; }
.t-result { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.t-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 38px; }
.t-nav-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-dim); cursor: pointer; display: grid; place-items: center; transition: all 0.3s;
}
.t-nav-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); box-shadow: var(--glow-gold-sm); }
.t-nav-btn svg { width: 20px; height: 20px; }
.t-dots { display: flex; gap: 8px; align-items: center; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.3s; }
.t-dot.active { background: var(--gold); width: 26px; border-radius: 4px; }

/* ── CONTACT ─────────────────────────────────────────────── */
#contact { padding: 130px 0; background: var(--bg); position: relative; }
#contact::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
}
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 68px; align-items: start; }
.contact-left h2 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--white); margin: 18px 0 20px; }
.contact-left h2 em { color: var(--gold); }
.contact-left > p { color: var(--text-dim); line-height: 1.78; margin-bottom: 32px; }
.contact-meta { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.contact-meta-item { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; color: var(--text); }
.contact-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.c-badge {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 22px; text-align: center;
  flex: 1; min-width: 80px; transition: border-color 0.3s, box-shadow 0.3s;
}
.c-badge:hover { border-color: rgba(201,168,76,0.35); box-shadow: var(--glow-gold-sm); }
.c-badge-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.c-badge-label { font-size: 0.7rem; color: var(--text-dim); line-height: 1.35; }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 46px;
  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: 7px; }
.form-group label { font-size: 0.76rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0.07em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px; color: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.92rem;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none; -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9ab0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}
.form-group select option { background: #0b1c3a; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(138,154,176,0.45); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: rgba(201,168,76,0.6); box-shadow: 0 0 0 3px rgba(201,168,76,0.09);
}
.form-group input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.5); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit-btn { width: 100%; justify-content: center; padding: 16px; font-size: 0.95rem; }
.form-privacy-note { font-size: 0.75rem; color: var(--text-dim); text-align: center; }

/* ── FOOTER ──────────────────────────────────────────────── */
#footer { background: var(--bg-2); border-top: 1px solid var(--border); }
.footer-top { padding: 88px 0 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-brand { max-width: 320px; }
.footer-logo { margin-bottom: 20px; display: inline-flex; }
.footer-brand p { font-size: 0.87rem; color: var(--text-dim); line-height: 1.78; margin-bottom: 10px; }
.footer-founder { font-size: 0.82rem; color: var(--text-dim); margin-top: 0; margin-bottom: 22px; }
.footer-founder strong { color: var(--gold); }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 0.82rem; font-weight: 700;
  color: var(--text-dim); transition: all 0.3s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); box-shadow: var(--glow-gold-sm); }
.footer-col h4 {
  font-family: 'Inter', sans-serif; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 0.87rem; color: var(--text-dim); }
.footer-col ul li a { transition: color 0.25s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-cta-btn { margin-top: 26px; display: inline-flex; font-size: 0.8rem; padding: 11px 22px; }
.footer-bottom { border-top: 1px solid var(--border-blue); padding: 24px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-dim); }
.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { font-size: 0.8rem; color: var(--text-dim); transition: color 0.25s; }
.footer-legal-links a:hover { color: var(--gold); }

/* ── VIDEO MODAL ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  z-index: 2000; display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
  backdrop-filter: blur(14px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); width: 100%; max-width: 840px;
  position: relative; transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); overflow: hidden;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-close-btn {
  position: absolute; top: 16px; right: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none;
  cursor: pointer; display: grid; place-items: center;
  color: var(--white); transition: background 0.3s; z-index: 1;
}
.modal-close-btn:hover { background: rgba(255,255,255,0.22); }
.modal-video-area { aspect-ratio: 16/9; background: #020810; display: grid; place-items: center; }
.modal-video-area iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── Scroll offset: account for fixed 76px navbar ───────── */
section[id] { scroll-margin-top: 84px; }

/* ── Parallax ────────────────────────────────────────────── */
.parallax-section { will-change: transform; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes formHighlight {
  0%   { box-shadow: none; border-color: var(--border); }
  20%  { box-shadow: 0 0 0 4px rgba(201,168,76,0.55), 0 0 60px rgba(201,168,76,0.2); border-color: rgba(201,168,76,0.8); }
  80%  { box-shadow: 0 0 0 4px rgba(201,168,76,0.35), 0 0 50px rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.55); }
  100% { box-shadow: none; border-color: var(--border); }
}
.contact-form.highlight { animation: formHighlight 2.2s ease forwards; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item.large { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { max-width: 100%; }
  .case-videos-grid { grid-template-columns: 1fr; }
}

/* ── MOBILE (≤768px) — video hidden, gradient hero ──────── */
@media (max-width: 768px) {
  /* ── Navbar ── */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* ── Hero: mobile video (src set by JS), dark fallback ── */
  #hero { background: var(--bg); }

  /* Ambient glows unnecessary on mobile — hide to save paint */
  .hero-glow { display: none; }

  .hero-content { padding: 108px 20px 72px; }
  .hero-badge {
    font-size: 0.70rem;
    padding: 6px 14px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
  }
  .hero-scroll-hint { display: none; }

  /* ── Disable parallax on touch devices ── */
  .parallax-section { will-change: auto; }

  /* ── Section paddings (130px → 72px) ── */
  #portfolio,
  #services,
  #how-it-works,
  #case-results,
  #upload,
  #testimonials,
  #contact { padding: 72px 0; }
  #about-band { padding: 56px 0; }

  .section-header { margin-bottom: 44px; }
  .section-title { font-size: clamp(1.85rem, 6vw, 2.5rem); }

  /* ── Stats ── */
  .stats-inner { flex-wrap: wrap; }
  .stat-item { flex: 1 1 45%; padding: 36px 12px; }
  .stat-divider { display: none; }

  /* ── Portfolio ── */
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .portfolio-item.large { grid-column: span 1; grid-row: span 1; }
  .portfolio-filter { gap: 6px; }
  .filter-btn { font-size: 0.74rem; padding: 8px 14px; }

  /* ── About band ── */
  .about-band-inner {
    padding: 28px 20px;
    flex-direction: column;
    gap: 16px;
  }
  .about-band-text { font-size: 0.97rem; line-height: 1.82; }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 22px 24px; }

  /* ── How it works ── */
  .steps-line { display: none; }
  .step { flex-direction: column; gap: 14px; padding: 28px 0; }
  .step-left { display: flex; align-items: center; gap: 12px; }
  .step-content p { max-width: 100%; }

  /* ── Case results ── */
  .case-videos-grid { grid-template-columns: 1fr; gap: 24px; }

  /* ── Upload ── */
  .upload-wrapper { grid-template-columns: 1fr; gap: 32px; }
  .dropzone-inner { padding: 40px 20px; }

  /* ── Testimonials ── */
  .testimonial-card {
    min-width: calc(100vw - 48px);
    padding: 28px 22px;
  }

  /* ── Contact ── */
  .contact-wrapper { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { padding: 28px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-badges { gap: 10px; }
  .c-badge { padding: 14px 16px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { padding: 56px 0 40px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── SMALL MOBILE (≤480px) ───────────────────────────────── */
@media (max-width: 480px) {
  .hero-content { padding: 96px 16px 60px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { justify-content: center; }
  .stat-item { flex: 1 1 100%; padding: 28px 12px; }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .portfolio-grid { grid-auto-rows: 200px; }
  .testimonial-card { min-width: calc(100vw - 32px); padding: 24px 18px; }
  .contact-form { padding: 24px 14px; }
  .footer-legal-links { flex-direction: column; gap: 10px; }
}
