/* ============================================
   Cinemetrics Research — Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-bg: #0a0a0f;
  --color-bg-alt: #111118;
  --color-bg-card: #16161f;
  --color-bg-card-hover: #1c1c28;
  --color-surface: #1e1e2a;
  --color-accent: #c9a84c;
  --color-accent-light: #dfc06e;
  --color-accent-dim: rgba(201, 168, 76, 0.12);
  --color-text: #e8e6e1;
  --color-text-muted: #9a978f;
  --color-text-dim: #6b6860;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-light: rgba(255, 255, 255, 0.1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1140px;
  --section-padding: 120px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-light);
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 24px;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 720px;
  margin-bottom: 64px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
}

.nav-logo:hover {
  color: var(--color-text);
}

.nav-logo span {
  font-weight: 400;
  color: var(--color-accent);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

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

.nav-cta {
  background: var(--color-accent);
  color: var(--color-bg) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: var(--color-accent-light);
  color: var(--color-bg) !important;
}

.nav-filmpulse {
  color: var(--color-accent) !important;
  font-weight: 500 !important;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-filmpulse:hover {
  color: var(--color-accent-light) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 var(--section-padding);
  background: var(--color-bg);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 10, 12, 0.4) 0%, transparent 30%, transparent 60%, var(--color-bg) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero .btn {
  margin-top: 8px;
}

/* ============================================
   Intro / Problem Section
   ============================================ */
.intro {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.intro-content {
  max-width: 760px;
}

.intro-content h2 {
  margin-bottom: 20px;
}

.intro-lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 48px;
}

.pain-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
  padding-left: 8px;
}

.pain-point {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--color-accent-dim);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.pain-point p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text-muted);
}

.intro-content > p {
  color: var(--color-text-muted);
  line-height: 1.9;
}

.intro-callout {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-text) !important;
  margin-top: 28px;
}

/* ============================================
   Solution Section
   ============================================ */
.solution {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.solution-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  pointer-events: none;
}

.solution-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--color-bg-alt) 0%, transparent 20%, transparent 80%, var(--color-bg-alt) 100%);
  pointer-events: none;
}

.solution-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.solution-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 28px;
  color: var(--color-accent);
}

.solution-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 12px;
}

.solution-cta-text {
  font-family: var(--font-display);
  font-size: 1.3rem !important;
  font-style: italic;
  color: var(--color-text) !important;
  margin-top: 28px !important;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: all 0.4s ease;
}

.benefit-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-light);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-card h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.benefit-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.benefits-cta {
  text-align: center;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}

.benefits-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 28px;
}

/* ============================================
   Differentiator Section
   ============================================ */
.differentiator {
  padding: var(--section-padding) 0 72px;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.differentiator .section-subtitle {
  max-width: 820px;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 0;
}

/* ============================================
   Services Section
   ============================================ */
.services {
  padding: 72px 0;
  background: var(--color-bg-alt);
}

.services-research {
  padding-top: 0;
}

.services-producing {
  padding-bottom: var(--section-padding);
}

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

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

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 44px 36px;
  transition: all 0.4s ease;
  position: relative;
}

.service-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-light);
  transform: translateY(-4px);
}

.service-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent-dim);
  line-height: 1;
  margin-bottom: 20px;
  color: rgba(201, 168, 76, 0.2);
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   Team Section
   ============================================ */
.team {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.team-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  transition: all 0.4s ease;
}

.team-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-light);
}

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-dim), var(--color-surface));
  border: 2px solid var(--color-border-light);
  margin: 0 auto 20px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.team-bio {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   Team Slider
   ============================================ */
.team-slider-wrapper {
  position: relative;
  margin-top: 48px;
}

.team-grid--slider {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.team-grid--slider::-webkit-scrollbar {
  display: none;
}

.team-grid--slider .team-card {
  flex: 0 0 calc(33.333% - 19px);
  scroll-snap-align: start;
}

.team-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border-light);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}

.team-slider-arrow:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.team-slider-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.team-slider-prev {
  left: -22px;
}

.team-slider-next {
  right: -22px;
}

/* ============================================
   Legal Pages (Terms, Privacy)
   ============================================ */
.legal-header {
  padding: 160px 0 64px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
    var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.legal-updated {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.legal-content {
  padding: 80px 0 var(--section-padding);
  background: var(--color-bg);
}

.legal-body {
  max-width: 780px;
}

.legal-body h2 {
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-body h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.legal-body p {
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-body ul,
.legal-body ol {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body li ol {
  margin-top: 8px;
  margin-bottom: 8px;
}

.legal-body strong {
  color: var(--color-text);
  font-weight: 500;
}

.legal-uppercase {
  text-transform: none;
  font-size: 0.85rem !important;
  letter-spacing: 0.01em;
}

/* ============================================
   Brief Form Page
   ============================================ */
.brief-content {
  padding: 80px 0 var(--section-padding);
  background: var(--color-bg);
}

.brief-form-wrapper {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  align-items: start;
}

/* Progress Sidebar */
.brief-progress {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.progress-step:hover {
  background: var(--color-bg-card);
}

.progress-step.active {
  background: var(--color-accent-dim);
}

.progress-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition);
}

.progress-step.active .progress-number {
  background: var(--color-accent);
  color: var(--color-bg);
}

.progress-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-dim);
  transition: color var(--transition);
}

.progress-step.active .progress-label {
  color: var(--color-text);
}

/* Brief Form */
.brief-form {
  max-width: 680px;
}

.form-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--color-border);
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 32px;
}

