/* ============================================================
   SOURCE: css/style.css
   ============================================================ */
/* ══════════════════════════════════════════════════════
   WEBDIME — style.css  |  Concept E: "The Swiss Grid"
   3 colors:  #000000  ·  #f0f2f5  ·  #004de6
   Layout: Architectural Grid, masking reveals.
   ══════════════════════════════════════════════════════ */

:root {
  --bg:     #000000;
  --ink:    #f0f2f5;
  --blue:   #004de6;
  --grid:   rgba(0, 77, 230, 0.25);
  --ink-40: rgba(240, 242, 245, 0.40);
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  -webkit-tap-highlight-color: transparent; 
}

/* ── Continuous full-page vertical grid spine ── */
/* This is a fixed overlay that runs through ALL sections creating one unified grid */
/* Layer 2: Above globe (z-index:0), BELOW all site content (z-index:2+) */
#page-grid-spine {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;
  z-index: 1;
  pointer-events: none;
}

.spine-v-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--grid);
  opacity: 0;
  transition: opacity 2s ease 0.5s;
}

body.loader-finished .spine-v-line {
  opacity: 1;
}


html {
  width: 100%;
  height: 100%;
  background: var(--bg);
  scroll-behavior: auto; /* nav.js handles smooth scroll on anchor clicks */
}

body {
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
}

#scroll-wrap {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: transparent;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ══════════════════════════════════════════════════════
   LOADER
   ══════════════════════════════════════════════════════ */
/* During load, lock scroll so loader animation is not disrupted */
body.loading { overflow: hidden; }
/* After loader finishes, restore scrolling */
body.loader-finished { overflow-y: auto; overflow-x: hidden; }

#loader-container {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 2.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#loader-container.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   HERO / GRID WRAPPER
   ══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: transparent;
  overflow: hidden;
  z-index: 2; /* Above fixed #page-grid-spine at z-index:1 */
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   THE SWISS GRID LINES
   ══════════════════════════════════════════════════════ */
.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.v-line, .h-line {
  position: absolute;
  background: var(--grid);
  transition: transform 1.8s cubic-bezier(0.8, 0, 0.2, 1);
}

/* Vertical lines — HIDDEN: #page-grid-spine already draws these as a fixed overlay.
   Keeping them visible would double the grid line opacity in the hero only. */
.v-line { display: none; }

/* Horizontal lines — unique to hero, keep these */
.h-line { height: 1px; width: 100%; left: 0; transform-origin: left; transform: scaleX(0); background: var(--grid); position: absolute; }
.h-1 { top: 120px; }
.h-2 { bottom: 120px; }

body.loader-finished .h-line { transform: scaleX(1); transition: transform 1.8s cubic-bezier(0.8, 0, 0.2, 1); }

/* ══════════════════════════════════════════════════════
   GRID CONTENT STRUCTURE
   ══════════════════════════════════════════════════════ */
.grid-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.grid-cell {
  position: absolute;
  pointer-events: auto;
}

/* ── LOGO (Top Right) ── */
.cell-logo {
  top: 0;
  left: 50vw;
  width: calc(42vw);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px; /* Gap between logo and right grid line */
}

.cell-logo a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle blur behind the logo to maintain contrast over the globe */
.cell-logo a::before {
  content: '';
  position: absolute;
  width: 130px;
  height: 55px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s ease 1s;
}

body.loader-finished .cell-logo a::before {
  opacity: 1;
}

.cell-logo img { 
  width: 104px; 
  height: auto; 
  opacity: 0; 
  /* Increased duration from 0.4s to 1.2s and used a smoother cubic-bezier for a slow, organic scale */
  transition: opacity 0.8s ease 1s, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1); 
}
body.loader-finished .cell-logo img { opacity: 0.9; }
.cell-logo img:hover { 
  opacity: 1; 
  transform: scale(1.05); 
}

/* ── MAIN LEFT PANE (Eyebrow, Heading, Sub, CTA) ── */
.cell-left-pane {
  top: 120px;
  bottom: 120px;
  left: 8vw;
  width: 42vw;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers all content vertically in the block */
  padding-left: 24px;
  gap: 32px;
}

/* Eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: -10px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 2px;
  height: 16px;
  background: linear-gradient(
    180deg,
    rgba(0, 77, 230, 0.1) 0%,
    rgba(0, 77, 230, 1) 50%,
    rgba(0, 77, 230, 0.1) 100%
  );
  background-size: 100% 200%;
  animation: lineShimmerVert 3s infinite linear;
}

@keyframes lineShimmerVert {
  0%   { background-position: 0 200%; }
  100% { background-position: 0 -200%; }
}

.eyebrow-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue);
  opacity: 0;
  transition: opacity 0.8s ease 1.2s;
}
body.loader-finished .eyebrow-text { opacity: 1; }

/* Heading */
.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 0px;
  position: relative;
  top: 30px; /* Nudges only the heading downward */
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
}

/* Masking reveal logic */
.mask-container {
  overflow: hidden;
  padding-bottom: 8px; /* Room for descenders */
}

.hero__line {
  display: block;
  color: var(--ink);
  transform: translateY(110%); /* Hidden below the mask */
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__line--accent {
  color: var(--ink-40);
}

.hero__line.line-revealed {
  transform: translateY(0);
}

/* ── Premium Fluid Loop (Hero) ── */
#fluid-word {
  display: inline-flex;
  position: relative;
}

.fluid-letter {
  display: inline-block;
  position: relative;
  /* Soft feathered liquid fill: the transition zone (35%→65%) mimics a liquid surface */
  background-image: linear-gradient(
    to top,
    rgba(0, 77, 230, 0.85) 0%,
    rgba(0, 77, 230, 0.5) 35%,
    rgba(255,255,255,0.12) 65%,
    var(--ink-40) 100%
  );
  background-size: 100% 210%;
  background-position: 0 100%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: liquidFill 6s infinite ease-in-out;
}

