/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:           #050810;
  --bg-warm:      #0A080E;
  --surface:      #0C0F18;
  --line:         #1A1E2A;
  --text:         #E9E5DC;
  --text-dim:     #8A8FA3;
  --accent:       #E8820C;
  --whatsapp:     #25D366;
  --live:         #4ADE80;

  --p-catalyst:   #2E5BFF;
  --p-gharkhata:  #00C853;
  --p-pitchready: #FF8F00;
  --p-postroom:   #E8DCC0;

  --radius-card:  14px;
  --radius-pill:  999px;
  --radius-sm:    8px;

  --section-py:   clamp(96px, 14vh, 160px);
  --content-max:  1280px;
  --content-px:   clamp(24px, 5vw, 48px);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }
.hidden { display: none !important; }

/* ============================================================
   TYPE SCALE
   ============================================================ */
.t-hero    { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.08; font-family: 'DM Serif Display', Georgia, serif; }
.t-section { font-size: clamp(2rem, 4vw, 3.4rem);   line-height: 1.12; font-family: 'DM Serif Display', Georgia, serif; }
.t-metric  { font-size: clamp(2.2rem, 4vw, 3.2rem); font-family: 'JetBrains Mono', 'Courier New', monospace; font-weight: 500; }
.t-body    { font-size: 1.05rem; line-height: 1.7; }
.t-eyebrow { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: 'JetBrains Mono', 'Courier New', monospace; color: var(--text-dim); }
.t-small   { font-size: 0.875rem; color: var(--text-dim); }

/* ============================================================
   LAYOUT
   ============================================================ */
.content-wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--content-px); }
section { position: relative; }

/* ============================================================
   WEBGL CANVAS (hero background only)
   ============================================================ */
#webgl-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ============================================================
   HERO MESH GRADIENT CANVAS
   ============================================================ */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   MARQUEE BAR
   ============================================================ */
.marquee-bar {
  position: relative;
  z-index: 100;
  height: 34px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
  will-change: transform;
}

.marquee-bar:hover .marquee-track { animation-play-state: paused; }

.marquee-content {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding-right: 4rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.marquee-item { padding: 0 2rem; }
.marquee-live { color: var(--live); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  height: 56px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 8, 16, 0.75);
  border-bottom: 1px solid rgba(26, 30, 42, 0.8);
}

.nav-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

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

/* Sound toggle */
.sound-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

.sound-toggle:hover { color: var(--text); }
.sound-toggle svg { width: 16px; height: 16px; }
.sound-toggle .bar { transform-origin: bottom; }
.sound-toggle.active .bar1 { animation: sound-bar 0.8s ease-in-out infinite alternate; }
.sound-toggle.active .bar2 { animation: sound-bar 0.8s ease-in-out 0.15s infinite alternate; }
.sound-toggle.active .bar3 { animation: sound-bar 0.8s ease-in-out 0.3s infinite alternate; }
.sound-toggle.active .bar4 { animation: sound-bar 0.8s ease-in-out 0.45s infinite alternate; }

@keyframes sound-bar {
  from { transform: scaleY(0.3); }
  to   { transform: scaleY(1); }
}

/* Live dot */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  animation: live-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  50%       { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--whatsapp);
  color: #052E16;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-whatsapp:hover { opacity: 0.92; transform: translateY(-1px); }

/* ============================================================
   CUSTOM CURSOR (desktop only)
   ============================================================ */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--text-dim);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.5s ease, background 0.25s;
}

.cursor-ring.hover-link     { width: 44px; height: 44px; border-color: var(--accent); }
.cursor-ring.hover-whatsapp { width: 44px; height: 44px; border-color: var(--whatsapp); background: rgba(37,211,102,0.18); }

/* ============================================================
   HERO
   ============================================================ */
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--section-py) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
  position: relative;
  z-index: 1;
}

.hero-left { display: flex; flex-direction: column; gap: 32px; }

