/* ======================================================================
   SGC TECH AI — Premium Landing Page
   Design System: Glassmorphism + Brutalist Minimalism + Neon Cyan accents
   Typography: Satoshi (display + body) + JetBrains Mono (code/labels)
   Palette: Deep navy base, electric cyan #00D9FF, tech blue #0047FF
   ====================================================================== */

/* ----- Typography ----- */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,400,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

/* ----- CSS Reset & Variables ----- */
:root {
  --navy-950: #050817;
  --navy-900: #0b0e27;
  --navy-800: #111634;
  --navy-700: #1a2045;
  --navy-border: #1e2850;
  --tech-blue: #0047ff;
  --tech-blue-glow: rgba(0, 71, 255, 0.35);
  --cyan: #00d9ff;
  --cyan-dim: #00b8d9;
  --cyan-glow: rgba(0, 217, 255, 0.4);
  --white: #ffffff;
  --gray-100: #e8ecff;
  --gray-300: #a8b0d0;
  --gray-400: #7c85a8;
  --gray-500: #5c6485;

  --glass-bg: rgba(16, 22, 50, 0.45);
  --glass-bg-strong: rgba(16, 22, 50, 0.65);
  --glass-border: rgba(0, 217, 255, 0.15);
  --glass-border-hover: rgba(0, 217, 255, 0.4);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);

  --max-w: 1400px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--cyan); color: var(--navy-900); }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 96px;
}

body {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 400;
  background: var(--navy-900);
  color: var(--gray-100);
  overflow-x: hidden;
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
}

/* Global background with noise + gradient mesh + circuit ambience */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0, 71, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 30%, rgba(0, 217, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(0, 71, 255, 0.15), transparent 60%);
}

/* subtle noise texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ----- Typography scale ----- */
.font-display { font-family: 'Satoshi', system-ui, sans-serif; letter-spacing: -0.02em; }
.font-mono { font-family: 'JetBrains Mono', monospace; letter-spacing: 0; }

h1, h2, h3, h4 {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--white);
}

h1 { font-size: clamp(2.75rem, 6.5vw, 5.25rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p { color: var(--gray-300); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--gray-300); line-height: 1.65; max-width: 58ch; }

/* Gradient text utility */
.text-gradient-cyan {
  background: linear-gradient(135deg, #00d9ff 0%, #7eeaff 50%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-electric {
  background: linear-gradient(135deg, #0047ff 0%, #00d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- Layout utilities ----- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
  z-index: 2;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  padding: 0.5rem 0.875rem;
  background: rgba(0, 217, 255, 0.06);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s var(--ease-out-expo) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.section-header {
  max-width: 760px;
  margin-bottom: 4rem;
}

.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-header h2 {
  margin-bottom: 1.25rem;
}

/* ----- Glass cards ----- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo), background 0.5s;
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.35), transparent 30%, transparent 70%, rgba(0, 71, 255, 0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.5s;
}

.glass:hover { border-color: var(--glass-border-hover); }
.glass:hover::before { opacity: 1; }

/* hover spotlight driven by JS (mouse pos) */
.glass .spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 217, 255, 0.12), transparent 40%);
  border-radius: inherit;
}
.glass:hover .spotlight { opacity: 1; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  will-change: transform;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy-900);
  box-shadow: 0 0 0 0 var(--cyan-glow), 0 10px 30px -10px rgba(0, 217, 255, 0.5);
}

.btn-primary:hover {
  background: var(--white);
  box-shadow: 0 0 0 6px rgba(0, 217, 255, 0.15), 0 15px 40px -10px rgba(0, 217, 255, 0.7);
  transform: translateY(-2px);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease-out-expo);
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 217, 255, 0.06);
}

.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; }

.btn .arrow {
  transition: transform 0.4s var(--ease-out-expo);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ===================================================================
   AIRA Chatbox — Glowing AI Assistant (complete redesign)
   =================================================================== */

/* Wrapper */
.aira-chatbox {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.5rem);
  bottom: clamp(0.9rem, 2vw, 1.5rem);
  z-index: 120;
}

/* ---- Floating Launch Button ---- */
.floating-ai-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,71,255,0.9) 0%, rgba(0,217,255,0.85) 100%);
  border: 2px solid rgba(255,255,255,0.22);
  box-shadow:
    0 0 20px rgba(0,217,255,0.7),
    0 0 40px rgba(0,71,255,0.45),
    0 0 60px rgba(0,217,255,0.2);
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.175,0.885,0.32,1.275),
              box-shadow 0.35s ease;
  overflow: visible;
}

.floating-ai-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  opacity: 0.35;
}

.floating-ai-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0,217,255,0.12);
}

.floating-ai-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow:
    0 0 30px rgba(0,217,255,0.9),
    0 0 55px rgba(0,71,255,0.65),
    0 0 75px rgba(0,217,255,0.35);
}

.floating-ai-btn.is-active {
  transform: rotate(90deg);
}

.floating-ai-btn-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,217,255,0.45);
  animation: airaLauncherPing 2.4s cubic-bezier(0,0,0.2,1) infinite;
  pointer-events: none;
}

.floating-ai-btn-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity 0.2s ease;
}

.floating-ai-btn-icon svg {
  width: 28px;
  height: 28px;
}

/* Bot / X icon swap */
.floating-ai-btn .icon-close { display: none; }
.floating-ai-btn.is-active .icon-bot  { display: none; }
.floating-ai-btn.is-active .icon-close { display: block; }

/* ---- Chat Panel ---- */
.aira-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.9rem);
  width: min(430px, calc(100vw - 1.8rem));
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(39,39,42,0.92) 0%, rgba(24,24,27,0.96) 100%);
  border: 1px solid rgba(113,113,122,0.45);
  box-shadow:
    0 28px 56px -24px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  overflow: hidden;
  transform: scale(0.85) translateY(16px);
  transform-origin: bottom right;
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.175,0.885,0.32,1.275),
              opacity 0.26s ease;
}

.aira-chat-panel.is-open {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Subtle gradient overlay */
.aira-panel-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(239,68,68,0.04), transparent, rgba(147,51,234,0.04));
}

/* ---- Panel Header ---- */
.aira-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem 0.65rem;
}

.aira-chat-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.aira-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: airaStatusPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.aira-chat-status span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #a1a1aa;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.aira-chat-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.aira-badge-model {
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(39,39,42,0.7);
  color: #d4d4d8;
  border-radius: 999px;
  border: 1px solid rgba(113,113,122,0.3);
  font-family: var(--font-mono);
}

.aira-badge-pro {
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(239,68,68,0.1);
  color: #f87171;
  border-radius: 999px;
  border: 1px solid rgba(239,68,68,0.2);
}

.aira-chat-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #71717a;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.aira-chat-close:hover {
  background: rgba(113,113,122,0.2);
  color: #d4d4d8;
}

.aira-chat-close svg { width: 14px; height: 14px; }