/* Static (non-animated) letters keep original color */
.fluid-letter-static {
  display: inline-block;
  color: var(--ink-40);
}

@keyframes liquidFill {
  0%, 20%, 100% {
    background-position: 0 100%;
  }
  40%, 60% {
    background-position: 0 5%;
  }
}

/* Subheading */
.hero__sub {
  position: relative;
  top: 30px; /* Nudges only the subheading downward */
  font-family: 'Inter', sans-serif;
  font-size: 19px; /* Reduced to 70% of the massive size */
  font-weight: 400;
  color: var(--ink-40);
  line-height: 1.5;
  max-width: 500px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.8s var(--ease) 1.5s, transform 0.8s var(--ease) 1.5s;
}
body.loader-finished .hero__sub { opacity: 1; transform: translateX(0); }

/* CTA Actions Container */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 12px; /* Reverted to prevent layout shift */
  opacity: 0;
  transform: translateY(50px); /* Move only the CTA downward visually */
  transition: opacity 0.8s ease 1.7s, transform 0.8s ease 1.7s;
}
body.loader-finished .hero__actions { opacity: 1; transform: translateY(40px); }

/* Base Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  outline: none;
  cursor: pointer;
}

.btn-text {
  position: relative;
  z-index: 2;
}

/* ── Primary CTA: The Liquid Blob ── */
.btn--blob {
  padding: 0 40px;
  background: var(--blue);
  color: #fff;
  /* Organic base shape */
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blobMorph 4s ease-in-out infinite;
  /* Subtle 3D Liquid Glass Shadows */
  box-shadow: 
    0 8px 20px rgba(0, 77, 230, 0.1), 
    inset 2px 2px 6px rgba(255, 255, 255, 0.2), 
    inset -2px -2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67% { border-radius: 30% 70% 30% 70% / 50% 60% 40% 50%; }
}

.btn--blob:hover {
  transform: scale(1.08);
  box-shadow: 
    0 10px 25px rgba(0, 77, 230, 0.15),
    inset 4px 4px 10px rgba(255, 255, 255, 0.25), 
    inset -4px -4px 12px rgba(0, 0, 0, 0.15);
  /* Speed up warp on hover */
  animation: blobMorph 1.5s ease-in-out infinite;
}

/* ── Secondary CTA: The Liquid Dot-to-Line ── */
.btn--drip {
  background: transparent;
  color: var(--ink-40);
  padding: 0 16px;
  border-radius: 0;
  transition: color 0.4s;
}

/* The resting glowing dot */
.btn--drip::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50px;
  transform: translateX(-50%);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 6px rgba(0, 77, 230, 0.5);
}

.btn--drip .btn-text {
  position: relative;
  z-index: 2;
}

.btn--drip:hover {
  color: var(--ink);
}

/* Elastic stretch into a liquid underline */
.btn--drip:hover::after {
  width: calc(100% - 32px);
  height: 2px;
  bottom: 6px;
  box-shadow: 0 0 10px rgba(0, 77, 230, 0.6);
}


/* ══════════════════════════════════════════════════════
   DEMO SECTION — THE SPOTLIGHT STAGE
   Same grid, same palette, same language as hero.
   ══════════════════════════════════════════════════════ */

.demo-section {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 30vh;
  background: transparent;
  z-index: 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Continuous grid lines — exact same positions as hero */
.demo-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.demo-v-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--grid);
}

.demo-h-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--grid);
}

/* ── Two-column inner layout — mirrors hero exactly ── */
.demo-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 8vh calc(8vw + 24px);
  display: grid;
  grid-template-columns: calc(42vw - 24px) 1fr;
  gap: 0;
  align-items: center;
  box-sizing: border-box;
}

/* ── Left column: Heading block (same width as hero left pane) ── */
.demo-heading-block {
  position: relative;
  flex: 0 0 auto;
  width: 30vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Section eyebrow — matches hero eyebrow style ── */
.demo-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.demo-eyebrow-tag::before {
  content: '';
  display: block;
  width: 2px;
  height: 16px;
  background: linear-gradient(
    180deg,
    rgba(0, 77, 230, 0.1) 0%,
    rgba(0, 77, 230, 1) 50%,
    rgba(0, 77, 230, 0.1) 100%
  );
  background-size: 100% 200%;
  animation: lineShimmerVert 3s infinite linear;
}

.demo-eyebrow-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue);
}

/* Main heading — same font scale as hero */
.demo-heading {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 3.8vw, 60px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.demo-head-line {
  display: block;
  color: var(--ink);
  font-style: normal;
}

em.demo-head-accent {
  color: var(--ink-40);
  font-style: italic;
}

/* ── Ultra-Premium Kinetic Text Slice Reveal ── */
.slice-word {
  position: relative;
  display: inline-block;
  white-space: pre;
}

/* The invisible spacer to maintain document flow */
.slice-spacer {
  opacity: 0;
  display: inline-block;
}

/* The sliced halves */
.slice-layer {
  position: absolute;
  left: 0;
  top: 0;
  color: inherit;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.2s ease-out;
  will-change: transform, opacity, filter;
}

/* Top half */
.slice-top {
  clip-path: polygon(0 0, 100% 0, 100% 51%, 0 51%);
  transform: translateY(-20px) translateX(-10px) skewX(-20deg);
  opacity: 0;
  filter: blur(8px);
}

/* Bottom half */
.slice-bottom {
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
  transform: translateY(20px) translateX(10px) skewX(20deg);
  opacity: 0;
  filter: blur(8px);
}

/* Revealed State */
.slice-word.is-revealed .slice-top,
.slice-word.is-revealed .slice-bottom {
  transform: translateY(0) translateX(0) skewX(0);
  opacity: 1;
  filter: blur(0);
}

/* Maintain original spacing for text */
.slice-word.is-space {
  width: 0.25em;
}

/* ── Card Scrambler dud character styling ── */
.dud {
  color: var(--ink-40);
}

/* ── 1. Cinematic Blur Reveal ── */
.cinematic-word {
  display: inline-block;
  transform: translateY(40px);
  opacity: 0;
  filter: blur(12px);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}
.cinematic-word.is-revealed {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}
.cinematic-word.is-space {
  width: 0.25em;
}

/* ── Premium 3D Flip Reveal (Pricing) ── */
.flip-word {
  display: inline-block;
  perspective: 1000px;
}
.flip-char {
  display: inline-block;
  transform-origin: bottom;
  transform: rotateX(-90deg) translateY(20px);
  opacity: 0;
  filter: blur(12px);
  transition: transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              opacity 1.2s ease-out, 
              filter 1.2s ease-out;
  will-change: transform, opacity, filter;
}
.flip-char.is-revealed {
  transform: rotateX(0deg) translateY(0);
  opacity: 1;
  filter: blur(0);
}
.flip-char.is-space {
  width: 0.25em;
}

/* ── 2. 3D Rolling Dial ── */
.dial-char {
  display: inline-block;
  opacity: 0;
  transform: rotateX(90deg) translateY(-10px);
  transform-origin: bottom center;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
  will-change: transform, opacity;
}
.dial-char.is-dialed {
  opacity: 1;
  transform: rotateX(0) translateY(0);
}

/* ── 3. Digital Slot Machine ── */
.slot-strip {
  will-change: transform;
}

/* The subheading — same as hero sub */
.demo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-40);
  line-height: 1.6;
}