.hero-eyebrow { margin-bottom: -16px; }

.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.08;
  color: var(--text);
}

.hero-headline .accent-line { color: var(--accent); display: block; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  background: var(--whatsapp);
  color: #052E16;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 24px rgba(37,211,102,0.25);
}

.btn-primary:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,0.35); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-ghost:hover { border-color: rgba(233,229,220,0.3); color: var(--text); transform: translateY(-2px); }

/* ── Hero Device Showcase ─────────────────────────────────── */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-devices-scene {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

/* Laptop — photorealistic SVG-style CSS */
.device-laptop-frame {
  position: relative;
  width: 100%;
  animation: device-float 7s ease-in-out infinite;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.6));
}

.laptop-lid-outer {
  background: linear-gradient(145deg, #2a2d3a, #1a1c26);
  border-radius: 14px 14px 2px 2px;
  padding: 10px 10px 6px;
  border: 1.5px solid rgba(255,255,255,0.07);
  position: relative;
}

.laptop-lid-outer::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.laptop-screen-bezel {
  background: #090b12;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  isolation: isolate;
  transform: translateZ(0);
}

.laptop-screen-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(46,91,255,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(232,130,12,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.laptop-base-outer {
  background: linear-gradient(to bottom, #23263a, #1c1e2d);
  border-radius: 2px 2px 10px 10px;
  padding: 10px 0 14px;
  border: 1.5px solid rgba(255,255,255,0.05);
  border-top: none;
  position: relative;
}

.laptop-keyboard {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 2.5px;
  padding: 0 14px;
  margin-bottom: 8px;
}

.laptop-key {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 1.5px;
}

.laptop-touchpad {
  width: 60px;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 5px;
  margin: 0 auto;
}

/* Phone device */
.device-phone-frame {
  position: absolute;
  right: -24px;
  bottom: -10px;
  width: 130px;
  animation: device-float 7s ease-in-out 2s infinite;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.7));
  z-index: 2;
}

.phone-outer {
  background: linear-gradient(145deg, #2a2d3a, #181a25);
  border-radius: 28px;
  padding: 8px 6px;
  border: 1.5px solid rgba(255,255,255,0.08);
  position: relative;
}

/* Notch */
.phone-outer::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 6px;
  background: #090b12;
  border-radius: 3px;
  z-index: 2;
}

/* Side buttons */
.phone-outer::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 30px;
  width: 3px;
  height: 24px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}

.phone-screen-bezel {
  background: #090b12;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  position: relative;
}

.phone-screen-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 30%, rgba(0,200,83,0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Video placeholder */
.video-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 12px;
}

.video-placeholder .vp-name { color: var(--text); font-size: 0.78rem; font-weight: 500; }
.video-placeholder .vp-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(232,130,12,0.12);
  border: 1px solid rgba(232,130,12,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

@keyframes device-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%  { transform: translateY(-10px) rotate(-0.5deg); }
  66%  { transform: translateY(-5px) rotate(0.5deg); }
}

/* Mobile hero */
.hero-mobile-glow {
  display: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(232,130,12,0.1) 0%, transparent 65%);
  animation: mobile-glow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes mobile-glow {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}

/* ============================================================
   PROOF STRIP
   ============================================================ */
.section-proof {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  transition: background 0.3s;
}

.proof-item:last-child { border-right: none; }
.proof-item:hover { background: rgba(232,130,12,0.03); }

.proof-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text), rgba(233,229,220,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   PROJECT SECTIONS
   ============================================================ */
.projects-container { position: relative; z-index: 1; }

.section-project {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-py) 0;
  position: relative;
}

.section-project::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  z-index: 0;
}

