@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700,800&display=swap');

/* ════════════════════════════════════════════════════════════════
   ALCHEMY MEDIAS — Strict 4-Color Palette
   
   Design System:
   - Palette: #090820 (Dark Base), #7030EF (Primary Violet), #DB1FFF (Vibrant Magenta), #FFFFFF (White)
   - NO other colors — all text uses white at varying opacity
   - Gradient CTA buttons (#7030EF → #DB1FFF) with luminous neon shadows
   - Typography: 'General Sans'
   - Canvas/frames: untouched (no CSS filters)
   ════════════════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────────────────── */
:root {
  /* Strict 4-Color Palette: #090820, #7030EF, #DB1FFF, #FFFFFF */
  --color-bg: #090820;
  --color-text-white: #ffffff;
  --color-text-body: rgba(255, 255, 255, 0.88);
  --color-text-muted: rgba(255, 255, 255, 0.70);
  --color-text-dim: rgba(255, 255, 255, 0.50);
  --color-accent-violet: #7030ef;
  --color-accent-glow: #db1fff;
  --color-accent-glow-rgba: rgba(219, 31, 255, 0.45);

  /* Translucent Purple Frosted Glass */
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(112, 48, 239, 0.08) 50%, rgba(9, 8, 32, 0.25) 100%);
  --glass-bg-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(112, 48, 239, 0.14) 50%, rgba(9, 8, 32, 0.35) 100%);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-top: rgba(219, 31, 255, 0.5);
  --glass-shadow: 0 24px 50px rgba(9, 8, 32, 0.6), 0 0 35px -5px rgba(112, 48, 239, 0.25);
  --glass-blur: 28px;
  --card-radius: 22px;

  /* Typography */
  --font-display: 'General Sans', sans-serif;
  --font-body: 'General Sans', sans-serif;

  /* Spacing */
  --section-gap: 30px;
  --container-max: 1100px;
  --container-pad: 24px;

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-base: 0.3s var(--ease-out-quart);
}

/* ── Reset & Global Typography ─────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background: var(--color-bg);
  scroll-behavior: smooth;
  font-size: 16px;
  letter-spacing: -0.01em;
}

body {
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text-body);
  font-family: var(--font-body);
  position: relative;
}

/* Ambient Luxury Purple Lighting across viewport */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(112, 48, 239, 0.15) 0%, rgba(9, 8, 32, 0) 70%);
  z-index: 1;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ── Typography Hierarchy ──────────────────────────────────────── */

/* H1: Main Brand / Hero Title */
h1, .hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--color-text-white);
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* H2: Section Titles */
h2, .section-title, .about-title, .contact-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-text-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* H3: Card Headers / Component Titles */
h3, .card-title, .showcase-card-title, .testimonial-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--color-text-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* H4: Eyebrow / Badges / Sub-tags */
h4, .eyebrow, .badge-text, .section-label, .showcase-tag, .hero-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Body & Paragraphs Sharp Readability */
p,
.description,
.card-desc,
.roadmap-card-desc,
.sample-video-desc,
.about-desc,
.testimonial-text,
.hero-subtitle,
.body-text,
li,
span.subtext {
  font-family: var(--font-body);
  color: #FFFFFF !important;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* ── Background Canvas (no filters — frames display as-is) ──────── */
#animation-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  background: var(--color-bg);
}



/* ── Content Overlay ───────────────────────────────────────────── */
#content-overlay {
  position: relative;
  z-index: 10;
  pointer-events: none;
}

#content-overlay section,
#content-overlay footer,
#content-overlay .glass-card,
#content-overlay a,
#content-overlay button,
#content-overlay input,
#content-overlay select,
#content-overlay textarea {
  pointer-events: auto;
}