/* ── Subtle VIEW PLANS CTA — mirrors hero btn--drip at smaller scale ── */
.demo-cta {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 0 2px 8px 2px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-40);
  text-decoration: none;
  transition: color 0.4s;
  margin-top: 8px;
}

/* Resting glowing dot */
.demo-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50px;
  transform: translateX(-50%);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 5px rgba(0, 77, 230, 0.5);
}

.demo-cta:hover {
  color: var(--ink);
}

/* Stretch dot into underline on hover */
.demo-cta:hover::after {
  width: calc(100% - 4px);
  height: 1px;
  bottom: 0;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0, 77, 230, 0.4);
}

/* ── Right column: Spotlight Stage ── */
.spotlight-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Breathing room from the 50vw center grid line */
  padding-left: 4vw;
}

/* Inner wrapper: card stacked above controls */
.spotlight-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Card container — fills right column, capped at comfortable size */
.spotlight-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 10;
}

.spotlight-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #080808;
  border: 1px solid var(--grid);
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 20px 40px -12px rgba(0, 77, 230, 0.05);
}

.spotlight-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

/* Screen / preview area */
.spotlight-card__screen {
  position: relative;
  flex: 1;
  background: #030303;
  overflow: hidden;
}

/* Placeholder content — muted, like hero's dimmed aesthetic */
.spotlight-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.placeholder-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(240, 242, 245, 0.1);
}

.placeholder-sub {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(240, 242, 245, 0.30);
  letter-spacing: 0.05em;
}

/* Card label bar — same grid border language */
.spotlight-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--grid);
}

.spotlight-card__type {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-40);
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

/* Waving horizontal line below text */
.spotlight-card__type::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  /* SVG Sine Wave encoded with #004de6 (var(--blue)) */
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 1.5 Q 3 0 6 1.5 T 12 1.5' fill='none' stroke='%23004de6' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  animation: cardWave 1.2s linear infinite;
  opacity: 0.6;
}

@keyframes cardWave {
  0% { background-position: 0 0; }
  100% { background-position: 12px 0; }
}

/* ── Controls row: dots left, arrows right — sits below the card ── */
.spotlight-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 520px;
}

/* Stage Indicator Dots */
.spotlight-indicator {
  display: flex;
  gap: 10px;
  align-items: center;
}

.indicator-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(240, 242, 245, 0.2);
  transition: background 0.4s, transform 0.4s;
}

.indicator-dot.is-active {
  background: var(--blue);
  transform: scale(1.3);
}

/* Arrow buttons — inline, small, clean */
.spotlight-arrows {
  display: flex;
  gap: 8px;
}

.spotlight-nav {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--grid);
  border-radius: 50%;
  color: var(--ink-40);
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.spotlight-nav:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--ink);
  background: rgba(0, 77, 230, 0.06);
}

.spotlight-nav:disabled {
  opacity: 0.2;
  cursor: default;
}

/* ── Scroll reveal (for items outside .section-reveal) ── */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

/* film-card reveal — merged with its layout definition above */
.film-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.film-card:nth-child(2).is-visible {
  transition-delay: 0.15s;
}

/* ══════════════════════════════════════════════════════
   SECTION-LEVEL REVEAL — sections are ALWAYS opaque so hero
   canvas never bleeds through. Inner items animate via JS.
   ══════════════════════════════════════════════════════ */
.section-reveal {
  opacity: 1;
  position: relative;
  z-index: 2; /* Above fixed #page-grid-spine at z-index:1 */
}

.section-reveal.is-section-visible {
  opacity: 1;
}

/* ══════════════════════════════════════════════════════
   PRICING SECTION: THE TERMINAL (Concept C)
   ══════════════════════════════════════════════════════ */
.pricing-section {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 30vh;
  background: transparent;
  z-index: 2;
  overflow: hidden;
}


/* ── Inner: Two-column layout matching demo/hero ── */
.pricing-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 8vh calc(8vw + 24px) 4vh;
  display: grid;
  grid-template-columns: 25vw 1fr;
  gap: 8vw;
  align-items: start;
  box-sizing: border-box;
}

/* ── Header (left column) ── */
.pricing-header {
  position: sticky;
  top: 8vh;
}

.pricing-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--blue);
  margin: 0 0 16px 0;
  text-shadow: 0 4px 24px rgba(0,0,0,1), 0 1px 4px rgba(0,0,0,0.8);
}

.pricing-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 3.8vw, 60px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-shadow: 0 4px 32px rgba(0,0,0,1), 0 2px 8px rgba(0,0,0,0.8);
}