.section-project[data-project="catalyst"]::before   { background: radial-gradient(ellipse at 70% 50%, rgba(46,91,255,0.09) 0%, transparent 65%); }
.section-project[data-project="gharkhata"]::before  { background: radial-gradient(ellipse at 70% 50%, rgba(0,200,83,0.09) 0%, transparent 65%); }
.section-project[data-project="pitchready"]::before { background: radial-gradient(ellipse at 70% 50%, rgba(255,143,0,0.09) 0%, transparent 65%); }
.section-project[data-project="postroom"]::before   { background: radial-gradient(ellipse at 70% 50%, rgba(232,220,192,0.07) 0%, transparent 65%); }
.section-project.atmosphere-active::before { opacity: 1; }

.project-inner {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
  position: relative;
  z-index: 1;
}

.project-left { display: flex; flex-direction: column; gap: 24px; }

.project-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.08;
  color: var(--text);
}

.project-desc { font-size: 1.05rem; line-height: 1.75; color: var(--text-dim); max-width: 46ch; }

.project-metrics { display: flex; flex-wrap: wrap; gap: 8px; }

.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.73rem;
  color: var(--text);
}

.tech-pills { display: flex; flex-wrap: wrap; gap: 6px; }

.tech-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s;
}

.tech-pill:hover { border-color: rgba(255,255,255,0.15); color: var(--text); }

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: gap 0.2s;
  width: fit-content;
}

.project-link:hover { gap: 14px; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--live);
}

/* Project device right */
.project-right { display: flex; align-items: center; justify-content: center; }
.project-device-wrap { position: relative; width: 100%; }

/* ============================================================
   SERVICES — CONSTELLATION
   ============================================================ */
.section-services { padding: var(--section-py) 0; position: relative; z-index: 1; }

.services-header { text-align: center; margin-bottom: 72px; }
.services-eyebrow { margin-bottom: 16px; }

/* CSS 3D Constellation — no full rotation, mouse parallax via JS */
.constellation-wrap {
  height: 580px;
  position: relative;
  perspective: 1100px;
  perspective-origin: 50% 42%;
  margin-bottom: 80px;
  overflow: visible; /* cards can extend beyond container bounds */
}

.constellation-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(5deg) rotateY(-5deg);
  will-change: transform;
}

/* Individual device cards in 3D space */
.cs-device {
  position: absolute;
  transform-style: preserve-3d;
  cursor: default;
}

.cs-device-inner {
  background: linear-gradient(145deg, rgba(26,30,42,0.95), rgba(12,15,24,0.95));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.07);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cs-device:hover .cs-device-inner {
  border-color: rgba(232,130,12,0.3);
  box-shadow: 0 16px 64px rgba(0,0,0,0.8), 0 0 40px rgba(232,130,12,0.08), inset 0 1px 0 rgba(255,255,255,0.1);
}

.cs-screen { background: #090b12; position: relative; overflow: hidden; }

.cs-screen canvas { display: block; width: 100%; height: 100%; }

.cs-label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Mobile constellation fallback */
.constellation-mobile {
  display: none;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 16px 0 32px;
  scroll-snap-type: x mandatory;
  margin-bottom: 48px;
}

.constellation-mobile::-webkit-scrollbar { display: none; }

.cm-device {
  flex-shrink: 0;
  width: 200px;
  scroll-snap-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cm-device-screen { background: #090b12; position: relative; }
.cm-device-screen canvas { display: block; width: 100%; height: 100%; }
.cm-device-label {
  padding: 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

/* ============================================================
   SERVICE TILES GRID
   ============================================================ */
.tiles-section-header { margin-bottom: 48px; }

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.service-tile {
  background: var(--surface);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s;
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: default;
}

/* Remove right border from last column */
.service-tile:nth-child(3n) { border-right: none; }
/* Remove bottom border from last row */
.service-tile:nth-child(n+4) { border-bottom: none; }

.service-tile:hover { background: rgba(255,255,255,0.018); }
.service-tile:hover .tile-canvas-wrap { border-color: rgba(232,130,12,0.2); box-shadow: 0 0 24px rgba(232,130,12,0.06); }
.service-tile:hover .tile-name { color: var(--accent); }

.tile-canvas-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  position: relative;
  border: 1px solid rgba(255,255,255,0.05);
}

.tile-canvas-wrap canvas { display: block; width: 100%; height: 100%; }

.tile-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 4px;
  transition: color 0.25s;
}

.tile-desc { font-size: 0.88rem; line-height: 1.6; color: var(--text-dim); }

.tile-platforms { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; }

.platform-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--text-dim);
}

