/* ═══════════════════════════════════════════════════════════
   KOGNITOS BRAND SYSTEM
   Based on kognitos.com — dark-first, lime accent, Pangram Pangram fonts
   ═══════════════════════════════════════════════════════════ */

/* ── FONT FACES ── */
@font-face {
  font-family: 'NeueMachina';
  src: url('fonts/PPNeueMachina-PlainRegular-375.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NeueMontreal';
  src: url('fonts/PPNeueMontreal-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NeueMontreal';
  src: url('fonts/PPNeueMontreal-Medium-530.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NeueMontreal';
  src: url('fonts/PPNeueMontreal-SemiBold-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&display=swap');

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── VARIABLES ── */
:root {
  --k-dark:    #171717;
  --k-dark2:   #1C1C1B;
  --k-dark3:   #282928;
  --k-dark4:   #222324;
  --k-lime:    #F2FF66;
  --k-lime2:   #F2FF70;
  --k-lime3:   #F2FB90;
  --k-lime-bg: #ECF684;
  --k-cream:   #F3F4ED;
  --k-white:   #FFFFFF;
  --k-gray1:   #D4D4D4;
  --k-gray2:   #C7C7C7;
  --k-gray3:   #9B9B98;
  --k-gray4:   #3A3B39;
  --k-border:  rgba(242,255,102,0.18);
  --k-border2: rgba(255,255,255,0.08);
  --k-text:    #D4D4D4;
  --k-muted:   #B0B0AD;
  --k-red:     #FF6B6B;
  --k-violet:  #A78BFA;
  --k-green:   #86efac;
  --k-blue:    #93C5FD;
  --k-gold:    #FCD34D;

  --font-head: 'NeueMachina', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'NeueMontreal', 'Inter', system-ui, sans-serif;
  --font-mono: 'Fira Code', monospace;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html, body {
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  background: var(--k-dark);
  color: var(--k-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── UTILITIES ── */
.z1 { position: relative; z-index: 1; }
.center { text-align: center; }
.lime { color: var(--k-lime); }
.lime-text {
  background: linear-gradient(135deg, #F2FF70, #D4E157);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-violet {
  background: linear-gradient(135deg, #C4B5FD, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-green {
  background: linear-gradient(135deg, #86efac, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-gold {
  background: linear-gradient(135deg, #FCD34D, #F5A623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-blue {
  background: linear-gradient(135deg, #93C5FD, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-red {
  background: linear-gradient(135deg, #FF9B9B, #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 100px 40px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.section-sm {
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 40px;
  position: relative;
  z-index: 1;
}

.label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--k-lime);
  margin-bottom: 14px;
  position: relative;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 16px;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-sub {
  font-size: 16px;
  color: var(--k-muted);
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.7;
}
.section-sub:last-child {
  margin-bottom: 0;
}

.divider {
  height: 1px;
  background: var(--k-border2);
  margin: 0;
  position: relative;
  overflow: visible;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── BUTTONS ── */
.btn-lime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--k-lime2);
  color: var(--k-dark);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 400;
  padding: 12px 28px;
  border-radius: 4px;
  border: 1px solid var(--k-dark);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(242,255,102,0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-lime::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(242,255,102,0.3), transparent, rgba(242,255,102,0.3));
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.btn-lime:hover {
  background: var(--k-lime);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(242,255,102,0.25);
}
.btn-lime:hover::before {
  opacity: 1;
}
.btn-lime:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--k-white);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 400;
  padding: 12px 28px;
  border-radius: 4px;
  border: 1px solid var(--k-gray3);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-outline:hover {
  border-color: var(--k-gray2);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.04);
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(45,45,50,0.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  border-top: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 4px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body { padding-top: 64px; }
.nav-logo img {
  height: 18px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--k-gray1);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--k-white);
}
.nav-cta {
  background: var(--k-lime2);
  color: var(--k-dark) !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  padding: 9px 22px;
  border-radius: 4px;
  border: 1px solid var(--k-dark);
  text-decoration: none;
  transition: all .2s;
}
.nav-cta:hover {
  background: var(--k-lime);
}

/* ── NAV DROPDOWNS ── */
.nav-item {
  position: relative;
}
.nav-item > a {
  cursor: pointer;
}
.nav-item > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--k-gray3);
  border-bottom: 1.5px solid var(--k-gray3);
  transform: rotate(45deg);
  margin-left: 5px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  transition: transform .2s;
}
.nav-item:hover > a::after {
  transform: rotate(-135deg);
  border-color: var(--k-white);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--k-dark2);
  border: 1px solid var(--k-border2);
  border-radius: 8px;
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  margin-top: 0;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dropdown a {
  display: block;
  padding: 8px 24px;
  font-size: 15px;
  color: var(--k-gray2) !important;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.dropdown a:hover {
  color: var(--k-white) !important;
  background: rgba(255,255,255,0.04);
}
.dropdown-cols {
  display: flex;
  gap: 0;
}
.dropdown-col {
  padding: 0 24px;
  min-width: 200px;
}
.dropdown-col + .dropdown-col {
  border-left: 1px solid var(--k-border2);
}
.dropdown-col-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--k-muted);
  padding: 0 0 10px;
  margin-bottom: 4px;
}
.dropdown-cols a {
  padding: 6px 0;
}
.dropdown.dropdown-wide {
  min-width: auto;
  padding: 20px 0;
}

/* ── HERO (static — platform / solutions / developer) ── */
.hero {
  text-align: center;
  padding: 120px 40px 80px;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--k-white);
}
.hero h1 .lime-text {
  background: linear-gradient(135deg, #F2FF70, #D4E157);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--k-muted);
  max-width: 660px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,255,102,0.08);
  border: 1px solid rgba(242,255,102,0.2);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--k-lime);
  margin-bottom: 28px;
}
.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--k-lime);
  animation: pulse 2s infinite;
}

/* ── HERO (Animated Workflow — index page) ── */
.hero.hero--animated {
  max-width: 1200px;
  text-align: left;
  padding: 56px 40px 48px;
}
.hero-demo {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 28px;
  align-items: stretch;
  height: 480px;
  padding: 20px;
}

/* ── Chat Panel ── */
.hero-chat {
  background: var(--k-dark2);
  border: 1px solid var(--k-border2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--k-border2);
  background: rgba(242,255,102,0.03);
}
.chat-bar-dots { display: flex; gap: 5px; }
.chat-bar-dot { width: 9px; height: 9px; border-radius: 50%; }
.cbd-r { background: #FF6B6B; }
.cbd-y { background: #FCD34D; }
.cbd-g { background: #86efac; }
.chat-bar-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--k-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.chat-body {
  flex: 1;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  overflow-x: hidden;
}
.chat-msg {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s, transform .35s;
}
.chat-msg.visible {
  opacity: 1;
  transform: translateY(0);
}
.chat-msg.user {
  align-self: flex-end;
  background: rgba(242,255,102,0.1);
  border: 1px solid rgba(242,255,102,0.2);
  color: var(--k-lime);
  border-bottom-right-radius: 4px;
}
.chat-msg.agent {
  align-self: flex-start;
  background: var(--k-dark3);
  border: 1px solid var(--k-border2);
  color: var(--k-text);
  border-bottom-left-radius: 4px;
}
.chat-msg .typing-dots {
  display: inline-flex;
  gap: 4px;
}
.chat-msg .typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--k-muted);
  animation: dotBounce .9s infinite;
}
.chat-msg .typing-dots span:nth-child(2) { animation-delay: .15s; }
.chat-msg .typing-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes dotBounce {
  0%,80%,100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}
.chat-msg.approved {
  align-self: flex-end;
  background: rgba(242,255,102,0.08);
  border: 1px solid rgba(242,255,102,0.22);
  color: var(--k-lime);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}

/* ── Right Panel (SOP + Execution) ── */
.hero-right {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* SOP Document Card */
.sop-card {
  position: absolute;
  inset: 0;
  background: var(--k-dark2);
  border: 1px solid var(--k-border2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s, transform .45s;
  z-index: 2;
}
.sop-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.sop-card.fading {
  opacity: 0;
  transform: scale(.97);
  pointer-events: none;
}
.sop-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--k-lime), var(--k-lime3));
}
.sop-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--k-border2);
  background: rgba(242,255,102,0.03);
  flex-shrink: 0;
}
.sop-title-icon { display: inline-flex; align-items: center; }
.sop-title-text {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 400;
  color: var(--k-white);
}
.sop-title-generated {
  font-size: 14px;
  color: var(--k-muted);
  margin-left: auto;
  white-space: nowrap;
}
.sop-title-badge {
  margin-left: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(242,255,102,0.08);
  color: var(--k-lime);
  border: 1px solid rgba(242,255,102,0.15);
}
.sop-body {
  padding: 22px 24px;
  flex: 1;
}
.sop-section-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--k-white);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
}
.sop-section-label.visible { opacity: 1; transform: translateY(0); }
.sop-overview-text {
  font-size: 14px;
  color: var(--k-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
}
.sop-overview-text.visible { opacity: 1; transform: translateY(0); }

/* Numbered steps */
.sop-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sop-step {
  display: flex;
  gap: 12px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .35s, transform .35s;
}
.sop-step.visible {
  opacity: 1;
  transform: translateX(0);
}
.sop-step-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(242,255,102,0.1);
  border: 1px solid rgba(242,255,102,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--k-lime);
  margin-top: 1px;
}
.sop-step-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--k-white);
  margin-bottom: 4px;
}
.sop-step-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sop-step-bullets li {
  font-size: 14px;
  color: var(--k-muted);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.sop-step-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--k-lime);
}