.pricing-sub {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-40);
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0,0,0,1), 0 1px 4px rgba(0,0,0,0.8);
  display: inline-block;
}

.pricing-sub::before {
  content: '';
  position: absolute;
  inset: -16px -8px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: radial-gradient(ellipse 90% 70% at 40% 50%, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 40% 50%, black 40%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.pricing-terminal {
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--grid);
}

.pricing-trust-note {
  margin-top: 24px;
  padding: 0 16px;
  border-left: 2px solid rgba(0, 140, 255, 0.35);
}

.pricing-trust-note p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  background: linear-gradient(
    105deg,
    rgba(180, 180, 180, 0.6) 0%,
    rgba(200, 200, 200, 0.65) 30%,
    rgba(255, 255, 255, 0.5) 43%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.5) 57%,
    rgba(200, 200, 200, 0.65) 70%,
    rgba(180, 180, 180, 0.6) 100%
  );
  background-size: 400% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: trust-shimmer 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes trust-shimmer {
  0%   { background-position: 150% center; }
  50%  { background-position: -50% center; }
  100% { background-position: 150% center; }
}

/* A single row */
.terminal-row {
  border-bottom: 1px solid var(--grid);
  transition: background 0.4s ease;
  overflow: hidden;
}

.terminal-row--active {
  background: rgba(0, 77, 230, 0.03);
}

/* Clickable header row */
.terminal-row__header {
  display: grid;
  grid-template-columns: 40px 1fr auto 32px;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.3s;
}

.terminal-row__header:hover {
  opacity: 0.8;
}

.terminal-row__index {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue);
  opacity: 0.6;
}

.terminal-row__name {
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  text-shadow: 0 4px 24px rgba(0,0,0,1), 0 1px 4px rgba(0,0,0,0.8);
  display: inline-block;
  justify-self: start;
}



.terminal-row__price {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 4px;
  justify-content: flex-end;
  text-shadow: 0 4px 24px rgba(0,0,0,1), 0 1px 4px rgba(0,0,0,0.8);
}

.price-prefix {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--ink-40);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 4px;
}

/* Currency symbol — slightly smaller, superscript feel */
.price-currency {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-40);
  line-height: 1;
  padding-top: 2px;
}

/* The price number — slot machine target */
.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  display: inline-block;
}

.terminal-row__toggle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--ink-40);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grid);
  border-radius: 50%;
  transition: all 0.4s var(--ease);
}

.terminal-row--active .terminal-row__toggle {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

/* Accordion body (collapses and expands) */
.terminal-row__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s ease,
              opacity 0.4s ease;
  opacity: 0;
  padding-bottom: 0;
}

.terminal-row--active .terminal-row__body {
  max-height: 260px;
  opacity: 1;
  padding-bottom: 20px;
  will-change: max-height, opacity;
}

.terminal-row__desc {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px 60px;
  line-height: 1.6;
  text-shadow: 0 4px 24px rgba(0,0,0,1), 0 1px 4px rgba(0,0,0,0.8);
  display: inline-block;
}



.terminal-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue);
  border: 1px solid rgba(0, 77, 230, 0.3);
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
  margin-left: 60px;
  box-shadow: 0 0 10px rgba(0, 77, 230, 0.15);
}

/* Feature list inside accordion */
.terminal-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.terminal-features li {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  text-shadow: 0 4px 24px rgba(0,0,0,1), 0 1px 4px rgba(0,0,0,0.8);
}



.terminal-features li::before {
  content: '';
  flex-shrink: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.6;
}

.terminal-btn {
  margin-left: 60px;
}

/* Price currency/amount sizes shared */
.price-currency {
  font-size: 20px;
  font-weight: 500;
  margin-top: 2px;
  opacity: 0.6;
}

.price-amount {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}


/* ══════════════════════════════════════════════════════
   HIDE DEFAULT SCROLLBAR
   ══════════════════════════════════════════════════════ */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

/* ══════════════════════════════════════════════════════
   CIRCULAR SECTION NAV
   Inactive  = slow, quiet idle spin (4s)
   Active    = ultra-fast shimmer loop (0.12s) — looks like a glowing ring
   Hover     = reveals section name label only
   ══════════════════════════════════════════════════════ */
.section-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 9000;
}

.section-nav__item {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  outline: none;
  text-decoration: none;
}

/* ── The spinning ring ── */
.section-nav__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(0, 77, 230, 0)    0%,
    rgba(0, 77, 230, 0.4) 55%,
    rgba(0, 77, 230, 0.9) 85%,
    rgba(200, 220, 255, 1) 100%
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #fff calc(100% - 1px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #fff calc(100% - 1px));
  animation: navRingSpin 4s linear infinite;
  opacity: 0.3;
  transition: opacity 0.6s ease, filter 0.6s ease;
}

.section-nav__item.is-active .section-nav__ring {
  animation: navRingSpin 0.12s linear infinite;
  opacity: 1;
  filter: blur(0.4px) drop-shadow(0 0 4px rgba(0, 77, 230, 0.9));
  background: conic-gradient(
    from 0deg,
    rgba(0, 77, 230, 0.3)  0%,
    rgba(0, 77, 230, 1)   60%,
    rgba(180, 210, 255, 1) 100%
  );
}

/* HOVER: ring brightens slightly — label slides in */
.section-nav__item:hover .section-nav__ring {
  opacity: 0.65;
}

@keyframes navRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Label tooltip — hidden by default, shows on hover only ── */
.section-nav__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-40);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

/* Show label only on hover — NOT on active state */
.section-nav__item:hover .section-nav__label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Active state label: slightly brighter on hover */
.section-nav__item.is-active:hover .section-nav__label {
  color: var(--blue);
}

/* ── Film card offset (2nd card staggered) ── */
.film-card--offset {
  margin-top: 40px;
}


