/**
 * =======================================================================
 * HARINDER SINGH — EDITORIAL CINEMATIC PORTFOLIO & MOTION SYSTEM
 * =======================================================================
 * Faithfully recreating the section hierarchy, typography, 3D carousel,
 * cards, tickers, diagrams, and interactions of the reference architecture
 * while embodying Harinder Singh's filmmaker & video editor identity.
 * =======================================================================
 */

/* 1. TYPOGRAPHY IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Chivo+Mono:ital,wght@0,300..700;1,300..700&display=swap');

@font-face {
  font-family: 'Basement Grotesque';
  src: url('../fonts/BasementGrotesque-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chivo Mono Local';
  src: url('../fonts/ChivoMono.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. DESIGN TOKENS */
:root {
  /* Dark Luxury Palette */
  --bg-primary: #090401;
  --bg-secondary: #100B08;
  --bg-surface: #140E0A;
  --bg-surface-elevated: #1B140F;
  --bg-card: #140E0A;
  --bg-card-hover: #1E1510;

  /* Accent Tones */
  --amber-primary: #EAA51C;
  --amber-hover: #FFAE19;
  --amber-glow: rgba(234, 165, 28, 0.28);
  --amber-faint: rgba(234, 165, 28, 0.12);
  --orange-accent: #E8501A;

  /* Deep Cinematic Tones */
  --teal-deep: #123A38;
  --forest-dark: #0D221D;

  /* Text Colors */
  --text-white: #F8F5F2;
  --text-secondary: #A6A099;
  --text-dim: #6E6862;

  /* Hairline Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-highlight: rgba(234, 165, 28, 0.35);

  /* Typography Families */
  --font-headline: 'Bricolage Grotesque', 'Basement Grotesque', -apple-system, sans-serif;
  --font-display-poster: 'Basement Grotesque', 'Bricolage Grotesque', sans-serif;
  --font-editorial: 'Bodoni Moda', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'Chivo Mono Local', 'Chivo Mono', monospace;

  /* Sizing & Transitions */
  --max-w: 1240px;
  --ease-framer: cubic-bezier(0.25, 1, 0.5, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--ease-framer);
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

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

::selection {
  background: var(--amber-primary);
  color: #090401;
}

/* Film Grain Overlay */
.film-grain-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

.container {
  width: min(calc(100% - 48px), var(--max-w));
  margin-inline: auto;
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 32px), var(--max-w));
  }
}

/* =======================================================================
   REUSABLE UI COMPONENTS & BADGES
   ======================================================================= */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

.badge-dot-amber {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-primary);
  box-shadow: 0 0 10px var(--amber-primary);
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(48px, 7vh, 80px);
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 18px;
}

.section-title em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--amber-primary);
}

.section-desc {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  background: var(--text-white);
  color: #090401;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.28s var(--ease-framer);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--amber-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(234, 165, 28, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all 0.28s var(--ease-framer);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--amber-primary);
  color: var(--amber-primary);
  transform: translateY(-2px);
}

/* =======================================================================
   1. NAVIGATION BAR
   ======================================================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(20px, 4vw, 48px);
  background: transparent;
  transition: all 0.35s var(--ease-framer);
}

.site-nav.is-scrolled {
  background: rgba(9, 4, 1, 0.88);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-primary);
  box-shadow: 0 0 10px var(--amber-primary);
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease-framer);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s var(--ease-framer);
}

.nav-cta:hover {
  background: var(--amber-primary);
  color: #090401;
  border-color: var(--amber-primary);
}

.menu-btn {
  display: none;
  font-size: 22px;
  color: var(--text-white);
  padding: 8px;
}

@media (max-width: 900px) {
  .nav-center, .nav-right { display: none; }
  .menu-btn { display: block; }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 340px);
  height: 100vh;
  height: 100dvh;
  background: #0E0906;
  border-left: 1px solid var(--border-medium);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 88px 32px 40px;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-framer);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-item {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-white);
  padding-block: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-item:hover {
  color: var(--amber-primary);
}

.mobile-drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 24px;
  color: var(--text-secondary);
}

/* =======================================================================
   2. HERO SECTION & 3D CYLINDRICAL CAROUSEL
   ======================================================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: clamp(120px, 16vh, 160px);
  padding-bottom: clamp(60px, 8vh, 100px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 18%, rgba(234, 165, 28, 0.08) 0%, transparent 60%);
}

.hero-header-wrap {
  max-width: 920px;
  margin-inline: auto;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-identity-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-salutation {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(20px, 2.8vw, 32px);
  color: var(--text-white);
  margin-bottom: 14px;
}

.hero-main-title {
  font-family: var(--font-headline);
  font-size: clamp(40px, 6.8vw, 84px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text-white);
  margin-bottom: 24px;
}

.hero-main-title .amber-text {
  color: var(--amber-primary);
}

.hero-sub-copy {
  font-size: clamp(15px, 1.35vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

/* 3D Cylindrical Carousel Viewport */
.carousel-3d-wrapper {
  position: relative;
  width: 100vw;
  height: 440px;
  margin-top: 30px;
  overflow: hidden;
  perspective: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  z-index: 4;
}