.tiles-nudge {
  text-align: center;
  margin-top: 36px;
  font-size: 1rem;
  color: var(--text-dim);
}

.tiles-nudge a { color: var(--text); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.2s; }
.tiles-nudge a:hover { border-color: var(--accent); }

/* ============================================================
   TECH LOGO GRID
   ============================================================ */
.section-tech { padding: var(--section-py) 0; position: relative; z-index: 1; }

.tech-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 48px;
}

.tech-logo-cell {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 16px;
  transition: background 0.25s;
  cursor: default;
  position: relative;
}

.tech-logo-cell:hover { background: rgba(255,255,255,0.02); }

.tech-logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.6rem;
  transition: transform 0.25s, filter 0.25s;
  position: relative;
}

.tech-logo-cell:hover .tech-logo-icon {
  transform: scale(1.15) translateY(-2px);
  filter: drop-shadow(0 0 12px var(--glow-color, rgba(232,130,12,0.7)));
}

.tech-logo-icon svg {
  width: 36px;
  height: 36px;
}

.tech-logo-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-align: center;
  transition: color 0.25s;
}

.tech-logo-cell:hover .tech-logo-name { color: var(--text); }

/* Glow ring on hover */
.tech-logo-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.tech-logo-cell:hover::after {
  opacity: 1;
  background: radial-gradient(ellipse at 50% 30%, var(--glow-color, rgba(232,130,12,0.08)) 0%, transparent 70%);
}

/* ============================================================
   7-DAY PROCESS TIMELINE
   ============================================================ */
.section-process { padding: var(--section-py) 0; position: relative; z-index: 1; }
.process-header { margin-bottom: 72px; }

.timeline-desktop { position: relative; }

.timeline-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.timeline-day {
  padding: 0 16px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}

.timeline-day:last-child { border-right: none; }
.timeline-day { cursor: default; transition: background 0.25s; }
.timeline-day:hover { background: rgba(232,130,12,0.04); }
.timeline-day.active-day { background: rgba(232,130,12,0.06); }
.timeline-day.active-day .day-number { color: var(--accent); }
.timeline-day.active-day .day-item { color: var(--text); }

.day-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.4rem;
  font-weight: 500;
  color: rgba(138,143,163,0.3);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.4s;
}

.timeline-day.lit .day-number { color: var(--accent); }

.day-items { display: flex; flex-direction: column; gap: 8px; }

.day-item {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.45;
  transition: color 0.3s;
}

.timeline-day.lit .day-item { color: var(--text-dim); }

.timeline-rail {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}

.timeline-line-bg {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--line);
}

.timeline-line-fill {
  position: absolute;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), rgba(232,130,12,0.5));
  box-shadow: 0 0 12px rgba(232,130,12,0.5);
  transition: none;
}

.timeline-dots {
  position: absolute;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid var(--surface);
  transition: background 0.3s, box-shadow 0.3s;
}

.timeline-dot.lit { background: var(--accent); box-shadow: 0 0 10px rgba(232,130,12,0.6); }

.timeline-deployed {
  position: absolute;
  right: 0;
  bottom: 100%;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s, transform 0.5s;
}

.timeline-deployed.visible { opacity: 1; transform: translateY(0); }

/* Mobile vertical timeline */
.timeline-mobile {
  display: none;
  position: relative;
  padding-left: 36px;
}