/* Published stamp overlay */
.sop-published {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.sop-card.published .sop-published { opacity: 1; }
.sop-published-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0,0,0,0.82);
  border: 2px solid var(--k-lime);
  border-radius: 12px;
  padding: 18px 32px;
  transform: scale(.6) rotate(-8deg);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 0 40px rgba(242,255,102,0.12), 0 0 80px rgba(242,255,102,0.05);
}
.sop-card.published .sop-published-inner {
  transform: scale(1) rotate(0deg);
}
.sop-published-check {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(242,255,102,0.1);
  border: 2px solid var(--k-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--k-lime);
}
.sop-published-text {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--k-lime);
  font-weight: 400;
}

/* Confetti particles */
.confetti-particle {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 2px;
  z-index: 6;
  pointer-events: none;
  opacity: 1;
  animation: confettiBurst .9s cubic-bezier(.25,.46,.45,.94) forwards;
}
@keyframes confettiBurst {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--cx), var(--cy)) rotate(var(--cr)) scale(0);
    opacity: 0;
  }
}

/* Execution Panel */
.exec-panel {
  position: absolute;
  inset: 0;
  background: var(--k-dark2);
  border: 1px solid var(--k-border2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 32px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s, transform .5s;
  z-index: 1;
}
.exec-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--k-lime), var(--k-lime3));
}
.exec-panel.visible {
  opacity: 1;
  transform: translateY(0);
  z-index: 3;
}
.exec-panel-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--k-lime);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.exec-metric {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 400;
  color: var(--k-lime);
  letter-spacing: -0.03em;
  line-height: 1;
}
.exec-metric-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--k-white);
  margin-top: 6px;
  margin-bottom: 8px;
}
.exec-detail {
  font-size: 14px;
  color: var(--k-muted);
  line-height: 1.5;
  max-width: 360px;
  margin-bottom: 20px;
}
.exec-bar {
  width: 100%;
  max-width: 320px;
  height: 4px;
  background: var(--k-dark3);
  border-radius: 2px;
  overflow: hidden;
}
.exec-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--k-lime), var(--k-lime3));
  border-radius: 2px;
  transition: width 1.5s ease-out;
}
.exec-bar-fill.filling { width: 100%; }