/* ---- Body ---- */
.aira-chat-body {
  padding: 0 0.85rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* ---- Chat Log ---- */
.aira-chat-log {
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-right: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(113,113,122,0.3) transparent;
}

.aira-chat-log::-webkit-scrollbar { width: 4px; }
.aira-chat-log::-webkit-scrollbar-track { background: transparent; }
.aira-chat-log::-webkit-scrollbar-thumb { background: rgba(113,113,122,0.3); border-radius: 4px; }

.aira-msg {
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  font-size: 0.82rem;
  line-height: 1.5;
  animation: airaMsgIn 0.24s var(--ease-out-expo);
}

.aira-msg.user {
  background: rgba(0,217,255,0.12);
  border: 1px solid rgba(0,217,255,0.28);
  color: #e4e4e7;
  align-self: flex-end;
  max-width: 88%;
}

.aira-msg.assistant {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e4e4e7;
  align-self: flex-start;
  max-width: 92%;
}

/* ---- Chat Form ---- */
.aira-chat-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aira-chat-input {
  width: 100%;
  min-width: 0;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #f4f4f5;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.55;
  resize: none;
  min-height: 80px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-family: var(--font-body);
}

.aira-chat-input::-webkit-scrollbar { display: none; }

.aira-chat-input:focus {
  outline: none;
}

.aira-chat-input::placeholder {
  color: #52525b;
}

/* Controls row */
.aira-form-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.2rem;
  gap: 0.5rem;
}

.aira-form-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.aira-attach-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: rgba(39,39,42,0.5);
  border-radius: 10px;
  border: 1px solid rgba(63,63,70,0.5);
}

.aira-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #52525b;
  cursor: pointer;
  transition: all 0.18s ease;
}

.aira-icon-btn:hover {
  background: rgba(63,63,70,0.7);
  color: #d4d4d8;
  transform: scale(1.08);
}

.aira-icon-btn svg { width: 15px; height: 15px; }

.aira-mic-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid rgba(63,63,70,0.4);
  background: transparent;
  color: #52525b;
  cursor: pointer;
  transition: all 0.18s ease;
}

.aira-mic-btn:hover {
  background: rgba(63,63,70,0.5);
  color: #f87171;
  border-color: rgba(239,68,68,0.3);
}

.aira-mic-btn svg { width: 15px; height: 15px; }

.aira-form-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.aira-char-counter {
  font-size: 0.7rem;
  font-weight: 500;
  color: #52525b;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.aira-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 14px -4px rgba(220,38,38,0.5);
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.aira-send-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 10px 20px -6px rgba(239,68,68,0.6);
}

.aira-send-btn:active { transform: scale(0.95); }

.aira-send-btn svg { width: 16px; height: 16px; }

/* Footer hint row */
.aira-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.2rem 0;
  border-top: 1px solid rgba(63,63,70,0.4);
  font-size: 0.7rem;
  color: #52525b;
  gap: 0.5rem;
}

.aira-form-footer kbd {
  padding: 0.1rem 0.35rem;
  background: rgba(39,39,42,0.8);
  border: 1px solid rgba(63,63,70,0.7);
  border-radius: 4px;
  color: #a1a1aa;
  font-family: var(--font-mono);
  font-size: 0.67rem;
}

.aira-sys-status {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.aira-sys-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

/* Ensure hidden attribute wins over display flex/grid on chatbox elements */
.aira-voice-panel[hidden],
.aira-chat-form[hidden],
.aira-alert-links[hidden] { display: none !important; }

/* ---- Voice Panel (full mode tab) ---- */
.aira-voice-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0.5rem;
}

.aira-voice-recorder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
}

.aira-voice-visualizer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 40px;
  gap: 3px;
}

.aira-voice-bars {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  gap: 3px;
}

.aira-voice-bars span {
  display: block;
  width: 5px;
  height: 14px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(0,217,255,0.4) 100%);
  border-radius: 3px;
  transition: height 0.15s ease;
}

.aira-voice-visualizer.recording .aira-voice-bars span {
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(0,217,255,0.8) 100%);
  box-shadow: 0 0 8px rgba(0,217,255,0.5);
  animation: airaVoiceBar 0.5s ease-in-out infinite;
}

.aira-voice-visualizer.recording .aira-voice-bars span:nth-child(1) { animation-delay: 0s; height: 20px; }
.aira-voice-visualizer.recording .aira-voice-bars span:nth-child(2) { animation-delay: 0.08s; height: 28px; }
.aira-voice-visualizer.recording .aira-voice-bars span:nth-child(3) { animation-delay: 0.16s; height: 36px; }
.aira-voice-visualizer.recording .aira-voice-bars span:nth-child(4) { animation-delay: 0.24s; height: 40px; }
.aira-voice-visualizer.recording .aira-voice-bars span:nth-child(5) { animation-delay: 0.32s; height: 36px; }
.aira-voice-visualizer.recording .aira-voice-bars span:nth-child(6) { animation-delay: 0.40s; height: 28px; }
.aira-voice-visualizer.recording .aira-voice-bars span:nth-child(7) { animation-delay: 0.48s; height: 20px; }

.aira-voice-status {
  font-size: 0.8rem;
  color: #71717a;
  text-align: center;
  min-height: 1.2em;
  font-family: var(--font-mono);
}

.aira-voice-mic-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan) 0%, #7eeaff 100%);
  color: var(--navy-900);
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 24px -8px rgba(0,217,255,0.65);
  cursor: pointer;
  transition: all 0.22s ease;
}

.aira-voice-mic-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 32px -8px rgba(0,217,255,0.9);
}

.aira-voice-mic-btn:active,
.aira-voice-mic-btn.listening {
  background: linear-gradient(135deg, #ffc14d 0%, #ff8f52 100%);
  transform: scale(0.95);
  box-shadow: 0 4px 16px -4px rgba(255,193,77,0.7);
  animation: airaListeningPulse 1s ease-in-out infinite;
}

.aira-voice-hint {
  font-size: 0.72rem;
  color: #52525b;
  font-family: var(--font-mono);
  text-align: center;
}

/* ---- Voice Indicator (inline with chat form) ---- */
.aira-voice-indicator {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.75rem;
  color: #71717a;
}

.aira-voice-indicator.active {
  display: flex;
}

.aira-voice-indicator .aira-voice-bars {
  display: flex;
  align-items: flex-end;
  height: 20px;
  gap: 2px;
}

.aira-voice-indicator .aira-voice-bars span {
  display: block;
  width: 3px;
  height: 8px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(0,217,255,0.4) 100%);
  border-radius: 2px;
  animation: airaVoiceBar 0.5s ease-in-out infinite;
}

.aira-voice-indicator .aira-voice-bars span:nth-child(1) { animation-delay: 0s; height: 10px; }
.aira-voice-indicator .aira-voice-bars span:nth-child(2) { animation-delay: 0.08s; height: 14px; }
.aira-voice-indicator .aira-voice-bars span:nth-child(3) { animation-delay: 0.16s; height: 18px; }
.aira-voice-indicator .aira-voice-bars span:nth-child(4) { animation-delay: 0.24s; height: 20px; }
.aira-voice-indicator .aira-voice-bars span:nth-child(5) { animation-delay: 0.32s; height: 18px; }
.aira-voice-indicator .aira-voice-bars span:nth-child(6) { animation-delay: 0.40s; height: 14px; }
.aira-voice-indicator .aira-voice-bars span:nth-child(7) { animation-delay: 0.48s; height: 10px; }