.timeline-mobile-rail {
  position: absolute;
  left: 10px; top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-mobile-fill {
  position: absolute;
  top: 0; width: 2px;
  height: 0%;
  background: linear-gradient(to bottom, var(--accent), rgba(232,130,12,0.3));
  left: 0;
}

.timeline-day-mobile {
  margin-bottom: 40px;
  position: relative;
}

.timeline-day-mobile::before {
  content: '';
  position: absolute;
  left: -30px; top: 7px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid var(--bg);
}

/* ============================================================
   IDEA FORM
   ============================================================ */
.section-form { background: var(--bg-warm); padding: var(--section-py) 0; position: relative; z-index: 1; }

.form-wrap { max-width: 640px; margin: 0 auto; padding: 0 var(--content-px); }

.form-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 16px;
}

.form-subline { font-size: 0.95rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 40px; }

.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(232,130,12,0.5);
  box-shadow: 0 0 0 3px rgba(232,130,12,0.08);
}

.form-error { font-size: 0.82rem; color: #f87171; margin-top: 6px; display: none; }
.form-error.visible { display: block; }

.btn-submit {
  width: 100%;
  padding: 17px;
  border-radius: var(--radius-pill);
  background: var(--whatsapp);
  color: #052E16;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 8px;
  box-shadow: 0 4px 24px rgba(37,211,102,0.25);
}

.btn-submit:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 8px 32px rgba(37,211,102,0.35); }

.form-success { display: none; text-align: center; padding: 48px 0; }
.form-success.visible { display: block; }
.success-check { font-size: 2.4rem; margin-bottom: 16px; }
.success-title { font-family: 'DM Serif Display', serif; font-size: 1.8rem; margin-bottom: 12px; }
.success-sub { font-size: 0.95rem; color: var(--text-dim); line-height: 1.65; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.section-final-cta {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-py) var(--content-px);
  position: relative;
  z-index: 1;
}

.final-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 1.04;
  margin-bottom: 48px;
}

.final-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.btn-final-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 44px;
  border-radius: var(--radius-pill);
  background: var(--whatsapp);
  color: #052E16;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 32px rgba(37,211,102,0.3);
}

.btn-final-wa:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 12px 48px rgba(37,211,102,0.4); }

.final-email-link {
  font-size: 0.9rem;
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.final-email-link:hover { color: var(--text); border-color: var(--text-dim); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; position: relative; z-index: 1; }

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--content-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy { font-size: 0.875rem; color: var(--text-dim); }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a { font-size: 0.875rem; color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-wink { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--text-dim); }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}