/* ── Hero Ambient Glow Background ── */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(242,255,102,0.04) 0%, rgba(242,255,102,0.02) 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Hero Top (headline + CTA) ── */
.hero-top {
  text-align: center;
  margin-bottom: 56px;
}
.hero-top h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  color: var(--k-white);
}
.hero-top h1 .lime-text {
  background: linear-gradient(135deg, #F2FF70, #D4E157);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* ── Hero Demo Wrapper (tabs + demo as one unit) ── */
.hero-demo-wrapper {
  border: 1px solid var(--k-border2);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(28, 28, 27, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 24px 48px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.03) inset;
}

/* ── Integrated Tabs (single centered label with arrows) ── */
.hero-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--k-border2);
  background: rgba(0,0,0,0.3);
  padding: 10px 16px;
  gap: 16px;
}
.hero-tab-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--k-border2);
  border-radius: 50%;
  background: transparent;
  color: var(--k-muted);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.hero-tab-arrow:hover {
  color: var(--k-white);
  border-color: var(--k-white);
}
.hero-tab-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--k-lime);
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-width: 160px;
  text-align: center;
}
.hero-tab-label.fade-out {
  opacity: 0;
  transform: translateY(-4px);
}
.hero-tab-label.fade-in {
  opacity: 0;
  transform: translateY(4px);
}

/* ── Hero CTA (below animation) ── */
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  margin-bottom: 16px;
}

/* ── Recognition Strip (first fold) ── */
.recognition-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  padding: 0 20px;
  flex-wrap: wrap;
}
.recognition-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px;
}
.recognition-logo-img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.recognition-item:hover .recognition-logo-img {
  opacity: 1;
}
.recognition-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--k-gray3);
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.recognition-divider {
  width: 1px;
  height: 28px;
  background: var(--k-border2);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .recognition-strip { gap: 8px; }
  .recognition-item { padding: 6px 12px; }
  .recognition-divider { display: none; }
}
@media (max-width: 600px) {
  .recognition-strip { flex-wrap: wrap; justify-content: center; gap: 4px; }
  .recognition-item { padding: 4px 10px; }
  .recognition-logo-img { height: 20px; }
  .recognition-text { font-size: 14px; }
}


/* Pulse animation (used by badge etc.) */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.6); }
}

/* ── Hero Responsive ── */
@media (max-width: 900px) {
  .hero-demo {
    grid-template-columns: 1fr;
    height: auto;
  }
  .hero-chat { min-height: 280px; max-height: 320px; }
}
@media (max-width: 600px) {
  .hero { padding: 36px 20px 32px; }
  .hero-demo { gap: 16px; padding: 12px; }
  .exec-metric { font-size: 26px; }
  .hero-tab-label { font-size: 13px; min-width: 120px; }
}

/* ── LOGO BAR ── */
.logo-bar {
  background: var(--k-dark2);
  border-top: 1px solid var(--k-border2);
  border-bottom: 1px solid var(--k-border2);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.logo-bar-label {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--k-muted);
  margin-bottom: 20px;
}
.logos-scroll {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: scroll 35s linear infinite;
  width: max-content;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item-img {
  height: 22px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}
.logo-item-img:hover {
  opacity: 0.9;
}
.logo-item-img.logo-invert {
  filter: brightness(0) invert(1);
}
/* ── COMPARISON (governance gap) ── */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; }
.code-card {
  background: var(--k-dark2);
  border: 1px solid var(--k-border2);
  border-radius: 12px;
  padding: 40px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}