/* ---- Quick Actions ---- */
.aira-quick-actions,
.aira-alert-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.aira-quick-btn,
.aira-alert-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.18s ease;
}

.aira-quick-btn {
  background: rgba(0,217,255,0.08);
  border: 1px solid rgba(0,217,255,0.24);
  color: var(--cyan);
  text-decoration: none;
}

.aira-quick-btn:hover {
  background: rgba(0,217,255,0.16);
  border-color: rgba(0,217,255,0.45);
  color: #7eeaff;
}

.aira-quick-human {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.22);
  color: #fca5a5;
}

.aira-quick-human:hover {
  background: rgba(239,68,68,0.16);
  border-color: rgba(239,68,68,0.4);
  color: #fecaca;
}

.aira-alert-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #a1a1aa;
  text-decoration: none;
}

.aira-alert-btn:hover {
  border-color: rgba(139,92,246,0.4);
  color: #c4b5fd;
}

/* ---- Animations ---- */
@keyframes airaLauncherPing {
  0% { transform: scale(1); opacity: 0.18; }
  75%, 100% { transform: scale(1.6); opacity: 0; }
}

@keyframes airaStatusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes airaVoiceBar {
  0%, 100% { height: 8px; }
  50% { height: var(--bar-height, 40px); }
}

@keyframes airaListeningPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,193,77,0.2), 0 4px 16px -4px rgba(255,193,77,0.7); }
  50% { box-shadow: 0 0 0 4px rgba(255,193,77,0.4), 0 8px 32px -8px rgba(255,193,77,0.95); }
}

@keyframes airaListeningRing {
  0% {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  100% {
    width: 140%;
    height: 140%;
    opacity: 0;
  }
}

@keyframes airaMsgIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .aira-chatbox {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .aira-chat-panel {
    width: min(380px, calc(100vw - 1rem));
  }

  .aira-quick-actions,
  .aira-alert-links {
    grid-template-columns: 1fr;
  }
}

/* ----- NAV ----- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  background: rgba(11, 14, 39, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.nav-logo img {
  width: 40px; height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 217, 255, 0.5));
  transition: transform 0.6s var(--ease-out-expo);
}

.nav-logo:hover img { transform: rotate(-8deg) scale(1.05); }

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray-300);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--cyan);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  align-items: center;
  justify-content: center;
  color: var(--white);
}

/* ----- HERO ----- */
.hero {
  padding-top: clamp(8rem, 16vh, 12rem);
  padding-bottom: clamp(4rem, 8vh, 6rem);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Particles.js canvas container — sits behind the circuit SVG + content.
   The wrapper is pointer-events:none so it never blocks button/link clicks.
   The canvas inside gets pointer-events:auto so particles.js still receives
   hover/click events for the grab + push interactions. */
#particles-js {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#particles-js canvas {
  display: block !important;
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: auto;
  /* Soft bottom fade so particles dissolve into the next section */
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

/* Ensure hero content sits above the particles + circuit background.
   z-index hierarchy:  particles(0) < circuit(1) < content(3) */
.hero .container { position: relative; z-index: 3; }
.hero .circuit-bg { z-index: 1; opacity: 0.09; }
.hero .hero-visual { z-index: 3; position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 0.5rem 0.875rem 0.5rem 0.625rem;
  background: rgba(0, 217, 255, 0.05);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s infinite;
}

.hero h1 {
  margin-bottom: 1.75rem;
}

.hero h1 .highlight {
  display: inline-block;
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; bottom: 4%;
  height: 32%;
  background: linear-gradient(90deg, rgba(0, 217, 255, 0.35), rgba(0, 71, 255, 0.15));
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-6deg);
}

.hero-lead {
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--gray-300);
  margin-bottom: 2.25rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ----- Hero Pain-Point Narrative Frame ----- */
:root {
  --red: #ef4444;
  --red-bold: #ff3333;
}

.hero-pain {
  margin: 0 0 2.75rem;
}

/* "Your business deserves better than this." — hero-scale headline */
.pain-top {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}

.pain-top em {
  font-style: normal;
  color: var(--red-bold);
}

/* Clean stage — NO background box, NO border shadow */
.pain-stage {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  min-height: 3.5rem;
}

.pain-arrow {
  color: var(--cyan);
  font-size: 1.6rem;
  flex-shrink: 0;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  line-height: 1;
}

/* Typewriter target — hero-scale, bold */
.pain-text {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.025em;
}

/* Strategic red words injected via Typed.js HTML strings */
.pain-text .pain-red {
  color: var(--red-bold);
  font-weight: 800;
}

/* Typed.js cursor — brand cyan */
#painText + .typed-cursor,
.pain-text .typed-cursor {
  color: var(--cyan);
  font-weight: 300;
}

/* Resolution line — biggest text in the block */
.pain-bottom {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* ----- Hero Trust Badges (awards + compliance) ----- */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  align-items: center;
}

.hero-badges-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  width: 100%;
  margin-bottom: 0.25rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.55rem 0.9rem 0.55rem 0.625rem;
  background: rgba(16, 22, 50, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 217, 255, 0.18);
  border-radius: 999px;
  transition: all 0.4s var(--ease-out-expo);
  cursor: default;
}

.trust-badge:hover {
  border-color: rgba(0, 217, 255, 0.45);
  transform: translateY(-2px);
  background: rgba(0, 217, 255, 0.06);
  box-shadow: 0 8px 24px -12px rgba(0, 217, 255, 0.4);
}

.trust-badge .badge-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(0, 71, 255, 0.1));
  border: 1px solid rgba(0, 217, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  transition: all 0.4s var(--ease-out-expo);
}

.trust-badge:hover .badge-icon {
  background: var(--cyan);
  color: var(--navy-900);
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 217, 255, 0.5);
}

.trust-badge .badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.1;
}

.trust-badge .badge-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.trust-badge .badge-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  text-transform: uppercase;
}

.stat-value {
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}

/* Hero visual: animated circuit board */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
  transition: transform 0.05s linear;
}

.hero-visual-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.35) 0%, rgba(0, 71, 255, 0.15) 40%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-logo-wrap {
  position: relative;
  width: 78%;
  aspect-ratio: 1 / 1;
  z-index: 2;
}

.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0, 217, 255, 0.45)) drop-shadow(0 0 80px rgba(0, 71, 255, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* rotating rings */
.hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(0, 217, 255, 0.2);
  z-index: 1;
}
.hero-ring-2 {
  inset: 12%;
  border-color: rgba(0, 71, 255, 0.15);
  border-style: solid;
  animation: spin 20s linear infinite;
}
.hero-ring-3 {
  inset: -6%;
  animation: spin 40s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* orbit dots */
.hero-orbit {
  position: absolute;
  inset: 0;
  animation: spin 18s linear infinite;
}
.hero-orbit::before, .hero-orbit::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
}
.hero-orbit::before { top: -4px; left: 50%; transform: translateX(-50%); }
.hero-orbit::after { bottom: -4px; right: 30%; width: 6px; height: 6px; background: var(--tech-blue); box-shadow: 0 0 15px var(--tech-blue); }

/* Circuit SVG overlay */
.circuit-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}