/* ── Loading Screen ────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: opacity 1s var(--ease-out-expo), visibility 1s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text-white);
  letter-spacing: -0.02em;
}

.loader-3d-viewport {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.4));
}

#loader-3d-canvas {
  width: 160px;
  height: 160px;
  display: block;
}

.loader-progress-track {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.loader-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #7030ef, #db1fff);
  border-radius: 4px;
  transition: width 0.12s ease-out;
}

.loader-percent {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

/* ── Progress Bar (top) ────────────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #7030ef, #db1fff);
  z-index: 9000;
  transition: width 0.05s linear;
  box-shadow: 0 0 14px var(--color-accent-glow-rgba);
}

/* ── Vibrant Cosmic Purple Glassmorphism ────────────────────────── */
.glass-card,
.card,
.about-card,
.process-card,
.video-card,
.roadmap-card,
.testimonial-card,
.sample-video-card,
.contact-left,
.contact-right,
.hero-stat-card {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.22), rgba(30, 10, 60, 0.45)) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  box-shadow: var(--glass-shadow);
  border-radius: var(--card-radius);
  color: var(--color-text-body);
}

/* ════════════════════════════════════════════════════════════════
   GLOBAL INTERACTIVE NEON GLOW & LIFT HOVER EFFECT
   ════════════════════════════════════════════════════════════════ */
.glass-card,
.about-card,
.testimonial-card,
.sample-video-card,
.contact-left,
.contact-right,
.hero-stat-card,
.roadmap-card,
.btn,
.btn-primary,
.btn-outline,
.btn-small,
.btn-submit,
.hero-stat-badge,
.roadmap-badge,
.stat-badge-text,
.sample-video-tag,
.showcase-tag,
.roadmap-step,
.video-modal-close,
.showcase-thumb-wrapper,
.sample-video-thumb-wrapper {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease !important;
}

/* Hover & Focus-Visible States (Desktop & Fine Pointers) */
@media (hover: hover) and (pointer: fine) {
  .glass-card:hover,
  .about-card:hover,
  .testimonial-card:hover,
  .sample-video-card:hover,
  .contact-left:hover,
  .contact-right:hover,
  .hero-stat-card:hover,
  .roadmap-card:hover,
  .btn:hover,
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-small:hover,
  .btn-submit:hover,
  .hero-stat-badge:hover,
  .roadmap-badge:hover,
  .sample-video-tag:hover,
  .showcase-tag:hover,
  .video-modal-close:hover,
  .showcase-thumb-wrapper:hover,
  .sample-video-thumb-wrapper:hover,
  .glass-card:focus-visible,
  .btn:focus-visible,
  .sample-video-card:focus-visible {
    border-color: rgba(0, 245, 255, 0.8) !important;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4), inset 0 0 12px rgba(112, 48, 239, 0.25) !important;
    transform: translateY(-4px) scale(1.02) !important;
    cursor: pointer;
  }
}

/* Touch & Active State (Instant Feedback, Non-Sticking) */
.glass-card:active,
.about-card:active,
.testimonial-card:active,
.sample-video-card:active,
.hero-stat-card:active,
.btn:active,
.btn-primary:active,
.btn-outline:active,
.btn-small:active,
.btn-submit:active,
.roadmap-card:active,
.video-modal-close:active {
  border-color: rgba(0, 245, 255, 0.8) !important;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4), inset 0 0 12px rgba(112, 48, 239, 0.25) !important;
  transform: translateY(-2px) scale(1.01) !important;
}

/* ── Section Label ─────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.label-line,
.hero-label-line {
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: rgba(219, 31, 255, 0.7);
  box-shadow: 0 0 8px rgba(219, 31, 255, 0.5);
  vertical-align: middle;
}

/* ── Buttons (Luxury Purple Gradient & Glowing Pills) ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, #7030ef, #db1fff);
  color: var(--color-text-white);
  box-shadow: 0 0 24px rgba(219, 31, 255, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7030ef, #db1fff);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(219, 31, 255, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-white);
  border: 1px solid rgba(219, 31, 255, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(219, 31, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(112, 48, 239, 0.25);
  border-color: rgba(219, 31, 255, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(219, 31, 255, 0.35);
}

.btn-small {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: rgba(112, 48, 239, 0.2);
  border: 1px solid rgba(219, 31, 255, 0.35);
  color: var(--color-text-white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-small:hover {
  background: rgba(112, 48, 239, 0.35);
  border-color: rgba(219, 31, 255, 0.7);
  color: var(--color-text-white);
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(219, 31, 255, 0.4);
}

.btn-submit {
  background: linear-gradient(135deg, #7030ef, #db1fff);
  color: var(--color-text-white);
  padding: 14px 34px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  letter-spacing: 0.06em;
  box-shadow: 0 0 24px rgba(219, 31, 255, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #7030ef, #db1fff);
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(219, 31, 255, 0.65);
}

/* ════════════════════════════════════════════════════════════════
   SECTION 1: HERO
   ════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 70px var(--container-pad) 40px;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
}

.hero-left {
  max-width: 540px;
  position: relative;
  flex: 1 1 auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-label-line {
  background: rgba(216, 180, 254, 0.7);
}

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

.hero-subtitle {
  max-width: 440px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Hero 3D Camera Lens Viewport ── */