.fab-whatsapp.visible { transform: scale(1); opacity: 1; }
.fab-whatsapp:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.fab-whatsapp svg { width: 28px; height: 28px; fill: #052E16; }

/* ============================================================
   REVEAL UTILITY
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(2px);
}

/* ============================================================
   MOBILE BREAKPOINTS
   ============================================================ */
@media (max-width: 1023px) {
  body.has-custom-cursor { cursor: auto !important; }
  .cursor-dot, .cursor-ring { display: none; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-right { justify-content: center; margin-top: -20px; }
  .hero-devices-scene { max-width: 320px; }
  .device-phone-frame { right: -8px; bottom: -4px; width: 100px; }
  .device-laptop-frame { width: 100%; }
  .hero-mobile-glow { display: block; }

  /* Proof */
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-item:nth-child(3) { border-right: none; }
  .proof-item:nth-child(4),
  .proof-item:nth-child(5) { border-top: 1px solid var(--line); }
  .proof-item:nth-child(5) { border-right: none; }

  /* Projects */
  .project-inner { grid-template-columns: 1fr; gap: 40px; }
  .project-right { order: -1; }

  /* Services */
  .constellation-wrap { display: none; }
  .constellation-mobile { display: flex; }
  .tiles-grid { grid-template-columns: 1fr; }
  .service-tile { border-right: none; }
  .service-tile:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .service-tile:last-child { border-bottom: none; }

  /* Timeline */
  .timeline-desktop { display: none; }
  .timeline-mobile { display: block; }

  /* Tech */
  .tech-logos-grid { grid-template-columns: repeat(4, 1fr); }

  /* Sound */
  .sound-toggle { display: none; }

  /* Nav WA */
  .nav-wa-text { display: none; }
}

@media (max-width: 600px) {
  .tech-logos-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2n) { border-right: none; }
  .proof-item { border-bottom: 1px solid var(--line); }
  .proof-item:nth-child(n+4) { border-top: none; }
  .proof-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
  .tech-logos-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track { animation: none; justify-content: center; }
  .marquee-bar { justify-content: center; }

  .reveal-up { opacity: 1; transform: none; filter: none; }

  @keyframes device-float { from { transform: none; } to { transform: none; } }
}

/* ============================================================
   FOCUS VISIBLE
   ============================================================ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ============================================================
   INTRO LOADER (terminal typewriter)
   ============================================================ */
#intro-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #050810;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}
#intro-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
#intro-terminal {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--text-dim);
  display: flex; flex-direction: column; gap: 10px;
  min-width: 320px;
}
.intro-line { display: block; min-height: 1.4em; }
.intro-line::before { content: '> '; color: var(--accent); }
.intro-line.done { color: var(--text); }
.intro-line.success { color: #4ADE80; }
.intro-cursor { animation: blink 0.8s step-end infinite; color: var(--accent); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
#intro-skip {
  position: absolute; bottom: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; color: rgba(255,255,255,0.18);
  letter-spacing: 0.1em;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform-origin: left;
  transform: scaleX(0); z-index: 200;
  transition: transform 0.1s linear;
}

/* ============================================================
   CASE STUDY DRAWER
   ============================================================ */
#cs-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(5,8,16,0.7);
  backdrop-filter: blur(6px);
  transition: opacity 0.3s;
  opacity: 0;
}
#cs-overlay:not(.hidden) { opacity: 1; }
#cs-drawer {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(560px, 94vw);
  background: #0C0F1E;
  border-left: 1px solid rgba(255,255,255,0.07);
  overflow-y: auto;
  padding: 48px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
#cs-overlay:not(.hidden) #cs-drawer { transform: translateX(0); }
#cs-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.06); border: none;
  color: var(--text-dim); width: 36px; height: 36px;
  border-radius: 50%; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
#cs-close:hover { background: rgba(255,255,255,0.12); }
.cs-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.cs-title { font-family: 'DM Serif Display', serif; font-size: 2.2rem; line-height: 1.1; margin-bottom: 6px; color: var(--text); }
.cs-tagline { font-size: 1rem; color: var(--text-dim); margin-bottom: 32px; }
.cs-section { margin-bottom: 28px; }
.cs-section h4 { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.cs-section p { font-size: 0.95rem; line-height: 1.7; color: rgba(233,229,220,0.78); }
.cs-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 20px 0; }
.cs-metric { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 14px 12px; text-align: center; }
.cs-metric-val { font-family: 'JetBrains Mono', monospace; font-size: 1.35rem; font-weight: 700; color: var(--text); display: block; }
.cs-metric-label { font-size: 0.75rem; color: var(--text-dim); margin-top: 4px; }
.cs-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cs-stack span { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: var(--text-dim); }
.cs-honesty { background: rgba(232,130,12,0.06); border: 1px solid rgba(232,130,12,0.15); border-radius: 10px; padding: 16px 18px; font-size: 0.88rem; line-height: 1.65; color: rgba(233,229,220,0.7); font-style: italic; }
.cs-honesty::before { content: '"'; color: var(--accent); font-size: 1.5rem; font-style: normal; margin-right: 4px; }
.cs-links { display: flex; gap: 12px; margin-top: 32px; }
.cs-links a { flex: 1; text-align: center; padding: 12px; border-radius: 8px; font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; text-decoration: none; transition: all 0.2s; }
.cs-links .cs-live { background: var(--accent); color: #050810; font-weight: 700; }
.cs-links .cs-gh { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--text); }
.cs-links a:hover { filter: brightness(1.15); }