.circuit-bg path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1;
}

.circuit-pulse {
  opacity: 0.2;
  transform-origin: center;
  animation: circuitPulseBlink 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.75));
}

.circuit-pulse.one {
  animation-duration: 2.6s;
}

.circuit-pulse.two {
  animation-duration: 3s;
  animation-delay: 0.45s;
}

.circuit-pulse.three {
  animation-duration: 2.2s;
  animation-delay: 0.9s;
}

@keyframes circuitPulseBlink {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  z-index: 5;
}

.scroll-hint .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  position: relative;
  overflow: hidden;
}

.scroll-hint .line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--cyan);
  animation: scroll-dash 2s ease-in-out infinite;
}

@keyframes scroll-dash {
  0% { top: -50%; } 100% { top: 100%; }
}

/* ----- Marquee (trust bar) ----- */
.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  position: relative;
}

.trust-bar::before, .trust-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}
.trust-bar::before { left: 0; background: linear-gradient(to right, var(--navy-900), transparent); }
.trust-bar::after { right: 0; background: linear-gradient(to left, var(--navy-900), transparent); }

.marquee {
  display: flex;
  gap: 4rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--gray-300);
  opacity: 0.55;
  transition: opacity 0.4s, color 0.4s, transform 0.4s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  filter: grayscale(0.4);
  letter-spacing: -0.01em;
}

.marquee-item:hover {
  opacity: 1;
  color: var(--white);
  filter: grayscale(0);
  transform: translateY(-2px);
}

.marquee-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: filter 0.4s, opacity 0.4s;
}

.marquee-item:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(72%) sepia(98%) saturate(1790%) hue-rotate(158deg) brightness(100%) contrast(101%);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Industries Grid ----- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-card {
  padding: 1.75rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.industry-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.12), rgba(0, 71, 255, 0.06));
  border: 1px solid rgba(0, 217, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transition: all 0.5s var(--ease-out-expo);
}

.industry-card:hover .icon {
  background: linear-gradient(135deg, var(--cyan), var(--tech-blue));
  color: var(--navy-900);
  border-color: transparent;
  transform: rotate(-6deg) scale(1.05);
}

.industry-card .name {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.industry-card .desc {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.industry-card .index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--gray-500);
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  z-index: 2;
}

/* ----- Value Props ----- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-card {
  padding: 2rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
}

.value-card .icon-ring {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  position: relative;
  margin-bottom: 0.25rem;
  transition: all 0.6s var(--ease-out-expo);
}

.value-card .icon-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 217, 255, 0.15);
  opacity: 0;
  transition: opacity 0.4s, transform 0.6s;
}

.value-card:hover .icon-ring { color: var(--navy-900); background: var(--cyan); }
.value-card:hover .icon-ring::before { opacity: 1; transform: rotate(90deg); }

.value-card h3 { font-size: 1.3rem; }

.value-card p { font-size: 0.94rem; color: var(--gray-300); }

/* ----- Pricing ----- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 640px;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(0, 217, 255, 0.08), rgba(0, 71, 255, 0.04));
  border-color: rgba(0, 217, 255, 0.35);
  transform: translateY(-12px);
}

.pricing-card.featured::before {
  background: linear-gradient(135deg, var(--cyan), transparent 40%, transparent 60%, var(--tech-blue));
  opacity: 1;
}

.pricing-card.featured .pricing-tag {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.625rem;
  background: var(--cyan);
  color: var(--navy-900);
  border-radius: 999px;
  font-weight: 600;
}

.pricing-tier {
  font-family: 'Satoshi', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.pricing-price .currency {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--gray-400);
}

.pricing-price .amount {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-price .period {
  color: var(--gray-400);
  font-size: 0.95rem;
}

.pricing-desc { font-size: 0.9rem; color: var(--gray-300); }

.pricing-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.25), transparent);
  margin: 0.25rem 0;
}

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; flex: 1; }

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--gray-100);
}

.pricing-features .check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.12);
  border: 1px solid rgba(0, 217, 255, 0.3);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.pricing-features li.dim { color: var(--gray-500); }
.pricing-features li.dim .check { background: transparent; border-color: rgba(255,255,255,0.08); color: var(--gray-500); }

/* ----- Testimonials ----- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stars { display: flex; gap: 2px; color: var(--cyan); }

.quote {
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--gray-100);
  flex: 1;
}

.quote-mark {
  font-family: 'Satoshi', sans-serif;
  font-size: 4rem;
  line-height: 0;
  color: var(--cyan);
  opacity: 0.3;
  margin-top: 2rem;
  height: 0;
}

.testimonial-author { display: flex; align-items: center; gap: 0.875rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); }

.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--tech-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  font-weight: 600;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-info .name { font-weight: 600; color: var(--white); font-size: 0.95rem; }
.author-info .role { font-size: 0.8rem; color: var(--gray-400); }

/* ----- FAQ ----- */
.faq-wrap {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s, background 0.4s;
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
  list-style: none;
  gap: 2rem;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-summary h4 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transition: transform 0.5s var(--ease-out-expo), background 0.4s;
}

.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--cyan); color: var(--navy-900); }
.faq-item[open] { border-color: rgba(0, 217, 255, 0.3); }

.faq-answer {
  padding: 0 1.75rem 1.75rem;
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 85ch;
}

/* ----- Final CTA ----- */
.cta-section {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(6rem, 10vw, 8rem);
}

.cta-card {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(0, 217, 255, 0.08), rgba(0, 71, 255, 0.04)),
    var(--glass-bg-strong);
  border: 1px solid var(--glass-border-hover);
  overflow: hidden;
  text-align: left;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 60%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.3), transparent 60%);
  filter: blur(50px);
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(0, 71, 255, 0.25), transparent 60%);
  filter: blur(50px);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-card h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 1rem; }

.cta-card .lead { margin-bottom: 0; }

.cta-buttons { display: flex; flex-direction: column; gap: 0.875rem; align-items: stretch; }

.cta-buttons .btn { padding: 1.1rem 1.75rem; font-size: 1rem; }

.cta-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 0.5rem;
}

/* ----- Footer ----- */
footer {
  padding: 4rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { max-width: 38ch; font-size: 0.9rem; margin-top: 1.25rem; }

.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: var(--gray-300); font-size: 0.9rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.85rem; color: var(--gray-500); }

.social { display: flex; gap: 0.5rem; }
.social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: all 0.4s var(--ease-out-expo);
}
.social a:hover { background: var(--cyan); color: var(--navy-900); border-color: var(--cyan); transform: translateY(-2px); }

