/* ═══════════════════════════════════════════════════════
   LipSync Studio — Main Stylesheet
   ═══════════════════════════════════════════════════════ */

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

:root {
  --gold: #D4A853;
  --gold-hover: #e0be5a;
  --black: #080808;
  --black-alt: #0A0A0A;
  --card-bg: #0F0F0F;
  --border: #1A1A1A;
  --border-subtle: #151515;
  --text-primary: #F0F0F0;
  --text-secondary: #888;
  --text-muted: #666;
  --text-dim: #444;
  --netflix-red: #E50914;
  --discovery-blue: #0088FF;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

::selection {
  background: rgba(212, 168, 83, 0.3);
}

/* ── Animations ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
@keyframes waveBar {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}

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

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 48px;
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--text-primary);
}
.nav__logo-accent {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__link {
  color: #999;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav__link:hover { color: var(--gold); }

.nav__cta {
  display: inline-block;
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--gold);
  padding: 10px 28px;
  border-radius: 4px;
  transition: all 0.3s;
}
.nav__cta:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav__burger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}
.nav__burger span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--text-primary);
  transition: all 0.3s;
}
.nav__burger span:nth-child(1) { width: 24px; }
.nav__burger span:nth-child(2) { width: 20px; }
.nav__burger span:nth-child(3) { width: 16px; background: var(--gold); }

/* Mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  animation: fadeIn 0.3s ease;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: 6px;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu a:last-child { color: var(--gold); }
.mobile-menu a:last-child:hover { opacity: 0.7; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(212, 168, 83, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 168, 83, 0.03) 0%, transparent 40%),
    var(--black);
}
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
}

/* Waveform */
.hero__waveform {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 44px;
  margin-bottom: 48px;
  animation: fadeUp 1s ease 0.2s both;
}
.hero__waveform span {
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(60px, 11vw, 150px);
  line-height: 0.92;
  letter-spacing: 4px;
  color: var(--text-primary);
  margin-bottom: 28px;
  animation: fadeUp 1s ease 0.4s both;
}
.hero__title span { color: var(--gold); }

.hero__subtitle {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.8;
  font-weight: 300;
  animation: fadeUp 1s ease 0.65s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeUp 1s ease 0.85s both;
}

.btn-primary {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 16px 40px;
  border-radius: 4px;
  border: none;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.25);
}

.hero__showreel {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity 0.3s;
}
.hero__showreel:hover { opacity: 0.7; }
.hero__showreel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 168, 83, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__showreel-text {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s ease 1.4s both;
}
.hero__scroll span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollBounce 2s ease infinite;
}

/* ── Trusted By ───────────────────────────────────────── */
.trusted {
  padding: 56px 24px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--black-alt);
}
.trusted__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.trusted__label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.trusted__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
  flex-wrap: wrap;
}
.trusted__brand--netflix {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: 5px;
  color: var(--netflix-red);
}
.trusted__brand--discovery {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: 5px;
  color: var(--discovery-blue);
}
.trusted__divider {
  width: 1px;
  height: 28px;
  background: #222;
}
.trusted__badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trusted__badge-text {
  font-size: clamp(11px, 1.5vw, 13px);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Section commons ──────────────────────────────────── */
.section {
  padding: clamp(80px, 12vw, 140px) clamp(16px, 5vw, 48px);
}
.section--dark { background: var(--black); }
.section--alt  { background: var(--black-alt); }
.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section__label {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 2px;
  color: var(--text-primary);
  line-height: 1;
}

/* ── Services ─────────────────────────────────────────── */
.services__header { margin-bottom: 56px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: rgba(212, 168, 83, 0.4);
  transform: translateY(-3px);
  background: #121212;
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--gold);
  opacity: 0.1;
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
}
.service-card__bar {
  width: 32px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 20px;
  opacity: 0.6;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.service-card__desc {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  font-weight: 300;
}

/* ── Portfolio / Work ─────────────────────────────────── */
.work__header { margin-bottom: 48px; }
.work__filters {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 24px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid #2A2A2A;
  transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.show-card {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 2/3;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.show-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.show-card__poster {
  position: absolute;
  inset: 0;
}
.show-card__placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0.15;
}
.show-card__placeholder p {
  font-size: 11px;
  color: #fff;
  margin-top: 8px;
  letter-spacing: 1px;
}
.show-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
}
.show-card__platform {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.show-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.show-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.show-card__lang {
  font-size: 12px;
  color: #aaa;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 3px;
}
.show-card__year {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── About ────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.about__story-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 28px;
  line-height: 1;
}
.about__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
  font-weight: 300;
}
.about__text:last-child { margin-bottom: 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  padding: 28px 24px;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.stat-card__number {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card__label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── CTA Strip ────────────────────────────────────────── */
.cta-strip {
  padding: clamp(64px, 10vw, 100px) 24px;
  text-align: center;
  background: var(--black-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.cta-strip__inner {
  max-width: 680px;
  margin: 0 auto;
}
.cta-strip__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.05;
}
.cta-strip__text {
  font-size: 16px;
  color: #777;
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 300;
}

/* ── Contact ──────────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 6vw, 64px);
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1;
}
.contact__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 44px;
  font-weight: 300;
}
.contact__items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item__label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  display: block;
  margin-bottom: 3px;
}
.contact-item__value {
  font-size: 14px;
  color: #ccc;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 40px);
}
.contact-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--black);
  border: 1px solid #222;
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color 0.3s;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--text-secondary);
}
.contact-form__select-wrap {
  position: relative;
}
.contact-form__select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #555;
  font-size: 12px;
}
.contact-form__submit {
  background: var(--gold);
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  padding: 16px;
  transition: all 0.3s;
  margin-top: 4px;
}
.contact-form__submit:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/* Success state */
.form-success {
  background: var(--card-bg);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 8px;
  padding: 56px 32px;
  text-align: center;
  display: none;
}
.form-success.show { display: block; }
.form-success__title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin: 20px 0 8px;
}
.form-success__text {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  padding: 40px clamp(16px, 5vw, 48px);
  border-top: 1px solid var(--border-subtle);
  background: #060606;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__logo {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.footer__logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 2px;
}
.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__link {
  font-size: 13px;
  color: #555;
  transition: color 0.3s;
}
.footer__link:hover { color: var(--gold); }
.footer__copy {
  font-size: 12px;
  color: #333;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 16px; }
  .nav.scrolled { padding: 12px 16px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero__title { letter-spacing: 2px; }
  .hero__actions { gap: 20px; }
  .hero__scroll { bottom: 24px; }

  .trusted__logos { gap: 20px; }
  .trusted__divider { display: none; }

  .about__grid { gap: 40px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 20px 16px; }
  .stat-card__number { font-size: 36px; }

  .footer__inner { justify-content: center; text-align: center; }
  .footer__links { justify-content: center; }
}