.form-section-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--color-accent);
}

.form-section-description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.brief-form .form-group {
  margin-bottom: 32px;
}

.brief-form .form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.6;
}

.required {
  color: var(--color-accent);
  margin-left: 2px;
}

.optional {
  color: var(--color-text-dim);
  font-weight: 400;
  font-size: 0.85rem;
}

.helper-text {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-dim);
  margin-top: 4px;
}

/* Radio Buttons */
.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.radio-option:hover,
.checkbox-option:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(201, 168, 76, 0.2);
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-border-light);
  background: var(--color-surface);
  transition: all var(--transition);
}

.radio-custom::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition);
}

.radio-option input[type="radio"]:checked ~ .radio-custom {
  border-color: var(--color-accent);
  background: var(--color-accent-dim);
}

.radio-option input[type="radio"]:checked ~ .radio-custom::after {
  opacity: 1;
  transform: scale(1);
}

.radio-text,
.checkbox-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.radio-option input[type="radio"]:checked ~ .radio-text,
.checkbox-option input[type="checkbox"]:checked ~ .checkbox-text {
  color: var(--color-text);
}

/* Checkboxes */
.checkbox-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 4px;
  border: 2px solid var(--color-border-light);
  background: var(--color-surface);
  transition: all var(--transition);
}

.checkbox-custom::after {
  content: '';
  width: 5px;
  height: 10px;
  border: solid var(--color-bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  opacity: 0;
  transition: all var(--transition);
  margin-bottom: 2px;
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-custom {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-custom::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

/* "Other" text input */
.other-text-input {
  display: none;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.other-text-input.visible {
  display: block;
}

.other-text-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

.other-text-input::placeholder {
  color: var(--color-text-dim);
}

/* Character-limited textareas */
.brief-form textarea,
.brief-form input[type="text"],
.brief-form input[type="email"],
.brief-form input[type="tel"] {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.brief-form textarea {
  resize: vertical;
  min-height: 100px;
}

.brief-form textarea:focus,
.brief-form input[type="text"]:focus,
.brief-form input[type="email"]:focus,
.brief-form input[type="tel"]:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

.brief-form textarea::placeholder,
.brief-form input::placeholder {
  color: var(--color-text-dim);
}

.char-counter {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.char-count {
  font-weight: 500;
}

.char-counter.near-limit {
  color: var(--color-accent);
}

.char-counter.near-limit .char-count {
  color: var(--color-accent);
}

.char-counter.over-limit,
.char-counter.over-limit .char-count {
  color: #d94848;
  font-weight: 600;
}

.brief-form textarea.over-limit {
  border-color: #d94848;
}

/* Calendly placeholder */
.calendly-placeholder {
  padding: 48px 32px;
  background: var(--color-bg-card);
  border: 2px dashed var(--color-border-light);
  border-radius: var(--radius);
  text-align: center;
  margin-top: 32px;
}

.calendly-placeholder h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
}

.calendly-placeholder p {
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

/* Validation errors */
.form-group.error .radio-option,
.form-group.error .checkbox-option {
  border-color: rgba(217, 72, 72, 0.4);
}

.form-group.error textarea,
.form-group.error input[type="text"],
.form-group.error input[type="email"],
.form-group.error input[type="tel"] {
  border-color: #d94848;
}

.error-message {
  display: none;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #d94848;
}

.form-group.error .error-message {
  display: block;
}

/* Submit area */
.brief-submit {
  padding-top: 16px;
  text-align: center;
}

/* Success message */
.form-success {
  display: none;
  padding: 48px 32px;
  background: var(--color-accent-dim);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  text-align: center;
  max-width: 680px;
}

.form-success.visible {
  display: block;
}

.form-success h3 {
  font-size: 1.4rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.form-success .result-cta {
  margin-top: 28px;
  margin-bottom: 20px;
}

.form-success .result-secondary {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  margin-top: 0;
}

.form-success .result-secondary a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Waiting list opt-in */
.result-waitlist {
  margin-top: 28px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
}

.waitlist-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-text);
}

.waitlist-checkbox input {
  display: none;
}

.waitlist-checkbox .checkbox-custom {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--color-border-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.waitlist-checkbox input:checked + .checkbox-custom {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.waitlist-checkbox input:checked + .checkbox-custom::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid var(--color-bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.waitlist-submit {
  margin-top: 16px;
  transition: opacity 0.2s ease;
}

.waitlist-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.waitlist-thankyou {
  display: none;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
}

.waitlist-thankyou.visible {
  display: block;
}

.waitlist-thankyou p {
  font-size: 0.95rem;
  color: var(--color-accent);
  font-style: italic;
  margin: 0;
}

/* FilmPulse CTA in result panels */
.result-filmpulse {
  margin-top: 24px;
  padding: 24px;
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid var(--color-accent-dim);
  border-radius: var(--radius);
}

.result-filmpulse p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.result-filmpulse .btn {
  display: inline-block;
}

/* ============================================
   Final CTA
   ============================================ */
.final-cta {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.final-cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  pointer-events: none;
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--color-bg-alt) 0%, transparent 20%, transparent 80%, var(--color-bg-alt) 100%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.cta-content p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

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

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-alt {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-top: 8px;
  line-height: 1.7;
}

.contact-alt a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 64px 0 32px;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo:hover {
  color: var(--color-text);
}

.footer-logo span {
  font-weight: 400;
  color: var(--color-accent);
}

.footer-brand p {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-nav h4,
.footer-legal h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a,
.footer-legal a {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--color-text);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-dim);
  font-size: 0.8rem;
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border-light);
  padding: 24px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--color-accent);
  color: var(--color-bg);
}

.cookie-btn-accept:hover {
  background: var(--color-accent-light);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-light);
}

.cookie-btn-reject:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.cookie-btn-prefs {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-light);
}

.cookie-btn-prefs:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

/* Preferences Panel */
.cookie-prefs {
  display: none;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--color-border);
}

.cookie-prefs.open {
  display: block;
}

.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.cookie-pref-row + .cookie-pref-row {
  border-top: 1px solid var(--color-border);
}

.cookie-pref-info h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 2px;
}

.cookie-pref-info p {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 16px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--color-surface);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-text-dim);
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--color-accent-dim);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
  background: var(--color-accent);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: default;
}