/* ----- Reveal animations ----- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}
.reveal-left.in { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}
.reveal-right.in { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.88) translateY(20px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}
.reveal-scale.in { opacity: 1; transform: scale(1) translateY(0); }

/* Blur-in reveal — premium entrance for section headers */
.reveal-blur {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(16px);
  transition: opacity 1s var(--ease-out-expo), filter 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal-blur.in { opacity: 1; filter: blur(0); transform: translateY(0); }

/* Stagger grid — parent receives class; JS adds .in to each child with offset */
.stagger-children > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}
.stagger-children > *.in { opacity: 1; transform: none; }

/* ----- Glassmorphism section panel ----- */
.section-glass {
  background: rgba(14, 18, 44, 0.52);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  border: 1px solid rgba(0, 217, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}
.section-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(0,217,255,0.22) 0%,
    transparent 35%,
    transparent 65%,
    rgba(0,71,255,0.18) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

/* Ambient section glow — set --sg-color per section */
.section-ambient { position: relative; }
.section-ambient::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 55%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, var(--sg-color, rgba(0,217,255,0.05)), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.section-ambient > .container { position: relative; z-index: 1; }

/* ----- Award Badges (stamp + award alternating) ----- */
.award-stamps {
  margin-bottom: 2.25rem;
}

.award-stamps-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.875rem;
}

.award-stamps-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Shared badge wrapper — 68px, SVG viewBox 192×192 (scale ≈ 0.354) */
.award-badge {
  width: 68px;
  height: 68px;
  cursor: default;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out-expo), filter 0.4s var(--ease-out-expo);
}

.award-badge svg {
  width: 100%;
  height: 100%;
  display: block;
  color: var(--bc, var(--cyan)); /* used via currentColor in SVG */
}

.award-badge:hover {
  transform: translateY(-3px) scale(1.08);
  filter: drop-shadow(0 0 12px var(--bc, var(--cyan)));
}

/* SVG element classes */
.ab-serrated {
  fill: rgba(10, 14, 35, 0.88);
  stroke: var(--bc, var(--cyan));
  stroke-width: 0.6;
}

.ab-disc {
  fill: rgba(10, 14, 35, 0.85);
}

.ab-ring {
  stroke: var(--bc, var(--cyan));
  stroke-width: 1;
  stroke-dasharray: 4 3;
  opacity: 0.45;
}

/* color helper — makes currentColor resolve to --bc */
.ab-color { color: var(--bc, var(--cyan)); }

@media (prefers-reduced-motion: reduce) {
  .award-badge { transition: none; }
  .award-badge:hover { transform: none; filter: none; }
}

/* ======================================================================
   CARD STACK — 3D fanned carousel
   Ported from the React/Framer Motion version to vanilla JS + CSS.
   ====================================================================== */

.stories-section { padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: clamp(4rem, 7vw, 6rem); }

.card-stack {
  --cs-width: 520px;
  --cs-height: 340px;
  --cs-spread: 48;           /* total fan angle (deg) */
  --cs-perspective: 1200px;
  --cs-depth: 130;           /* px per ring of depth */
  --cs-active-scale: 1.04;
  --cs-inactive-scale: 0.94;
  --cs-active-lift: 22px;
  --cs-tilt-x: 10deg;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.card-stack-stage {
  position: relative;
  width: 100%;
  height: calc(var(--cs-height) + 100px);
  perspective: var(--cs-perspective);
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}

.card-stack-stage::before,
.card-stack-stage::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}
.card-stack-stage::before {
  top: 40px;
  width: 70%;
  height: 180px;
  background: radial-gradient(ellipse, rgba(0, 217, 255, 0.1), transparent 70%);
  filter: blur(30px);
}
.card-stack-stage::after {
  bottom: 20px;
  width: 80%;
  height: 130px;
  background: radial-gradient(ellipse, rgba(0, 71, 255, 0.25), transparent 70%);
  filter: blur(30px);
}

.card-stack-viewport {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform-style: preserve-3d;
}

.stack-card {
  position: absolute;
  bottom: 20px;
  width: var(--cs-width);
  height: var(--cs-height);
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 217, 255, 0.08);
  background: var(--navy-800);
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition:
    transform 0.75s var(--ease-out-expo),
    opacity 0.55s var(--ease-out-expo),
    border-color 0.4s ease;
  cursor: pointer;
}

.stack-card.is-active {
  cursor: grab;
  border-color: rgba(0, 217, 255, 0.4);
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 217, 255, 0.25),
    0 0 40px rgba(0, 217, 255, 0.15);
}

.stack-card.is-active:active { cursor: grabbing; }

.stack-card.is-dragging { transition: none !important; }

.stack-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.stack-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.stack-card .stack-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 8, 23, 0.92) 0%, rgba(5, 8, 23, 0.35) 45%, transparent 70%),
    linear-gradient(to bottom, rgba(0, 71, 255, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.stack-card .stack-card-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stack-card .stack-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 0.3rem 0.625rem;
  background: rgba(0, 217, 255, 0.12);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 999px;
  margin-bottom: 0.375rem;
  backdrop-filter: blur(10px);
}

.stack-card .stack-title {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stack-card .stack-desc {
  font-size: 0.9rem;
  color: rgba(232, 236, 255, 0.85);
  line-height: 1.5;
  max-width: 42ch;
}

.stack-card .stack-metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-family: 'Satoshi', sans-serif;
}

.stack-card .stack-metric .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.stack-card .stack-metric .metric-label {
  font-size: 0.78rem;
  color: rgba(232, 236, 255, 0.7);
}

/* Controls row */
.card-stack-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.cs-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-out-expo);
  backdrop-filter: blur(12px);
}

.cs-nav-btn:hover:not(:disabled) {
  color: var(--navy-900);
  background: var(--cyan);
  border-color: var(--cyan);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.cs-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.cs-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.cs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s var(--ease-out-expo);
  padding: 0;
  border: 0;
  cursor: pointer;
}

.cs-dot:hover { background: rgba(255, 255, 255, 0.4); }

.cs-dot.on {
  background: var(--cyan);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 12px var(--cyan);
}

.cs-external {
  color: var(--gray-400);
  transition: color 0.3s, transform 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-external:hover { color: var(--cyan); transform: translate(2px, -2px); }

/* ======================================================================
   HOLOGRAPHIC TILT — mouse-tracked 3D rotation + shimmer overlay
   Applied to any element with [data-holo]. JS sets --x/--y/--rx/--ry.
   ====================================================================== */

[data-holo] {
  --x: 50%;
  --y: 50%;
  --rx: 0deg;
  --ry: 0deg;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease-out-expo);
  position: relative;
  isolation: isolate;
}

[data-holo].holo-active {
  transition: transform 0.08s linear;
}

/* The shimmer layer — pure CSS, no extra DOM needed */
[data-holo]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle 380px at var(--x) var(--y),
      rgba(0, 217, 255, 0.22) 0%,
      rgba(0, 71, 255, 0.08) 30%,
      transparent 60%
    );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.45s var(--ease-out-expo);
  pointer-events: none;
  z-index: 2;
}

[data-holo].holo-active::after { opacity: 1; }