.carousel-3d-wrapper:active {
  cursor: grabbing;
}

.carousel-3d-stage {
  position: relative;
  width: 250px;
  height: 360px;
  transform-style: preserve-3d;
  will-change: transform;
}

.carousel-3d-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #110C09;
  border: 1px solid var(--border-medium);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  backface-visibility: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.1s;
}

.carousel-3d-card:hover {
  border-color: var(--amber-primary);
}

.carousel-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.carousel-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 4, 1, 0.2) 0%, transparent 40%, rgba(9, 4, 1, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  pointer-events: none;
}

.carousel-card-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(9, 4, 1, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--amber-primary);
  backdrop-filter: blur(8px);
}

.carousel-card-play {
  align-self: flex-end;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--amber-primary);
  color: #090401;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 4px 14px rgba(234, 165, 28, 0.4);
}

.carousel-card-title {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

/* Platform Tag Pills below carousel */
.hero-tags-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  z-index: 5;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.hero-tag-pill span {
  color: var(--amber-primary);
}

/* =======================================================================
   3. THE PROBLEM SECTION & RETENTION GRAPH
   ======================================================================= */
.section-padding {
  padding-block: clamp(80px, 12vh, 140px);
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: clamp(24px, 3.5vw, 40px);
  align-items: stretch;
}

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

.problem-graph-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.graph-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.graph-card-title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.graph-stat-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #FF4D4D;
  background: rgba(255, 77, 77, 0.12);
  border: 1px solid rgba(255, 77, 77, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* SVG Chart Visual */
.graph-chart-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  margin-block: 16px;
}

.graph-chart-svg {
  width: 100%;
  height: 100%;
}

.graph-tooltip-box {
  position: absolute;
  top: 35%;
  left: 28%;
  background: #18110D;
  border: 1px solid var(--amber-primary);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.graph-tooltip-box span {
  color: var(--amber-primary);
  font-weight: 700;
}

.graph-months-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* Stacked Problem Cards */
.problem-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-sub-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  transition: all 0.3s var(--ease-framer);
}

.problem-sub-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.problem-card-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.problem-card-title {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.problem-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =======================================================================
   4. CONTENT OUTPUT & ACTIVITY SECTION
   ======================================================================= */
.output-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(60px, 8vh, 90px);
}

.output-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.output-metric-number {
  font-family: var(--font-headline);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--amber-primary);
  line-height: 1;
}

.output-metric-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 4px;
}

.activity-days-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

@media (max-width: 640px) {
  .activity-days-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.activity-day-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.activity-day-pill.active {
  background: rgba(234, 165, 28, 0.1);
  border-color: var(--amber-primary);
}

.activity-day-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

.activity-day-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
}

.activity-day-pill.active .activity-day-dot {
  background: var(--amber-primary);
  box-shadow: 0 0 8px var(--amber-primary);
}

/* 3 Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.pillar-icon {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--amber-primary);
}

.pillar-title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* =======================================================================
   5. HOW WE FIX IT (SOLUTION SECTION)
   ======================================================================= */