.btn-cs {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text); font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem; padding: 10px 18px; border-radius: 6px;
  cursor: pointer; transition: all 0.2s; margin-right: 12px; margin-bottom: 8px;
}
.btn-cs:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

/* ============================================================
   HERO TICKER
   ============================================================ */
.hero-ticker {
  display: flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem; color: var(--text-dim);
  margin-top: 20px; opacity: 0.8;
}
.ticker-dot { color: #4ADE80; animation: live-pulse 2s ease-in-out infinite; font-size: 0.6rem; }
.ticker-age { opacity: 0.6; }

/* ============================================================
   MINI TIMELINE (output velocity)
   ============================================================ */
.section-timeline-mini {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.timeline-mini-track { position: relative; }
.timeline-mini-line {
  position: absolute; top: 14px; left: 0; right: 0;
  height: 1px; background: var(--line);
}
.timeline-mini-items {
  display: flex; gap: 0;
  overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: none;
}
.timeline-mini-items::-webkit-scrollbar { display: none; }
.tmi {
  flex: 0 0 180px; padding-top: 32px; padding-right: 24px;
  position: relative;
}
.tmi-dot {
  position: absolute; top: 8px; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.tmi:hover .tmi-dot, .tmi.active .tmi-dot {
  border-color: var(--tmi-color, var(--accent));
  box-shadow: 0 0 8px var(--tmi-color, var(--accent));
}
.tmi-label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-dim); margin-bottom: 6px; }
.tmi-project { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--text); margin-bottom: 2px; }
.tmi-time { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--text-dim); }
.tmi:hover .tmi-project { color: var(--tmi-color, var(--accent)); }
.tmi-next .tmi-project { color: #4ADE80; }
.tmi-next .tmi-dot { border-color: #4ADE80; animation: live-pulse 2s ease-in-out infinite; }

/* ============================================================
   FORM SUGGESTION PILLS
   ============================================================ */
.form-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.form-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim); cursor: pointer; transition: all 0.2s;
}
.form-pill:hover { background: rgba(232,130,12,0.1); border-color: rgba(232,130,12,0.3); color: var(--accent); }

/* ============================================================
   MOBILE PROJECT CAROUSEL
   ============================================================ */
@media (max-width: 1023px) {
  .projects-carousel-wrap {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--content-px));
    padding: 0 var(--content-px);
  }
  .projects-carousel-wrap::-webkit-scrollbar { display: none; }
  .projects-carousel-wrap .section-project {
    flex: 0 0 100vw;
    scroll-snap-align: start;
    min-height: auto;
    padding: var(--section-py) var(--content-px);
    box-sizing: border-box;
  }
  .carousel-dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 24px;
  }
  .carousel-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--line); transition: all 0.3s; cursor: pointer;
  }
  .carousel-dot.active { background: var(--accent); transform: scale(1.3); }
}
@media (min-width: 1024px) {
  .carousel-dots { display: none; }
}

/* ============================================================
   SOCIAL PROOF SECTION
   ============================================================ */