.code-card.premium {
  border-color: rgba(242,255,102,0.18);
  background: linear-gradient(165deg, rgba(242,255,102,0.04) 0%, var(--k-dark2) 40%);
  box-shadow: 0 0 40px rgba(242,255,102,0.04), inset 0 1px 0 rgba(242,255,102,0.12);
  position: relative;
}
.code-card.premium::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--k-lime), transparent);
  border-radius: 0 0 2px 2px;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}
.code-card h3 { font-family: var(--font-body); font-size: 18px; font-weight: 500; margin: 16px 0 20px; }
.code-card .card-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.code-card p { font-size: 15px; color: var(--k-muted); line-height: 1.65; }
.code-snippet { background: #000; border-radius: 6px; padding: 20px; font-family: var(--font-mono); font-size: 14px; line-height: 1.7; margin: 20px 0; }
.code-snippet.snippet-good { color: var(--k-lime); font-size: 15px; line-height: 1.6; }
.c-red { color: #FF9B9B; }
.c-gray { color: #4a4a47; }
.c-yellow { color: var(--k-gold); }
.c-teal { color: var(--k-lime); }
.c-white { color: #E2E8F0; }
.c-kw { color: var(--k-lime); }
@media (max-width: 768px) { .comparison-grid { grid-template-columns: 1fr; } }

/* ── STATS ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--k-border2);
  border: 1px solid var(--k-border2);
  border-radius: 8px;
  overflow: hidden;
}
.stat-block {
  background: var(--k-dark2);
  padding: 36px 24px;
  text-align: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-block:hover {
  background: var(--k-dark3);
  box-shadow: inset 0 0 40px rgba(242,255,102,0.02);
  transform: translateY(-2px);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--k-muted); font-weight: 400; line-height: 1.5; }
.stat-block:nth-child(1) .stat-num { color: var(--k-lime); }
.stat-block:nth-child(2) .stat-num { color: var(--k-lime3); }
.stat-block:nth-child(3) .stat-num { color: var(--k-gold); }
.stat-block:nth-child(4) .stat-num { color: var(--k-white); }

/* ── ENGINE GRID (intelligence layer) ── */
.engine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; position: relative; }
.engine-card {
  padding: 36px;
  background: var(--k-dark2);
  border: 1px solid var(--k-border2);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              box-shadow 0.4s ease;
}
.engine-card:hover {
  transform: translateY(-6px);
  background: var(--k-dark3);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35), 0 0 80px rgba(242,255,102,0.04);
}
.engine-card .ec-icon {
  margin-bottom: 16px;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.engine-card h3 { font-family: var(--font-head); font-size: 20px; font-weight: 400; margin-bottom: 12px; }
.engine-card p { font-size: 15px; color: var(--k-muted); line-height: 1.65; }
@media (max-width: 900px) { .engine-grid { grid-template-columns: 1fr; } }

/* ── TIME MACHINE ── */
.tm-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  background: linear-gradient(180deg, var(--k-dark2) 0%, var(--k-dark) 100%);
  padding: 60px;
  border-radius: 24px;
  border: 1px solid var(--k-border2);
  transition: box-shadow 0.5s ease;
}
.tm-layout .tm-content { flex: 1; }
.tm-layout .tm-content h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.tm-layout .tm-content p { font-size: 16px; color: var(--k-muted); line-height: 1.7; margin-bottom: 14px; }
.tm-layout .tm-steps-list { list-style: none; padding: 0; margin-top: 30px; }
.tm-layout .tm-steps-list li { margin-bottom: 15px; font-size: 15px; color: var(--k-text); }
.tm-layout .tm-steps-list li strong { color: var(--k-white); }
.tm-visual {
  flex: 1;
  background: #000;
  min-height: 300px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  flex-direction: column;
  gap: 12px;
}
.tm-visual .tm-vis-icon { margin-bottom: 8px; line-height: 1; }
.tm-visual p { color: #666; font-size: 14px; }
@media (max-width: 900px) { .tm-layout { flex-direction: column; gap: 30px; padding: 40px; } }

/* ── FEATURED SUCCESS ── */
.featured-success {
  background: var(--k-lime);
  color: #000;
  padding: 80px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  box-shadow: 0 0 0 1px rgba(242,255,102,0.08) inset;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.featured-success .quote-box { max-width: 600px; }
.featured-success .quote-label { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; opacity: .6; font-weight: 700; margin-bottom: 20px; }
.featured-success .quote-text { font-size: 24px; font-weight: 500; line-height: 1.4; margin: 0 0 24px; padding: 0; font-family: var(--font-body); }
.featured-success .quote-author { font-weight: 700; font-size: 15px; font-style: normal; display: block; }
.featured-success .quote-role { opacity: .8; font-size: 14px; }
.featured-success .stat-box { text-align: center; flex-shrink: 0; }
.featured-success .stat-giant { font-family: var(--font-head); font-size: 80px; font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.featured-success .stat-caption { font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .05em; margin-top: 8px; }

/* ── RESULT CARDS (smaller stats below featured) ── */
.result-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.result-card {
  background: var(--k-dark2);
  border: 1px solid var(--k-border2);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}
.result-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 50px rgba(242,255,102,0.03);
}
.result-card .rc-metric { font-family: var(--font-head); font-size: 40px; font-weight: 400; color: var(--k-lime); letter-spacing: -0.02em; margin-bottom: 8px; }
.result-card .rc-title { font-size: 15px; font-weight: 500; color: var(--k-white); margin-bottom: 6px; }
.result-card .rc-desc { font-size: 14px; color: var(--k-muted); line-height: 1.5; }
.result-card .rc-company { font-size: 14px; color: var(--k-muted); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--k-border2); }
@media (max-width: 900px) { .featured-success { flex-direction: column; padding: 50px 30px; text-align: center; } .result-cards { grid-template-columns: 1fr; } }

/* ── VIDEO THUMBNAIL ── */
.video-thumb {
  max-width: 800px;
  margin: 40px auto 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--k-border2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}
.video-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(242,255,102,0.06);
  border-color: rgba(242,255,102,0.2);
}
.video-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.video-play-btn {
  appearance: none;
  padding: 0;
  font: inherit;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(23, 23, 23, 0.75);
  border: 2px solid var(--k-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--k-lime);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 30px rgba(242,255,102,0.15), 0 0 60px rgba(242,255,102,0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
}
.video-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
}
.video-thumb:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(242,255,102,0.15);
  box-shadow: 0 0 40px rgba(242,255,102,0.25), 0 0 80px rgba(242,255,102,0.1);
}

/* ── VIDEO MODAL ── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.video-modal.active {
  opacity: 1;
  visibility: visible;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.video-modal-body {
  position: relative;
  width: 90vw;
  max-width: 960px;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-modal.active .video-modal-body {
  transform: scale(1) translateY(0);
}
.video-modal-player {
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--k-border2);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  background: #000;
}
.video-modal-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--k-border2);
  background: rgba(23, 23, 23, 0.8);
  color: var(--k-gray2);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  line-height: 1;
}
.video-modal-close:hover {
  color: var(--k-lime);
  border-color: rgba(242,255,102,0.3);
  background: rgba(242,255,102,0.08);
}

/* ── TESTIMONIAL PHOTO ── */
.quote-content {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.quote-photo {
  width: 88px;
  height: 110px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: none;
  box-shadow: none;
}

/* ── INTEGRATIONS MARQUEE ── */
.integrations-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 60px, #000 calc(100% - 60px), transparent);
  margin-top: 32px;
}
.integrations-marquee:hover .int-marquee-row {
  animation-play-state: paused;
}
.int-marquee-row {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marqueeLeft 70s linear infinite;
  padding: 6px 0;
}
.int-marquee-row.reverse {
  animation-name: marqueeRight;
  margin-top: 12px;
}
@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.int-logo-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--k-dark2);
  border: 1px solid var(--k-border2);
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.int-logo-pill:hover {
  border-color: rgba(242,255,102,0.2);
  background: var(--k-dark3);
}
.int-logo-pill img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.7;
}
.int-logo-pill span {
  font-size: 14px;
  color: var(--k-muted);
  font-weight: 400;
}