.hero-3d-viewport {
  position: relative;
  width: 540px;
  height: 600px;
  max-width: 50vw;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  border-radius: var(--card-radius);
  overflow: visible;
  /* background, border, and box-shadow removed to get rid of the square border */
}

#hero-lens-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
  cursor: grab;
}

#hero-lens-canvas:active {
  cursor: grabbing;
}

/* ── Hero 3D Floating Glass Stat Cards (Docked around Lens) ───────── */
.hero-stats-floating {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible;
}

.hero-stat-card {
  pointer-events: auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(112, 48, 239, 0.18));
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(0, 245, 255, 0.6); /* Cyan light hit */
  box-shadow: 0 20px 45px rgba(9, 8, 32, 0.65), 0 0 30px rgba(112, 48, 239, 0.3);
  border-radius: 20px;
  padding: 16px 20px;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.hero-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-stat-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(0, 245, 255, 0.85);
  box-shadow: 0 25px 50px rgba(9, 8, 32, 0.75), 0 0 40px rgba(0, 245, 255, 0.35);
}

.hero-stat-card-main {
  width: 260px;
  align-self: flex-start;
  margin-top: -24px;
  margin-left: -36px;
  animation: heroFloatMain 6s ease-in-out infinite;
}

.hero-stat-card-sub {
  width: 235px;
  align-self: flex-end;
  margin-bottom: -24px;
  margin-right: -36px;
  padding: 12px 16px;
  border-top: 1px solid rgba(219, 31, 255, 0.6); /* Violet light hit */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(80, 20, 180, 0.22));
  animation: heroFloatSub 6s ease-in-out infinite 0.8s;
}

@keyframes heroFloatMain {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@keyframes heroFloatSub {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }
}

.hero-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-white);
  margin-bottom: 5px;
}

.stat-cyan-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f5ff;
  box-shadow: 0 0 10px #00f5ff, 0 0 18px rgba(0, 245, 255, 0.8);
  display: inline-block;
  animation: pulseCyan 2s ease-in-out infinite;
}

@keyframes pulseCyan {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, #00f5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
  line-height: 1.2;
}

.hero-stat-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.35;
  margin: 0;
}

.hero-stat-subtext {
  font-size: 0.74rem;
  color: rgba(226, 232, 240, 0.85);
  font-weight: 500;
  letter-spacing: 0.02em;
}


@media (max-width: 992px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .hero-3d-viewport {
    width: min(340px, 85vw);
    height: min(340px, 85vw);
  }
  .hero-stat-card-main {
    margin-left: 0;
    margin-top: -10px;
    animation: none;
  }
  .hero-stat-card-sub {
    margin-right: 0;
    margin-bottom: -10px;
    animation: none;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  pointer-events: none;
}

.scroll-indicator.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(219, 31, 255, 0.45);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  box-shadow: 0 0 12px rgba(112, 48, 239, 0.25);
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: #db1fff;
  border-radius: 3px;
  box-shadow: 0 0 6px rgba(219, 31, 255, 0.8);
  animation: scrollWheel 2s var(--ease-out-expo) infinite;
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  50%  { opacity: 0.3; transform: translateY(7px); }
  100% { opacity: 1; transform: translateY(0); }
}

.scroll-indicator span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ════════════════════════════════════════════════════════════════
/* ════════════════════════════════════════════════════════════════
   SECTION 2: ABOUT US (Left-aligned translucent frosted glass card)
   ════════════════════════════════════════════════════════════════ */