/* ============================================================
   SOURCE: css/contact.css
   ============================================================ */
/* ══════════════════════════════════════════════════════
   contact.css — Contact form section + Footer
   ══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   SHARED SWISS GRID OVERLAY (matches demo section)
───────────────────────────────────────── */
.section-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0; /* Must be BELOW contact-inner at z-index 2 */
}

.sgrid-v {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--grid);
  opacity: 0.7;
}

.sgrid-h {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--grid);
  opacity: 0.7;
}

/* ─────────────────────────────────────────
   TOP-TIER AGENCY TYPOGRAPHY REVEAL
───────────────────────────────────────── */
[data-agency-reveal] .agency-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

[data-agency-reveal] .agency-word {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  transform-origin: top left;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.reveal-item.is-visible [data-agency-reveal] .agency-word {
  transform: translateY(0) rotate(0deg);
}

/* ─────────────────────────────────────────
   CONTACT SECTION
───────────────────────────────────────── */
.contact-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 8vw;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  z-index: 2; /* Must be above fixed #page-grid-spine at z-index:1 */
}

.contact-inner {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header */
.contact-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--blue);
  margin: 0 0 16px 0;
}

.contact-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 3.8vw, 60px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 20px 0;
}

.contact-sub {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--ink-40);
  line-height: 1.6;
  margin: 0 0 48px 0;
}

.contact-sub strong {
  color: var(--ink);
}

/* ─────────────────────────────────────────
   FORM GRID
───────────────────────────────────────── */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cf-field--full {
  grid-column: 1 / -1;
}

.cf-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-40);
  text-transform: uppercase;
}

.cf-req {
  color: var(--blue);
  margin-left: 2px;
}

.cf-optional {
  color: rgba(255,255,255,0.3);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 10px;
  margin-left: 4px;
}

/* Input base */
.cf-input {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: #000000; /* Solid black to block grid lines from showing through */
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.cf-input::placeholder {
  color: rgba(255,255,255,0.2);
}

/* Fix browser autofill ruining the dark theme background */
.cf-input:-webkit-autofill,
.cf-input:-webkit-autofill:hover, 
.cf-input:-webkit-autofill:focus, 
.cf-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ink) !important;
  transition: background-color 5000s ease-in-out 0s, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cf-input:focus {
  border-color: var(--blue);
  background: #020816; /* Solid dark blue so grid lines don't show through on focus */
  box-shadow: 0 0 0 3px rgba(0,77,230,0.12);
}

.cf-input.is-error {
  border-color: rgba(255, 80, 80, 0.8);
  box-shadow: 0 0 0 3px rgba(255,80,80,0.1);
}

.cf-input.is-valid {
  border-color: rgba(0,230,100,0.5);
}

/* Textarea */
.cf-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* Error message */
.cf-error {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255,80,80,0.9);
  min-height: 14px;
  transition: opacity 0.2s ease;
}

/* ─────────────────────────────────────────
   PHONE ROW
───────────────────────────────────────── */
.cf-phone-row {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.cf-country-selector {
  position: relative;
  flex-shrink: 0;
}

.cf-country-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000000;
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 14px 12px;
  cursor: pointer;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
  height: 100%;
  box-sizing: border-box;
}

.cf-country-btn:hover {
  background: #020816; /* Solid dark blue */
  border-color: rgba(0,77,230,0.4);
}

.cf-flag {
  font-size: 18px;
  line-height: 1;
}

.cf-dial {
  font-size: 13px;
  color: var(--ink);
  min-width: 32px;
}

.cf-chevron {
  font-size: 10px;
  color: var(--ink-40);
  transition: transform 0.2s ease;
}

.cf-country-btn[aria-expanded="true"] .cf-chevron {
  transform: rotate(180deg);
}

.cf-phone-input {
  border-radius: 0 4px 4px 0;
  flex: 1;
}

/* Dropdown */
.cf-country-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 280px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  z-index: 9999;
  box-shadow: 0 16px 48px rgba(0,0,0,0.8);
  overflow: hidden;
}

.cf-country-dropdown[hidden] {
  display: none;
}

.cf-country-search-wrap {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cf-country-search {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  box-sizing: border-box;
}

.cf-country-search:focus {
  border-color: var(--blue);
}

.cf-country-search::placeholder {
  color: rgba(255,255,255,0.25);
}

.cf-country-list {
  list-style: none;
  padding: 6px 0;
  margin: 0;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,77,230,0.4) transparent;
}

.cf-country-list::-webkit-scrollbar { width: 4px; }
.cf-country-list::-webkit-scrollbar-thumb { background: rgba(0,77,230,0.4); border-radius: 2px; }

.cf-country-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink-40);
  transition: background 0.15s ease, color 0.15s ease;
}

.cf-country-list li:hover,
.cf-country-list li.is-selected {
  background: rgba(0,77,230,0.1);
  color: var(--ink);
}

.cf-country-list li .ci-flag { font-size: 16px; }
.cf-country-list li .ci-name { flex: 1; }
.cf-country-list li .ci-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

/* ─────────────────────────────────────────
   SELECT
───────────────────────────────────────── */
.cf-select-wrap {
  position: relative;
}

.cf-select {
  cursor: pointer;
  padding-right: 36px;
  background-image: none;
}

.cf-select option {
  background: #0a0a0a;
  color: var(--ink);
}

.cf-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--ink-40);
  pointer-events: none;
}

/* ─────────────────────────────────────────
   SUBMIT ROW
───────────────────────────────────────── */
.cf-submit-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* ─────────────────────────────────────────
   SUCCESS STATE
───────────────────────────────────────── */
.contact-success {
  text-align: center;
  padding: 48px 0;
  animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1) both;
}

@media (min-width: 769px) {
  .contact-success:not([hidden]) {
    margin-top: -430px; /* Pull success box up to occupy the form area on desktop */
    margin-bottom: 290px; /* Keep bottom spacing balanced */
    position: relative;
    z-index: 10;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 77, 230, 0.4);
  color: var(--blue);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: rgba(0, 77, 230, 0.06);
}