/* Holographic prismatic sheen — thin conic gradient that reveals on hover */
[data-holo] .holo-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
  background:
    linear-gradient(
      115deg,
      transparent 30%,
      rgba(0, 217, 255, 0.12) 45%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(0, 71, 255, 0.12) 55%,
      transparent 70%
    );
  background-position: calc(var(--x) * -0.3) calc(var(--y) * -0.3);
  background-size: 250% 250%;
  mix-blend-mode: overlay;
  z-index: 1;
}

[data-holo].holo-active .holo-sheen { opacity: 0.7; }

/* When holo is active, lift the inner content slightly for depth */
[data-holo] > *:not(.holo-sheen) {
  transform: translateZ(20px);
  transform-style: preserve-3d;
}

/* Stronger icon pop on holo cards */
.value-card[data-holo]:hover .icon-ring {
  transform: translateZ(40px) scale(1.05);
}

/* Responsive — smaller stack on narrow screens */
@media (max-width: 900px) {
  .card-stack {
    --cs-width: 360px;
    --cs-height: 260px;
    --cs-depth: 90;
  }
  .card-stack-stage { height: calc(var(--cs-height) + 80px); }
  .stack-card .stack-title { font-size: 1.1rem; }
  .stack-card .stack-desc { font-size: 0.82rem; }
}

@media (max-width: 500px) {
  .card-stack {
    --cs-width: 280px;
    --cs-height: 230px;
    --cs-spread: 36;
    --cs-depth: 70;
  }
  .stack-card .stack-card-content { padding: 1.25rem; }
  .stack-card .stack-metric .value { font-size: 1.2rem; }
}

/* Disable holo / 3D on touch devices for performance */
@media (hover: none) {
  [data-holo] { transform: none !important; }
  [data-holo]::after, [data-holo] .holo-sheen { display: none; }
  [data-holo] > *:not(.holo-sheen) { transform: none; }
}

/* ----- Cursor glow (optional, desktop) ----- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 400px; height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.08), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
  mix-blend-mode: screen;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow { opacity: 1; }
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 1100px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cta-grid { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }

  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
  .industry-card { min-height: 170px; padding: 1.25rem; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero-stats > *:last-child { grid-column: 1 / -1; }
  section { padding: 4.5rem 0; }
}

/* Typed.js cursor */
.typed-cursor {
  color: var(--cyan);
  font-weight: 300;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Text gradient for highlighted text */
.text-gradient-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--tech-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* GSAP animation utilities */
.gsap-fade-up {
  opacity: 0;
  transform: translateY(20px);
}

/* Motion hover lifts */
.motion-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.motion-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 217, 255, 0.15);
}

/* Welcome overlay removed — chatbox is self-evident with new UI */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .typed-cursor { display: none; }
  .floating-message-btn { animation: none; }
  .floating-message-btn::before { animation: none; }
}

/* ======================================================================
   QUOTE BUILDER  — /quote-builder
   All classes prefixed with .qb- to avoid collision with main page
   ====================================================================== */

/* Nav: quote link highlight */
.nav-quote-link {
  color: var(--cyan) !important;
  font-weight: 600;
}

/* Page wrapper — padding-top accounts for the fixed nav */
.qb-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 1.5rem 5rem;
  min-height: 100vh;
}

/* Scoped h1 override — global h1 is 5.25rem which is far too large here */
.qb-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

/* ── Hero ──────────────────────────────────────────────────────── */
.qb-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2.25rem 1rem 0;
}

.qb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 217, 255, 0.08);
  border: 1px solid rgba(0, 217, 255, 0.25);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}

.qb-hero-title {
  /* font-size controlled by .qb-page h1 above */
  color: var(--white);
  margin-bottom: 0.75rem;
}

.qb-hero-sub {
  font-size: 1.05rem;
  color: var(--gray-300);
}

/* ── Step sections ─────────────────────────────────────────────── */
.qb-step {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 217, 255, 0.08);
}

.qb-step:last-of-type {
  border-bottom: none;
}

/* Clear All button */
.qb-clear-all {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-300);
  background: transparent;
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.qb-clear-all:hover {
  color: var(--white);
  border-color: var(--gray-500);
  background: rgba(255, 255, 255, 0.04);
}

/* Pre-defined builds */
.qb-predefined-builds {
  margin-bottom: 1.5rem;
}

.qb-predefined-label {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.qb-builds-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.qb-build-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  background: linear-gradient(135deg, rgba(0, 71, 255, 0.15), rgba(0, 217, 255, 0.1));
  border: 1px solid rgba(0, 71, 255, 0.4);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.qb-build-btn:hover {
  background: linear-gradient(135deg, rgba(0, 71, 255, 0.25), rgba(0, 217, 255, 0.15));
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.qb-build-btn em {
  font-size: 0.68rem;
  color: var(--cyan);
  font-style: normal;
  opacity: 0.85;
}

/* Special industry cards (AI Implementation, Odoo Modules) */
.qb-industry-special {
  background: linear-gradient(135deg, rgba(0, 71, 255, 0.08), rgba(0, 217, 255, 0.04)) !important;
  border: 1px dashed rgba(0, 217, 255, 0.3) !important;
}

.qb-industry-special .qb-ind-icon {
  color: var(--cyan) !important;
}

.qb-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.qb-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.12em;
  line-height: 1;
  flex-shrink: 0;
}

.qb-step-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.qb-step-sub {
  font-size: 0.88rem;
  color: var(--gray-400);
  margin-left: auto;
}

/* ── Industry grid — 4-col on large, responsive below ──────────── */
.qb-industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1100px) { .qb-industries { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .qb-industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .qb-industries { grid-template-columns: 1fr; } }

.qb-industry-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem 1.25rem;
  min-height: 152px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  color: var(--white);
  transition: border-color 0.25s, background 0.25s, transform 0.2s, box-shadow 0.25s;
  position: relative;
}

.qb-industry-card:hover {
  border-color: rgba(0, 217, 255, 0.45);
  background: rgba(0, 217, 255, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.4);
}

.qb-industry-card.is-selected {
  border-color: var(--cyan);
  background: rgba(0, 217, 255, 0.1);
  box-shadow: 0 0 0 1px var(--cyan), 0 8px 28px rgba(0, 217, 255, 0.2);
}

.qb-industry-card.is-selected::after {
  content: '✓';
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--navy-900);
  background: var(--cyan);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qb-ind-icon {
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.qb-ind-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.qb-ind-cost {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.qb-ind-days {
  font-size: 0.7rem;
  color: var(--gray-400);
}

.qb-ind-proof {
  font-size: 0.67rem;
  color: var(--gray-500);
  line-height: 1.4;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 14ch;
}

/* ── Context bar ───────────────────────────────────────────────── */
.qb-builder { margin-top: 0.5rem; }

.qb-context-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  font-size: 0.88rem;
  flex-wrap: wrap;
  border-color: rgba(0, 217, 255, 0.2);
}

.qb-context-name  { color: var(--white); font-weight: 700; }
.qb-context-days  { color: var(--cyan); font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; }
.qb-context-proof { color: var(--gray-400); font-size: 0.8rem; }
.qb-context-sep   { color: var(--gray-500); }

/* ── Two-column layout + sidebar ────────────────────────────────── */
.qb-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1100px) {
  .qb-columns { grid-template-columns: 1fr 1fr; }
  .qb-sidebar  { grid-column: span 2; }
}