.about {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.about-card {
  max-width: 480px;
  width: 100%;
  margin-left: 0;
  padding: 32px 36px;
  overflow: hidden;
  position: relative;
  top: -45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-text .section-label {
  margin-bottom: 10px;
}

.about-title {
  margin-bottom: 10px;
}

.about-desc {
  margin-bottom: 4px;
}

.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 6px;
  border-radius: 14px;
  overflow: hidden;
}

.about-image {
  width: auto;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 14px;
  background: transparent;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ════════════════════════════════════════════════════════════════
   SECTION 3: INTERACTIVE NEON ROADMAP (Scroll-pinned roadmap)
   ════════════════════════════════════════════════════════════════ */
.roadmap-section {
  position: relative;
  height: 135vh; /* Reduced scroll distance for snappy scrubbing */
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.roadmap-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px var(--container-pad);
  overflow: hidden;
}

.roadmap-header {
  margin-bottom: 24px;
  max-width: 650px;
}

.roadmap-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 8px;
  color: var(--color-text-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.roadmap-subtitle {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.roadmap-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 480px;
  margin: 0 auto;
}

.roadmap-svg-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.roadmap-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Roadmap Steps Positioning */
.roadmap-step {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  transition: transform 0.4s var(--ease-out-quart), opacity 0.4s var(--ease-out-quart);
}

/* Step 1: Top-Left Curve */
.roadmap-step.step-1 {
  top: 25px;
  left: 20px;
}

/* Step 2: Mid-Right Curve */
.roadmap-step.step-2 {
  top: 145px;
  right: 20px;
  flex-direction: row-reverse;
}

/* Step 3: Lower-Left Curve */
.roadmap-step.step-3 {
  top: 265px;
  left: 20px;
}

/* Step 4: Bottom-Right Curve */
.roadmap-step.step-4 {
  top: 385px;
  right: 20px;
  flex-direction: row-reverse;
}

/* Milestone Badge (01, 02, 03, 04) */
.roadmap-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(9, 8, 32, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--color-text-white);
  transition: all 0.4s var(--ease-out-quart);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.roadmap-step.active .roadmap-badge {
  border-color: #00F5FF;
  background: linear-gradient(135deg, #7030EF 0%, #DB1FFF 100%);
  box-shadow: 0 0 25px #00F5FF, 0 0 45px rgba(219, 31, 255, 0.6);
  transform: scale(1.18);
  color: #FFFFFF;
}

/* Milestone Card */
.roadmap-card {
  max-width: 360px;
  padding: 16px 20px;
  border-radius: 18px;
  opacity: 0.3;
  transform: scale(0.92);
  transition: all 0.4s var(--ease-out-quart);
  pointer-events: none;
}

.roadmap-step.active .roadmap-card {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(219, 31, 255, 0.6);
  box-shadow: 0 15px 40px rgba(9, 8, 32, 0.75), 0 0 30px rgba(112, 48, 239, 0.45);
  pointer-events: auto;
}

.roadmap-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #00F5FF;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 4px;
}

.roadmap-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.roadmap-card-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ════════════════════════════════════════════════════════════════
   SECTION 3.5: SAMPLE VIDEOS (3-column grid between showcase & testimonials)
   ════════════════════════════════════════════════════════════════ */
.sample-videos {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.sample-videos > .section-label {
  position: relative;
  top: -40px;
}

.sample-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  position: relative;
  top: -40px;
}

.sample-video-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.sample-video-card:hover {
  transform: translateY(-5px);
  background: var(--glass-bg-hover);
  border-color: rgba(219, 31, 255, 0.6);
  box-shadow: 0 25px 55px rgba(9, 8, 32, 0.5), 0 0 35px rgba(112, 48, 239, 0.3);
}

.sample-video-thumb-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 380px;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
}

.sample-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  border-radius: 14px;
  display: block;
  background: #000;
}

.sample-video-card:hover .sample-video-thumb {
  transform: scale(1.05);
}

.sample-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(9, 8, 32, 0.4);
  transition: opacity var(--transition-base);
}

.sample-video-thumb-wrapper:hover .sample-video-play {
  opacity: 1;
}

.sample-video-play svg {
  filter: drop-shadow(0 0 10px rgba(219, 31, 255, 0.6));
  transition: transform var(--transition-base);
}

.sample-video-thumb-wrapper:hover .sample-video-play svg {
  transform: scale(1.1);
}

.sample-video-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 4px;
}

.sample-video-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-glow);
  text-shadow: 0 1px 8px rgba(219, 31, 255, 0.4);
}