.success-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 10px 0;
}

.success-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink-40);
  line-height: 1.7;
  margin: 0;
}

.success-sub strong {
  color: var(--ink);
}

/* ─────────────────────────────────────────
   LIMIT STATE
───────────────────────────────────────── */
.contact-form.is-locked {
  pointer-events: none;
}

.contact-form.is-locked .cf-input,
.contact-form.is-locked .cf-country-btn,
.contact-form.is-locked .cf-label,
.contact-form.is-locked .cf-select-arrow {
  opacity: 0.2;
  filter: grayscale(100%);
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.contact-form.is-locked .cf-submit-btn {
  display: none;
}

.contact-limit-msg {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 30, 30, 0.3);
  box-shadow: 0 0 18px rgba(180, 20, 20, 0.08), inset 0 0 12px rgba(180, 20, 20, 0.04);
  border-radius: 4px;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  width: 100%;
  pointer-events: auto;
}

.contact-limit-msg[hidden] {
  display: none;
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.limit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(200, 30, 30, 0.5);
  color: rgba(220, 60, 60, 1);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(180, 20, 20, 0.08);
  box-shadow: 0 0 14px rgba(180, 20, 20, 0.15);
  animation: floatSubtle 3.5s ease-in-out infinite;
}

.limit-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(220, 80, 80, 0.9);
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.limit-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink-40);
  line-height: 1.65;
  margin: 0;
}

.limit-sub a {
  color: rgba(220, 80, 80, 0.8);
  text-decoration: underline;
  text-decoration-color: rgba(200, 60, 60, 0.3);
  transition: color 0.2s, text-decoration-color 0.2s;
  pointer-events: auto;
}

.limit-sub a:hover {
  color: rgba(240, 100, 100, 1);
  text-decoration-color: rgba(220, 80, 80, 0.6);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  position: relative;
  margin-top: 28vh; /* Reduced gap by 30% */
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}

/* Footer Headline Block */
.footer-header {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 100px 8vw 40px 8vw;
  max-width: 700px;
  margin: 0 auto;
}

/* The 3-col grid — same inset as demo-inner: calc(8vw + 24px) */
.footer-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 0;
  padding: 64px calc(8vw + 24px) 80px calc(8vw + 24px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Column label — "NAVIGATE" / "REACH US AT" */
.footer-col-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--blue);
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

/* Left: Nav */
.footer-nav {
  padding-right: 0;
}

.footer-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Nav links — sized like demo sub, with blue underline hover sweep */
.footer-nav__link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-40);
  text-decoration: none;
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
  transition: color 0.3s ease;
}

.footer-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-nav__link:hover {
  color: var(--ink);
}

.footer-nav__link:hover::after {
  width: 50%;
}

/* Center: Globe zone */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.footer-globe-zone {
  width: 120px;
  height: 120px;
}

/* Right: Reach us at */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  text-align: right;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start; /* Aligns icons in a straight vertical line */
}

/* Social link with glow on hover */
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-social-link:hover {
  color: var(--ink);
  text-shadow: 0 0 20px rgba(0,77,230,0.5);
}

.footer-social-icon {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.3);
  transition: color 0.25s ease;
}

.footer-social-link:hover .footer-social-icon {
  color: var(--blue);
}



/* "Coming Soon" badge */
.footer-soon-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 3px 7px;
}

