:root {
  --ink: #070d10;
  --deep: #05090b;
  --deep2: #0b1518;
  --cream: #f6f3eb;
  --lime: #ccff00;
  --lime-glow: rgba(204, 255, 0, 0.6);
  --red: #ff2233;
  --font-bn: 'Hind Siliguri', sans-serif;
  --font-en: 'Plus Jakarta Sans', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%; height: 100%;
  background: #020507;
  color: #fff;
  overflow: hidden;
  font-family: var(--font-bn);
}

#root {
  position: absolute; inset: 0;
  width: 1080px; height: 1920px;
  background: radial-gradient(ellipse at 50% 30%, #0d1b20 0%, #050a0d 60%, #020406 100%);
  overflow: hidden;
}
#root.theme-cream {
  background: radial-gradient(ellipse at 85% 20%, #e8f2e2 0%, #f6f3eb 50%, #eae6dc 100%);
  color: var(--ink);
}
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(204, 255, 0, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(204, 255, 0, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.theme-cream .grid-bg {
  background-image: linear-gradient(rgba(17,34,37,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(17,34,37,0.06) 1px, transparent 1px);
}

/* Brand Header */
.brand-header {
  position: absolute; top: 70px; left: 70px; right: 70px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 20;
}
.brand-badge {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-en); font-weight: 800; font-size: 26px;
  letter-spacing: -0.5px;
}
.brand-badge img { width: 44px; height: 44px; filter: drop-shadow(0 0 12px rgba(204,255,0,0.5)); }
.brand-badge .ai { color: var(--lime); text-shadow: 0 0 15px rgba(204,255,0,0.6); }
.theme-cream .brand-badge .ai { color: #58801d; }
.theme-cream .brand-badge { color: #112022; }

.step-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-en); font-weight: 700; font-size: 15px;
  letter-spacing: 1.5px;
}
.step-pill .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime);
}
.theme-cream .step-pill {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(20, 40, 35, 0.12);
  color: #233535;
}

/* Scene Base */
.scene {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  overflow: hidden;
}