.cookie-prefs-save {
  margin-top: 16px;
  text-align: right;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 88px;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .services-grid-2col {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .team-grid:not(.team-grid--slider) {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .team-grid--slider .team-card {
    flex: 0 0 280px;
  }

  .team-slider-prev {
    left: -8px;
  }

  .team-slider-next {
    right: -8px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .brief-form-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .brief-progress {
    position: relative;
    top: 0;
    flex-direction: row;
    overflow-x: auto;
    margin-bottom: 48px;
    padding-bottom: 8px;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .progress-step {
    flex-direction: column;
    text-align: center;
    min-width: 90px;
    padding: 10px 8px;
    gap: 6px;
  }

  .progress-label {
    font-size: 0.75rem;
  }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 72px;
  }

  body {
    font-size: 15px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-alt);
    flex-direction: column;
    padding: 80px 36px 36px;
    gap: 24px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--color-border);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .benefit-card {
    padding: 32px 28px;
  }

  .service-card {
    padding: 36px 28px;
  }

  .hero {
    min-height: 90vh;
    padding: 100px 0 80px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .form-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
  }

  .radio-option,
  .checkbox-option {
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 56px;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 85vh;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .btn-large {
    padding: 14px 36px;
  }

  .pain-point {
    gap: 14px;
  }

  .pain-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1rem;
  }

  .brief-content {
    padding: 56px 0 72px;
  }

  .progress-step {
    min-width: 72px;
    padding: 8px 4px;
  }

  .progress-number {
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: 0.75rem;
  }

  .calendly-placeholder {
    padding: 32px 20px;
  }
}

/* ============================================
   Motion / Video Toggle (accessibility)
   ============================================ */
.motion-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 900;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border-light);
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(8px);
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  opacity: 0.5;
}

.motion-toggle:hover {
  opacity: 1;
  color: var(--color-text);
  border-color: var(--color-accent);
}

.motion-toggle-tooltip {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text);
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border-light);
  border-radius: 6px;
  padding: 5px 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.motion-toggle:hover .motion-toggle-tooltip {
  opacity: 1;
}

.motion-toggle-icon {
  width: 18px;
  height: 18px;
}

/* Show pause icon by default (videos playing), hide play icon */
.motion-toggle .motion-toggle-off {
  display: none;
}

/* When paused: show play icon, hide pause icon */
.motion-toggle.paused .motion-toggle-on {
  display: none;
}

.motion-toggle.paused .motion-toggle-off {
  display: block;
}

/* When motion is reduced, hide the videos entirely for a clean look */
.reduce-motion .hero-video,
.reduce-motion .solution-video,
.reduce-motion .final-cta-video {
  display: none;
}

/* Turnstile bot protection widget */
.turnstile-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

/* Respect prefers-reduced-motion by default */
@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .solution-video,
  .final-cta-video {
    display: none;
  }

  .motion-toggle .motion-toggle-on {
    display: none;
  }

  .motion-toggle .motion-toggle-off {
    display: block;
  }
}