@media (max-width: 680px) {
  .qb-columns { grid-template-columns: 1fr; }
  .qb-sidebar  { grid-column: span 1; }
}

/* ── Feature columns ────────────────────────────────────────────── */
.qb-feature-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.qb-col-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--glass-border);
  letter-spacing: -0.01em;
}

.qb-optional { color: var(--gray-400); font-style: normal; font-weight: 400; font-size: 0.8rem; }

/* ── Tier groups ────────────────────────────────────────────────── */
.qb-tier-group { display: flex; flex-direction: column; gap: 0.5rem; }

.qb-tier-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  padding: 0.3rem 0;
}

/* ── Checkbox items ──────────────────────────────────────────────── */
.qb-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.qb-checkbox-item:hover {
  border-color: rgba(0, 217, 255, 0.4);
  background: rgba(0, 217, 255, 0.04);
}

/* Recommended item: cyan left accent + subtle "Recommended" badge on name */
.qb-checkbox-item.is-recommended {
  border-left: 3px solid var(--cyan);
  border-color: rgba(0, 217, 255, 0.35);
  background: rgba(0, 217, 255, 0.04);
}

.qb-checkbox-item.is-recommended .qb-item-name::after {
  content: '✦ Rec.';
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.58rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  color: var(--cyan);
  background: rgba(0, 217, 255, 0.1);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 217, 255, 0.22);
  vertical-align: middle;
  font-weight: 600;
}

/* Checked state: tinted background + cyan glow */
.qb-checkbox-item:has(.qb-cb:checked) {
  border-color: var(--cyan);
  background: rgba(0, 217, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(0, 217, 255, 0.1);
}

/* ── Custom checkbox ────────────────────────────────────────────── */
.qb-cb { position: absolute; opacity: 0; width: 0; height: 0; }

.qb-cb-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--glass-border-hover);
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}

.qb-cb:checked + .qb-cb-box {
  background: var(--cyan);
  border-color: var(--cyan);
}

.qb-cb:checked + .qb-cb-box::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: 2px solid var(--navy-900);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.qb-cb:focus-visible + .qb-cb-box {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ── Item body — price right-aligned ────────────────────────────── */
.qb-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.qb-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.qb-item-desc {
  font-size: 0.76rem;
  color: var(--gray-400);
  line-height: 1.45;
}

.qb-item-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: var(--cyan);
  margin-top: 0.2rem;
  text-align: right;
  align-self: flex-end;
}

/* ── Sidebar ─────────────────────────────────────────────────────── */
.qb-sidebar { position: sticky; top: 90px; }

.qb-sidebar-inner {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 217, 255, 0.08) inset;
}

.qb-sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qb-sidebar-title::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  flex-shrink: 0;
}

/* ── Price rows ──────────────────────────────────────────────────── */
.qb-price-rows { display: flex; flex-direction: column; gap: 0.4rem; }

.qb-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--gray-300);
  gap: 0.5rem;
}

.qb-price-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--white);
  text-align: right;
}

.qb-price-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 0.5rem 0;
}

.qb-subtotal-row { font-weight: 600; }
.qb-vat-row      { color: var(--gray-400); font-size: 0.78rem; }

.qb-total-row {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  padding-top: 0.4rem;
}

.qb-total-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  color: var(--cyan);
  font-weight: 700;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

/* ── Timeline ────────────────────────────────────────────────────── */
.qb-timeline { padding-top: 0.75rem; border-top: 1px solid var(--glass-border); }

.qb-timeline-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'JetBrains Mono', monospace;
}

.qb-timeline-steps { display: flex; flex-direction: column; gap: 0.7rem; }

.qb-tl-step {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--gray-300);
}

.qb-tl-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 1px;
  font-family: 'JetBrains Mono', monospace;
}

.qb-tl-golive .qb-tl-dot {
  background: var(--cyan);
  color: var(--navy-900);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.45);
}

/* ── Retainer toggle ────────────────────────────────────────────── */
.qb-retainer-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 217, 255, 0.04);
  border: 1px solid rgba(0, 217, 255, 0.18);
  transition: border-color 0.2s, background 0.2s;
}

.qb-retainer-toggle:hover { border-color: rgba(0, 217, 255, 0.45); background: rgba(0, 217, 255, 0.07); }

.qb-retainer-toggle .qb-cb-box { margin-top: 3px; }

.qb-retainer-toggle strong { display: block; font-size: 0.88rem; color: var(--white); font-weight: 700; }
.qb-retainer-toggle small  { display: block; font-size: 0.74rem; color: var(--cyan); margin-top: 0.15rem; font-family: 'JetBrains Mono', monospace; }

/* ── PDF Button ──────────────────────────────────────────────────── */
.qb-pdf-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.qb-sidebar-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-top: -0.5rem;
}

/* ── Modal ────────────────────────────────────────────────────────── */
.qb-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 23, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.qb-modal-overlay[hidden] { display: none; }

.qb-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.qb-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  display: flex;
}

.qb-modal-close:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }

.qb-modal-title { font-size: 1.2rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.qb-modal-sub   { font-size: 0.85rem; color: var(--gray-400); margin-top: -0.5rem; }

/* ── Form fields ─────────────────────────────────────────────────── */
.qb-field { display: flex; flex-direction: column; gap: 0.4rem; }

.qb-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-300);
}

.qb-required     { color: var(--cyan); }
.qb-optional-lbl { color: var(--gray-500); font-weight: 400; }

.qb-field input {
  background: rgba(16, 22, 50, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-size: 0.92rem;
  color: var(--white);
  font-family: 'Satoshi', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.qb-field input::placeholder { color: var(--gray-500); }

.qb-field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.12);
}

/* ── Modal error ─────────────────────────────────────────────────── */
.qb-modal-error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.35);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  color: #ff9999;
}

.qb-modal-error[hidden] { display: none; }

/* ── Modal actions ───────────────────────────────────────────────── */
.qb-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

/* ── Responsive tweaks ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .qb-page { padding-top: 5.5rem; }
}

@media (max-width: 600px) {
  .qb-page { padding-top: 5rem; padding-left: 1rem; padding-right: 1rem; }
  .qb-hero-title { font-size: 1.65rem; }
  .qb-step-sub { margin-left: 0; width: 100%; }
  .qb-sidebar { position: static; }
  .qb-modal-card { padding: 1.5rem; }
  .qb-modal-actions { flex-direction: column-reverse; }
  .qb-modal-actions .btn { width: 100%; justify-content: center; }
}

/* ---- Aira typing indicator ---- */
.aira-msg.aira-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: var(--aira-bubble-bg, #1a2540);
}