.section-social { padding: var(--section-py) 0; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1023px) { .social-grid { grid-template-columns: 1fr; } }
.social-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.social-card-cta { background: rgba(255,255,255,0.02); justify-content: space-between; }
.social-card-process { background: rgba(232,130,12,0.04); border-color: rgba(232,130,12,0.15); justify-content: space-between; }
.process-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.process-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; color: rgba(233,229,220,0.82); line-height: 1.5; }
.process-step-num { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 700; color: var(--accent); background: rgba(232,130,12,0.12); border: 1px solid rgba(232,130,12,0.2); border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.social-quote { font-size: 1rem; line-height: 1.65; color: rgba(233,229,220,0.82); font-style: italic; }
.social-quote::before { content: '"'; color: var(--accent); font-style: normal; }
.social-author { display: flex; align-items: center; gap: 12px; }
.social-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.9rem; color: #fff;
  flex-shrink: 0;
}
.social-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.social-meta { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-dim); margin-top: 2px; }
.btn-wa-inline {
  display: inline-flex; align-items: center;
  background: var(--whatsapp); color: #fff;
  font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; font-weight: 700;
  padding: 12px 20px; border-radius: 8px; text-decoration: none;
  transition: filter 0.2s; align-self: flex-start;
}
.btn-wa-inline:hover { filter: brightness(1.1); }

/* ============================================================
   FAST DEMO (process section)
   ============================================================ */
.fast-demo {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem; color: var(--text-dim);
  background: rgba(232,130,12,0.05);
  border: 1px solid rgba(232,130,12,0.12);
  border-radius: 8px; padding: 14px 20px;
  margin-top: 24px;
}
.fast-date { color: var(--accent); font-weight: 700; font-size: 1.05rem; }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
#toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text); font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem; padding: 10px 20px; border-radius: 6px;
  opacity: 0; transition: all 0.3s; z-index: 1000; pointer-events: none;
}
#toast.toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   HERO SOCIAL SIGNAL
   ============================================================ */
.hero-social-signal {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; color: var(--text-dim);
  margin-top: 8px; opacity: 0.65;
  display: flex; align-items: center; gap: 6px;
}
.signal-dot { color: #4ADE80; font-size: 0.5rem; }

/* ============================================================
   FILM GRAIN OVERLAY
   ============================================================ */
.grain-overlay {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: 0.032;
}
@media (prefers-reduced-motion: reduce) { .grain-overlay { display: none; } }

/* ============================================================
   KEYBOARD SHORTCUTS PANEL
   ============================================================ */
#kbd-hint {
  position: fixed; bottom: 80px; right: 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  color: var(--text-dim); opacity: 0.45; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  z-index: 100; transition: opacity 0.2s;
}
#kbd-hint:hover { opacity: 0.8; }
#kbd-hint .kbd {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px; padding: 2px 6px; font-size: 0.7rem;
}
#kbd-panel {
  position: fixed; bottom: 110px; right: 24px;
  background: #0C0F1E; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 16px 20px; z-index: 300;
  min-width: 220px; box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.kbd-title {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px;
}
.kbd-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: 0.85rem; color: var(--text-dim);
}
.kbd-row kbd {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px; padding: 2px 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  color: var(--text); min-width: 24px; text-align: center;
}
@media (max-width: 1023px) { #kbd-hint, #kbd-panel { display: none; } }

/* ============================================================
   AVAILABILITY NUDGE BAR
   ============================================================ */
#avail-nudge {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  background: rgba(10,8,14,0.96); border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; gap: 16px;
  padding: 14px clamp(24px, 5vw, 48px);
  font-size: 0.9rem; color: var(--text-dim);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
#avail-nudge.visible { transform: translateY(0); }
#avail-nudge strong { color: var(--text); }
.nudge-cta {
  margin-left: auto; white-space: nowrap;
  background: var(--whatsapp); color: #fff;
  font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; font-weight: 700;
  padding: 8px 16px; border-radius: 6px; text-decoration: none;
  transition: filter 0.2s;
}
.nudge-cta:hover { filter: brightness(1.1); }
.nudge-close {
  background: none; border: none; color: var(--text-dim);
  font-size: 0.9rem; cursor: pointer; padding: 4px 8px;
  opacity: 0.5; transition: opacity 0.2s;
}
.nudge-close:hover { opacity: 1; }

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#back-to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 100;
  background: var(--surface); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim); font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; padding: 8px 14px; border-radius: 20px;
  cursor: pointer; opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { background: rgba(255,255,255,0.06); color: var(--text); }