.solution-box {
  background: linear-gradient(135deg, rgba(234, 165, 28, 0.08) 0%, rgba(20, 14, 10, 0.8) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .solution-box {
    grid-template-columns: 1fr;
  }
}

.solution-title {
  font-family: var(--font-headline);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-white);
  margin-bottom: 18px;
}

.solution-copy {
  font-size: clamp(15px, 1.25vw, 17px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.solution-visual-card {
  background: #110C09;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.solution-metric-val {
  font-family: var(--font-headline);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  color: var(--amber-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.solution-metric-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.solution-metric-caption {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* =======================================================================
   6. SERVICES SECTION (WHAT WE DO)
   ======================================================================= */
.services-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

@media (max-width: 1024px) {
  .services-platform-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
  }
}

.platform-service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-framer);
}

.platform-service-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.platform-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 11;
  background: #000;
  overflow: hidden;
}

.platform-card-media video,
.platform-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-framer);
}

.platform-service-card:hover .platform-card-media video,
.platform-service-card:hover .platform-card-media img {
  transform: scale(1.04);
}

.platform-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(9, 4, 1, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--amber-primary);
  backdrop-filter: blur(8px);
}

.platform-card-content {
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.platform-card-title {
  font-family: var(--font-headline);
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.platform-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.platform-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-white);
}

.platform-features-list li::before {
  content: '✦ ';
  color: var(--amber-primary);
}

/* =======================================================================
   7. CLIENT RESULTS SECTION (REAL VIDEOS, REAL NUMBERS)
   ======================================================================= */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(48px, 6vh, 72px);
}

@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .results-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
  }
}

.result-video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  transition: all 0.35s var(--ease-framer);
}

.result-video-card:hover {
  border-color: var(--amber-primary);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(234, 165, 28, 0.2);
}

.result-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-framer);
}

.result-video-card:hover .result-video {
  transform: scale(1.03);
}

.result-stat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--amber-primary);
  color: #090401;
  box-shadow: 0 4px 14px rgba(234, 165, 28, 0.4);
}

.result-play-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(9, 4, 1, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  backdrop-filter: blur(6px);
}

.result-overlay-bottom {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(9, 4, 1, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  pointer-events: none;
}

.result-card-title {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 4px;
}

.result-card-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--amber-primary);
  text-transform: uppercase;
}

/* Widescreen Cinema Showcase Cut */
.widescreen-case-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 75vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-medium);
  cursor: pointer;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
  transition: all 0.35s var(--ease-framer);
}

.widescreen-case-card:hover {
  border-color: var(--amber-primary);
  transform: translateY(-3px);
}

.widescreen-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widescreen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 4, 1, 0.2) 0%, rgba(9, 4, 1, 0.1) 40%, rgba(9, 4, 1, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 48px);
  pointer-events: none;
}

.widescreen-title {
  font-family: var(--font-headline);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.widescreen-specs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--amber-primary);
}

/* =======================================================================
   8. PROCESS SECTION (FROM RAW CLIPS TO READY-TO-POST)
   ======================================================================= */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 900px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 32px);
  position: relative;
  transition: all 0.3s var(--ease-framer);
}

.process-step-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.process-step-num {
  font-family: var(--font-headline);
  font-size: 38px;
  font-weight: 800;
  color: var(--amber-primary);
  line-height: 1;
  margin-bottom: 20px;
}

.process-step-title {
  font-family: var(--font-headline);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.process-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =======================================================================
   9. TESTIMONIALS & PROOF SECTION
   ======================================================================= */
.proof-stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(48px, 6vh, 64px);
}

.proof-stat-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.proof-stat-val {
  font-family: var(--font-headline);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  color: var(--amber-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.proof-stat-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-quote-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease-framer);
}

.testimonial-quote-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--amber-primary);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--text-white);
  line-height: 1.6;
  margin-bottom: 28px;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1E1510;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--amber-primary);
  font-size: 13px;
}

.testimonial-author-name {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
}

.testimonial-author-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* =======================================================================
   10. PRICING SECTION
   ======================================================================= */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}