.aira-msg.aira-typing span {
  width: 6px;
  height: 6px;
  background: var(--cyan, #00d9ff);
  border-radius: 50%;
  animation: airaTypingDot 1.2s ease-in-out infinite;
  opacity: 0.4;
}

.aira-msg.aira-typing span:nth-child(2) { animation-delay: 0.2s; }
.aira-msg.aira-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes airaTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* ── Quote Builder Lead Form Additions ──────────────────────────── */

/* Email status indicator */
.qb-email-wrap {
  position: relative;
}
.qb-email-wrap input {
  padding-right: 100px;
}
.qb-email-status {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  white-space: nowrap;
  color: #b4bed2;
  pointer-events: none;
}
.qb-email-status--checking { color: #b4bed2; }
.qb-email-status--valid    { color: #00d9ff; }
.qb-email-status--error    { color: #ff4d6d; }

/* Dual-button action row */
.qb-modal-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 20px;
}
.qb-modal-actions .btn {
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .qb-modal-actions {
    flex-direction: column-reverse;
  }
  .qb-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* btn-secondary style (for Download PDF) */
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(0, 217, 255, 0.4);
  color: #00d9ff;
}
.btn-secondary:hover {
  background: rgba(0, 217, 255, 0.08);
  border-color: #00d9ff;
}

/* Success message */
.qb-email-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(0, 217, 255, 0.08);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 8px;
  color: #00d9ff;
  font-size: 14px;
  margin-top: 12px;
}

/* Mobile tel input */
#qb-mobile {
  width: 100%;
}

/* ============================================================
   DOWNLOAD PAGE — /download
   AI Command Center pre-release distribution
   ============================================================ */

/* ── Hero wrapper ── */
.dl-hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(7rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

/* radial glow */
.dl-hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0,217,255,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.dl-hero .container { position: relative; z-index: 1; }

/* ── Section header tweaks ── */
.dl-hero .section-header.center   { margin-bottom: 2.5rem; }
.dl-hero .section-header.center h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.dl-hero .section-header.center .lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--gray-300);
}

/* ── Eyebrow pill (replaces .section-label) ── */
.dl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,217,255,0.08);
  border: 1px solid rgba(0,217,255,0.22);
  border-radius: 40px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.dl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: dlPulse 1.8s ease-in-out infinite;
}
@keyframes dlPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* ── Hero CTA ── */
.dl-hero-cta {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Trust bar ── */
.dl-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  margin: 0 auto 4rem;
  max-width: 700px;
  padding: 1rem 1.5rem;
  background: rgba(11,14,39,0.6);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  backdrop-filter: blur(10px);
}
.dl-trust-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.85rem;
  font-size: 0.82rem;
  color: var(--gray-300);
  white-space: nowrap;
}
.dl-trust-pill svg { color: var(--cyan); flex-shrink: 0; }
.dl-trust-sep {
  width: 1px;
  height: 14px;
  background: var(--glass-border);
}

/* ── Teaser section ── */
.dl-teasers {
  max-width: 680px;
  margin: 0 auto 5rem;
  text-align: center;
}
.dl-teaser-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.dl-teaser-h {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.dl-teaser-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-400);
  margin-bottom: 2.25rem;
}
.dl-teaser-lines {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  background: rgba(11,14,39,0.55);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  backdrop-filter: blur(10px);
}
.dl-teaser-line {
  display: flex;
  gap: 1rem;
  font-size: 0.97rem;
  color: var(--gray-300);
  line-height: 1.55;
  align-items: flex-start;
}
.dl-teaser-arrow {
  color: var(--cyan);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
  margin-top: 1px;
}
.dl-teaser-line strong { color: var(--white); }

/* ── Feature cards grid ── */
.dl-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto 5rem;
}
.dl-feat {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s, transform 0.25s;
}
.dl-feat:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}
.dl-feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0,217,255,0.1);
  border: 1px solid rgba(0,217,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.dl-feat-num {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
  opacity: 0.6;
  margin-bottom: 0.5rem;
}
.dl-feat h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--white);
}
.dl-feat p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-400);
}

/* ── Card wrapper: centered, max-width ── */
.dl-card-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 3rem;
  max-width: 500px;
  width: 100%;
}

/* ── Main glass card ── */
.dl-card {
  width: 100%;
  padding: clamp(2rem, 5vw, 2.75rem);
  border-radius: var(--radius-xl);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(0,217,255,0.06) inset,
    0 24px 64px rgba(0,0,0,0.5),
    0 0 80px rgba(0,217,255,0.04);
  transition: border-color 0.3s;
}
.dl-card:hover { border-color: var(--glass-border-hover); }
.dl-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--white); }

/* ── Limited access badge ── */
.dl-access-badge {
  display: inline-block;
  background: rgba(0,217,255,0.1);
  border: 1px solid rgba(0,217,255,0.3);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.85rem;
}

/* ── Fake progress bar ── */
.dl-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}
.dl-progress-bar {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}
.dl-progress-bar::after {
  content: '';
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 67%;
  background: linear-gradient(90deg, rgba(0,217,255,0.7), var(--cyan));
  border-radius: 3px;
}
.dl-progress-label {
  font-size: 0.72rem;
  color: var(--gray-400);
  white-space: nowrap;
}

/* ── Form ── */
.dl-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.dl-input {
  display: block;
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: rgba(11,14,39,0.7);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  box-sizing: border-box;
}
.dl-input::placeholder { color: var(--gray-500); }
.dl-input:focus {
  border-color: rgba(0,217,255,0.5);
  box-shadow: 0 0 0 3px rgba(0,217,255,0.1);
}
.dl-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.5;
}
.dl-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--cyan);
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}
.dl-submit { width: 100%; justify-content: center; margin-top: 0.25rem; }

/* ── Success state ── */
.dl-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0,217,255,0.1);
  border: 1px solid rgba(0,217,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}
.dl-links { display: flex; flex-direction: column; gap: 0.75rem; }
.dl-link-btn { width: 100%; justify-content: center; gap: 0.625rem; border-radius: var(--radius-sm); }
.dl-link-ghost {
  background: transparent;
  border: 1px solid var(--glass-border-hover);
  color: var(--white);
}
.dl-link-ghost:hover {
  background: rgba(0,217,255,0.08);
  border-color: var(--cyan);
  color: var(--cyan);
}
.dl-size { font-size: 0.78em; opacity: 0.6; margin-left: 0.25rem; }

/* specs row under download buttons */
.dl-specs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--gray-500);
}

.dl-contact {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 1.5rem;
}

/* ── Nav download pill ── */
.nav-download-link {
  color: var(--cyan) !important;
  border: 1px solid rgba(0,217,255,0.3);
  border-radius: 20px;
  padding: 0.3rem 0.9rem !important;
  transition: background 0.2s, border-color 0.2s;
}
.nav-download-link:hover {
  background: rgba(0,217,255,0.1);
  border-color: var(--cyan);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .dl-features { grid-template-columns: repeat(2, 1fr); }
  .dl-trust-bar { border-radius: var(--radius-lg); justify-content: flex-start; }
}
@media (max-width: 600px) {
  .dl-features { grid-template-columns: 1fr; }
  .dl-card-wrap { padding: 0 0.5rem; }
  .dl-trust-sep { display: none; }
  .dl-trust-bar { gap: 0.4rem; }
  .dl-teaser-lines { padding: 1.25rem; }
}