.sample-video-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--color-text-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Double click hint */
.double-click-hint {
  font-size: 0.72rem;
  font-weight: 600;
  color: #00F5FF;
  letter-spacing: 0.04em;
  opacity: 0.8;
  margin-top: 4px;
  display: inline-block;
  transition: opacity 0.3s ease;
}

/* Close button inside focus mode card */
.focus-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(9, 8, 32, 0.85);
  border: 1.5px solid #00F5FF;
  color: #00F5FF;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out-quart);
  z-index: 10;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

.focus-close-btn:hover {
  background: #00F5FF;
  color: #090820;
  box-shadow: 0 0 25px #00F5FF;
  transform: scale(1.1);
}

/* Case study container */
.sample-video-case-study {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-top: 14px;
}

.case-study-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 245, 255, 0.6), rgba(219, 31, 255, 0.6), transparent);
  margin-bottom: 14px;
}

.case-study-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #00F5FF;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.case-study-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-study-item {
  background: rgba(9, 8, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid #7030EF;
  border-radius: 10px;
  padding: 10px 12px;
}

.case-study-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #DB1FFF;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 3px;
}

.case-study-text {
  font-size: 0.8rem !important;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Ensure in-grid cards never transform, scale, or break layout flow */
.sample-video-card {
  transform: none !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Dedicated Global Case Study Modal Overlay */
#case-study-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none; /* toggled via JS flex */
  align-items: center;
  justify-content: center;
  background: rgba(8, 5, 22, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 99999;
}

.modal-content-box {
  position: relative;
  width: 90vw;
  max-width: 950px;
  max-height: 85vh;
  background: rgba(22, 11, 40, 0.95);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(138, 43, 226, 0.4);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 30px;
  gap: 30px;
  overflow: hidden;
}

/* Left Side Video Player */
.modal-video-col {
  flex: 1 1 45%;
  max-width: 440px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.modal-video-col video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Right Side Case Study Info */
.modal-info-col {
  flex: 1 1 55%;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 75vh;
}

.modal-video-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #A855F7;
  text-transform: uppercase;
  margin: 0;
}

.modal-video-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.25;
}

.modal-case-study-content .case-study-title,
.modal-case-study-content .case-study-label {
  font-size: 14px;
  font-weight: 600;
  color: #00F0FF;
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.modal-case-study-content .case-study-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
}

.modal-case-study-content .case-study-item {
  background: rgba(9, 8, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 3px solid #00F0FF;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

/* Top-Right Close Button */
.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: #00F5FF;
  color: #090820;
  box-shadow: 0 0 25px #00F5FF;
  transform: rotate(90deg) scale(1.1);
}

/* Responsive fallback for mobile */
@media (max-width: 820px) {
  .modal-content-box {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    max-height: 90vh;
  }

  .modal-video-col {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .modal-info-col {
    flex: 1 1 auto;
    padding-left: 0;
  }
}

.sample-video-desc {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

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

@media (max-width: 640px) {
  .sample-videos-grid,
  .sample-videos > .section-label {
    top: 0;
  }
}

/* ════════════════════════════════════════════════════════════════
   SECTION 4: TESTIMONIALS (Frosted glass card)
   ════════════════════════════════════════════════════════════════ */
.testimonials {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.testimonials > .section-label {
  position: relative;
  top: -45px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 480px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  position: relative;
  top: -45px;
}

.testimonial-card {
  height: auto;
  min-height: unset;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(112, 48, 239, 0.4), rgba(219, 31, 255, 0.2));
  border: 1.5px solid rgba(219, 31, 255, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-text-white);
}

.avatar-text {
  font-family: var(--font-body);
}

.avatar-check {
  position: absolute;
  bottom: -2px;
  right: -2px;
}

.testimonial-name {
  margin: 0;
}

.testimonial-stars {
  font-size: 0.88rem;
  color: #db1fff;
  letter-spacing: 2px;
  margin-top: 2px;
  text-shadow: 0 1px 6px rgba(219, 31, 255, 0.45);
}

.testimonial-text {
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   SECTION 5: CONTACT (Two-column Frosted Glass Cards)
   ════════════════════════════════════════════════════════════════ */
.contact {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.contact > .section-label {
  position: relative;
  top: -45px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  top: -45px;
}

.contact-left {
  padding: 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-headline {
  margin-bottom: 24px;
}

.contact-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-icon {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.contact-right {
  padding: 32px 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  justify-content: space-between;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-input {
  width: 100%;
  padding: 13px 18px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  outline: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(219, 31, 255, 0.75);
  box-shadow: 0 0 0 3px rgba(112, 48, 239, 0.25), inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5L6 8L9 5' stroke='%23db1fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-select option {
  background: #090820;
  color: var(--color-text-white);
}

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

.contact-decoration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  opacity: 0.45;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.footer {
  text-align: center;
  padding: 32px var(--container-pad) 40px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.03em;
}

/* ════════════════════════════════════════════════════════════════
   SCROLL-DRIVEN REVEAL & SECTION TRANSITION ANIMATIONS
   ════════════════════════════════════════════════════════════════ */
/* ── Component Disintegration & Re-assembly Entrance Transition ── */
.reveal-disintegrate,
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  filter: blur(10px);
  will-change: opacity, transform, filter;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-disintegrate.visible,
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

section {
  position: relative;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Luminous Ambient Section Divider Glow */
section:not(:last-of-type)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(112, 48, 239, 0.4) 30%, rgba(219, 31, 255, 0.5) 50%, rgba(112, 48, 239, 0.4) 70%, transparent 100%);
  box-shadow: 0 0 15px rgba(219, 31, 255, 0.4);
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.96);
  filter: blur(10px);
  will-change: opacity, transform, filter;
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* Directional variants for silky staggered entry */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px) scale(0.97);
  filter: blur(8px);
  will-change: opacity, transform, filter;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px) scale(0.97);
  filter: blur(8px);
  will-change: opacity, transform, filter;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0px);
}

/* Stagger children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.45s; }

/* ════════════════════════════════════════════════════════════════
   SCROLLBAR
   ════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(112, 48, 239, 0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(219, 31, 255, 0.55); }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --section-gap: 20px;
    --container-pad: 18px;
  }

  .about-card,
  .testimonial-card,
  .contact-left,
  .contact-right {
    min-height: auto;
    padding: 24px 20px;
    top: 0;
  }

  .about-content {
    max-width: 100%;
  }

  .about-image {
    max-height: 180px;
    width: auto;
  }

  .showcase-grid,
  .showcase > .section-label,
  .testimonials-grid,
  .testimonials > .section-label,
  .contact-grid,
  .contact > .section-label {
    top: 0;
  }

  .showcase-card {
    grid-template-columns: 100px 1fr;
    gap: 14px;
    padding: 16px;
    min-height: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-left,
  .contact-right {
    padding: 22px;
  }
}

/* ── Explicit Keyframe & Floating Overlay Destruction Override ─────────── */
#global-keyframe-marker,
.keyframe-diamond,
.keyframe-diamond-svg,
[class*="keyframe"],
[id*="keyframe"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ════════════════════════════════════════════════════════════════
   VIDEO FULLSCREEN MODAL & RATIO DISPLAY
   ════════════════════════════════════════════════════════════════ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.video-modal-content {
  position: relative;
  z-index: 2;
  width: 90vw;
  max-width: 1000px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(219, 31, 255, 0.5);
  transform: scale(1.1);
}

.video-modal-ratio-badge {
  background: linear-gradient(135deg, #7030ef, #db1fff);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: 0 0 20px rgba(219, 31, 255, 0.6), 0 4px 15px rgba(0, 0, 0, 0.4);
  margin-bottom: 14px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: badgeGlow 3s infinite alternate;
}

@keyframes badgeGlow {
  0% { box-shadow: 0 0 15px rgba(219, 31, 255, 0.5); }
  100% { box-shadow: 0 0 30px rgba(112, 48, 239, 0.9), 0 0 10px rgba(255, 255, 255, 0.5); }
}

.video-modal-container {
  width: 100%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  background: #000;
}

.video-modal-container video {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain !important;
  background: #000 !important;
  outline: none;
}

/* Native Fullscreen & Lightbox Handling */
video:fullscreen,
video:-webkit-full-screen,
video:-moz-full-screen,
video:-ms-fullscreen {
  object-fit: contain !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #000000 !important;
}