@media (max-width: 1024px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s var(--ease-framer);
  position: relative;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(234, 165, 28, 0.08) 0%, #150E0A 100%);
  border-color: var(--amber-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(234, 165, 28, 0.15);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--amber-primary);
  color: #090401;
  text-transform: uppercase;
}

.pricing-plan-name {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.pricing-plan-target {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-price-val {
  font-family: var(--font-headline);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.pricing-price-period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  font-size: 14px;
  color: var(--text-white);
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-check {
  color: var(--amber-primary);
  font-weight: 700;
}

.btn-pricing {
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s var(--ease-framer);
}

.pricing-card.featured .btn-pricing {
  background: var(--amber-primary);
  color: #090401;
  border-color: var(--amber-primary);
}

.btn-pricing:hover {
  background: var(--amber-primary);
  color: #090401;
  border-color: var(--amber-primary);
  transform: translateY(-2px);
}

/* =======================================================================
   11. FAQ ACCORDION SECTION
   ======================================================================= */
.faq-accordion-wrap {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-framer);
}

.faq-item.is-open {
  border-color: var(--border-highlight);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 2.5vw, 26px);
  text-align: left;
  font-family: var(--font-headline);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--text-white);
  gap: 16px;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--amber-primary);
  transition: transform 0.3s var(--ease-framer), background 0.3s;
  flex-shrink: 0;
}

.faq-item.is-open .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--amber-primary);
  color: #090401;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-framer), padding 0.3s;
  padding-inline: clamp(20px, 2.5vw, 26px);
  padding-bottom: 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.is-open .faq-answer-panel {
  max-height: 250px;
  padding-bottom: 24px;
}

/* =======================================================================
   12. TOOLS TICKER (CONTINUOUS INFINITE MARQUEE)
   ======================================================================= */
.ticker-outer-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 28px;
  mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.ticker-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}

.ticker-outer-wrap:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
}

.ticker-bullet {
  color: var(--amber-primary);
  font-size: 14px;
}

/* =======================================================================
   13. FINAL CALL TO ACTION (CTA)
   ======================================================================= */
.cta-section {
  padding-block: clamp(80px, 12vh, 140px);
}

.cta-box {
  background: linear-gradient(180deg, #18110D 0%, #0D0805 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 90px) clamp(24px, 4vw, 60px);
  text-align: center;
  max-width: 1080px;
  margin-inline: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(234, 165, 28, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-family: var(--font-headline);
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-white);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: clamp(15px, 1.35vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.cta-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.cta-guarantee-row {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* =======================================================================
   14. FOOTER
   ======================================================================= */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 48px;
  background: #060301;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 40px;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-nav-links a:hover {
  color: var(--amber-primary);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* =======================================================================
   15. CINEMA MODAL & INTERACTIVE TOAST
   ======================================================================= */
.cinema-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-framer);
}

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

.cinema-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 2, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cinema-dialog {
  position: relative;
  z-index: 2;
  width: min(94vw, 1100px);
  background: #0E0906;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 40px rgba(234, 165, 28, 0.15);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease-framer);
}

.cinema-modal.is-open .cinema-dialog {
  transform: scale(1);
}

.cinema-dialog.is-vertical {
  width: min(88vw, 460px);
}

.cinema-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 9, 6, 0.9);
}

.cinema-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cinema-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber-primary);
  text-transform: uppercase;
}

.cinema-title {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
}

.cinema-close-btn {
  color: var(--text-secondary);
  font-size: 20px;
  padding: 6px;
  transition: all 0.2s;
}

.cinema-close-btn:hover {
  color: var(--amber-primary);
  transform: rotate(90deg);
}

.cinema-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cinema-stage.is-vertical {
  aspect-ratio: 9 / 16;
  max-height: 72vh;
}

.cinema-player-video,
.cinema-player-iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cinema-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(14, 9, 6, 0.9);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.cinema-tag {
  color: var(--text-secondary);
}

/* Copy Toast */
.email-copy-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 10000;
  background: #140E0A;
  border: 1px solid var(--border-highlight);
  color: var(--text-white);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--amber-glow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s var(--ease-framer);
}

.email-copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-framer), transform 0.7s var(--ease-framer);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .ticker-track {
    animation: none !important;
  }
}