/* Bottom bar — copyright only */
.footer-bottom {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 18px 8vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copy {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  transform: translateX(6px);
}


/* ============================================================
   SOURCE: css/mobile.css
   ============================================================ */
/* ══════════════════════════════════════════════════════
   mobile.css — Webdime mobile responsiveness
   Activates ONLY on screens ≤ 768px.
   Desktop layout (≥ 769px) is 100% untouched.
   ══════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ─────────────────────────────────────────
     GLOBAL — keep grid exact copy of desktop
  ───────────────────────────────────────── */

  /* ─────────────────────────────────────────
     GLOBAL VISIBILITY & COLOR OVERRIDES (Mobile Only)
  ───────────────────────────────────────── */
  .hero__sub,
  .demo-sub,
  .pricing-sub,
  .contact-sub {
    color: rgba(240, 242, 245, 0.72);
  }

  .demo-cta {
    color: rgba(240, 242, 245, 0.85);
  }

  .spotlight-nav {
    color: rgba(240, 242, 245, 0.65);
    border-color: rgba(0, 77, 230, 0.35);
  }

  .placeholder-sub {
    color: rgba(240, 242, 245, 0.25);
  }

  /* ─────────────────────────────────────────
     SECTION NAV — restored & optimized for mobile
  ───────────────────────────────────────── */
  .section-nav {
    display: flex;
    right: 12px;
    gap: 14px;
  }

  .section-nav__item {
    width: 20px;
    height: 20px;
  }

  .section-nav__item.is-active .section-nav__ring {
    filter: none;
    box-shadow: 0 0 6px 2px rgba(0, 77, 230, 0.7);
  }

  .section-nav__label {
    display: none;
  }

  /* ─────────────────────────────────────────
     HERO
  ───────────────────────────────────────── */
  
  /* Pull logo closer to the top-right grid line on mobile */
  .cell-logo {
    padding-right: 8px; 
    height: 90px; /* Make it sit slightly higher up towards the top edge */
  }

  /* Left pane — expand to full width */
  .cell-left-pane {
    left: 8vw;
    width: 84vw;
    top: 90px;
    bottom: 40px;
    padding-left: 8px; /* Moved back slightly so they aren't too far */
    gap: 20px;
  }

  /* Heading — scale down, remove nudge */
  .hero__heading {
    font-size: clamp(36px, 10vw, 54px);
    top: 0;
  }

  /* Subheading — smaller, remove nudge */
  .hero__sub {
    font-size: 15px;
    top: 0;
    max-width: 100%;
  }

  /* Move eyebrow tag slightly upwards and push right to prevent the blue line from touching */
  .hero__eyebrow {
    margin-top: -15px;
    margin-left: 6px;
  }

  /* CTA row — perfectly aligned vertical stack */
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 40px; /* Pushed further down on mobile */
    transform: translateY(0) !important;
  }

  /* Visually align the text in the secondary button with the blob button's 40px padding */
  .hero__actions .btn--drip {
    padding-left: 40px;
  }

  /* Override the loader-finished state that nudges buttons down 40px */
  body.loader-finished .hero__actions {
    transform: translateY(0) !important;
  }

  /* ─────────────────────────────────────────
     DEMO SECTION — heading TOP, card BOTTOM
  ───────────────────────────────────────── */
  .demo-section {
    height: auto;
    min-height: 100vh;
    margin-top: 15vh; /* Gives breathing room to feel like a new section */
  }

  .demo-inner {
    grid-template-columns: 1fr;
    padding: 6vh 5% 6vh;
    align-items: start;
    gap: 32px;
  }

  .demo-heading-block {
    width: 100%;
    max-width: none;
  }

  .spotlight-stage {
    padding-left: 0 !important; /* Override desktop 4vw that pushes cards right */
    width: 100%;
    align-items: stretch; /* Stretch so container fills full width */
  }

  .spotlight-inner {
    width: 100%;
  }

  .spotlight-container {
    max-width: 100% !important; 
    width: 60%; /* 20% MORE smaller (was 80%) */
    transform: translateX(-10px); /* Move 10px left */
    margin: 0 auto; /* Keep it centered overall */
  }

  /* ─────────────────────────────────────────
     CTAs — Mobile Overrides
  ───────────────────────────────────────── */
  
  /* Make the primary blob buttons have their white desktop hover glow by default */
  .btn--blob {
    box-shadow: 
      0 10px 25px rgba(0, 77, 230, 0.15),
      inset 4px 4px 10px rgba(255, 255, 255, 0.25), 
      inset -4px -4px 12px rgba(0, 0, 0, 0.15);
  }

  /* Force the line to be expanded on mobile since there is no hover */
  .btn--drip::after {
    width: auto;
    left: 16px;
    right: 16px;
    transform: none;
    height: 2px;
    bottom: 6px;
    box-shadow: 0 0 10px rgba(0, 77, 230, 0.6);
  }
  
  /* Account for the 40px left padding on the hero button */
  .hero__actions .btn--drip::after {
    left: 40px;
    right: 16px;
  }

  /* Also expand the demo section CTA line by default */
  .demo-cta::after {
    width: calc(100% - 4px);
    height: 1px;
    bottom: 0;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(0, 77, 230, 0.4);
  }

  .spotlight-container {
    max-width: 100%;
    min-height: 220px;
  }

  .spotlight-controls {
    max-width: 100%;
    transform: translateX(-20px); /* Shift buttons 20px left to match card position */
  }

  .spotlight-indicator {
    transform: translateX(60px);
  }

  .spotlight-arrows {
    transform: translateX(-20px);
  }

  /* ─────────────────────────────────────────
     PRICING SECTION — heading TOP, accordion BOTTOM
  ───────────────────────────────────────── */
  .pricing-section {
    height: auto;
    min-height: 100vh;
    margin-top: 15vh; /* Distinct section feel */
  }

  .pricing-inner {
    grid-template-columns: 1fr;
    padding: 6vh 5% 4vh;
    gap: 32px;
    align-items: start;
  }

  /* Unstick the header in single-column mode */
  .pricing-header {
    position: static;
  }

  /* Remove the 60px left indent that works in 2-col but breaks in 1-col */
  .terminal-row__desc,
  .terminal-badge,
  .terminal-features,
  .terminal-btn {
    margin-left: 0;
  }

  /* Tighten the 4-column accordion row header and reduce gap between name and price */
  .terminal-row__header {
    grid-template-columns: 24px auto 1fr 32px;
    gap: 8px;
    padding: 12px 0;
  }

  .terminal-row__price {
    justify-content: flex-start;
    margin-left: 8px; /* brings price right next to the name */
  }

  /* Feature list — single column so nothing overflows */
  .terminal-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Accordion body - smoother transition for larger max-height on mobile */
  .terminal-row--active .terminal-row__body {
    max-height: 900px;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, opacity 0.3s ease;
  }

  .pricing-sub::before,
  .terminal-row__name::before,
  .terminal-row__desc::before,
  .terminal-features li::after,
  .cell-logo a::before {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* ─────────────────────────────────────────
     CONTACT SECTION — tighter fields for mobile
  ───────────────────────────────────────── */
  .contact-section {
    padding: 80px 5%;
  }
  
  .contact-form {
    grid-template-columns: 1fr; /* Stack fields vertically on mobile */
    gap: 24px;
  }
  
  .cf-input {
    padding: 14px 16px; /* Restore comfortable tap targets */
    font-size: 15px;
  }
  
  .cf-country-btn {
    padding: 10px 10px;
    font-size: 13px;
  }
  
  .cf-label {
    font-size: 10px;
  }

  /* Country dropdown — scrollable on small screens */
  .cf-country-dropdown {
    max-height: 240px;
    overflow-y: auto;
  }

  /* ─────────────────────────────────────────
     FOOTER — full viewport with absolute pinning
  ───────────────────────────────────────── */
  .site-footer {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
  }

  /* Header pinned top-left */
  .footer-header {
    position: relative;
    padding: 50px 5% 0;
    text-align: left;
    margin: 0;
    max-width: 100%;
    z-index: 10;
  }

  /* Footer inner — hide it (we use absolute positioning instead) */
  .footer-inner {
    position: absolute;
    bottom: 60px; /* Sit just above the copyright */
    left: 5%;
    right: 5%;
    display: block;
    padding: 0;
    border-top: none;
    z-index: 10;
  }

  /* Hide Navigate stack entirely on mobile */
  .footer-nav {
    display: none;
  }

  /* Hide the center globe placeholder — just empty space on mobile */
  .footer-center {
    display: none;
  }

  /* Reach Us At — left-aligned, compact, pinned at bottom */
  .footer-contact {
    align-items: flex-start;
    text-align: left;
    gap: 8px;
  }

  .footer-contact .footer-col-label {
    font-size: 9px;
    margin-bottom: 10px;
  }

  .footer-contact .footer-social-link {
    font-size: 12px;
  }

  .footer-contact .footer-social-icon {
    font-size: 13px !important;
  }

  /* Copyright — pinned to absolute bottom */
  .footer-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 5%;
    border-top: 1px solid rgba(255,255,255,0.04);
    text-align: center;
    z-index: 10;
  }

  .footer-copy {
    margin: 0;
    font-size: 9px;
  }
}