/* ── FINAL CTA ── */
.final-cta {
  text-align: center;
  padding: 40px 40px 0;
  position: relative;
}
.final-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 40px;
}
.final-cta .btn-lime { font-size: 20px; padding: 20px 60px; }
.trust-strip {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-weight: 700;
  font-size: 14px;
  color: #444;
  text-transform: uppercase;
  letter-spacing: .08em;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  background: var(--k-dark);
  background: linear-gradient(180deg, #171717 0%, #111 100%);
  border-top: 1px solid var(--k-border2);
  padding: 64px 40px 36px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: #A8A8A5;
  margin: 16px 0 20px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-logo img {
  height: 22px;
  width: auto;
  opacity: .75;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .2s, border-color .2s;
}
.footer-social a:hover {
  background: rgba(242,255,102,0.1);
  border-color: rgba(242,255,102,0.25);
}
.footer-social svg {
  width: 16px;
  height: 16px;
  fill: #C7C7C4;
  transition: fill .2s;
}
.footer-social a:hover svg { fill: var(--k-lime); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #F2FF66;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 15px;
  color: #B0B0AD;
  text-decoration: none;
  margin-bottom: 11px;
  line-height: 1.4;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p { font-size: 14px; color: #B0B0AD; }
.footer-bottom a { font-size: 14px; color: #B0B0AD; text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: #fff; }
.trust-badge {
  font-size: 14px;
  font-weight: 500;
  color: #B0B0AD;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── CODE CARDS (shared) ── */
.code-card {
  background: #0D0D0D;
  border: 1px solid var(--k-border2);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--font-mono);
}
.code-header {
  background: rgba(242,255,102,0.04);
  border-bottom: 1px solid var(--k-border2);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ch-dots { display: flex; gap: 5px; }
.ch-dot { width: 9px; height: 9px; border-radius: 50%; }
.ch-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--k-muted);
  font-family: var(--font-mono);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.code-body {
  padding: 20px;
  font-size: 14px;
  line-height: 1.9;
  overflow-x: auto;
}
.cl-teal { color: var(--k-lime); }
.cl-green { color: var(--k-green); }
.cl-yellow { color: var(--k-gold); }
.cl-blue { color: var(--k-blue); }
.cl-violet { color: var(--k-violet); }
.cl-gray { color: #4a4a47; }
.cl-red { color: #FF9B9B; }
.cl-white { color: #E2E8F0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hook-grid, .agents-grid, .arch-cols, .tm-card,
  .cases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .arch-center { flex-direction: row; padding: 8px 0; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  nav { padding: 0 20px; }
  .hero { padding: 80px 20px 56px; }
  .section { padding: 72px 20px; }
  .section-sm { padding: 48px 20px; }
  .nav-links { gap: 20px; }
}
@media (max-width: 600px) {
  .stats-strip { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .integ-mw-row { grid-template-columns: 1fr; }
  .integ-sys-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  footer { padding: 48px 20px 28px; }
}

/* ── MOBILE NAVIGATION ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  position: relative;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--k-white);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--k-dark2);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 28px 40px;
    gap: 0;
    overflow-y: auto;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -8px 0 32px rgba(0,0,0,.4);
    z-index: 1000;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--k-border2);
    font-size: 18px;
  }
  .nav-links .nav-cta {
    margin-top: 20px;
    text-align: center;
    border-bottom: none;
  }
  .nav-item > a::after { display: none; }
  .dropdown { display: none; }
  .nav-item.mob-open .dropdown {
    display: flex;
    flex-direction: column;
    position: static;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
    margin-top: 0;
  }
  .nav-item.mob-open .dropdown a {
    font-size: 14px;
    padding: 10px 0;
    color: var(--k-gray2);
  }
  .dropdown-wide { width: 100% !important; min-width: 0 !important; }
  .dropdown-cols { flex-direction: column !important; gap: 0 !important; }
  .dropdown-col { padding: 0 !important; }
  .dropdown-col-label { font-size: 14px; margin-top: 8px; margin-bottom: 4px; }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .nav-overlay.visible { opacity: 1; visibility: visible; }
}

/* ═══════════════════════════════════════════════════════════
   VISUAL EFFECTS LAYER
   Scroll reveals, micro-interactions, glow hovers, parallax
   ═══════════════════════════════════════════════════════════ */

/* ── SCROLL-TRIGGERED REVEAL ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
  .reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
  }
  .stagger-1 { transition-delay: 0.08s; }
  .stagger-2 { transition-delay: 0.16s; }
  .stagger-3 { transition-delay: 0.24s; }
  .stagger-4 { transition-delay: 0.32s; }
}

.engine-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.engine-card:hover::after {
  background: linear-gradient(135deg, rgba(242,255,102,0.4), rgba(242,255,102,0.08), rgba(242,255,102,0.3));
  opacity: 1;
}
.engine-card:hover .ec-icon {
  transform: scale(1.12);
}

.code-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.25);
}
.code-card.premium:hover {
  border-color: rgba(242,255,102,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 60px rgba(242,255,102,0.08);
}
.code-card.premium:hover::before {
  opacity: 1;
}

.result-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.result-card:hover::after {
  background: linear-gradient(135deg, rgba(242,255,102,0.3), rgba(242,255,102,0.05), rgba(242,255,102,0.2));
  opacity: 1;
}

.tm-layout:hover {
  box-shadow: 0 24px 48px rgba(0,0,0,0.2), 0 0 80px rgba(242,255,102,0.03);
}

/* ── STAT COUNTER ANIMATION ── */
.stat-num[data-target] {
  transition: color 0.3s ease;
}

/* ── INTEGRATION ROW: PAUSE ON HOVER ── */
/* Logo bar: pause on hover */
.logo-bar:hover .logos-scroll {
  animation-play-state: paused;
}

.featured-success:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}
.featured-success .stat-giant {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-success:hover .stat-giant {
  transform: scale(1.04);
}

/* ── TIME MACHINE VISUAL: AMBIENT PULSE ── */
@keyframes tmFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.tm-visual .tm-vis-icon svg {
  animation: tmFloat 4s ease-in-out infinite;
}

nav.scrolled {
  background: rgba(40,40,45,0.65);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.06) inset;
}

/* ── FINAL CTA: GLOW PULSE ── */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(242,255,102,0.08); }
  50% { box-shadow: 0 0 80px rgba(242,255,102,0.15); }
}
.final-cta .btn-lime {
  animation: ctaGlow 3s ease-in-out infinite;
}
.final-cta .btn-lime:hover {
  animation: none;
  box-shadow: 0 8px 40px rgba(242,255,102,0.3);
}

.divider.visible {
  transform: scaleX(1);
}

/* ── TRUST STRIP ITEMS ── */
.trust-strip span {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.trust-strip.visible span {
  opacity: 1;
  transform: translateY(0);
}
.trust-strip.visible span:nth-child(1) { transition-delay: 0.1s; }
.trust-strip.visible span:nth-child(2) { transition-delay: 0.2s; }
.trust-strip.visible span:nth-child(3) { transition-delay: 0.3s; }
.trust-strip.visible span:nth-child(4) { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════════════════════
   NEW MAXIMALISM ENHANCEMENTS
   Grain, cursor, field canvas, typography, micro-delights
   ═══════════════════════════════════════════════════════════ */

/* ── LAYER 1: FIELD CANVAS ── */
.field-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.field-canvas-wrap.visible { opacity: 1; }
.field-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── LAYER 2: FILM GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

/* Custom cursor removed — use native cursor for accessibility */

/* Card spotlight (cursor-driven radial glow) */
.engine-card::before,
.result-card::before,
.agent-card::before,
.sec-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--spotlight-x, -999px) var(--spotlight-y, -999px),
    rgba(242, 255, 102, 0.06),
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s;
}
.agent-card, .sec-card {
  position: relative;
  overflow: hidden;
}
.engine-card > *, .result-card > *,
.agent-card > *, .sec-card > * {
  position: relative;
  z-index: 1;
}

/* ── DIVIDER SWEEPING GLOW ── */
.divider.visible::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  height: 5px;
  width: 80px;
  background: var(--k-lime);
  border-radius: 3px;
  filter: blur(6px);
  opacity: 0.7;
  animation: dividerSweep 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes dividerSweep {
  0%   { left: 0; opacity: 0.8; }
  100% { left: 100%; opacity: 0; }
}

/* ── LAYER 6: TYPOGRAPHY MOMENTS ── */

/* Word-reveal clip animation */
.word-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.word-reveal > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.word-reveal.visible > span {
  transform: translateY(0);
}

/* Stat scale-bounce on reveal */
@media (prefers-reduced-motion: no-preference) {
  .stat-num[data-target] {
    transform: scale(1.2);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.5s ease,
                color 0.3s ease;
  }
  .stat-num[data-target].counted {
    transform: scale(1);
    opacity: 1;
  }
}

/* CTA shimmer on lime-text */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.final-cta .lime-text {
  background: linear-gradient(
    90deg,
    #F2FF70 0%,
    #D4E157 30%,
    #fff 50%,
    #D4E157 70%,
    #F2FF70 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ── LAYER 8: 3x3 GRID MOTIF ── */
.label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -1px;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Crect x='0' y='0' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='5' y='0' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='10' y='0' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='0' y='5' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='5' y='5' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='10' y='5' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='0' y='10' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='5' y='10' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='10' y='10' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
footer::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 300px;
  height: 300px;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Crect x='0' y='0' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='5' y='0' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='10' y='0' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='0' y='5' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='5' y='5' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='10' y='5' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='0' y='10' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='5' y='10' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3Crect x='10' y='10' width='3' height='3' rx='0.5' fill='%23F2FF66'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ── LAYER 9: MICRO-DELIGHTS ── */

/* Featured success breathing pulse on enter */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.005); }
}
.featured-success.breathe {
  animation: breathe 2s ease-in-out 1;
}

/* Trust badge flip-in */
@keyframes flipIn {
  0%   { transform: rotateX(90deg); opacity: 0; }
  100% { transform: rotateX(0deg); opacity: 1; }
}
.trust-badge {
  transform-origin: center;
}
.trust-badge.flip-in {
  animation: flipIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.engine-connection {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.engine-connection line {
  stroke: rgba(242, 255, 102, 0.1);
  stroke-width: 1;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.2s ease-out;
}
.engine-connection.visible line {
  stroke-dashoffset: 0;
}

/* ── LAYER 10: PAGE LOAD ORCHESTRATION ── */
@media (prefers-reduced-motion: no-preference) {
  body.page-loading nav {
    opacity: 0;
    transform: translateY(-20px);
  }
  body.page-loading .hero-top,
  body.page-loading .hero-badge,
  body.page-loading .dev-hero > div:first-child {
    opacity: 0;
    transform: translateY(24px);
  }
  body.page-loading .hero-demo-wrapper,
  body.page-loading .arch-viz {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
  }
  body.page-loading .hero-cta {
    opacity: 0;
    transform: translateY(16px);
  }
  body.page-loading .recognition-strip {
    opacity: 0;
    transform: translateY(12px);
  }
  body.page-loading .field-canvas-wrap {
    opacity: 0;
  }

  nav {
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
  }
  .hero-top,
  .hero-badge,
  .dev-hero > div:first-child {
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  }
  .hero-demo-wrapper,
  .arch-viz {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
  }
  .hero-cta {
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s,
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
  }
  .recognition-strip {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s,
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
  }
}

/* ── LAYER 4: PARALLAX DEPTH ── */
[data-parallax] {
  will-change: transform;
}

/* Cursor-reactive lime glow beneath hero demo */
.hero-demo-glow-wrap {
  position: relative;
}
.hero-demo-glow-wrap::after {
  content: '';
  position: absolute;
  inset: -40px;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(
    600px circle at var(--demo-glow-x, 50%) var(--demo-glow-y, 50%),
    rgba(242,255,102,0.07),
    transparent 60%
  );
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.hero-demo-glow-wrap:hover::after {
  opacity: 1;
}

/* Nav link underline on hover (exclude .nav-item > a which uses ::after for the chevron) */
.nav-links > a:not(.nav-cta) {
  position: relative;
}
.nav-links > a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--k-lime);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links > a:not(.nav-cta):hover::after,
.nav-links > a:not(.nav-cta).active::after {
  width: 100%;
}

/* ── FAQ SECTION ── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--k-dark2);
  border: 1px solid var(--k-dark3);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] {
  border-color: rgba(242, 255, 102, 0.25);
}
.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--k-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--k-lime);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--k-gray3);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   ASSEMBLY LINE HERO
   ══════════════════════════════════════════════════════════════ */
.assembly-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 64px);
  overflow: hidden;
  background: var(--k-dark);
}
#assembly-canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.assembly-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}
.assembly-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--k-lime);
  width: 0%;
  box-shadow: 0 0 8px var(--k-lime);
}
.assembly-headline {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--k-white);
  padding: 1.5rem 2.5rem;
  transition: top 0.4s ease;
}
.assembly-headline::before {
  content: '';
  position: absolute;
  inset: -0.5rem;
  z-index: -1;
  background: rgba(23,23,23,0.65);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.assembly-headline h1 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.assembly-headline h1 span {
  color: var(--k-lime);
}
.assembly-headline p {
  margin-top: 0.5rem;
  color: var(--k-muted);
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
}
.assembly-scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--k-gray4);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: opacity 0.4s;
  font-family: var(--font-body);
}
.assembly-arrow {
  width: 1px;
  height: 22px;
  background: linear-gradient(to bottom, var(--k-gray4), transparent);
  animation: assemblyPulse 1.5s infinite;
}
@keyframes assemblyPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}
.assembly-logo {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(180px, 22vw, 320px);
  opacity: 0;
  transition: opacity 0.1s;
  pointer-events: none;
}
.assembly-reset {
  position: absolute;
  bottom: 16px;
  right: 16px;
  pointer-events: all;
  background: transparent;
  border: 1px solid var(--k-dark3);
  color: var(--k-gray4);
  font-family: var(--font-body);
  font-size: 0.62rem;
  padding: 4px 10px;
  cursor: pointer;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s;
  border-radius: 2px;
}
.assembly-reset:hover {
  border-color: var(--k-lime);
  color: var(--k-lime);
}
.assembly-skip {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: all;
  background: rgba(23,23,23,0.6);
  border: 1px solid var(--k-dark3);
  color: var(--k-gray3);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.25s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.assembly-skip:hover {
  border-color: var(--k-lime);
  color: var(--k-lime);
  background: rgba(242,255,102,0.06);
}
.lime-glow {
  color: var(--k-lime);
  text-shadow: 0 0 24px rgba(242, 255, 102, 0.35);
}

/* ── Award Banner ── */
.award-banner {
  padding: 0 0 40px;
  position: relative;
  overflow: hidden;
  animation: awardGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
  transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.4s ease;
  max-height: 300px;
}
.award-banner.collapsed {
  max-height: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}
@keyframes awardGrow {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.award-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(242,255,102,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.award-banner-inner {
  position: relative;
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 22px 44px;
  border: 1px solid rgba(242,255,102,0.15);
  border-radius: 14px;
  background: rgba(28,28,27,0.7);
  box-shadow: 0 0 40px rgba(242,255,102,0.04), 0 0 80px rgba(242,255,102,0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: visible;
}
.award-banner-badge-img {
  flex-shrink: 0;
  height: 100%;
  max-height: 120px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(242,255,102,0.18));
  margin: -16px -10px -16px 0;
}
.award-banner-content {
  flex: 1;
  min-width: 0;
}
.award-banner-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--k-lime);
  margin-bottom: 4px;
  opacity: 0.85;
}
.award-banner-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 500;
  color: var(--k-white);
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  line-height: 1.15;
}
.award-banner-sub {
  font-size: 16px;
  color: var(--k-muted);
  margin: 0;
  line-height: 1.4;
}
.award-dust-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  border-radius: 14px;
}
.award-banner-logo {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.25s;
  position: relative;
  z-index: 1;
}
.award-banner-content { position: relative; z-index: 1; }
.award-banner-badge-img { position: relative; z-index: 1; }
.award-banner-inner:hover .award-banner-logo {
  opacity: 1;
}
@media (max-width: 600px) {
  .award-banner { padding: 0 0 24px; }
  .award-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 18px;
    gap: 12px;
  }
  .award-banner-logo { margin: 0 auto; }
}

/* Assembly Hero: Responsive */
@media (max-width: 768px) {
  .assembly-hero {
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
  }
  .assembly-headline h1 {
    font-size: clamp(1.1rem, 4vw, 1.8rem);
  }
}

/* ── ACCESSIBILITY: RESPECT REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
  .divider { transform: scaleX(1) !important; }
  .word-reveal > span { transform: none !important; }
  .stat-num[data-target] { transform: none !important; opacity: 1 !important; }
  body::after { display: none; }
}