/* 3D Camera Rig Architecture */
.camera-viewport {
  position: absolute; inset: 0;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  overflow: hidden;
}
.camera-rig {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Ambient 3D Glow Spheres */
.glow-sphere {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.glow-sphere.lime-glow {
  width: 450px; height: 450px; left: -100px; top: 150px;
  background: rgba(213, 255, 84, 0.14);
}
.glow-sphere.red-glow {
  width: 500px; height: 500px; right: -120px; top: 350px;
  background: rgba(239, 68, 68, 0.15); opacity: 0;
}

/* Typography Base */
.hero-title-box {
  position: absolute; left: 80px; top: 190px; right: 80px;
  z-index: 10;
}
.eyebrow {
  font-family: var(--font-en); font-weight: 800; font-size: 20px;
  letter-spacing: 3px; color: var(--lime);
  margin-bottom: 16px; text-transform: uppercase;
}
.theme-cream .eyebrow { color: #58801d; }
.bold-headline-bn {
  font-size: 78px; line-height: 1.18; font-weight: 700;
  letter-spacing: -1.5px; color: #fff;
}
.theme-cream .bold-headline-bn { color: #0f1c1e; }
.highlight-pill {
  display: inline-block; padding: 2px 22px; border-radius: 18px;
  background: var(--lime); color: #0b1418;
}
.highlight-pill.red {
  background: var(--red); color: #fff;
}

/* =========================================
   SCENE 1: PURE KINETIC TYPOGRAPHY STAGE
   ========================================= */
.hud-corners {
  position: absolute; inset: 40px; pointer-events: none; z-index: 5;
}
.hud-corners .corner {
  position: absolute; width: 36px; height: 36px;
  border-color: rgba(213, 255, 84, 0.45); border-style: solid;
}
.hud-corners .tl { top: 0; left: 0; border-width: 3px 0 0 3px; }
.hud-corners .tr { top: 0; right: 0; border-width: 3px 3px 0 0; }
.hud-corners .bl { bottom: 0; left: 0; border-width: 0 0 3px 3px; }
.hud-corners .br { bottom: 0; right: 0; border-width: 0 3px 3px 0; }

.hook-typography-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 60px; text-align: center; z-index: 10;
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px; border-radius: 999px;
  background: rgba(213, 255, 84, 0.12);
  border: 1px solid rgba(213, 255, 84, 0.3);
  font-family: var(--font-en); font-weight: 800; font-size: 17px;
  letter-spacing: 2.5px; color: var(--lime);
  margin-bottom: 36px;
}
.pulse-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 12px var(--lime);
}

.giant-word-flow {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.flow-line {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  will-change: transform, opacity;
}
.kinetic-word {
  font-size: 96px; font-weight: 700; color: #ffffff;
  line-height: 1.15; letter-spacing: -2px;
  display: inline-block; will-change: transform, opacity;
  text-shadow: 0 4px 20px rgba(0,0,0,0.9);
}
.kinetic-word.kw-product {
  font-size: 106px;
  font-weight: 800;
  color: #00ffcc;
  text-shadow: 0 0 35px rgba(0, 255, 204, 0.85), 0 4px 20px rgba(0,0,0,0.9);
}
.kinetic-badge.kw-reel {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  padding: 24px 52px 14px 52px;
  min-height: 156px;
  border-radius: 40px;
  background: var(--lime); color: #000000;
  font-size: 98px; font-weight: 800; line-height: 1.2;
  box-shadow: 0 0 70px var(--lime-glow), 0 25px 60px rgba(0,0,0,0.85);
  -webkit-text-fill-color: #000000;
  border: 3px solid #ffffff;
}
.reel-emoji { font-size: 84px; }
.kinetic-word.kw-banate {
  font-size: 88px; color: #f1f8f5;
  text-shadow: 0 4px 20px rgba(0,0,0,0.9);
}
.kinetic-alert.kw-jhamela {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  padding: 14px 44px; border-radius: 36px;
  background: linear-gradient(135deg, #ff1744 0%, #b70000 100%);
  color: #ffffff;
  font-size: 90px; font-weight: 800; line-height: 1.1;
  border: 3px solid #ff4d6d;
  box-shadow: 0 0 80px rgba(255, 23, 68, 0.85), 0 25px 75px rgba(0,0,0,0.85);
  letter-spacing: -1.4px; text-shadow: 0 4px 18px rgba(0,0,0,0.7);
  max-width: 96%;
  white-space: nowrap;
}

/* 3D Floating Struggle Badges - Vibrant & High Contrast */
.floating-struggle-tags {
  position: absolute; inset: 0; pointer-events: none; z-index: 15;
}
.f-tag {
  position: absolute; padding: 16px 36px; border-radius: 999px;
  background: rgba(35, 6, 12, 0.94);
  border: 2.5px solid #ff3344;
  color: #ffffff; font-size: 28px; font-weight: 800;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 35px rgba(255, 51, 68, 0.45), 0 16px 45px rgba(0,0,0,0.85);
  will-change: transform, opacity;
}
.f-tag.ft-1 { left: 80px; top: 360px; }
.f-tag.ft-2 { right: 70px; top: 515px; }
.f-tag.ft-3 { left: 80px; bottom: 360px; }

/* ========================================================
   SCENE 2: FULL-WIDTH TACTILE STEPPED POPUPS & CAMERA
   ======================================================== */
#s2-title-box {
  position: absolute; left: 70px; top: 245px; right: 70px;
  z-index: 10;
}
#s2-title {
  font-size: 78px; line-height: 1.16;
  text-shadow: 0 4px 20px rgba(0,0,0,0.9);
}

.popup-stage {
  position: absolute; left: 70px; right: 70px; top: 545px;
  display: flex; flex-direction: column; gap: 28px;
  transform-style: preserve-3d;
}
.popup-card {
  position: relative; width: 100%; height: 154px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(20, 34, 38, 0.98), rgba(6, 12, 14, 0.98));
  border: 2px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 25px 65px rgba(0,0,0,0.8), inset 0 1.5px 0 rgba(255,255,255,0.4);
  backdrop-filter: blur(25px);
  padding: 0 32px;
  display: flex; flex-direction: row; align-items: center; gap: 24px;
  will-change: transform, opacity;
}

.icon-box-3d {
  width: 86px; height: 86px; border-radius: 24px;
  background: rgba(204, 255, 0, 0.2);
  border: 2px solid #ccff00;
  display: grid; place-items: center;
  font-size: 42px; color: #ccff00;
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.45), 0 10px 25px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.icon-box-3d.icon-cut {
  background: rgba(251, 191, 36, 0.22); border-color: #fbbf24; color: #fbbf24;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.45), 0 10px 25px rgba(0,0,0,0.5);
}
.icon-box-3d.icon-edit {
  background: rgba(255, 51, 68, 0.25); border-color: #ff3344; color: #ff3344;
  box-shadow: 0 0 35px rgba(255, 51, 68, 0.5), 0 10px 25px rgba(0,0,0,0.5);
}

.popup-content {
  flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0;
}
.step-num {
  font-family: var(--font-en); font-weight: 800; font-size: 14px;
  letter-spacing: 2px; color: var(--lime);
  text-shadow: 0 0 12px var(--lime);
}
.step-title {
  font-size: 36px; font-weight: 700; color: #ffffff; line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
.step-subtitle {
  font-size: 20px; color: #bde0d0; margin-top: 3px; line-height: 1.25;
  font-weight: 600;
}

.status-indicator {
  flex-shrink: 0; margin-left: auto; padding: 10px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-en); font-weight: 800; font-size: 14px;
  letter-spacing: 1.5px;
}
.status-indicator.searching {
  color: #ccff00; border: 2px solid #ccff00; background: rgba(204, 255, 0, 0.15);
  box-shadow: 0 0 18px rgba(204, 255, 0, 0.35);
}
.status-indicator.downloading {
  color: #38bdf8; border: 2px solid #38bdf8; background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}
.status-indicator.cutting {
  color: #fbbf24; border: 2px solid #fbbf24; background: rgba(251, 191, 36, 0.15);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.35);
}
.status-indicator.exhausted {
  color: #ff4d4d; border: 2px solid #ff4d4d; background: rgba(255, 77, 77, 0.22);
  box-shadow: 0 0 20px rgba(255, 77, 77, 0.45);
}

.popup-card.danger {
  background: linear-gradient(135deg, rgba(68, 14, 20, 0.98), rgba(30, 4, 8, 0.98));
  border: 2.5px solid #ff2233;
  box-shadow: 0 0 50px rgba(255, 34, 51, 0.5), 0 25px 75px rgba(0,0,0,0.85);
}
.step-num.danger { color: #ff6b6b; font-weight: 800; }
.step-title.danger-text { color: #ffffff; text-shadow: 0 0 20px rgba(255,100,100,0.5); }

/* 3D Climax Alarm Card - High-Impact Crimson */
.climax-alarm-card {
  position: relative; width: 100%;
  border-radius: 32px;
  background: linear-gradient(135deg, #e11d48 0%, #881337 100%);
  border: 3px solid #ff4d6d;
  box-shadow: 0 0 90px rgba(225, 29, 72, 0.8), 0 30px 90px rgba(0,0,0,0.9);
  padding: 24px 32px; text-align: center;
  z-index: 10; will-change: transform, opacity;
  margin-top: 6px;
}
.alarm-header-row {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  margin-bottom: 6px;
}
.alarm-label {
  font-family: var(--font-en); font-weight: 800; font-size: 16px;
  letter-spacing: 3px; color: #ffe4e6;
}
.alarm-beacon { font-size: 26px; }
.alarm-big-text {
  font-size: 38px; font-weight: 800; color: #ffffff;
  line-height: 1.25; text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* =========================================
   SCENE 3: 1-LINK INPUT & 3 HD CLIPS
   ========================================= */
.url-input-card {
  position: absolute; left: 80px; right: 80px; top: 620px;
  background: #ffffff;
  border: 1px solid rgba(20, 45, 38, 0.12);
  border-radius: 36px;
  box-shadow: 0 32px 90px rgba(35, 65, 45, 0.12);
  padding: 38px 42px; color: #112022;
}
.url-card-header {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-en); font-weight: 800; font-size: 16px;
  letter-spacing: 2px; color: #6a7c76;
}
.url-box {
  margin-top: 28px; height: 104px; border-radius: 22px;
  background: #fbfbf8; border: 2px solid #dde5d7;
  display: flex; align-items: center; padding: 0 24px; gap: 18px;
  font-family: var(--font-en); font-size: 25px; color: #2e443e;
}
.url-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: #112022; color: var(--lime);
  display: grid; place-items: center; font-weight: 800;
}
.typing-cursor {
  width: 3px; height: 38px; background: #58801d;
  margin-left: 2px;
}
.action-button {
  margin-top: 26px; height: 86px; border-radius: 22px;
  background: var(--lime); color: #0b1418;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--font-en); font-weight: 800; font-size: 23px;
  letter-spacing: 1px; box-shadow: 0 16px 40px rgba(120, 160, 40, 0.28);
}
.footage-fanout {
  position: absolute; left: 80px; right: 80px; top: 1140px;
  display: flex; gap: 24px;
}
.footage-card {
  flex: 1; height: 350px; border-radius: 28px;
  background: #ffffff; border: 1px solid rgba(20, 40, 35, 0.14);
  box-shadow: 0 24px 60px rgba(35, 60, 45, 0.14);
  overflow: hidden; display: flex; flex-direction: column;
}
.footage-card img {
  width: 100%; height: 250px; object-fit: cover;
}
.footage-meta {
  padding: 16px 20px;
  font-family: var(--font-en); font-weight: 700; font-size: 15px; color: #1b2e2a;
  display: flex; justify-content: space-between; align-items: center;
}
.footage-meta .tag {
  padding: 6px 12px; border-radius: 999px; background: #e6f5cf; color: #436a19;
  font-size: 13px; font-weight: 800;
}

/* =========================================
   SCENE 4: AI INPAINT & PHONE LASER SWEEP
   ========================================= */
.phone-mockup-wrapper {
  position: absolute; left: 160px; right: 160px; top: 580px;
  height: 980px;
}
.phone-frame {
  width: 100%; height: 100%; border-radius: 54px;
  background: #050a0c; border: 10px solid #203135;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5);
  position: relative; overflow: hidden;
}
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 180px; height: 30px; border-radius: 20px; background: #000;
  z-index: 10;
}
.phone-media {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.watermark-badge {
  position: absolute; padding: 14px 24px; border-radius: 14px;
  font-size: 26px; font-weight: 800; font-family: sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 5;
}
.wm-chinese-1 { top: 120px; right: 30px; background: var(--red); color: #fff; transform: rotate(-5deg); }
.wm-chinese-2 { bottom: 180px; left: 40px; background: #eab308; color: #000; transform: rotate(4deg); }
.laser-beam {
  position: absolute; left: 0; right: 0; height: 6px;
  background: var(--lime);
  box-shadow: 0 0 35px var(--lime), 0 0 70px var(--lime);
  z-index: 8;
}
.clean-pill-badge {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  padding: 16px 28px; border-radius: 999px;
  background: var(--lime); color: #0b1418;
  font-weight: 700; font-size: 24px; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(213, 255, 84, 0.4);
  z-index: 9;
}

/* =========================================
   SCENE 5: CLIMAX & CTA
   ========================================= */
.climax-wrap {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 80px;
}
.climax-logo-mark {
  width: 160px; height: 160px; margin-bottom: 24px;
}
.climax-brand-name {
  font-family: var(--font-en); font-weight: 800; font-size: 52px;
  letter-spacing: -1px; color: #fff; margin-bottom: 24px;
}
.climax-brand-name .ai { color: var(--lime); }
.climax-giant-text {
  font-size: 96px; line-height: 1.15; font-weight: 700;
  margin-bottom: 44px;
}
.cta-button {
  padding: 28px 64px; border-radius: 999px;
  background: var(--lime); color: #0b1418;
  font-family: var(--font-bn); font-weight: 700; font-size: 38px;
  box-shadow: 0 20px 60px var(--lime-glow);
  display: flex; align-items: center; gap: 20px;
}

/* Dynamic Subtitle Bar */
.subtitle-bar {
  position: absolute; left: 70px; right: 70px; bottom: 96px;
  min-height: 80px; border-radius: 24px;
  background: rgba(5, 12, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 14px 30px;
  font-size: 30px; font-weight: 600; color: #fff;
  z-index: 30;
}

/* Climax Contact Badge */
.cta-contact-badge {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(213, 255, 84, 0.4);
  padding: 12px 36px;
  border-radius: 999px;
  font-family: var(--font-bn);
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.cta-contact-badge strong {
  font-family: var(--font-en);
  color: var(--lime);
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Persistent Bottom Contact Bar */
.reel-footer-contact {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 20, 24, 0.9);
  border: 1px solid rgba(213, 255, 84, 0.35);
  padding: 8px 28px;
  border-radius: 999px;
  backdrop-filter: blur(14px);
  z-index: 35;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.reel-footer-contact .contact-icon {
  font-size: 22px;
}
.reel-footer-contact .contact-label {
  font-family: var(--font-bn);
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.reel-footer-contact .contact-num {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: 0.5px;
}