/* ══════════════════════════════════════════════════════
   SMALL PHONES (≤ 480px) — fine-tuning
   ══════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .hero__heading {
    font-size: clamp(30px, 9vw, 44px);
  }

  .cell-left-pane {
    top: 80px;
  }

  /* Prevent price row overflow on very small screens */
  .terminal-row__name {
    font-size: 15px;
  }

  .price-amount {
    font-size: 24px;
  }

  .price-prefix {
    font-size: 9px; /* Shrunk slightly instead of hiding to prevent overflow */
  }

  .demo-heading {
    font-size: clamp(26px, 8vw, 40px);
  }

  /* ─────────────────────────────────────────
     CONTACT ALERT MESSAGES - absolute centered on mobile
  ───────────────────────────────────────── */
  .contact-success:not([hidden]), 
  .contact-limit-msg:not([hidden]) {
    display: block;
    text-align: center;
    margin-top: -420px;
    margin-bottom: 510px;
    margin-left: auto;
    margin-right: auto;
    max-width: 240px;
    padding: 10px 0;
    z-index: 20;
    position: relative;
  }

  .success-icon, .limit-icon {
    width: 14px;
    height: 14px;
    font-size: 7px;
    margin: 0 auto 12px;
    box-shadow: none;
  }

  .success-heading, .limit-heading {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin: 0 0 8px;
  }

  .success-sub, .limit-sub {
    font-size: 10px;
    line-height: 1.5;
  }
}


/* ============================================================
   SOURCE: css/large-screen.css
   ============================================================ */
/* ══════════════════════════════════════════════════════
   large-screen.css — Overrides for screens wider than 1400px
   (Big monitors, 1080p+, 4K, large laptops)
   
   CRITICAL: Do NOT touch mobile (≤768px) or standard desktop.
   This file ONLY applies to screens ≥1400px.
   ══════════════════════════════════════════════════════ */

@media (min-width: 1400px) {

  /* ─────────────────────────────────────────
     HERO: Constrain left pane so text never bleeds
     past the center grid line on ultra-wide screens
  ───────────────────────────────────────── */
  .cell-left-pane {
    width: 36vw;
    max-width: 580px;
  }

  .hero__heading {
    font-size: clamp(44px, 4.2vw, 78px);
  }

  .hero__eyebrow {
    margin-bottom: -20px; /* Move tag 10px further up vs base -10px */
  }

  .hero__sub {
    max-width: 480px;
  }

  /* ─────────────────────────────────────────
     FOOTER HEADING: Hard cap width and ensure
     text wraps cleanly without odd layout shifts
  ───────────────────────────────────────── */
  .footer-header {
    max-width: 860px;
    padding: 120px 10vw 60px 10vw;
  }

  .contact-heading {
    font-size: clamp(36px, 3.2vw, 56px); /* Smaller — proportionate to other sections */
    line-height: 1.05;
  }

  /* ─────────────────────────────────────────
     FOOTER INNER: Wider padding on big screens
     so 3-col grid sits inside grid lines correctly
  ───────────────────────────────────────── */
  .footer-inner {
    padding: 64px calc(8vw + 24px) 80px calc(8vw + 24px);
    max-width: 1600px;
    margin: 0 auto;
  }

  /* ─────────────────────────────────────────
     GLOBE FOOTER: On very tall/wide viewports
     push the globe Y-target down a little more
     so it doesn't overlap the heading text.
     This is done in CSS by reserving spacing.
  ───────────────────────────────────────── */
  .site-footer {
    margin-top: 32vh;
  }

  /* ─────────────────────────────────────────
     DEMO SECTION: Cap the grid so spotlight
     cards don't stretch too wide on 4K
  ───────────────────────────────────────── */
  .demo-inner {
    max-width: 1600px;
    margin: 0 auto;
  }

  /* ─────────────────────────────────────────
     PRICING SECTION: Cap inner width
  ───────────────────────────────────────── */
  .pricing-inner {
    max-width: 1400px;
    margin: 0 auto;
  }

  /* ─────────────────────────────────────────
     CONTACT SECTION: Cap inner width
  ───────────────────────────────────────── */
  .contact-inner {
    max-width: 700px;
  }
}

/* Ultra-wide: 1920px+ (4K monitors, big gaming monitors) */
@media (min-width: 1920px) {
  .cell-left-pane {
    width: 34vw;
    max-width: 780px;
  }

  .hero__heading {
    font-size: clamp(64px, 5.5vw, 110px);
  }

  .footer-header {
    max-width: 1000px;
  }

  .contact-heading {
    font-size: clamp(40px, 3.5vw, 64px); /* Smaller — proportionate to other sections */
    line-height: 1.05;
  }

  .footer-inner {
    max-width: 1800px;
  }

  .demo-inner {
    max-width: 1800px;
  }

  .pricing-inner {
    max-width: 1600px;
  }
}

/* Layer promotion for hardware accelerated buttery smooth animations */
.reveal-item,
.slice-layer,
.cinematic-word,
.flip-char,
.dial-char,
.spotlight-card,
.slot-strip {
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}


