/* ============================================
   GLIXY LABS — AI / GPU / Cloud Infrastructure
   Full site stylesheet with rich animations
   ============================================ */

:root {
  --bg: #fff8f1;
  --bg-cream: #fdf3e7;
  --bg-deep: #1a1410;
  --surface: #ffffff;
  --ink: #1a1410;
  --ink-2: #4a3f37;
  --ink-3: #8a7f74;
  --line: rgba(26, 20, 16, 0.10);
  --line-soft: rgba(26, 20, 16, 0.06);

  --orange-1: #ffb37a;
  --orange-2: #ff8a3d;
  --orange-3: #ff6a1f;
  --orange-4: #e55510;
  --peach: #ffd7b0;
  --cream: #ffeede;

  --hero-grad:
    radial-gradient(ellipse 90% 70% at 50% 0%, #ffb37a 0%, #ffc9a0 25%, #ffe0c4 50%, #fff3e2 75%, #fff8f1 100%);

  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.25s var(--ease);
  --shadow-sm: 0 4px 14px rgba(26, 20, 16, 0.06);
  --shadow-md: 0 16px 40px rgba(26, 20, 16, 0.10);
  --shadow-lg: 0 30px 80px rgba(255, 106, 31, 0.18), 0 12px 30px rgba(26, 20, 16, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

code, .code { font-family: var(--font-mono); font-size: 0.9em; }

/* ============ KEYFRAMES ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes floatLg {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-18px) rotate(-2deg); }
}
@keyframes floatLg2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50%      { transform: translateY(-14px) rotate(3deg); }
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 20px) scale(1.04); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.4; }
}
@keyframes pulseRing {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes barRise {
  from { height: 0; }
  to   { height: var(--h); }
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes marqueeR {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}
@keyframes flowDot {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
@keyframes gpuGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 106, 31, 0.5), 0 4px 14px rgba(0,0,0,0.08); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 106, 31, 0), 0 4px 14px rgba(0,0,0,0.08); }
}
@keyframes scan {
  0%, 100% { transform: translateY(0%); opacity: 0; }
  50%      { opacity: 1; }
  100%     { transform: translateY(100%); opacity: 0; }
}
@keyframes typing {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes gridShift {
  0%   { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes badgeIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-up.in { opacity: 1; transform: translateY(0); }

.reveal-l { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-l.in { opacity: 1; transform: translateX(0); }

.reveal-r { opacity: 0; transform: translateX(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-r.in { opacity: 1; transform: translateX(0); }

/* ============ BUTTONS ============ */
.btn-dark, .btn-outline, .btn-light, .btn-outline-light, .btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26, 20, 16, 0.3); }
.btn-dark:hover::before { transform: translateX(100%); }
.btn-dark .btn-arrow { transition: transform var(--transition); }
.btn-dark:hover .btn-arrow { transform: translateX(3px); }

.btn-orange {
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 106, 31, 0.35);
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 106, 31, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-color: rgba(26, 20, 16, 0.18);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: #fff;
  border-color: rgba(26, 20, 16, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.25); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 241, 0.6);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 248, 241, 0.92);
  border-color: var(--line-soft);
  box-shadow: 0 4px 20px rgba(26, 20, 16, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.7; }
.logo-mark {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3) 60%, var(--orange-4));
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 12px rgba(255, 106, 31, 0.4);
  transition: transform var(--transition);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 6px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, 60% 60%, 100% 60%, 0 100%);
}
.logo-mark::after {
  content: '';
  position: absolute;
  top: -2px; right: -2px;
  width: 10px; height: 10px;
  background: var(--orange-3);
  border-radius: 50%;
  border: 2px solid var(--bg);
  animation: pulse 2s var(--ease) infinite;
}

.logo-text { display: flex; align-items: baseline; gap: 4px; }
.logo-text small {
  font-size: 11px;
  font-weight: 500;
  color: var(--orange-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu a, .nav-dropdown > button {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}
.nav-menu a::after, .nav-dropdown > button::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--orange-3);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-menu a:hover, .nav-dropdown:hover > button { color: var(--ink); }
.nav-menu a:hover::after, .nav-dropdown:hover > button::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--ink); }
.nav-menu a.active::after { transform: scaleX(1); }

/* Open-source GitHub pill in main nav */
.nav-menu a.nav-github {
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(26, 20, 16, 0.15);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.nav-menu a.nav-github::after { display: none; }
.nav-menu a.nav-github:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}
.nav-menu a.nav-github .nav-github-icon { display: inline-block; }

.nav-dropdown { position: relative; }
.nav-dropdown > button { padding-bottom: 12px; margin-bottom: -12px; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 280px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  transition: background var(--transition);
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: var(--cream); color: var(--ink); }
.nav-dropdown-menu a .dd-icon {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 6px;
  font-size: 14px;
  color: var(--orange-3);
}
.nav-dropdown-menu a .dd-meta {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 400;
}
.nav-dropdown-menu a .dd-stack { display: flex; flex-direction: column; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 4px;
  transition: color .2s;
}
.nav-signin:hover { color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 90px 0 60px;
  background: var(--hero-grad);
  overflow: hidden;
}
.hero.compact { padding: 70px 0 50px; }

.hero-glow {
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 700px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 138, 61, 0.45), transparent 60%),
    radial-gradient(ellipse at 30% 30%, rgba(255, 179, 122, 0.35), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 20, 16, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 20, 16, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: gridShift 20s linear infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: orbDrift 14s var(--ease) infinite;
}
.orb-1 { width: 320px; height: 320px; top: 80px; left: 8%; background: radial-gradient(circle, var(--orange-2), transparent 70%); }
.orb-2 { width: 360px; height: 360px; top: 220px; right: 6%; background: radial-gradient(circle, var(--orange-1), transparent 70%); animation-duration: 18s; animation-delay: -4s; }
.orb-3 { width: 280px; height: 280px; bottom: 100px; left: 40%; background: radial-gradient(circle, var(--peach), transparent 70%); animation-duration: 16s; animation-delay: -8s; }

.hero-inner { position: relative; z-index: 1; text-align: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(26, 20, 16, 0.10);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ink-2);
  transition: all var(--transition);
}
.pill:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.pill:hover .pill-arrow { transform: translateX(3px); }
.pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
}
.pill-text { font-weight: 500; }
.pill-arrow { font-size: 14px; color: var(--ink-3); transition: transform var(--transition); }

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 28px auto 22px;
  max-width: 1000px;
}
.hero-title em {
  background: linear-gradient(120deg, var(--orange-3), var(--orange-4) 50%, var(--orange-2));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  animation: shimmer 6s linear infinite;
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 30px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-2);
}
.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-tags i {
  font-style: normal;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-3);
  box-shadow: 0 0 0 4px rgba(255, 106, 31, 0.15);
}

/* ============ HERO VISUAL — GPU CLUSTER ============ */
.hero-visual {
  margin-top: 60px;
  position: relative;
}

.gpu-rack {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.gpu-rack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.gpu-rack-title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.gpu-rack-title .live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
}
.gpu-rack-title .live::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.4);
  animation: pulseRing 1.6s var(--ease) infinite;
}
.gpu-rack-meta { display: flex; gap: 24px; font-size: 13px; color: var(--ink-3); }
.gpu-rack-meta span strong { color: var(--ink); margin-right: 4px; }

.gpu-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.gpu-cell {
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #fbf6f0);
  border: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
}
.gpu-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 138, 61, 0.4), transparent);
  transform: translateY(-100%);
  animation: scan 2.4s var(--ease) infinite;
}
.gpu-cell.active {
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-color: transparent;
  animation: gpuGlow 2s var(--ease) infinite;
}
.gpu-cell.active::after {
  content: '';
  position: absolute;
  top: 6px; right: 6px;
  width: 5px; height: 5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255,255,255,0.9);
}
.gpu-cell.warm { background: linear-gradient(135deg, #fff5e9, #ffe0c4); color: var(--orange-4); }

.gpu-rack-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.usage-bars { display: flex; gap: 6px; align-items: flex-end; height: 24px; }
.usage-bars span {
  width: 4px;
  background: var(--orange-3);
  border-radius: 2px;
  animation: barRise 1s var(--ease-out) both;
}

/* Floating badges around hero */
.hero-floats {
  position: relative;
  height: 0;
}
.hero-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-float .hf-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-3);
  font-size: 16px;
}
.hf-name { font-weight: 600; }
.hf-meta { font-size: 11px; color: var(--ink-3); }
.hf-1 { top: -40px; left: -20px; animation: floatLg 6s ease-in-out infinite; transform: rotate(-3deg); }
.hf-2 { top: 60px; right: -10px; animation: floatLg2 7s ease-in-out infinite; animation-delay: -2s; transform: rotate(3deg); }
.hf-3 { bottom: -10px; left: 30%; animation: float 5s ease-in-out infinite; animation-delay: -1s; }
@media (max-width: 980px) { .hero-float { display: none; } }

/* ============ TICKER (stats strip) ============ */
.ticker {
  background: var(--ink);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 36s linear infinite;
  align-items: center;
}
.ticker-track span {
  font-size: 18px;
  font-family: var(--font-serif);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.ticker-track i {
  font-style: normal;
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange-3);
  border-radius: 50%;
}

/* ============ MARQUEE LOGOS ============ */
.logos {
  padding: 40px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee { margin-top: 22px; }

/* Seamless marquee: track contains 2 identical sets of children.
   Each child has the SAME margin-right (incl. the last one), so the total
   track width = 2 × (n_items × (item_width + margin)). Translating -50%
   lands precisely at the start of the duplicated set — no jump. */
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  flex-wrap: nowrap;
  animation: marquee 45s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}
.marquee-track > * {
  flex: 0 0 auto;
  margin-right: 64px;
}
.marquee-track.reverse { animation: marqueeR 45s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@media (max-width: 720px) {
  .marquee-track > * { margin-right: 40px; }
}
.brand {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  opacity: 0.7;
  white-space: nowrap;
  transition: opacity var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 36px;
}
.brand:hover { opacity: 1; }
.brand img {
  height: 34px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) opacity(.7);
  transition: filter var(--transition), transform var(--transition);
}
.brand:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.06);
}
/* Hide text labels in the marquee — keep it logo-only */
.brand span.label { display: none; }

/* ============ SECTION HEAD ============ */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-head.left { text-align: left; margin: 0 0 40px; }
.eyebrow {
  display: inline-block;
  padding: 5px 14px;
  background: var(--cream);
  border: 1px solid rgba(255, 138, 61, 0.3);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}
.section-title em {
  background: linear-gradient(120deg, var(--orange-3), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 auto;
}
.section-head.left .section-sub { margin: 0; }

/* ============ SERVICES BENTO ============ */
.services { padding: 120px 0; background: var(--bg); position: relative; }
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 20, 16, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 20, 16, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.services > .container { position: relative; }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
}
.bento-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--ink);
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 61, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 61, 0.45);
  box-shadow: var(--shadow-md);
}
.bento-card:hover::before { opacity: 1; }
.bento-card > * { position: relative; }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }

.bento-glow {
  position: absolute;
  top: -50%; right: -20%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.18), transparent 70%);
  pointer-events: none;
}

.bento-icon {
  display: inline-flex;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px solid rgba(255, 138, 61, 0.25);
  border-radius: 12px;
  font-size: 22px;
  color: var(--orange-3);
  margin-bottom: 18px;
  transition: transform var(--transition);
}
.bento-card:hover .bento-icon { transform: rotate(-6deg) scale(1.08); }
.bento-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.bento-card p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 16px; }
.bento-card .bento-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-3);
  transition: gap var(--transition);
}
.bento-card:hover .bento-cta { gap: 10px; }

.bento-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.bento-tag {
  font-size: 11px;
  padding: 3px 10px;
  background: var(--cream);
  color: var(--orange-4);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-family: var(--font-mono);
}

/* Mini visuals inside bento */
.mini-gpu {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 12px;
  padding: 10px;
  background: #fbf6f0;
  border-radius: 10px;
}
.mini-gpu i {
  display: block;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}
.mini-gpu i.on { background: linear-gradient(135deg, var(--orange-2), var(--orange-3)); border-color: transparent; animation: gpuGlow 2.4s var(--ease) infinite; }

.terminal {
  margin-top: 14px;
  background: #1a1410;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #ffd7b0;
  overflow: hidden;
}
.terminal-line { display: block; white-space: nowrap; }
.terminal-line .pr { color: var(--orange-2); margin-right: 8px; }
.terminal-line .cm { color: #fff; }
.terminal-line .out { color: #8a7f74; }
.terminal-line.typing {
  overflow: hidden;
  animation: typing 2s steps(40) both;
}
.terminal .cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--orange-2);
  vertical-align: middle;
  animation: blink 1s steps(1) infinite;
}

.network-viz {
  margin-top: 14px;
  position: relative;
  height: 130px;
  background: #fbf6f0;
  border-radius: 10px;
  overflow: hidden;
}
.network-viz svg { width: 100%; height: 100%; display: block; }
.network-viz .node {
  fill: #fff;
  stroke: var(--orange-3);
  stroke-width: 2;
}
.network-viz .node.center { fill: var(--orange-3); stroke: transparent; }
.network-viz .edge {
  stroke: var(--orange-2);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: dashShift 1.4s linear infinite;
  opacity: 0.6;
}
@keyframes dashShift { to { stroke-dashoffset: -16; } }

.neural-viz {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 130px;
  padding: 10px;
  background: #fbf6f0;
  border-radius: 10px;
}
.neural-col { display: flex; flex-direction: column; gap: 8px; }
.neural-node {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--orange-3);
  animation: pulse 2s var(--ease) infinite;
}
.neural-col:nth-child(2) .neural-node { animation-delay: 0.2s; }
.neural-col:nth-child(3) .neural-node { animation-delay: 0.4s; }
.neural-col:nth-child(4) .neural-node { animation-delay: 0.6s; }
.neural-node.active { background: var(--orange-3); }

.shield-viz {
  margin-top: 14px;
  height: 130px;
  background: linear-gradient(135deg, #1a1410, #2c241e);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shield-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  clip-path: polygon(50% 0, 100% 25%, 100% 70%, 50% 100%, 0 70%, 0 25%);
  position: relative;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(255, 106, 31, 0.5);
}
.shield-icon::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}
.shield-viz::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 106, 31, 0.3), transparent 60%);
  animation: pulse 3s var(--ease) infinite;
}

.devops-viz {
  margin-top: 14px;
  background: #fbf6f0;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.devops-step {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  background: #fff;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line-soft);
  animation: pulse 3s var(--ease) infinite;
}
.devops-step:nth-child(2) { animation-delay: 0.5s; }
.devops-step:nth-child(3) { animation-delay: 1s; }
.devops-arrow {
  color: var(--orange-3);
  font-weight: 600;
}

/* ===== Website preview mini-card (bento) ===== */
.web-preview {
  margin-top: 14px;
  background: #fbf6f0;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--line-soft);
}
.wp-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--line-soft);
  margin-bottom: 8px;
}
.wp-dot { width: 9px; height: 9px; border-radius: 50%; }
.wp-dot.r { background: #ef4444; }
.wp-dot.y { background: #f59e0b; }
.wp-dot.g { background: #22c55e; }
.wp-url {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp-body { display: flex; flex-direction: column; gap: 6px; padding: 4px; }
.wp-head {
  height: 14px;
  width: 60%;
  background: linear-gradient(90deg, var(--orange-2), var(--orange-3));
  border-radius: 4px;
  animation: wpPulse 2.4s var(--ease) infinite;
}
.wp-row { display: flex; gap: 6px; }
.wp-row span {
  flex: 1;
  height: 8px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.wp-row.half span:nth-child(2) { flex: 0.5; }
@keyframes wpPulse {
  0%, 100% { opacity: 1; transform: scaleX(1); transform-origin: left; }
  50%      { opacity: 0.7; transform: scaleX(0.92); transform-origin: left; }
}

/* ===== CRM preview mini-card (bento) ===== */
.crm-preview {
  margin-top: 14px;
  background: #fbf6f0;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.crm-head { display: flex; gap: 8px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.crm-head span {
  flex: 1;
  height: 8px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 3px;
}
.crm-head span.active {
  background: linear-gradient(90deg, var(--orange-2), var(--orange-3));
  border-color: var(--orange-3);
}
.crm-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 7px 8px;
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  border: 1px solid var(--line-soft);
}
.crm-row i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange-2);
  box-shadow: 0 0 0 3px rgba(255,138,61,.18);
}
.crm-row i.ok { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.crm-row i.warn { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.crm-row strong { color: var(--orange-3); font-family: var(--font-serif); font-size: 14px; }

/* ============ DEEP DIVE FEATURE SECTIONS ============ */
.deep {
  padding: 120px 0;
  background: var(--bg-cream);
  position: relative;
  overflow: hidden;
}
.deep.alt { background: var(--bg); }
.deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.deep-grid.flip > .deep-text { order: 2; }
.deep-text .section-title {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 18px;
}
.deep-text .section-sub { font-size: 16px; }
.deep-list {
  margin: 28px 0 32px;
}
.deep-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--ink-2);
  font-size: 15px;
}
.deep-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(255, 106, 31, 0.3);
}
.deep-list li::after {
  content: '✓';
  position: absolute;
  left: 4px; top: 4px;
  width: 14px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.deep-visual {
  position: relative;
}

/* GPU big card visual */
.gpu-big-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.gpu-big-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.gpu-big-head h4 { font-size: 14px; font-weight: 600; }
.gpu-big-head .gpu-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #1f9d55;
}
.gpu-big-head .gpu-status::before {
  content: '';
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}
.gpu-big-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gpu-tile {
  aspect-ratio: 1.6;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #fbf6f0);
  border: 1px solid var(--line-soft);
  padding: 10px;
  font-size: 11px;
  position: relative;
  overflow: hidden;
}
.gpu-tile.hot {
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-color: transparent;
  animation: gpuGlow 2.6s var(--ease) infinite;
}
.gpu-tile.warm { background: linear-gradient(135deg, #fff5e9, #ffe0c4); color: var(--orange-4); }
.gpu-tile-name { font-weight: 600; }
.gpu-tile-load {
  font-size: 16px;
  font-family: var(--font-serif);
  margin-top: 6px;
}
.gpu-tile-bar {
  margin-top: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}
.gpu-tile-bar span {
  display: block; height: 100%;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  animation: shimmer 2s linear infinite;
  background-size: 200% 100%;
}
.gpu-tile.warm .gpu-tile-bar { background: rgba(255, 106, 31, 0.2); }
.gpu-tile.warm .gpu-tile-bar span { background: var(--orange-3); }
.gpu-tile:not(.hot):not(.warm) .gpu-tile-bar { background: var(--line-soft); }
.gpu-tile:not(.hot):not(.warm) .gpu-tile-bar span { background: var(--ink-3); }

/* Code block visual for LLM */
.code-block {
  background: #1a1410;
  border-radius: var(--radius-lg);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: #ffd7b0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.code-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 36px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-block::after {
  content: '● ● ●';
  position: absolute;
  top: 9px; left: 16px;
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  letter-spacing: 4px;
}
.code-block pre {
  margin-top: 22px;
  white-space: pre;
  overflow-x: auto;
}
.code-block .k { color: #ff8a3d; }
.code-block .s { color: #ffd7b0; }
.code-block .c { color: #6c6157; font-style: italic; }
.code-block .v { color: #fff; }
.code-block .f { color: #ffb37a; }

/* Tech stack chips */
.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: all var(--transition);
}
.tech-chip:hover {
  border-color: var(--orange-2);
  background: var(--cream);
  transform: translateY(-2px);
}
.tech-chip i {
  font-style: normal;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-3);
}

/* ============ STATS ============ */
.stats { padding: 100px 0; background: var(--bg); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-block { padding: 16px; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  background: linear-gradient(120deg, var(--ink), var(--orange-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-cap { font-size: 15px; color: var(--ink-2); }

/* ============ WHY GLIXY ============ */
.why { padding: 120px 0; background: var(--bg-cream); position: relative; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 1px 2px rgba(26, 20, 16, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 31, 0.28);
  box-shadow: 0 14px 36px rgba(26, 20, 16, 0.08), 0 4px 10px rgba(26, 20, 16, 0.04);
}

/* Clean SVG icon — outline only, brand orange on hover */
.why-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition: color 0.3s ease, transform 0.3s ease;
}
.why-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}
.why-card:hover .why-icon {
  color: var(--orange-3);
  transform: scale(1.08);
}

/* Legacy emoji fallback (still used on some service pages) */
.why-emoji {
  font-size: 28px;
  margin-bottom: 14px;
  display: inline-block;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.why-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ============ PROCESS / TIMELINE ============ */
.process { padding: 120px 0; background: var(--bg); }
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 31px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--orange-2), var(--orange-3), transparent);
}
.timeline-step {
  position: relative;
  padding: 0 0 32px 80px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute;
  left: 0; top: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--orange-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--orange-3);
  box-shadow: 0 6px 16px rgba(255, 106, 31, 0.18);
  z-index: 1;
}
.timeline-step.in .timeline-num {
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-color: transparent;
}
.timeline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: border-color var(--transition);
}
.timeline-card:hover { border-color: var(--orange-2); }
.timeline-card h4 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.timeline-card p { color: var(--ink-2); font-size: 14.5px; }
.timeline-meta {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  background: var(--cream);
  color: var(--orange-3);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 110px 0; background: var(--bg-cream); }
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.t-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.t-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 180px at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 61, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.t-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 61, 0.45);
  box-shadow: var(--shadow-md);
}
.t-card:hover::before { opacity: 1; }
.t-card > * { position: relative; }
.t-stars { color: var(--orange-3); font-size: 14px; letter-spacing: 2px; margin-bottom: 18px; }
.t-quote { font-size: 16px; color: var(--ink); margin-bottom: 26px; line-height: 1.55; }
.t-person { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.t-name { font-size: 14px; font-weight: 600; }
.t-role { font-size: 13px; color: var(--ink-3); }

/* ============ PRICING ============ */
.pricing { padding: 110px 0; background: var(--bg); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 200px at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 61, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 61, 0.4);
  box-shadow: var(--shadow-md);
}
.price-card:hover::before { opacity: 1; }
.price-card > * { position: relative; }
.price-card.popular {
  border: 2px solid var(--orange-3);
  background: linear-gradient(180deg, #fff5e9, #ffffff);
  box-shadow: 0 24px 60px rgba(255, 106, 31, 0.22);
  margin-top: 18px;
  z-index: 2;
  overflow: visible;
}
.price-card.popular:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(255, 106, 31, 0.28);
  border-color: var(--orange-3);
}
.price-card.popular .price-name { color: var(--orange-3); }
.price-badge {
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  max-width: 90%;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(255, 106, 31, 0.4), 0 0 0 3px #fff5e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 4;
  opacity: 0;
  animation: badgeFade 0.6s var(--ease-out) 0.15s forwards;
}
@keyframes badgeFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.price-badge .badge-star {
  font-size: 13px;
  color: #fff5d6;
  animation: starPulse 2.4s ease-in-out infinite;
}
@keyframes starPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.25); opacity: 0.85; }
}
.price-name { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: var(--ink); }
.price-amount {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 52px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1;
}
.price-amount span {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 500;
}
.price-currency {
  font-family: var(--font-sans);
  font-size: 22px;
  vertical-align: top;
  margin-right: 4px;
  color: var(--ink-3);
}
.price-desc { color: var(--ink-2); font-size: 14px; margin: 14px 0 24px; }
.price-list { margin-bottom: 28px; flex: 1; }
.price-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.price-list li::before { content: '✓'; position: absolute; left: 0; color: var(--orange-3); font-weight: 700; }
.price-list li.x::before { content: '×'; color: var(--ink-3); }

/* ============ FACTS (numeric stats with cards) ============ */
.facts { padding: 110px 0; background: var(--bg); }
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 12px;
}
.fact-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.fact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(255,138,61,.14), transparent 65%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.fact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 61, 0.4);
  box-shadow: var(--shadow-md);
}
.fact-card:hover::before { opacity: 1; }
.fact-num {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(120deg, var(--orange-2), var(--orange-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fact-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.fact-card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 1024px) {
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .fact-grid { grid-template-columns: 1fr; }
}

/* ============ FAQ ============ */
.faq { padding: 110px 0; background: var(--bg-cream); }
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color var(--transition), background var(--transition);
}
.faq-item:hover { border-color: rgba(255, 138, 61, 0.35); }
.faq-item[open] {
  border-color: var(--orange-2);
  background: linear-gradient(180deg, #fff5e9, #fff);
}
.faq-item summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--orange-3); }
.faq-item p { margin-top: 14px; color: var(--ink-2); font-size: 15px; animation: fadeIn 0.4s var(--ease); }

/* ============ CTA ============ */
.cta { padding: 110px 0; background: var(--bg); }
.cta-inner {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 138, 61, 0.18), transparent 70%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 106, 31, 0.14), transparent 70%),
    var(--ink);
  border-radius: var(--radius-xl);
  padding: 90px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-glow {
  position: absolute;
  inset: -120px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 138, 61, 0.4), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 106, 31, 0.3), transparent 55%);
  pointer-events: none;
  animation: orbDrift 12s var(--ease) infinite;
  will-change: transform;
}
.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
  animation: gridShift 20s linear infinite;
}
.cta-inner > *:not(.cta-glow):not(.cta-grid) { position: relative; }
.cta-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.cta-title em {
  background: linear-gradient(120deg, var(--orange-1), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin: 0 auto 32px;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer {
  padding: 72px 0 28px;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 32px;
  margin-bottom: 56px;
  align-items: flex-start;
}
.footer-brand {
  flex: 0 1 280px;
  min-width: 240px;
  max-width: 320px;
}
.footer-col {
  flex: 1 1 130px;
  min-width: 120px;
}
.footer-tag { margin-top: 16px; color: var(--ink-3); font-size: 14px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--ink); }
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 10px;
  transition: color var(--transition), transform var(--transition);
}
.footer-col a:hover { color: var(--orange-3); transform: translateX(3px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-3);
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--ink); color: #fff; border-color: transparent; transform: translateY(-3px); }

/* ============ SERVICE PAGE — DETAIL ============ */
.service-hero { padding: 80px 0 60px; background: var(--hero-grad); position: relative; overflow: hidden; }
.service-hero .hero-glow { top: -100px; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--ink-2); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--orange-3); }
.breadcrumb span { color: var(--ink-3); }

.service-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 900px;
}
.service-hero h1 em {
  background: linear-gradient(120deg, var(--orange-3), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.service-hero .lead {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 700px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.service-hero .hero-cta { justify-content: flex-start; margin-bottom: 0; }

/* Use cases pills */
.usecase-row {
  padding: 60px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.usecase-row h3 {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.usecase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.usecase-pill {
  padding: 10px 20px;
  background: var(--cream);
  border: 1px solid rgba(255, 138, 61, 0.3);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--orange-4);
  transition: all var(--transition);
}
.usecase-pill:hover {
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Spec table */
.specs { padding: 100px 0; background: var(--bg); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.spec-card:hover { border-color: var(--orange-2); transform: translateY(-3px); }
.spec-icon {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--orange-3);
  margin-bottom: 16px;
}
.spec-card h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.spec-card p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; }
.spec-meta {
  display: flex; gap: 14px;
  font-size: 12px; color: var(--ink-3);
  font-family: var(--font-mono);
}
.spec-meta span strong { color: var(--orange-3); }

/* Industries cloud */
.industries {
  padding: 100px 0;
  background: var(--bg-cream);
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange-2);
  box-shadow: 0 12px 28px rgba(26, 20, 16, 0.08);
}

/* Premium icon badge — neutral by default, orange on hover */
.industry-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #faf3eb;
  border: 1px solid rgba(26, 20, 16, 0.06);
  border-radius: 14px;
  color: var(--ink);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.industry-icon svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}
.industry-card:hover .industry-icon {
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 106, 31, 0.32);
}
.industry-card:hover .industry-icon svg {
  transform: scale(1.1);
}

.industry-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.industry-card p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ============ COMPARISON TABLE ============ */
.compare { padding: 110px 0; background: var(--bg); }
.compare-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid var(--line-soft);
}
.compare-row:last-child { border-bottom: none; }
.compare-row.head {
  background: var(--bg-cream);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.compare-cell { padding: 18px 24px; font-size: 14.5px; }
.compare-cell.label { color: var(--ink); font-weight: 500; }
.compare-cell.glixy {
  background: linear-gradient(180deg, rgba(255, 138, 61, 0.05), transparent);
  color: var(--orange-4);
  font-weight: 600;
}
.compare-cell.aws { color: var(--ink-3); }
.check-yes { color: var(--orange-3); font-weight: 700; }
.check-no { color: var(--ink-3); }

/* ============ CONTACT FORM ============ */
.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 100px 0;
}
.contact-info h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.contact-info h2 em {
  background: linear-gradient(120deg, var(--orange-3), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-info p { color: var(--ink-2); margin-bottom: 32px; }
.contact-meta { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.contact-item:hover { border-color: var(--orange-2); }
.contact-item .ci-icon {
  width: 40px; height: 40px;
  background: var(--cream);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-3);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-item p { color: var(--ink-2); font-size: 13.5px; margin: 0; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form h3 { font-size: 22px; font-weight: 600; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color var(--transition), background var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ============ ABOUT PAGE ============ */
.about-mission {
  padding: 110px 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.about-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.about-stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--orange-3);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-cap { font-size: 13px; color: var(--ink-2); }

.values { padding: 110px 0; background: var(--bg-cream); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team { padding: 110px 0; background: var(--bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); border-color: var(--orange-2); }
.team-avatar {
  width: 84px; height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-1), var(--orange-3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 28px;
}
.team-name { font-size: 16px; font-weight: 600; }
.team-role { font-size: 13px; color: var(--orange-3); margin-bottom: 8px; }
.team-bio { font-size: 13px; color: var(--ink-3); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-card.span-3 { grid-column: span 2; }
  .bento-card.span-4 { grid-column: span 4; }
  .bento-card.span-2 { grid-column: span 2; }
}
@media (max-width: 980px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex;
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    gap: 18px;
    align-items: flex-start;
  }
  .nav-dropdown-menu { position: static; transform: none; opacity: 1; pointer-events: auto; min-width: 100%; box-shadow: none; border: none; padding: 8px 0 0; }

  .deep-grid { grid-template-columns: 1fr; gap: 40px; }
  .deep-grid.flip > .deep-text { order: 0; }
  .why-grid, .t-grid, .price-grid, .industry-grid, .team-grid, .spec-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { flex: 1 1 100%; max-width: 100%; }
  .footer-col { flex: 1 1 calc(33.333% - 24px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gpu-grid { grid-template-columns: repeat(6, 1fr); }
  .contact-form-wrap, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .compare-row { grid-template-columns: 2fr 1fr 1fr; font-size: 13px; }
}

@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-2, .bento-card.span-3, .bento-card.span-4, .bento-card.span-6 { grid-column: span 1; }
  .why-grid, .t-grid, .price-grid, .industry-grid, .team-grid, .spec-grid, .values-grid { grid-template-columns: 1fr; }
  .footer-brand { flex: 1 1 100%; max-width: 100%; }
  .footer-col { flex: 1 1 100%; }
  .hero { padding: 60px 0 40px; }
  .services, .deep, .pricing, .cta, .testimonials, .faq, .stats, .why, .process, .compare, .specs, .industries, .values, .team, .about-mission { padding: 80px 0; }
  .cta-inner { padding: 60px 24px; }
  .gpu-grid { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta > a { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================
   EXTRA ANIMATIONS & EFFECTS — v2
   ============================================ */

/* ---- New keyframes ---- */
@keyframes orbit {
  from { transform: rotate(0deg) translateX(var(--r, 100px)) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(var(--r, 100px)) rotate(-360deg); }
}
@keyframes ripple {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(1px, 1px); }
}
@keyframes glitchTop {
  0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  20% { clip-path: inset(0 0 65% 0); transform: translate(-2px); }
  40% { clip-path: inset(15% 0 50% 0); transform: translate(2px); }
}
@keyframes glitchBottom {
  0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  30% { clip-path: inset(50% 0 15% 0); transform: translate(2px); }
  60% { clip-path: inset(70% 0 0 0); transform: translate(-2px); }
}
@keyframes auroraFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes meshShift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(30px, -20px) rotate(120deg); }
  66%  { transform: translate(-20px, 30px) rotate(240deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}
@keyframes conicSpin {
  to { --angle: 360deg; }
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes cardFlipIn {
  from { transform: rotateY(-90deg); opacity: 0; }
  to   { transform: rotateY(0); opacity: 1; }
}
@keyframes wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes liveBar {
  0%   { transform: scaleY(0.3); }
  50%  { transform: scaleY(1); }
  100% { transform: scaleY(0.5); }
}
@keyframes packet {
  0%   { offset-distance: 0%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes textCycle {
  /* Each word holds for ~15.5% of the timeline, slides over ~1.16%. */
  0%,     15.5%    { transform: translateY(0);     }
  16.66%, 32.16%   { transform: translateY(-100%); }
  33.33%, 48.83%   { transform: translateY(-200%); }
  50%,    65.5%    { transform: translateY(-300%); }
  66.66%, 82.16%   { transform: translateY(-400%); }
  83.33%, 98.83%   { transform: translateY(-500%); }
  100%             { transform: translateY(-600%); }
}
@keyframes circuitFlow {
  to { stroke-dashoffset: -200; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255,106,31,.3), 0 0 40px rgba(255,106,31,.15); }
  50% { box-shadow: 0 0 30px rgba(255,106,31,.5), 0 0 60px rgba(255,106,31,.25); }
}
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes slideX {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* ---- Particle canvas ---- */
.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ---- Cursor glow (follows mouse globally) ---- */
.cursor-glow {
  position: fixed;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.18), transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: multiply;
  transition: opacity 0.3s var(--ease);
  opacity: 0;
}
.cursor-glow.show { opacity: 1; }
@media (max-width: 980px) { .cursor-glow { display: none; } }

/* ---- Magnetic buttons ---- */
.magnetic { transition: transform 0.18s var(--ease-out); }

/* ---- Aurora gradient layer ---- */
.aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 138, 61, 0.32), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 179, 122, 0.28), transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 106, 31, 0.24), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 215, 176, 0.30), transparent 50%);
  background-size: 200% 200%;
  filter: blur(40px);
  animation: auroraFlow 16s var(--ease) infinite;
  pointer-events: none;
  z-index: 0;
}

/* ---- Mesh gradient blobs ---- */
.mesh-blob {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.45;
  animation: meshShift 20s var(--ease) infinite;
}
.mesh-blob.b1 { background: radial-gradient(circle, var(--orange-3), transparent 65%); top: 10%; left: -100px; }
.mesh-blob.b2 { background: radial-gradient(circle, var(--orange-1), transparent 65%); top: 30%; right: -100px; animation-delay: -5s; }
.mesh-blob.b3 { background: radial-gradient(circle, var(--peach), transparent 65%); bottom: -100px; left: 30%; animation-delay: -10s; }

/* ---- Conic gradient spinner ring ---- */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.conic-ring {
  position: relative;
  border-radius: 24px;
  background: var(--surface);
  overflow: hidden;
}
.conic-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 0deg, var(--orange-2) 60deg, var(--orange-3) 120deg, transparent 180deg);
  animation: conicSpin 4s linear infinite;
  z-index: 0;
}
.conic-ring > * { position: relative; z-index: 1; }
.conic-ring-inner {
  background: var(--surface);
  border-radius: 22px;
  padding: 28px;
  margin: 0;
}

/* ---- Glitch text ---- */
.glitch {
  position: relative;
  display: inline-block;
  cursor: default;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.glitch::before { color: var(--orange-2); transform: translate(-2px, 0); animation: glitchTop 0.6s steps(2) infinite; }
.glitch::after { color: var(--orange-3); transform: translate(2px, 0); animation: glitchBottom 0.6s steps(2) infinite; }
.glitch:hover::before, .glitch:hover::after { opacity: 0.85; }

/* ---- Cycling text (rotating words) ---- */
/* ---- Rotator (absolute stacking + width sizer = zero layout shift) ---- */
.rotator {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  font-family: var(--font-serif);
  font-style: italic;
  white-space: nowrap;
}

/* Hidden sizer — locks container width to the widest word */
.rotator-sizer {
  display: inline-block;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
}

/* Animated words — absolute, stacked over the sizer */
.rotator .word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.6s ease-in-out,
    transform 0.6s ease-in-out;
  background: linear-gradient(120deg, var(--orange-3) 0%, var(--orange-4) 35%, var(--orange-2) 70%, var(--orange-3) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  will-change: opacity, transform;
}
.rotator .word.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: shimmer 6s linear infinite;
}

/* ---- Live activity ticker bars ---- */
.live-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}
.live-bars span {
  width: 4px;
  height: 60%;
  background: linear-gradient(180deg, var(--orange-2), var(--orange-3));
  border-radius: 2px;
  transform-origin: bottom;
  transition: height 0.8s var(--ease-out);
  animation: liveBar 1.2s var(--ease) infinite;
}
.live-bars span:nth-child(1) { animation-delay: 0s; }
.live-bars span:nth-child(2) { animation-delay: 0.1s; }
.live-bars span:nth-child(3) { animation-delay: 0.2s; }
.live-bars span:nth-child(4) { animation-delay: 0.3s; }
.live-bars span:nth-child(5) { animation-delay: 0.4s; }
.live-bars span:nth-child(6) { animation-delay: 0.5s; }
.live-bars span:nth-child(7) { animation-delay: 0.6s; }
.live-bars span:nth-child(8) { animation-delay: 0.7s; }
.live-bars span:nth-child(9) { animation-delay: 0.8s; }
.live-bars span:nth-child(10) { animation-delay: 0.9s; }

/* ---- 3D flip cards ---- */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.flip-card {
  perspective: 1400px;
  height: 280px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease-out);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.flip-face.back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--ink), #2c241e);
  color: #fff;
  border: none;
}
.flip-face.back::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,138,61,.4), transparent 60%);
}
.flip-face.back > * { position: relative; }
.flip-face .flip-icon {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 14px;
  font-size: 24px;
  color: var(--orange-3);
  margin-bottom: 16px;
}
.flip-face.back .flip-icon { background: rgba(255,138,61,.25); color: #fff; }
.flip-face h4 { font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.flip-face p { font-size: 14.5px; color: var(--ink-2); }
.flip-face.back p { color: rgba(255,255,255,.85); }
.flip-face.back .flip-stat {
  font-family: var(--font-serif);
  font-size: 44px;
  background: linear-gradient(120deg, var(--orange-1), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* ---- Animated globe / world ---- */
.globe-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-cream) 100%);
  position: relative;
  overflow: hidden;
}
.globe-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.globe-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 520px;
  min-height: 520px;
}

/* Three.js dotted globe container — must have explicit non-zero size */
.globe-3d {
  width: 520px;
  height: 520px;
  max-width: 100%;
  max-height: 100%;
  position: relative;
  cursor: grab;
  display: block;
}
.globe-3d canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
}
.globe-3d:active { cursor: grabbing; }

@media (max-width: 720px) {
  .globe-stage { height: 360px; min-height: 360px; }
  .globe-3d { width: 360px; height: 360px; }
}
.globe {
  width: min(480px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,179,122,.6), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255,106,31,.4), transparent 60%),
    linear-gradient(135deg, #ffeede, #ffd7b0);
  position: relative;
  box-shadow:
    inset -40px -40px 80px rgba(255, 106, 31, 0.3),
    inset 20px 20px 60px rgba(255, 255, 255, 0.6),
    0 30px 80px rgba(255, 106, 31, 0.25);
  animation: float 6s ease-in-out infinite;
}
.globe::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    radial-gradient(circle, rgba(26,20,16,.12) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(26,20,16,.08) 1px, transparent 1px);
  background-size: 30px 30px, 22px 22px;
  background-position: 0 0, 11px 11px;
  -webkit-mask-image: radial-gradient(circle, #000 65%, transparent 100%);
  mask-image: radial-gradient(circle, #000 65%, transparent 100%);
  opacity: 0.55;
}
.globe::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 106, 31, 0.3);
  animation: rotate 30s linear infinite;
}
.globe-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
}
.globe-orbit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange-3);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--orange-3);
  transform-origin: 0 0;
  animation: orbit 12s linear infinite;
  --r: 240px;
}
.globe-orbit.o2::before { --r: 200px; animation-duration: 9s; animation-direction: reverse; background: var(--orange-2); }
.globe-orbit.o3::before { --r: 280px; animation-duration: 16s; background: var(--orange-1); }
.globe-pin {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--orange-3);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,106,31,.2), 0 0 20px var(--orange-3);
  animation: pulse 2s var(--ease) infinite;
}
.globe-pin::after {
  content: attr(data-city);
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255,255,255,.92);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.globe-pin.p1 { top: 30%; left: 65%; }
.globe-pin.p2 { top: 50%; left: 30%; animation-delay: -0.4s; }
.globe-pin.p3 { top: 70%; left: 55%; animation-delay: -0.8s; }
.globe-pin.p4 { top: 22%; left: 38%; animation-delay: -1.2s; }
.globe-pin.p5 { top: 65%; left: 80%; animation-delay: -1.6s; }
@media (max-width: 980px) {
  .globe-wrap { grid-template-columns: 1fr; }
  .globe-orbit, .globe-pin.p4, .globe-pin.p5 { display: none; }
}

/* ---- Live status panel ---- */
.live-panel {
  background: linear-gradient(135deg, #1a1410, #2c241e);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.live-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,106,31,.25), transparent 60%);
  pointer-events: none;
}
.live-panel > * { position: relative; }
.live-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.live-panel-head h4 {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-panel-head .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
}
.live-panel-head .live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(34,197,94,.4);
  animation: pulseRing 1.6s var(--ease) infinite;
}
.live-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  align-items: center;
  font-size: 13px;
}
.live-row:last-child { border-bottom: none; }
.live-row .lr-label { color: rgba(255,255,255,.7); }
.live-row .lr-val {
  font-family: var(--font-mono);
  color: #fff;
  font-weight: 600;
}
.live-row .lr-val.up { color: var(--orange-2); }

/* ---- Circuit lines (decorative SVG path animation) ---- */
.circuit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.circuit-bg path {
  fill: none;
  stroke: rgba(255, 138, 61, 0.18);
  stroke-width: 1;
  stroke-dasharray: 8 6;
  animation: circuitFlow 6s linear infinite;
}

/* ---- Spotlight cards (highlighted feature row) ---- */
.spotlight-row {
  padding: 110px 0;
  background: var(--bg);
  position: relative;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.spot-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.spot-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange-2);
  animation: glowPulse 2s var(--ease) infinite;
}
.spot-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--orange-3);
  position: relative;
  transition: transform var(--transition);
}
.spot-card:hover .spot-icon { transform: rotate(-12deg) scale(1.1); }
.spot-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--orange-3);
  opacity: 0;
  animation: ripple 2s var(--ease) infinite;
}
.spot-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.spot-card p { font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 980px) { .spotlight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .spotlight-grid { grid-template-columns: 1fr; } }

/* ---- Animated pricing comparison bars ---- */
.bar-compare {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 80px;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}
.bar-row .br-label { color: var(--ink-2); font-weight: 500; }
.bar-row .br-track {
  height: 24px;
  background: var(--bg-cream);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.bar-row .br-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange-2), var(--orange-3));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  animation: slideX 1.4s var(--ease-out) both;
  position: relative;
}
.bar-row .br-fill.aws {
  background: linear-gradient(90deg, var(--ink-3), var(--ink-2));
  animation-delay: 0.2s;
}
.bar-row .br-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  border-radius: inherit;
}
.bar-row .br-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* ---- Connection beams (between elements) ---- */
.beam-section {
  padding: 110px 0;
  background: var(--bg-cream);
  position: relative;
  overflow: hidden;
}
.beam-stage {
  position: relative;
  height: 360px;
  margin-top: 40px;
}
.beam-node {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.beam-node .bn-ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--orange-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.beam-node.center {
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border: none;
  padding: 22px 28px;
  font-size: 16px;
  animation: glowPulse 2.4s var(--ease) infinite;
}
.beam-node.center .bn-ico { background: rgba(255,255,255,.25); color: #fff; }
.beam-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.beam-svg path {
  fill: none;
  stroke: rgba(255, 138, 61, 0.4);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}
.beam-svg .packet {
  fill: var(--orange-3);
  filter: drop-shadow(0 0 6px var(--orange-3));
  offset-rotate: auto;
  animation: packet 3s linear infinite;
}
.beam-svg .packet.p2 { animation-delay: 0.5s; fill: var(--orange-2); }
.beam-svg .packet.p3 { animation-delay: 1s; fill: var(--orange-1); }
.beam-svg .packet.p4 { animation-delay: 1.5s; fill: var(--orange-3); }

.beam-node.n1 { top: 0; left: 0; }
.beam-node.n2 { top: 0; right: 0; }
.beam-node.n3 { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.beam-node.n4 { bottom: 0; left: 0; }
.beam-node.n5 { bottom: 0; right: 0; }
@media (max-width: 720px) {
  .beam-stage { height: 480px; }
  .beam-node.n1, .beam-node.n2 { top: 0; left: auto; right: auto; position: relative; margin: 0 auto 12px; }
  .beam-node { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; margin: 0 auto 12px; }
  .beam-svg { display: none; }
}

/* ---- Hover-grow icon list ---- */
.icon-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}
.icon-strip .strip-item {
  width: 36px; height: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--orange-3);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  padding: 6px;
}
.icon-strip .strip-item img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: grayscale(60%);
  transition: filter var(--transition);
}
.icon-strip .strip-item:hover img { filter: grayscale(0) brightness(1.05); }
.icon-strip .strip-item:hover {
  transform: translateY(-4px) rotate(-6deg);
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(255,106,31,.35);
}
.icon-strip .strip-item::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.icon-strip .strip-item:hover::after { opacity: 1; }

/* ---- Constellation dots ---- */
.constellation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.constellation .star {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--orange-3);
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse 2s var(--ease) infinite;
}
.constellation .star:nth-child(1) { top: 12%; left: 8%; animation-delay: 0s; }
.constellation .star:nth-child(2) { top: 24%; left: 92%; animation-delay: -0.4s; }
.constellation .star:nth-child(3) { top: 70%; left: 6%; animation-delay: -0.8s; }
.constellation .star:nth-child(4) { top: 84%; left: 88%; animation-delay: -1.2s; }
.constellation .star:nth-child(5) { top: 40%; left: 95%; animation-delay: -1.6s; }
.constellation .star:nth-child(6) { top: 60%; left: 4%; animation-delay: -2s; }

/* ============================================
   3D SERVER RACK + LLM ARCHITECTURE — v3
   ============================================ */

@keyframes ledBlink {
  0%, 80%, 100% { opacity: 1; box-shadow: 0 0 6px currentColor; }
  10%, 70% { opacity: 0.3; box-shadow: 0 0 2px currentColor; }
}
@keyframes fanSpin {
  to { transform: rotate(360deg); }
}
@keyframes traffic {
  0%   { left: 0%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes tokenFlow {
  0%   { transform: translateX(0) scale(0.5); opacity: 0; }
  10%  { opacity: 1; transform: translateX(0) scale(1); }
  90%  { opacity: 1; }
  100% { transform: translateX(var(--travel, 600px)) scale(0.6); opacity: 0; }
}
@keyframes attnPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}
@keyframes dataFlow {
  to { stroke-dashoffset: -40; }
}
@keyframes serverHum {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes scanLine {
  0% { top: 0; }
  100% { top: 100%; }
}
@keyframes ringRotate {
  to { transform: rotate(360deg); }
}
@keyframes ringRotateRev {
  to { transform: rotate(-360deg); }
}

/* ============ DATACENTER SECTION ============ */
.datacenter {
  padding: 130px 0;
  background:
    linear-gradient(180deg, #1a1410 0%, #2a201a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.datacenter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,138,61,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,138,61,.06) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.datacenter::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 138, 61, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(255, 106, 31, 0.14), transparent 50%);
  pointer-events: none;
  animation: orbDrift 14s var(--ease) infinite;
}
.datacenter > .container { position: relative; z-index: 1; }

.datacenter .section-title { color: #fff; }
.datacenter .section-sub { color: rgba(255,255,255,.7); }
.datacenter .eyebrow { background: rgba(255,138,61,.15); border-color: rgba(255,138,61,.4); color: var(--orange-1); }

.dc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 30px;
}
@media (max-width: 980px) { .dc-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---- 3D SERVER RACK ---- */
.rack-3d {
  perspective: 1800px;
  position: relative;
  display: flex;
  justify-content: center;
}
.rack-frame {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, #14110d, #0c0a08);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255,138,61,.18);
  box-shadow:
    0 30px 80px rgba(0,0,0,.6),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 -10px 40px rgba(255, 106, 31, 0.15) inset;
  transform: rotateY(-12deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
  animation: serverHum 4s ease-in-out infinite;
  position: relative;
}
.rack-3d:hover .rack-frame { transform: rotateY(-4deg) rotateX(2deg) translateY(-4px); }

.rack-frame::before, .rack-frame::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-3);
  box-shadow: 0 0 8px var(--orange-3);
}
.rack-frame::before { top: 8px; left: 8px; animation: ledBlink 2s infinite; }
.rack-frame::after { top: 8px; right: 8px; animation: ledBlink 2s 0.4s infinite; background: #22c55e; box-shadow: 0 0 8px #22c55e; color: #22c55e; }

.rack-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  margin-top: 4px;
}

.rack-stack { display: flex; flex-direction: column; gap: 6px; }

.rack-unit {
  background: linear-gradient(180deg, #1a1410 0%, #14110d 100%);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 6px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.7);
  min-height: 36px;
}
.rack-unit::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange-3);
  opacity: 0;
  transition: opacity var(--transition);
}
.rack-unit.live::before { opacity: 1; }

.rack-unit.gpu {
  background: linear-gradient(180deg, #2a1810 0%, #1a1410 100%);
  border-color: rgba(255,138,61,.25);
}

.rack-leds {
  display: flex;
  gap: 4px;
}
.rack-leds i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22c55e;
  color: #22c55e;
  display: inline-block;
  animation: ledBlink 1.6s infinite;
}
.rack-leds i:nth-child(2) { animation-delay: 0.2s; }
.rack-leds i:nth-child(3) { background: var(--orange-3); color: var(--orange-3); animation-delay: 0.4s; }
.rack-leds i:nth-child(4) { animation-delay: 0.6s; }

.rack-name { color: rgba(255,255,255,.85); font-weight: 600; }
.rack-meta { color: rgba(255,255,255,.4); font-size: 10px; }

.rack-load {
  width: 48px;
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.rack-load span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange-2), var(--orange-3));
  border-radius: 2px;
  position: relative;
}
.rack-load span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}

.fan {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.12);
  position: relative;
  background: rgba(255,255,255,.03);
}
.fan::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, rgba(255,255,255,.18), transparent 30%, rgba(255,255,255,.18) 60%, transparent 90%);
  animation: fanSpin 1.6s linear infinite;
}
.fan.fast::before { animation-duration: 0.8s; }
.fan::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  background: rgba(255,255,255,.3);
  border-radius: 50%;
}

.rack-screen {
  width: 80px; height: 22px;
  background: #0a0805;
  border: 1px solid rgba(255,138,61,.3);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.rack-screen::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(90deg, transparent, var(--orange-3) 40%, var(--orange-2) 60%, transparent);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
  opacity: 0.7;
}
.rack-screen::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,138,61,.6), transparent);
  animation: scanLine 2s linear infinite;
}

.rack-power {
  height: 12px;
  background:
    linear-gradient(180deg, #2a1f17, #1a1410);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.05);
  position: relative;
  margin-top: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}
.rack-power i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--orange-3);
  color: var(--orange-3);
  animation: ledBlink 1.4s infinite;
}
.rack-power i:nth-child(2) { animation-delay: 0.3s; background: #22c55e; color: #22c55e; }
.rack-power i:nth-child(3) { animation-delay: 0.6s; }

/* Side metrics next to rack */
.rack-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.rack-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,138,61,.15);
  border-radius: 12px;
  padding: 14px;
}
.rack-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.5);
  margin-bottom: 6px;
}
.rack-stat-val {
  font-family: var(--font-serif);
  font-size: 26px;
  background: linear-gradient(120deg, var(--orange-1), var(--orange-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* ============ LLM ARCHITECTURE ============ */
.llm-section {
  padding: 130px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.llm-arch {
  margin-top: 50px;
  background: linear-gradient(180deg, #fff, #fdf6ec);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.llm-arch::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,138,61,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,138,61,.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.llm-flow {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  position: relative;
}
@media (max-width: 980px) {
  .llm-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .llm-arrow { display: none; }
}

.llm-layer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.llm-layer:hover {
  transform: translateY(-3px);
  border-color: var(--orange-2);
  box-shadow: var(--shadow-sm);
}
.llm-layer-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.llm-layer-name strong {
  color: var(--orange-3);
  font-weight: 600;
}
.llm-layer-content {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}

.llm-input .llm-layer-content,
.llm-output .llm-layer-content {
  background: var(--bg-cream);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}

.llm-output .llm-layer-content {
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
}

.llm-emb-vec {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
}
.llm-emb-vec i {
  width: 12px; height: 12px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  opacity: 0.75;
  display: inline-block;
}
.llm-emb-vec i:nth-child(odd) { opacity: 0.4; background: linear-gradient(135deg, var(--orange-1), var(--orange-2)); }
.llm-emb-vec i:nth-child(7n) { opacity: 1; }

/* Transformer block — multi-head attention */
.llm-transformer {
  background: linear-gradient(180deg, #1a1410, #2c241e);
  color: #fff;
  border-color: rgba(255,138,61,.3);
  padding: 22px 18px;
  position: relative;
  overflow: hidden;
}
.llm-transformer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,138,61,.18), transparent 70%);
  pointer-events: none;
}
.llm-transformer .llm-layer-name { color: rgba(255,255,255,.6); }
.llm-transformer .llm-layer-name strong {
  background: linear-gradient(120deg, var(--orange-1), var(--orange-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.attn-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  margin-bottom: 12px;
  position: relative;
}
.attn-grid i {
  aspect-ratio: 1;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  transform-origin: center;
  animation: attnPulse 2s var(--ease) infinite;
}
.attn-grid i:nth-child(2n) { animation-delay: 0.1s; opacity: 0.7; }
.attn-grid i:nth-child(3n) { animation-delay: 0.2s; opacity: 0.5; }
.attn-grid i:nth-child(5n) { animation-delay: 0.3s; opacity: 0.85; }
.attn-grid i:nth-child(7n) { animation-delay: 0.4s; opacity: 0.4; }

.attn-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,.5);
  text-align: center;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
}

.llm-arrow {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-2), var(--orange-3));
  position: relative;
  border-radius: 1px;
}
.llm-arrow::after {
  content: '';
  position: absolute;
  right: -2px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--orange-3);
}
.llm-arrow .pkt {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange-3);
  box-shadow: 0 0 8px var(--orange-3);
  top: 50%; left: 0;
  margin-top: -4px;
  animation: traffic 2s linear infinite;
}
.llm-arrow .pkt:nth-child(2) { animation-delay: 0.66s; background: var(--orange-2); box-shadow: 0 0 8px var(--orange-2); }
.llm-arrow .pkt:nth-child(3) { animation-delay: 1.33s; background: var(--orange-1); box-shadow: 0 0 8px var(--orange-1); }

.llm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 720px) { .llm-stats { grid-template-columns: repeat(2, 1fr); } }
.llm-stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
}
.llm-stat-card .lsc-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.llm-stat-card .lsc-val {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--orange-3);
  line-height: 1;
}

/* ============ DATAFLOW ANIMATION ============ */
.dataflow-section {
  padding: 110px 0;
  background: var(--bg-cream);
  position: relative;
  overflow: hidden;
}
.dataflow-stage {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.dataflow-stage svg {
  width: 100%;
  height: 320px;
  display: block;
}
.dataflow-stage .df-link {
  fill: none;
  stroke: rgba(255, 138, 61, 0.4);
  stroke-width: 2;
  stroke-dasharray: 6 4;
  animation: dataFlow 2s linear infinite;
}
.dataflow-stage .df-node {
  fill: #fff;
  stroke: var(--orange-3);
  stroke-width: 2;
}
.dataflow-stage .df-node.center {
  fill: var(--orange-3);
  stroke: transparent;
}
.dataflow-stage .df-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  fill: var(--ink);
}
.dataflow-stage .df-pulse {
  fill: var(--orange-3);
  filter: drop-shadow(0 0 6px var(--orange-3));
}

/* ============ CABINET / DC FLOOR ============ */
.dc-floor {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
  perspective: 1200px;
}
.dc-cabinet {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,138,61,.18);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 200px;
  position: relative;
  overflow: hidden;
  transform: rotateX(8deg);
  transform-origin: bottom;
  transition: transform var(--transition);
}
.dc-cabinet:hover { transform: rotateX(2deg) translateY(-4px); }
.dc-cabinet::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--orange-3), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  z-index: 2;
}
.dc-cabinet i {
  flex: 1;
  background: rgba(0,0,0,.3);
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.05);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 3px;
}
.dc-cabinet i::before {
  content: '';
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 4px #22c55e;
  animation: ledBlink 1.6s infinite;
}
.dc-cabinet i::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-3), transparent);
  border-radius: 1px;
  opacity: 0.5;
}
.dc-cabinet i:nth-child(odd)::before { background: var(--orange-3); box-shadow: 0 0 4px var(--orange-3); animation-delay: 0.3s; }
.dc-cabinet:nth-child(2) i:nth-child(3) { background: rgba(255, 106, 31, 0.12); border-color: rgba(255,138,61,.3); }
.dc-cabinet:nth-child(3) i:nth-child(2) { background: rgba(255, 106, 31, 0.12); border-color: rgba(255,138,61,.3); }
.dc-cabinet-label {
  position: absolute;
  bottom: -22px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Spinning ring decoration */
.spin-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 138, 61, 0.3);
  pointer-events: none;
  animation: ringRotate 30s linear infinite;
}
.spin-ring.r2 { animation: ringRotateRev 40s linear infinite; }

/* Compact server card variant */
.server-card {
  background: linear-gradient(180deg, #1a1410, #14110d);
  border: 1px solid rgba(255,138,61,.18);
  border-radius: var(--radius);
  padding: 18px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  position: relative;
  overflow: hidden;
}
.server-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.server-card-head .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 6px #22c55e;
  animation: ledBlink 2s infinite;
}

/* ============================================
   SECURITY CONSOLE CARD
   ============================================ */

@keyframes secScan {
  0%   { top: 0;    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes secPing {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(2.6); opacity: 0; }
}
@keyframes secOk {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}
@keyframes feedSlide {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.sec-console {
  background: linear-gradient(160deg, #1a1410 0%, #2a1f17 100%);
  color: #fff;
  border: 1px solid rgba(255,138,61,.25) !important;
  position: relative;
  overflow: hidden;
}
.sec-console::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,138,61,.22), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(255,106,31,.18), transparent 55%);
  pointer-events: none;
}
.sec-console > * { position: relative; z-index: 1; }

.sec-console .bento-icon {
  background: rgba(255,138,61,.18);
  border-color: rgba(255,138,61,.3);
  color: var(--orange-1);
}
.sec-console h3 { color: #fff; }
.sec-console p { color: rgba(255,255,255,.7); }
.sec-console .bento-cta { color: var(--orange-1); }

/* Pulsing shield badge */
.sec-shield {
  width: 64px; height: 64px;
  margin: 4px 0 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sec-shield-core {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  clip-path: polygon(50% 0, 100% 25%, 100% 70%, 50% 100%, 0 70%, 0 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(255,106,31,.45);
  position: relative;
  z-index: 2;
  animation: secOk 2.4s var(--ease) infinite;
}
.sec-shield::before, .sec-shield::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 138, 61, 0.6);
  animation: secPing 2.6s var(--ease) infinite;
}
.sec-shield::after { animation-delay: 1.3s; }

/* Status grid */
.sec-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.sec-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.85);
}
.sec-stat i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.18);
  animation: ledBlink 1.8s infinite;
  flex-shrink: 0;
}
.sec-stat.warn i { background: var(--orange-2); box-shadow: 0 0 0 3px rgba(255,138,61,.2); }
.sec-stat strong { color: #fff; font-weight: 600; }

/* Scanning bar */
.sec-scan {
  position: relative;
  height: 28px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,138,61,.18);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}
.sec-scan::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange-2), var(--orange-3), transparent);
  animation: secScan 2s linear infinite;
}
.sec-scan span {
  position: absolute;
  top: 50%; left: 10px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,138,61,.85);
  text-transform: uppercase;
}
.sec-scan .right {
  left: auto;
  right: 10px;
  color: rgba(34,197,94,.9);
}

/* Live event feed */
.sec-feed {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  background: rgba(0,0,0,.24);
  border-radius: 6px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.04);
}
.sec-feed-row {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  animation: feedSlide 0.5s var(--ease-out) both;
}
.sec-feed-row .ts { color: rgba(255,138,61,.8); }
.sec-feed-row .ev { color: rgba(255,255,255,.85); }
.sec-feed-row.ok .ev::after  { content: ' ✓'; color: #22c55e; }
.sec-feed-row.blk .ev::after { content: ' ✗'; color: #ef5b5b; }

/* ============================================
   FRAMER PIXEL TETRIS BUTTON (.ptb)
   Vanilla port of the Framer Pixel-Button component.
   Pixels on the left/right edges swap diagonally on hover,
   text rolls up while a duplicate rolls in from below.
   ============================================ */

.ptb {
  --pixel-size: 14px;
  --bg-color: #0f0a07;
  --text-color: #ffffff;
  --line-color: rgba(255, 255, 255, 0.15);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--pixel-size) * 4);
  padding: 0 calc(var(--pixel-size) * 2 + 24px);
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  transition: transform 0.15s ease;
}

.ptb-bg {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 1;
  pointer-events: none;
}

.ptb-bg-mid {
  flex: 1;
  background: var(--bg-color);
  height: 100%;
}

.ptb-bg-left,
.ptb-bg-right {
  width: calc(var(--pixel-size) * 2);
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

.ptb-pixel {
  background: var(--bg-color);
  box-shadow: inset 0 0 0 1px var(--line-color);
  transition: opacity 0.15s ease-in-out;
}

/* DEFAULT — diagonal half visible on each side */
.ptb:not(:hover) .ptb-bg-left  .ptb-pixel:nth-child(-n+4) { opacity: 0; }
.ptb:not(:hover) .ptb-bg-right .ptb-pixel:nth-child(n+5)  { opacity: 0; }

/* HOVER — diagonals swap (the tetris flip) */
.ptb:hover .ptb-bg-left  .ptb-pixel:nth-child(n+5)  { opacity: 0; }
.ptb:hover .ptb-bg-right .ptb-pixel:nth-child(-n+4) { opacity: 0; }

.ptb:active { transform: scale(0.97); }

/* Text — rolls up on hover, duplicate from ::after rolls in from below */
.ptb-inner {
  position: relative;
  z-index: 2;
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2em;
  color: var(--text-color);
}

.ptb-text {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ptb-inner::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ptb:hover .ptb-text,
.ptb:hover .ptb-inner::after {
  transform: translateY(-100%);
}

.ptb:focus-visible {
  outline: 2px solid var(--text-color);
  outline-offset: 3px;
}

/* Light variant — for "Book a Call" */
.ptb.ptb--light {
  --bg-color: #f3ede7;
  --text-color: #111111;
  --line-color: rgba(0, 0, 0, 0.14);
}

/* ============================================
   FRAMER-STYLE PIXEL BUTTON (.pixel-btn)
   Pixel grid waves in left → right on hover.
   ============================================ */

.pixel-btn {
  --bg: #0f0a07;
  --fg: #ffffff;
  --px: #f97316;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  background: var(--bg);
  color: var(--fg);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  font-size: 16px;
  font-family: inherit;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease;
}

.pixel-btn--light {
  --bg: #f3ede7;
  --fg: #111;
  --px: #ec4899;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.pixel-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 28), 1fr);
  grid-template-rows: repeat(var(--rows, 6), 1fr);
  gap: 2px;
  pointer-events: none;
  z-index: 0;
}

.pixel-grid > i {
  background: var(--px);
  opacity: 0;
  transform: translateY(-10px);
  border-radius: 1px;
  transition:
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.pixel-text {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease 0.2s, transform 0.3s ease;
  pointer-events: none;
}

.pixel-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.32);
}
.pixel-btn--light:hover {
  box-shadow: 0 14px 32px rgba(236, 72, 153, 0.32);
}
.pixel-btn:hover .pixel-text { transform: translateY(-2px); }
.pixel-btn--light:hover .pixel-text { color: #fff; }

.pixel-btn:active { transform: scale(0.97); }

.pixel-btn:focus-visible {
  outline: 2px solid var(--px);
  outline-offset: 3px;
}

/* ============================================
   FINAL PIXEL TETRIS BUTTON (.tetris-btn)
   ============================================ */

.tetris-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  border-radius: 999px;
  background: #0f0a07;
  color: #fff;
  border: none;
  cursor: pointer;
  overflow: hidden;
  font-size: 16px;
  font-family: inherit;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

/* PIXEL GRID */
.tetris-btn .pixels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 2px;
  pointer-events: none;
}

.tetris-btn .pixels div {
  background: #f97316;
  opacity: 0;
  transform: translateY(-20px);
}

/* TEXT */
.tetris-btn .label {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* TEXT MOVE (Framer style) */
.tetris-btn:hover .label {
  transform: translateY(-4px);
}

/* ============================================
   PIXEL TETRIS BUTTON (legacy .pix-btn)
   Grid of orange pixels that assemble on hover.
   ============================================ */

.pix-btn {
  --pix-color: #f97316;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  min-width: 200px;
  min-height: 56px;
  background: transparent;
  color: var(--pix-color);
  font: 600 16px/1 inherit;
  font-family: inherit;
  text-decoration: none;
  border: 1.5px solid rgba(249, 115, 22, 0.4);
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition:
    border-color 0.4s ease,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s ease;
}

.pix-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 26), 1fr);
  grid-template-rows: repeat(var(--rows, 7), 1fr);
  gap: 1px;
  padding: 2px;
  pointer-events: none;
  z-index: 0;
}

.pix-grid > i {
  background: var(--pix-color);
  border-radius: 1px;
  opacity: 0;
  transform: translate(var(--ox, 0), var(--oy, 0)) scale(var(--s, 0.3));
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1) var(--d, 0s),
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s);
  will-change: transform, opacity;
}

.pix-btn:hover .pix-grid > i,
.pix-btn:focus-visible .pix-grid > i {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.pix-label {
  position: relative;
  z-index: 1;
  pointer-events: none;
  letter-spacing: 0.01em;
  transition: color 0.35s ease 0.4s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pix-btn:hover .pix-label,
.pix-btn:focus-visible .pix-label {
  color: #fff;
}

.pix-btn:hover,
.pix-btn:focus-visible {
  border-color: var(--pix-color);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.28);
}

.pix-btn:active { transform: scale(0.97); }

.pix-btn:focus-visible {
  outline: 2px solid rgba(249, 115, 22, 0.5);
  outline-offset: 3px;
}

/* ============================================
   FINAL UPGRADE CTA — pill buttons w/ glow + shine
   Scoped under .btn-wrap to avoid clashing with site-wide .btn-* classes.
   ============================================ */

.btn-wrap {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-wrap .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: all 0.3s ease;
  z-index: 1;
}

/* PRIMARY (BLACK) */
.btn-wrap .btn.primary {
  background: #0f0a07;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ORANGE GLOW LAYER */
.btn-wrap .btn.primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 30% 50%, #f97316, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* SECONDARY */
.btn-wrap .btn.secondary {
  background: #f3ede7;
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* PINK GLOW */
.btn-wrap .btn.secondary::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 70% 50%, #ec4899, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* HOVER EFFECT */
.btn-wrap .btn:hover {
  transform: translateY(-3px) scale(1.02);
}
.btn-wrap .btn:hover::before { opacity: 1; }

/* ACTIVE CLICK */
.btn-wrap .btn:active { transform: scale(0.96); }

/* SUBTLE SHINE EFFECT */
.btn-wrap .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
  pointer-events: none;
}
.btn-wrap .btn:hover::after { left: 120%; }

/* Accessible focus state */
.btn-wrap .btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ============================================
   PIXEL CTA EFFECT
   Subtle dot grid + brand glow + click ripple
   ============================================ */

@keyframes pixelDrift {
  from { background-position: 0 0; }
  to   { background-position: 28px -28px; }
}
@keyframes pixelRipple {
  to {
    transform: translate(-50%, -50%) scale(10);
    opacity: 0;
  }
}

.btn-pixel { isolation: isolate; }
.btn-pixel.pixel-orange { --fx: 249, 115, 22; }
.btn-pixel.pixel-pink   { --fx: 236, 72, 153; }

/* Dot-grid layer */
.pixel-fx {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(var(--fx), 0.85) 1.2px, transparent 1.8px);
  background-size: 14px 14px;
  background-position: 0 0;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, background-position;
}
.btn-pixel:hover .pixel-fx,
.btn-pixel:focus-visible .pixel-fx,
.btn-pixel.is-tapped .pixel-fx {
  opacity: 0.5;
  animation: pixelDrift 4s linear infinite;
}

/* Brand glow halo on hover/focus/tap */
.btn-pixel,
.btn-pixel:hover,
.btn-pixel:focus-visible,
.btn-pixel.is-tapped {
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
              background 250ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-pixel:hover,
.btn-pixel:focus-visible,
.btn-pixel.is-tapped {
  box-shadow:
    0 0 30px rgba(var(--fx), 0.40),
    0 0 60px rgba(var(--fx), 0.22),
    0 8px 24px rgba(var(--fx), 0.18);
}

/* Suppress legacy shimmer on .btn-dark when pixel effect is present */
.btn-pixel.btn-dark::before { display: none; }

/* Stack content above pixel layer */
.btn-pixel > *:not(.pixel-fx):not(.pixel-ripple) {
  position: relative;
  z-index: 1;
}

/* Click ripple */
.pixel-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--fx), 0.55), rgba(var(--fx), 0) 70%);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 0;
  animation: pixelRipple 380ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: transform, opacity;
}

/* Accessible focus ring */
.btn-pixel:focus-visible {
  outline: 2px solid rgba(var(--fx), 0.75);
  outline-offset: 3px;
}

/* ============================================
   CONTENT PAGES (blog, legal, docs, careers, etc.)
   ============================================ */

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.prose h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.prose h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 48px 0 14px;
  scroll-margin-top: 90px;
}
.prose h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 8px;
  letter-spacing: -0.01em;
}
.prose p { margin-bottom: 16px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-family: var(--font-serif); font-style: italic; color: var(--orange-3); }
.prose a {
  color: var(--orange-3);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--orange-4); }
.prose ul, .prose ol { margin: 12px 0 22px; padding-left: 22px; }
.prose ul { list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange-3);
}
.prose ol { list-style: decimal; padding-left: 28px; }
.prose ol li { margin-bottom: 10px; padding-left: 6px; }
.prose ol li::marker { color: var(--orange-3); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--orange-3);
  padding: 4px 0 4px 20px;
  margin: 22px 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--cream);
  border: 1px solid rgba(255, 138, 61, 0.18);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--orange-4);
}
.prose pre {
  background: var(--ink);
  color: #ffd7b0;
  padding: 18px 22px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 22px 0;
}
.prose pre code { background: transparent; border: none; padding: 0; color: inherit; }
.prose hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 40px 0;
}
.prose .lead {
  font-size: 19px;
  color: var(--ink-2);
  margin-bottom: 32px;
  line-height: 1.55;
}
.prose .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
  padding: 18px 0;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
}
.prose .meta-row .author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.prose .meta-row .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 11px;
  font-family: var(--font-sans);
}
.prose .tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--cream);
  color: var(--orange-3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255,138,61,.25);
}
.prose .toc {
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 28px 0 36px;
  font-size: 14px;
}
.prose .toc h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.prose .toc ul { margin: 0; padding: 0; }
.prose .toc li { padding-left: 0; margin-bottom: 6px; }
.prose .toc li::before { display: none; }
.prose .toc a { text-decoration: none; }

/* Blog index cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 61, 0.4);
  box-shadow: var(--shadow-md);
}
.blog-card .tag { margin-bottom: 14px; }
.blog-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--ink);
}
.blog-card p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 20px; flex: 1; }
.blog-card .blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}
.blog-card .blog-meta .avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 10px;
  font-family: var(--font-sans);
}
@media (max-width: 720px) { .blog-grid { grid-template-columns: 1fr; } }

/* Status page indicators */
.status-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
}
.status-card .name { font-weight: 600; color: var(--ink); }
.status-card .uptime { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
.status-card .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(34, 197, 94, .12);
  color: #16a34a;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.status-card .status-pill::before {
  content: '';
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .25);
}
.status-card.degraded .status-pill { background: rgba(245, 158, 11, .14); color: #d97706; }
.status-card.degraded .status-pill::before { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .25); }
.status-card.down .status-pill { background: rgba(220, 38, 38, .12); color: #dc2626; }
.status-card.down .status-pill::before { background: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .2); }

.uptime-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 22px;
}
.uptime-bars i {
  width: 4px;
  height: 100%;
  background: #22c55e;
  border-radius: 1px;
}
.uptime-bars i.warn { background: #f59e0b; height: 65%; }
.uptime-bars i.fail { background: #dc2626; height: 30%; }

/* Job cards */
.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  transition: all var(--transition);
}
.job-card:hover { border-color: var(--orange-2); transform: translateY(-2px); }
.job-card h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.job-card .job-meta { font-size: 13px; color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; }
.job-card .job-meta span::before { content: '·'; margin-right: 14px; color: var(--line-strong); }
.job-card .job-meta span:first-child::before { display: none; }

/* Docs nav grid */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.docs-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.docs-card:hover { border-color: var(--orange-2); transform: translateY(-3px); }
.docs-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.docs-card p { font-size: 13.5px; color: var(--ink-3); margin-bottom: 12px; }
.docs-card a {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 720px) { .docs-grid { grid-template-columns: 1fr; } }

/* Case study cards */
.case-card {
  background: linear-gradient(180deg, #fff, var(--bg-cream));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  align-items: center;
  transition: all var(--transition);
}
.case-card:hover { border-color: var(--orange-2); }
.case-card .case-co {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-3);
  font-weight: 600;
  margin-bottom: 8px;
}
.case-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--ink);
}
.case-card p { color: var(--ink-2); margin-bottom: 14px; font-size: 15px; }
.case-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: #fff;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.case-stat .num {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--orange-3);
  line-height: 1;
}
.case-stat .lbl { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 720px) {
  .case-card { grid-template-columns: 1fr; gap: 22px; }
}

/* ============================================
   GLIXY LOGO — premium SaaS refinement
   - logos/glixy.png as the icon
   - "Glixy" bold dark / "LABS" lighter orange small caps
   - Subtle hover (opacity + light icon scale)
   ============================================ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: #111;
  padding: 4px 0;
  transition: opacity 0.2s ease;
  line-height: 1;
}
.logo:hover { opacity: 0.88; }
.logo:hover .logo-mark { transform: scale(1.05); }

.logo-mark {
  width: 48px !important;
  height: 48px !important;
  background: url('logos/glixy.png') center / contain no-repeat !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.logo-mark::before,
.logo-mark::after {
  content: none !important;
  display: none !important;
}

.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.015em;
  color: #111;
  line-height: 1;
}
.logo-text small {
  font-size: 14px;
  font-weight: 500;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
}

/* Navbar tweak — give the bigger logo proper breathing room */
.navbar .nav-inner { height: 84px; }

/* Footer logo: large, balanced */
.footer-brand .logo-mark { width: 56px !important; height: 56px !important; }
.footer-brand .logo-text { font-size: 28px; gap: 12px; }
.footer-brand .logo-text small { font-size: 15px; }

/* Dark CTA / footer-on-dark contexts: keep contrast */
.cta-inner .logo-text,
.footer.dark .logo-text { color: #fff; }

/* Mobile spacing — still big but slightly compact */
@media (max-width: 720px) {
  .navbar .nav-inner { height: 72px; }
  .logo { gap: 0; }
  .logo-mark { width: 40px !important; height: 40px !important; }
  .logo-text { font-size: 22px; gap: 6px; }
  .logo-text small { font-size: 12px; }
  .footer-brand .logo-mark { width: 48px !important; height: 48px !important; }
  .footer-brand .logo-text { font-size: 24px; }
  .footer-brand .logo-text small { font-size: 13px; }
}

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

/* ============================================
   (removed product) — landing-page styles
   ============================================ */

/* ---- Hero ---- */
.glixy-archived-hero {
  position: relative;
  padding: 110px 0 80px;
  background: var(--hero-grad);
  overflow: hidden;
}
.glixy-archived-hero-inner { position: relative; z-index: 2; text-align: center; }

.glixy-archived-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 22px auto 18px;
  max-width: 980px;
}
.glixy-archived-title em {
  background: linear-gradient(135deg, var(--orange-3), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glixy-archived-sub {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.6;
}

.glixy-archived-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 42px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  border: 1px dashed rgba(26,20,16,.25);
  transition: all .25s var(--ease);
}
.btn-ghost:hover { background: rgba(26,20,16,.05); border-color: rgba(26,20,16,.45); }

/* ---- GitHub stats strip ---- */
.gh-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 60px;
}
.gh-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(26,20,16,.06);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(26,20,16,.04);
}
.gh-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
}
.gh-num { font-family: var(--font-serif); font-size: 22px; line-height: 1; color: var(--ink); }
.gh-cap { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* ---- Hero visual: split assistant + agent flow ---- */
.glixy-archived-hero-visual {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  margin-top: 30px;
  text-align: left;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.glixy-archived-app, .glixy-archived-flow {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(26,20,16,.08);
  box-shadow: 0 30px 70px rgba(255,106,31,.18), 0 12px 30px rgba(26,20,16,.10);
  overflow: hidden;
}

.glixy-archived-app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #faf3eb;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}
.glixy-archived-dot {
  width: 11px; height: 11px; border-radius: 50%; display: inline-block;
}
.glixy-archived-dot.r { background: #ff5f57; }
.glixy-archived-dot.y { background: #ffbd2e; }
.glixy-archived-dot.g { background: #27c93f; }
.glixy-archived-app-title { margin-left: 8px; font-weight: 600; }
.glixy-archived-app-meta { margin-left: auto; color: var(--ink-3); font-size: 11px; }

.glixy-archived-chat {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
}
.glixy-archived-msg { display: flex; gap: 10px; align-items: flex-start; }
.glixy-archived-msg.bot { padding-right: 18px; }
.glixy-archived-avatar {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.glixy-archived-avatar.u { background: #1a1410; color: #fff; }
.glixy-archived-avatar.b { background: linear-gradient(135deg, var(--orange-2), var(--orange-3)); color: #fff; font-size: 14px; }

.glixy-archived-bubble {
  background: #fbf6f0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  flex: 1;
}
.glixy-archived-msg.user .glixy-archived-bubble {
  background: linear-gradient(135deg, #fff3e2, #ffe0c4);
}

.glixy-archived-tool {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.glixy-archived-tool-icon { color: var(--orange-3); }
.glixy-archived-tool-name { flex: 1; color: var(--ink-2); }
.glixy-archived-tool-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: .06em;
}
.glixy-archived-tool-status.ok { background: #e9f7ec; color: #1f7a35; }
.glixy-archived-tool-status.run {
  background: #fff0e0; color: var(--orange-4);
  animation: pulseSoft 1.4s ease-in-out infinite;
}
@keyframes pulseSoft {
  0%,100% { opacity: 1; }
  50% { opacity: .55; }
}
.glixy-archived-text { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.glixy-archived-text strong { color: var(--ink); }

.glixy-archived-input {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line-soft);
  background: #fafafa;
  font-size: 13px;
  color: var(--ink-3);
}
.glixy-archived-input-icon {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  border-radius: 6px; font-weight: 700; font-size: 14px;
}
.glixy-archived-input-text { flex: 1; }
.glixy-archived-input-kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eee;
  color: var(--ink-2);
}

/* ---- Agent flow card ---- */
.glixy-archived-flow { padding: 0; }
.glixy-archived-flow-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}
.glixy-archived-flow-head .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #27c93f;
  box-shadow: 0 0 0 0 rgba(39,201,63,.6);
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(39,201,63,.6); }
  100% { box-shadow: 0 0 0 8px rgba(39,201,63,0); }
}
.glixy-archived-flow-meta { margin-left: auto; color: var(--ink-3); font-size: 11px; }

.glixy-archived-graph {
  padding: 22px 18px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ag-node {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #fbf6f0;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  position: relative;
  min-width: 160px;
}
.ag-node.ag-orchestrator {
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-color: transparent;
}
.ag-icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.2);
  border-radius: 8px;
  font-size: 14px;
}
.ag-orchestrator .ag-icon { background: rgba(255,255,255,.25); }
.ag-name { font-size: 13px; font-weight: 600; }
.ag-meta { font-size: 11px; opacity: .75; margin-top: 2px; }

.ag-pulse {
  position: absolute; top: 50%; right: -6px;
  width: 10px; height: 10px;
  background: var(--orange-3);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(255,106,31,.5);
  animation: livePulse 1.4s ease-out infinite;
}
.ag-orchestrator .ag-pulse { background: #fff; }

.ag-edges {
  display: flex; gap: 60px;
  height: 22px;
  align-items: stretch;
}
.ag-edge {
  width: 1px;
  background: linear-gradient(180deg, rgba(255,106,31,.5), rgba(255,106,31,.05));
}

.ag-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}
.ag-node.ag-worker {
  background: #fff;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
}
.ag-node.ag-worker.done { border-color: rgba(31,122,53,.3); background: #f5fbf6; }
.ag-node.ag-worker.run { border-color: rgba(255,106,31,.3); background: #fff5ec; }

.ag-node.ag-worker > div { width: 100%; }

.glixy-archived-flow-foot {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line-soft);
  background: #fafafa;
}
.glixy-archived-flow-foot > div { display: flex; flex-direction: column; gap: 2px; }
.glixy-archived-flow-foot span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.glixy-archived-flow-foot strong { font-family: var(--font-serif); font-size: 22px; color: var(--orange-3); }

/* ---- Mini agent visual (bento) ---- */
.agent-mini {
  position: relative;
  height: 90px;
  margin: 14px 0 8px;
}
.am-node.hub {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-radius: 10px;
  z-index: 2;
  box-shadow: 0 0 0 0 rgba(255,106,31,.4);
  animation: livePulse 2s ease-out infinite;
}
.am-spokes {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
}
.am-spoke {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: #fbf6f0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font-size: 13px;
  color: var(--orange-4);
}
.am-spoke.run { background: #fff0e0; border-color: rgba(255,106,31,.3); }

/* ---- Comparison table ---- */
.glixy-archived-compare {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26,20,16,.08);
}
.ac-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  font-size: 14px;
  color: var(--ink-2);
}
.ac-row:last-child { border-bottom: none; }
.ac-row.ac-head {
  background: #faf3eb;
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ac-archived { color: var(--ink); font-weight: 500; }
.ac-yes { color: #1f7a35; font-weight: 700; margin-right: 4px; }
.ac-no { color: #c44; font-weight: 700; margin-right: 4px; }
.ac-mid { color: var(--orange-4); font-weight: 700; margin-right: 4px; }

/* ---- Pricing ---- */
.pricing-section { padding: 100px 0; background: var(--bg); }
.glixy-archived-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.ap-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 30px 26px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 4px 14px rgba(26,20,16,.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ap-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,20,16,.10); }
.ap-card.featured {
  background: linear-gradient(160deg, #1a1410, #2a1f17);
  color: #fff;
  border-color: var(--orange-3);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(255,106,31,.22);
}
.ap-card.featured .ap-tag { color: rgba(255,255,255,.7); }
.ap-card.featured .ap-list li { color: rgba(255,255,255,.85); }
.ap-card.featured .ap-name { color: var(--orange-1); }

.ap-badge {
  position: absolute; top: -12px; right: 22px;
  background: var(--orange-3); color: #fff;
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 12px; border-radius: 999px;
  font-weight: 700;
}

.ap-name {
  font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--orange-4); font-weight: 700; margin-bottom: 14px;
}
.ap-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.ap-num { font-family: var(--font-serif); font-size: 44px; line-height: 1; }
.ap-per { font-size: 13px; color: var(--ink-3); }
.ap-card.featured .ap-per { color: rgba(255,255,255,.5); }
.ap-tag { font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }

.ap-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.ap-list li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 0;
}
.ap-card .btn-dark, .ap-card .btn-outline { display: inline-block; }

/* ---- OSS / community block ---- */
.oss { padding: 100px 0; background: var(--bg-cream); }
.oss-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.oss-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  border: 1px solid var(--line-soft);
  box-shadow: 0 4px 14px rgba(26,20,16,.04);
  transition: transform .25s var(--ease);
}
.oss-card:hover { transform: translateY(-4px); }
.oss-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-radius: 10px;
  margin: 0 auto 12px;
  font-size: 16px;
}
.oss-num { font-family: var(--font-serif); font-size: 30px; line-height: 1; color: var(--ink); }
.oss-cap { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-top: 6px; }

.oss-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin-top: 50px;
  padding: 30px;
  background: #1a1410;
  border-radius: 22px;
  color: #fff;
}
.oss-cta-eye {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--orange-1);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.oss-cta-title {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}
.oss-cta-title em { color: var(--orange-1); }

/* ---- Final CTA install line ---- */
.cta-install {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.06);
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.cta-install code { color: var(--orange-1); }
.cta-copy {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(255,255,255,.1);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s;
}
.cta-copy:hover { background: rgba(255,255,255,.18); }

/* ---- Span helpers (extend existing bento) ---- */
.bento-card.span-6 { grid-column: span 6; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .glixy-archived-hero-visual { grid-template-columns: 1fr; }
  .glixy-archived-pricing { grid-template-columns: 1fr; }
  .ap-card.featured { transform: none; }
  .oss-grid { grid-template-columns: repeat(3, 1fr); }
  .oss-cta { grid-template-columns: 1fr; gap: 18px; }
  .ac-row { grid-template-columns: 1fr; gap: 6px; }
  .ac-row.ac-head { display: none; }
  .ac-row > div::before {
    content: ""; display: block;
    font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
    color: var(--ink-3); margin-bottom: 2px;
  }
  .bento-card.span-6 { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .oss-grid { grid-template-columns: repeat(2, 1fr); }
  .gh-stats { gap: 8px; }
  .gh-stat { padding: 10px 12px; }
}

/* ============================================
   AUTH PAGES (login.html, signup.html)
   ============================================ */
.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, #ffd7b0 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, #ffe0c4 0%, transparent 60%),
    var(--bg);
}

.auth-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
}

/* ---- LEFT brand panel ---- */
.auth-brand {
  position: relative;
  padding: 40px 50px 0;
  background:
    linear-gradient(180deg, rgba(255,179,122,0) 0%, rgba(255,138,61,.08) 100%),
    var(--bg-cream);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--line-soft);
}
.auth-brand::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,20,16,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,20,16,.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 30%, #000 50%, transparent 100%);
}
.auth-logo { z-index: 2; }
.auth-brand-body { position: relative; z-index: 2; margin-top: 60px; max-width: 520px; }

.auth-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-4);
  background: rgba(255,106,31,.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.auth-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.02;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.auth-headline em {
  background: linear-gradient(135deg, var(--orange-3), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-tag {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 26px;
}

.auth-checks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.auth-checks li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink-2);
}
.auth-checks li span {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.auth-foot {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 24px 0;
  font-size: 13px;
  color: var(--ink-3);
}
.auth-foot a { color: var(--orange-4); font-weight: 600; }

/* ---- WALKING MASCOTS DOCK ---- */
.auth-dock {
  position: relative;
  margin-top: 40px;
  height: 130px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,.7));
  border: 1px solid rgba(26,20,16,.06);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255,106,31,.08), inset 0 1px 0 rgba(255,255,255,.6);
}
.dock-floor {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(26,20,16,.15) 0 6px, transparent 6px 14px);
}

.mascot {
  position: absolute;
  bottom: 20px;
  width: 56px; height: 86px;
}
.mascot.mascot-glix { animation: mascotWalk 18s linear infinite; }
.mascot.mascot-aeth { animation: mascotWalk 18s linear infinite; animation-delay: -9s; }

@keyframes mascotWalk {
  0%   { transform: translateX(-80px) scaleX(1); }
  48%  { transform: translateX(calc(100% + 20px)) scaleX(1); }
  49%  { transform: translateX(calc(100% + 20px)) scaleX(-1); }
  97%  { transform: translateX(-80px) scaleX(-1); }
  98%  { transform: translateX(-80px) scaleX(1); }
  100% { transform: translateX(-80px) scaleX(1); }
}

.mascot .m-head {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 36px; height: 32px;
  background: linear-gradient(160deg, var(--orange-1), var(--orange-3));
  border-radius: 14px 14px 12px 12px;
  box-shadow: inset -2px -2px 0 rgba(0,0,0,.06), 0 2px 4px rgba(255,106,31,.25);
  animation: mascotBob 0.55s ease-in-out infinite alternate;
}
.mascot.mascot-aeth .m-head {
  background: linear-gradient(160deg, #ffd7b0, var(--orange-2));
}

.mascot .m-eye {
  position: absolute; top: 14px;
  width: 6px; height: 6px;
  background: #1a1410; border-radius: 50%;
  animation: mascotBob 0.55s ease-in-out infinite alternate;
}
.mascot .m-eye.e1 { left: calc(50% - 9px); }
.mascot .m-eye.e2 { left: calc(50% + 3px); }

.mascot .m-body {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 30px;
  background: #1a1410;
  border-radius: 8px 8px 6px 6px;
  animation: mascotBob 0.55s ease-in-out infinite alternate;
}
.mascot.mascot-aeth .m-body { background: #2a1f17; }

.mascot .m-arm {
  position: absolute; top: 34px;
  width: 6px; height: 18px;
  background: #1a1410;
  border-radius: 3px;
  transform-origin: top center;
}
.mascot.mascot-aeth .m-arm { background: #2a1f17; }
.mascot .m-arm.a1 { left: calc(50% - 20px); animation: armSwingA 0.55s ease-in-out infinite alternate; }
.mascot .m-arm.a2 { left: calc(50% + 14px); animation: armSwingB 0.55s ease-in-out infinite alternate; }

.mascot .m-leg {
  position: absolute; top: 60px;
  width: 8px; height: 22px;
  background: var(--orange-4);
  border-radius: 3px;
  transform-origin: top center;
}
.mascot.mascot-aeth .m-leg { background: var(--orange-3); }
.mascot .m-leg.l1 { left: calc(50% - 10px); animation: legStepA 0.55s ease-in-out infinite alternate; }
.mascot .m-leg.l2 { left: calc(50% + 2px); animation: legStepB 0.55s ease-in-out infinite alternate; }

.mascot .m-tag {
  position: absolute;
  top: -22px;
  left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.mascot .m-tag::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--ink);
}

@keyframes mascotBob {
  from { transform: translateX(-50%) translateY(0); }
  to   { transform: translateX(-50%) translateY(-2px); }
}
@keyframes armSwingA { from { transform: rotate(20deg); } to { transform: rotate(-20deg); } }
@keyframes armSwingB { from { transform: rotate(-20deg); } to { transform: rotate(20deg); } }
@keyframes legStepA  { from { transform: rotate(15deg); }  to { transform: rotate(-15deg); } }
@keyframes legStepB  { from { transform: rotate(-15deg); } to { transform: rotate(15deg); } }

/* ---- RIGHT card panel ---- */
.auth-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
}
.auth-card-wrap > * { min-width: 0; max-width: 100%; }
.auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 30px 80px rgba(255,106,31,.10), 0 12px 30px rgba(26,20,16,.06);
  padding: 40px 36px;
  min-width: 0;
  box-sizing: border-box;
}
.auth-card-head { text-align: center; margin-bottom: 24px; }
.auth-card-head h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.auth-card-head p { color: var(--ink-3); font-size: 14px; }

.auth-providers { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(26,20,16,.08); }
.auth-btn:active { transform: translateY(0); }

.auth-btn-google { /* white, default */ }
.auth-btn-apple {
  background: #000; color: #fff; border-color: #000;
}
.auth-btn-apple:hover { background: #1a1410; }
.auth-btn-github {
  background: #1a1410; color: #fff; border-color: #1a1410;
}
.auth-btn-github:hover { background: #2a1f17; }
.auth-btn-phone {
  background: linear-gradient(135deg, var(--orange-2, #ff8a3d), var(--orange-3, #ff6b1a));
  color: #fff; border-color: transparent;
}
.auth-btn-phone:hover { filter: brightness(1.05); }
.auth-btn-phone svg { stroke: #fff; }

.auth-otp-help {
  font-size: 12.5px;
  color: var(--ink-3);
  background: #fff8f2;
  border: 1px dashed #ffd7b8;
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.5;
}
.auth-otp-help strong { color: var(--ink); }
.auth-otp-help #otpTimer { display: block; margin-top: 2px; color: var(--ink-2); }

.auth-divider { cursor: default; }
.auth-divider[data-bound="1"] { cursor: pointer; }
.auth-divider[data-bound="1"]:hover span { color: var(--ink); }

.auth-divider {
  position: relative;
  text-align: center;
  margin: 22px 0;
}
.auth-divider::before {
  content: "";
  position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--line-soft);
}
.auth-divider span {
  position: relative;
  background: #fff;
  padding: 0 14px;
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.auth-form { display: flex; flex-direction: column; gap: 16px; width: 100%; min-width: 0; }
.auth-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.auth-row-2 > * { min-width: 0; }
.auth-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.auth-field > span {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.auth-field input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fafafa;
  box-sizing: border-box;
  transition: border-color .2s, background .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.auth-field input::placeholder { color: var(--ink-3); opacity: 1; }
.auth-field input:hover { background: #f6f4f1; }
.auth-field input:focus {
  outline: none;
  border-color: var(--orange-3);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,106,31,.14);
}
.auth-mini-link { color: var(--orange-4); font-weight: 600; }

.auth-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.auth-checkbox input { accent-color: var(--orange-3); }
.auth-checkbox a { color: var(--orange-4); font-weight: 600; }

.auth-submit {
  margin-top: 10px;
  background: linear-gradient(135deg, var(--orange-3), var(--orange-2));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  width: 100%;
  transition: transform .2s, box-shadow .2s, filter .2s;
  box-shadow: 0 10px 24px rgba(255,106,31,.28);
}
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(255,106,31,.34); filter: brightness(1.03); }
.auth-submit:active { transform: translateY(0); }

.auth-switch { text-align: center; margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.auth-switch a { color: var(--orange-4); font-weight: 600; }

.auth-fineprint {
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 18px;
  line-height: 1.5;
}
.auth-fineprint a { color: var(--ink-2); text-decoration: underline; }

.auth-back { margin-top: 24px; font-size: 13px; color: var(--ink-3); }
.auth-back a { color: var(--ink-2); font-weight: 600; }

/* ---- toast ---- */
.auth-toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1410;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  box-shadow: 0 20px 40px rgba(26,20,16,.3);
  opacity: 0;
  transition: all .3s var(--ease);
  pointer-events: none;
  z-index: 9999;
}
.auth-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.auth-toast-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.2);
  border-top-color: var(--orange-2);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { padding: 30px 24px; min-height: 360px; }
  .auth-brand-body { margin-top: 24px; }
  .auth-headline { font-size: 36px; }
  .auth-card-wrap { padding: 40px 20px; }
}

/* ============================================
   DASHBOARD
   ============================================ */
.dash-body {
  background: #faf6ef;
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
  font-family: var(--font-sans);
}

/* ---- sidebar ---- */
.dash-side {
  background: #fff;
  border-right: 1px solid var(--line-soft);
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
}
.dash-logo { padding: 0 6px; margin-bottom: 18px; }
.dash-logo .logo-text small { color: var(--orange-4); }

.dash-new {
  width: 100%;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: background .2s;
}
.dash-new:hover { background: #2a1f17; }

.dash-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.dash-nav-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-3);
  padding: 14px 8px 6px;
  font-weight: 600;
}
.dash-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: background .15s, color .15s;
}
.dash-nav a:hover { background: #fbf6f0; color: var(--ink); }
.dash-nav a.active {
  background: rgba(255,106,31,.1);
  color: var(--orange-4);
  font-weight: 600;
}
.dash-nav a > span:first-child {
  width: 20px;
  text-align: center;
  color: var(--orange-3);
  font-size: 14px;
}

.dash-recent { margin-bottom: 18px; }
.dash-recent-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-recent-item:hover { background: #fbf6f0; }
.dash-recent-item span { color: var(--orange-3); }

.dash-user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  border-top: 1px solid var(--line-soft);
}
.dash-user-avatar {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.dash-user-info { flex: 1; min-width: 0; }
.dash-user-name { font-size: 13px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-user-mail { font-size: 11px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-user-out {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  color: var(--ink-3);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.dash-user-out:hover { background: #fbf6f0; color: var(--orange-4); }

/* ---- main ---- */
.dash-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dash-top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 28px;
  background: rgba(250,246,239,.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.dash-search {
  flex: 1; max-width: 480px;
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 8px 14px;
}
.dash-search span { color: var(--ink-3); }
.dash-search input {
  flex: 1; border: none; background: transparent;
  font-family: inherit; font-size: 13px; outline: none;
  color: var(--ink);
}
.dash-top-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.dash-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s;
}
.dash-chip:hover { background: #fbf6f0; }
.dash-chip .live-dot {
  width: 7px; height: 7px;
  background: #27c93f; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(39,201,63,.5);
  animation: livePulse 1.6s ease-out infinite;
}
.dash-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s;
}
.dash-icon:hover { background: #fbf6f0; }

.dash-hero {
  padding: 28px 28px 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.dash-hello h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.dash-hello h1 em {
  background: linear-gradient(135deg, var(--orange-3), var(--orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dash-hello p { color: var(--ink-2); font-size: 14px; }
.dash-hello strong { color: var(--ink); }

.dash-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.dash-q-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-align: left;
}
.dash-q-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26,20,16,.08); border-color: rgba(255,106,31,.3); }
.dash-q-card.primary {
  background: linear-gradient(135deg, #1a1410, #2a1f17);
  border-color: transparent;
  color: #fff;
}
.dash-q-card.primary .dash-q-meta { color: rgba(255,255,255,.6); }
.dash-q-card.primary .dash-q-arrow { color: var(--orange-1); }
.dash-q-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-radius: 10px;
  font-size: 18px;
  flex-shrink: 0;
}
.dash-q-card.primary .dash-q-icon { box-shadow: 0 6px 20px rgba(255,106,31,.4); }
.dash-q-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.dash-q-meta { font-size: 12px; color: var(--ink-3); }
.dash-q-arrow { margin-left: auto; font-size: 18px; color: var(--orange-3); }

/* ---- two-col grid ---- */
.dash-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  padding: 14px 28px 40px;
}
.dash-col-main, .dash-col-side { display: flex; flex-direction: column; gap: 20px; }

.dash-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(26,20,16,.04);
}
.dash-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.dash-card-eye {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-4);
  margin-bottom: 4px;
}
.dash-card-head h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.dash-card-tools { display: flex; gap: 8px; }
.dash-pill {
  background: #fbf6f0;
  border: 1px solid var(--line-soft);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s;
}
.dash-pill:hover { background: #f5ecdf; }
.dash-pill span { font-family: var(--font-mono); color: var(--ink); font-weight: 600; }
.dash-card-link { font-size: 12px; color: var(--orange-4); font-weight: 600; }

/* chat card */
.dash-chat-card .dash-chat {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 360px;
  overflow-y: auto;
}
.dash-input {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  background: #fafafa;
}
.dash-input-add {
  width: 30px; height: 30px;
  background: var(--ink); color: #fff;
  border-radius: 8px; font-weight: 700; font-size: 16px;
  cursor: pointer;
}
.dash-input input {
  flex: 1; border: none; background: transparent;
  font-family: inherit; font-size: 14px; outline: none;
}
.dash-input-send {
  background: linear-gradient(135deg, var(--orange-3), var(--orange-2));
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .2s;
}
.dash-input-send:hover { transform: translateY(-1px); }

/* table */
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.dash-table th, .dash-table td {
  text-align: left;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.dash-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  font-weight: 600;
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-mono { font-family: var(--font-mono); color: var(--orange-4); font-size: 12px; }
.dash-status { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; }
.dash-status.run { background: #fff0e0; color: var(--orange-4); animation: pulseSoft 1.4s ease-in-out infinite; }
.dash-status.ok  { background: #e9f7ec; color: #1f7a35; }
.dash-status.err { background: #fce9e9; color: #c44; }

/* GPU monitor */
.dash-gpu-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px 20px;
}
.dash-gpu-tile {
  background: #fbf6f0;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--line-soft);
}
.dash-gpu-tile p { font-size: 12px; color: var(--ink-2); margin-bottom: 4px; }
.dash-gpu-tile .v {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}
.dash-gpu-tile span {
  display: block;
  height: 4px;
  background: rgba(26,20,16,.06);
  border-radius: 2px;
  overflow: hidden;
}
.dash-gpu-tile span span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--orange-2), var(--orange-3));
  border-radius: 2px;
  transition: width .8s ease;
}
.dash-gpu-tile.warm .v { color: var(--orange-4); }
.dash-gpu-tile.hot { background: linear-gradient(135deg, #ffe0c4, #fff3e2); border-color: rgba(255,106,31,.2); }
.dash-gpu-tile.hot .v { color: var(--orange-4); }

.dash-gpu-foot {
  display: flex; justify-content: space-around;
  padding: 12px 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-3);
}
.dash-gpu-foot strong { color: var(--ink); font-family: var(--font-serif); font-size: 16px; margin-right: 4px; }

/* agents */
.dash-agents { display: flex; flex-direction: column; padding: 8px; }
.dash-agent {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background .15s;
  cursor: pointer;
}
.dash-agent:hover { background: #fbf6f0; }
.dash-agent-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: rgba(255,106,31,.1);
  color: var(--orange-4);
  border-radius: 8px;
  font-size: 14px;
}
.dash-agent-name { font-size: 13px; font-weight: 600; }
.dash-agent-meta { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.dash-pulse {
  margin-left: auto;
  width: 8px; height: 8px;
  background: rgba(26,20,16,.15);
  border-radius: 50%;
}
.dash-pulse.run {
  background: var(--orange-3);
  box-shadow: 0 0 0 0 rgba(255,106,31,.5);
  animation: livePulse 1.4s ease-out infinite;
}

/* tools */
.dash-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px;
}
.dash-tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  background: #fbf6f0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-2);
  font-family: var(--font-mono);
}
.dash-tool i {
  width: 6px; height: 6px;
  background: var(--orange-3);
  border-radius: 50%;
}
.dash-tool.dim { background: transparent; color: var(--ink-3); border-style: dashed; }
.dash-tool.dim i { display: none; }

/* memory */
.dash-mem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.dash-mem-stats > div { display: flex; flex-direction: column; gap: 2px; }
.dash-mem-stats strong { font-family: var(--font-serif); font-size: 22px; color: var(--orange-4); }
.dash-mem-stats span { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }

.dash-mem-list { padding: 10px 12px 14px; }
.dash-mem-list li {
  display: flex; gap: 10px;
  padding: 8px 8px;
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}
.dash-mem-list li:last-child { border-bottom: none; }
.dash-mem-list span {
  display: inline-block;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange-4);
  background: rgba(255,106,31,.1);
  padding: 2px 6px;
  border-radius: 4px;
  height: fit-content;
}

@media (max-width: 1100px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-quick { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-side {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .dash-quick { grid-template-columns: 1fr; }
}

/* ============================================
   LANDING — walking dock strip (product page)
   ============================================ */
.glixy-archived-walking-dock {
  position: relative;
  margin: 36px auto 0;
  max-width: 880px;
  height: 130px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.85));
  border: 1px solid rgba(26,20,16,.06);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(255,106,31,.08), inset 0 1px 0 rgba(255,255,255,.7);
}
.glixy-archived-walking-dock .dock-floor {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(26,20,16,.15) 0 6px, transparent 6px 14px);
}
.glixy-archived-walking-dock .dock-label {
  position: absolute;
  top: 12px; left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-4);
  background: rgba(255,106,31,.1);
  padding: 3px 10px;
  border-radius: 999px;
}
.glixy-archived-walking-dock .dock-meta {
  position: absolute;
  top: 12px; right: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* ============================================
   DOWNLOAD page
   ============================================ */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 16px;
}
.dl-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 4px 14px rgba(26,20,16,.04);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.dl-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(26,20,16,.10); }
.dl-card.featured {
  background: linear-gradient(160deg, #fff8f1, #ffe0c4);
  border-color: rgba(255,106,31,.25);
  box-shadow: 0 20px 50px rgba(255,106,31,.12);
}

.dl-os { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dl-os-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-radius: 12px;
  font-size: 26px;
}
.dl-os-name {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: -0.01em;
}
.dl-os-meta { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.dl-pop {
  margin-left: auto;
  font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
  color: #fff; background: var(--orange-3);
  padding: 4px 10px; border-radius: 999px; font-weight: 700;
}
.dl-desc { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 16px; }
.dl-desc code { font-family: var(--font-mono); background: rgba(26,20,16,.05); padding: 1px 6px; border-radius: 4px; font-size: 12px; }

.dl-cmd {
  position: relative;
  background: #1a1410;
  color: var(--orange-1);
  border-radius: 10px;
  padding: 12px 60px 12px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  margin-bottom: 12px;
  overflow-x: auto;
  white-space: nowrap;
}
.dl-cmd code { color: inherit; }
.dl-copy {
  position: absolute;
  top: 50%; right: 8px;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--font-mono);
  font-weight: 700;
  transition: background .2s;
}
.dl-copy:hover { background: rgba(255,255,255,.2); }

.dl-buttons {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 8px 0 16px;
}
.dl-buttons a { font-size: 13px; padding: 10px 18px; }

.dl-list {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  list-style: none;
}
.dl-list li::before {
  content: "✓";
  color: var(--orange-3); font-weight: 700; margin-right: 8px;
}
.dl-list code { font-family: var(--font-mono); background: rgba(26,20,16,.05); padding: 1px 6px; border-radius: 4px; font-size: 12px; }

/* FAQ */
.dl-faq {
  display: flex; flex-direction: column;
  max-width: 800px; margin: 16px auto 0;
}
.dl-faq details {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 8px;
  transition: box-shadow .2s;
}
.dl-faq details[open] { box-shadow: 0 6px 16px rgba(26,20,16,.06); border-color: rgba(255,106,31,.2); }
.dl-faq summary {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.dl-faq summary::after { content: "+"; font-size: 22px; color: var(--orange-3); }
.dl-faq details[open] summary::after { content: "−"; }
.dl-faq p { margin-top: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.dl-faq code { font-family: var(--font-mono); background: rgba(26,20,16,.05); padding: 1px 6px; border-radius: 4px; font-size: 12px; }

.alt-bg { background: var(--bg-cream); }

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

/* ============================================
   DASHBOARD — SPA additions
   ============================================ */

/* panes / hash routing */
.dash-pane { display: none; padding-bottom: 60px; }
.dash-pane.active { display: block; }
.dash-pane[data-pane="chat"] { padding: 0; }

.dash-page-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 28px 6px;
}
.dash-page-head h1 {
  font-family: var(--font-serif); font-size: 36px;
  letter-spacing: -0.01em;
}
.dash-page-sub {
  padding: 0 28px 22px;
  color: var(--ink-2); font-size: 14px;
}

/* recent chat delete button */
.dash-recent-del {
  margin-left: auto;
  width: 18px; height: 18px;
  display: none; place-items: center;
  background: transparent; color: var(--ink-3);
  font-size: 14px; line-height: 1; border-radius: 4px;
}
.dash-recent-item:hover .dash-recent-del { display: grid; }
.dash-recent-del:hover { background: #fce9e9; color: #c44; }

/* chat top toolbar selects/labels */
.dash-card-tools .dash-pill {
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
  padding: 6px 10px;
}
.dash-card-tools select.dash-pill {
  font-family: var(--font-mono); font-size: 12px;
}
.dash-card-tools input[type="checkbox"] { accent-color: var(--orange-3); margin: 0; }

/* chat layout */
.dash-chat-area {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  padding: 14px 28px 40px;
}
@media (max-width: 1100px) { .dash-chat-area { grid-template-columns: 1fr; } }

/* generic list */
.dash-list {
  list-style: none;
  padding: 0 28px 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.dash-list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 12px;
  font-size: 13.5px;
}
.dash-list-stack { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dash-list-text { color: var(--ink); font-size: 14px; }
.dash-list-meta { color: var(--ink-3); font-size: 12px; font-family: var(--font-mono); }
.dash-list-del:hover { background: #fce9e9; color: #c44; }

/* form rows */
.dash-form { display: flex; flex-direction: column; gap: 12px; }
.dash-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-2); font-weight: 500; }
.dash-form input, .dash-form textarea, .dash-form select {
  padding: 10px 12px; background: #fafafa;
  border: 1px solid var(--line-soft); border-radius: 8px;
  font-family: inherit; font-size: 14px; outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.dash-form input:focus, .dash-form textarea:focus, .dash-form select:focus {
  border-color: var(--orange-3); background: #fff;
  box-shadow: 0 0 0 3px rgba(255,106,31,.12);
}
.dash-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-form small { font-size: 11px; color: var(--orange-4); font-weight: 500; margin-left: 4px; }
.dash-checkbox-row { flex-direction: row !important; align-items: center; gap: 8px !important; }
.dash-checkbox-row input { accent-color: var(--orange-3); }

/* form-row in card */
.dash-form-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 10px;
  margin: 0 28px 18px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.dash-form-row select, .dash-form-row input, .dash-form-row textarea {
  padding: 9px 12px; background: #fafafa;
  border: 1px solid var(--line-soft); border-radius: 8px;
  font-family: inherit; font-size: 13px; outline: none;
}
.dash-form-row textarea { grid-column: 2 / 3; resize: vertical; min-height: 38px; }
.dash-form-row button {
  background: var(--ink); color: #fff;
  padding: 9px 16px; border-radius: 8px; font-weight: 600; font-size: 13px;
  cursor: pointer;
}

/* memory stats */
.dash-mem-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 14px;
  margin: 0 28px 18px;
}
.dash-mem-stats > div {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.dash-mem-stats strong { font-family: var(--font-serif); font-size: 28px; color: var(--orange-4); }
.dash-mem-stats span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }

.dash-mem-type {
  flex-shrink: 0;
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: .08em;
  background: rgba(255,106,31,.10); color: var(--orange-4);
  padding: 3px 7px; border-radius: 4px;
}

/* agent cards grid */
.dash-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  padding: 0 28px 28px;
}
.dash-agent-card { padding-bottom: 0; }

/* tool cards */
.dash-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding: 0 28px 28px;
}
.dash-tool-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 14px 16px;
}
.dash-tool-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.dash-tool-head strong { font-family: var(--font-mono); font-size: 13px; flex: 1; }
.dash-tool-head .dash-tool-bullet {
  width: 8px; height: 8px; background: var(--orange-3); border-radius: 50%;
}
.dash-tool-card p { font-size: 12.5px; color: var(--ink-2); }

/* toggle */
.dash-toggle {
  position: relative; display: inline-block; width: 34px; height: 20px;
  flex-shrink: 0;
}
.dash-toggle input { opacity: 0; width: 0; height: 0; }
.dash-toggle span {
  position: absolute; cursor: pointer; inset: 0;
  background: rgba(26,20,16,.15);
  border-radius: 20px;
  transition: .25s;
}
.dash-toggle span::before {
  content: ""; position: absolute;
  height: 14px; width: 14px;
  left: 3px; top: 3px;
  background: #fff; border-radius: 50%;
  transition: .25s;
  box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.dash-toggle input:checked + span { background: var(--orange-3); }
.dash-toggle input:checked + span::before { transform: translateX(14px); }

/* upload zone */
.dash-upload {
  margin: 0 28px 14px;
  padding: 32px 24px;
  background: #fff;
  border: 2px dashed rgba(26,20,16,.15);
  border-radius: 14px;
  text-align: center;
  transition: border-color .2s, background .2s;
}
.dash-upload.drag { border-color: var(--orange-3); background: #fff5ec; }
.dash-upload-icon {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--orange-2), var(--orange-3));
  color: #fff;
  border-radius: 12px; font-size: 22px;
  margin-bottom: 10px;
}
.dash-upload p { font-size: 14px; color: var(--ink-2); margin: 4px 0; }
.dash-upload-meta { font-size: 11px; color: var(--ink-3); }
.dash-link-btn {
  background: none; color: var(--orange-4); font-weight: 600;
  text-decoration: underline; cursor: pointer; padding: 0;
}

/* build templates */
.dash-build-templates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  padding: 0 28px 8px;
}
.dash-template {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 12px;
  text-align: left; cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.dash-template:hover { transform: translateY(-2px); border-color: rgba(255,106,31,.3); }
.dash-template > span:first-child {
  font-size: 26px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255,106,31,.1); border-radius: 10px;
}
.dash-template strong { font-size: 14px; }
.dash-template p { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* crew trace */
.dash-crew-trace {
  padding: 0 20px 18px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px;
  max-height: 400px;
  overflow-y: auto;
}
.dash-crew-row {
  background: #fbf6f0; border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 8px 12px;
}
.dash-crew-row.text-row { background: #fff; border-color: rgba(255,106,31,.15); }
.dash-crew-row .dash-mono {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--font-mono); font-size: 11px;
  background: var(--ink); color: #fff;
  padding: 2px 6px; border-radius: 4px;
}

/* code output */
.dash-code-out {
  background: #1a1410; color: var(--orange-1);
  padding: 14px; border-radius: 10px;
  font-family: var(--font-mono); font-size: 12px;
  white-space: pre-wrap; word-break: break-all;
  max-height: 280px; overflow-y: auto;
}

/* modal */
.dash-modal {
  position: fixed; inset: 0;
  background: rgba(26,20,16,.5);
  display: none; align-items: center; justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}
.dash-modal.open { display: flex; }
.dash-modal-card {
  background: #fff; border-radius: 16px;
  width: 100%; max-width: 480px;
  padding: 28px 24px;
  box-shadow: 0 30px 80px rgba(26,20,16,.3);
  animation: scaleIn .2s var(--ease-out);
}
@keyframes scaleIn { from { transform: scale(.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.dash-modal-card h3 {
  font-family: var(--font-serif); font-size: 26px; margin-bottom: 16px;
}
.dash-modal-card form {
  display: flex; flex-direction: column; gap: 12px;
}
.dash-modal-card label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: var(--ink-2); font-weight: 500;
}
.dash-modal-card input, .dash-modal-card textarea, .dash-modal-card select {
  padding: 10px 12px; background: #fafafa;
  border: 1px solid var(--line-soft); border-radius: 8px;
  font-family: inherit; font-size: 14px; outline: none;
}
.dash-modal-card input:focus, .dash-modal-card textarea:focus, .dash-modal-card select:focus {
  border-color: var(--orange-3); background: #fff;
  box-shadow: 0 0 0 3px rgba(255,106,31,.12);
}
.dash-modal-foot {
  display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px;
}
.dash-modal-cancel {
  padding: 9px 16px; background: #fbf6f0; border: 1px solid var(--line-soft);
  border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--ink-2);
}

/* auth error message */
.auth-error {
  display: none;
  padding: 10px 14px;
  background: #fce9e9; color: #c44;
  border-radius: 8px;
  font-size: 13px; margin-bottom: 12px;
  border: 1px solid rgba(196,68,68,.2);
}
.auth-error.show { display: block; animation: fadeIn .2s ease; }

/* sidebar memory list */
.dash-memory .dash-mem-list {
  list-style: none; padding: 8px 12px;
}
.dash-memory .dash-mem-list li {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 6px 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
}
.dash-memory .dash-mem-list li:last-child { border-bottom: none; }
.dash-memory .dash-mem-list span {
  flex-shrink: 0;
  font-family: var(--font-mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: .08em;
  background: rgba(255,106,31,.10); color: var(--orange-4);
  padding: 2px 5px; border-radius: 4px; height: fit-content;
  margin-top: 1px;
}

/* workflow row */
.dash-wf > * { flex-shrink: 0; }
.dash-wf .dash-list-stack { flex: 1; }

/* usage card (replaces GPU monitor on personal dashboard) */
.dash-usage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 16px 20px;
}
.dash-usage-grid > div {
  display: flex; flex-direction: column; gap: 4px;
  background: #fbf6f0;
  border-radius: 10px;
  padding: 12px 14px;
}
.dash-usage-grid strong {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--orange-4);
  line-height: 1;
}
.dash-usage-grid span {
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* =========================================================
   PRISMA-STYLE CINEMATIC HERO (overrides for index hero)
   Dark inset frame, video bg, noise, cream typography.
   ========================================================= */

:root {
  --cinema-cream: #E1E0CC;
  --cinema-cream-soft: rgba(225, 224, 204, 0.72);
  --cinema-cream-dim: rgba(225, 224, 204, 0.55);
  --cinema-bg: #050505;
  --cinema-card: #101010;
  --cinema-radius: clamp(16px, 2.4vw, 32px);
}

/* Base hero — replace cream gradient with deep black canvas */
.hero {
  background: var(--cinema-bg);
  padding: 16px 16px 36px;
  overflow: visible;
}
@media (min-width: 768px) {
  .hero { padding: 22px 24px 64px; }
}

/* Hide the legacy decorative layers — video + noise replace them */
.hero > .particles,
.hero > .aurora,
.hero > .hero-grid,
.hero > .hero-glow,
.hero > .hero-orb,
.hero > .constellation { display: none !important; }

/* Inset rounded cinematic frame */
.hero-frame {
  position: relative;
  width: 100%;
  height: calc(100vh - 110px);
  min-height: 560px;
  max-height: 880px;
  border-radius: var(--cinema-radius);
  overflow: hidden;
  isolation: isolate;
  background: #0a0a0a;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(225, 224, 204, 0.04) inset;
}

/* Background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.05) contrast(1.05);
}

/* SVG fractal noise overlay (Prisma .noise-overlay) */
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.7;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* Bottom-to-top cinematic gradient veil */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.78) 100%);
}

/* Frame content layer */
.hero-frame-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 22px 30px;
  font-family: 'Almarai', var(--font-sans);
}
@media (min-width: 768px) {
  .hero-frame-inner { padding: 28px 36px 44px; }
}
@media (min-width: 1200px) {
  .hero-frame-inner { padding: 34px 56px 54px; }
}

/* Cinematic NEW pill (top-left) */
.pill.pill--cinematic {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(225, 224, 204, 0.18);
  color: var(--cinema-cream);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: 'Almarai', var(--font-sans);
}
.pill.pill--cinematic .pill-tag {
  background: var(--cinema-cream);
  color: #000;
  font-weight: 800;
}
.pill.pill--cinematic .pill-text { color: var(--cinema-cream-soft); font-weight: 400; }
.pill.pill--cinematic .pill-arrow { color: var(--cinema-cream); }
.pill.pill--cinematic:hover {
  background: rgba(0, 0, 0, 0.75);
  border-color: rgba(225, 224, 204, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Bottom-aligned hero content */
.hero-bottom { width: 100%; }
.hero-bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: end;
}
@media (min-width: 900px) {
  .hero-bottom-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
  }
  .hero-heading-col { grid-column: span 8; }
  .hero-side-col { grid-column: span 4; }
}

/* Cinematic title — large cream typography, Almarai */
.hero-title.hero-title--cinematic {
  font-family: 'Almarai', var(--font-sans);
  font-weight: 700;
  color: var(--cinema-cream);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
  max-width: none;
  text-align: left;
  font-size: clamp(40px, 9vw, 132px);
}
@media (min-width: 1200px) {
  .hero-title.hero-title--cinematic { font-size: clamp(72px, 8.4vw, 148px); }
}

/* Italic accent uses Instrument Serif on dark, cream */
.hero-title.hero-title--cinematic em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: none;
  -webkit-text-fill-color: var(--cinema-cream);
  color: var(--cinema-cream);
  animation: none;
  letter-spacing: -0.02em;
}

/* Rotator on dark — keep gradient warm-orange shimmer for accent */
.hero-title.hero-title--cinematic .rotator {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.hero-title.hero-title--cinematic .rotator .word {
  background: linear-gradient(120deg, #ffb37a 0%, #ff8a3d 35%, #ffd7b0 70%, #ffb37a 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Side column: sub copy */
.hero-sub.hero-sub--cinematic {
  font-family: 'Almarai', var(--font-sans);
  color: var(--cinema-cream-soft);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.45;
  margin: 0 0 18px;
  text-align: left;
  max-width: 380px;
}

/* Cinematic CTA group */
.hero-cta.hero-cta--cinematic {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin: 0 0 22px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 20px;
  background: var(--cinema-cream);
  color: #000;
  border-radius: 999px;
  font-family: 'Almarai', var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  transition: gap 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.cta-pill:hover { gap: 14px; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(225, 224, 204, 0.18); }
.cta-pill-text { line-height: 1; }
.cta-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #000;
  color: var(--cinema-cream);
  font-size: 14px;
  transition: transform 0.25s var(--ease);
}
.cta-pill:hover .cta-pill-icon { transform: scale(1.08); }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(225, 224, 204, 0.24);
  color: var(--cinema-cream);
  font-family: 'Almarai', var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.cta-ghost:hover { background: rgba(0, 0, 0, 0.65); border-color: rgba(225, 224, 204, 0.5); gap: 12px; }
.cta-ghost-arrow { font-size: 14px; }

/* Hero tags re-styled for dark cinematic */
.hero-tags.hero-tags--cinematic {
  margin: 0;
  gap: 10px 18px;
  justify-content: flex-start;
  font-family: 'Almarai', var(--font-sans);
  font-size: 11px;
  color: var(--cinema-cream-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-tags.hero-tags--cinematic i {
  background: var(--cinema-cream);
  box-shadow: 0 0 0 4px rgba(225, 224, 204, 0.12);
}

/* GPU rack visual — sit on dark canvas under the frame */
.hero-visual.hero-visual--cinematic {
  margin-top: 36px;
}
.hero-visual.hero-visual--cinematic .gpu-rack {
  background: #0c0c0c;
  border: 1px solid rgba(225, 224, 204, 0.10);
  color: var(--cinema-cream);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(225, 224, 204, 0.04) inset;
}
.hero-visual.hero-visual--cinematic .gpu-rack-head {
  border-bottom-color: rgba(225, 224, 204, 0.10);
}
.hero-visual.hero-visual--cinematic .gpu-rack-foot {
  border-top-color: rgba(225, 224, 204, 0.10);
}
.hero-visual.hero-visual--cinematic .gpu-rack-meta { color: var(--cinema-cream-dim); }
.hero-visual.hero-visual--cinematic .gpu-rack-meta span strong { color: var(--cinema-cream); }
.hero-visual.hero-visual--cinematic .gpu-cell {
  background: linear-gradient(135deg, #161616, #1c1c1c);
  border-color: rgba(225, 224, 204, 0.08);
  color: var(--cinema-cream-dim);
}
.hero-visual.hero-visual--cinematic .gpu-cell.warm {
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.18), rgba(255, 106, 31, 0.10));
  color: #ffd7b0;
  border-color: rgba(255, 138, 61, 0.22);
}
.hero-visual.hero-visual--cinematic .gpu-cell.active {
  background: linear-gradient(135deg, var(--orange-3), var(--orange-2));
  color: #fff;
  border-color: transparent;
}
.hero-visual.hero-visual--cinematic .hero-floats { display: none; }

/* Mobile adjustments */
@media (max-width: 640px) {
  .hero-frame { height: auto; min-height: 540px; max-height: none; aspect-ratio: 9 / 14; }
  .hero-frame-inner { padding: 18px 16px 22px; }
  .hero-title.hero-title--cinematic { font-size: clamp(40px, 16vw, 84px); }
  .hero-sub.hero-sub--cinematic { font-size: 13px; }
  .pill.pill--cinematic { font-size: 11px; padding: 4px 12px 4px 4px; }
  .pill.pill--cinematic .pill-tag { font-size: 9px; padding: 2px 7px; }
  .hero-tags.hero-tags--cinematic { font-size: 10px; gap: 6px 12px; }
  .hero-visual.hero-visual--cinematic .gpu-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .hero-visual.hero-visual--cinematic .gpu-rack-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 11px; }
  .hero-visual.hero-visual--cinematic .gpu-rack-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-frame { background: linear-gradient(160deg, #1a1a1a, #0a0a0a 60%, #050505); }
}

/* ============================================
   MOBILE FIX PASS — site-wide responsiveness
   Appended last so it overrides earlier rules.
   ============================================ */

/* prevent any rogue element from causing horizontal scroll on phones */
@media (max-width: 900px) {
  html, body { max-width: 100%; overflow-x: hidden; }
}
img, svg, video, canvas { max-width: 100%; height: auto; }

/* ---------- TOP NAV (hamburger drawer) ---------- */
@media (max-width: 900px) {
  .nav-inner { height: 60px; gap: 12px; position: relative; }
  .nav-toggle { display: flex; }
  .nav-actions { display: none; }

  .nav-menu {
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 8px 0;
    box-shadow: 0 12px 24px rgba(26, 20, 16, 0.08);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu > a,
  .nav-menu .nav-dropdown > button {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-menu > a::after,
  .nav-menu .nav-dropdown > button::after { display: none; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 4px 12px 8px;
    min-width: 0;
    background: var(--cream, #fdf6ec);
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { transform: none; }
  .nav-dropdown-menu::before { display: none; }
}

/* ---------- AUTH (login/signup) ---------- */
@media (max-width: 720px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { min-height: 0; padding: 24px 18px 16px; }
  .auth-brand-body { margin-top: 16px; }
  .auth-headline { font-size: clamp(26px, 6.4vw, 36px); line-height: 1.15; }
  .auth-tag { font-size: 14px; }
  .auth-checks { font-size: 13px; }
  .auth-dock { display: none; }            /* hide mascot dock on mobile */
  .auth-foot { display: none; }
  .auth-card-wrap { padding: 20px 14px 32px; }
  .auth-card { padding: 22px 18px; border-radius: 16px; }
  .auth-card-head h2 { font-size: 22px; }
  .auth-card-head p  { font-size: 14px; }
  .auth-row-2 { grid-template-columns: 1fr; gap: 10px; }
  .auth-providers { gap: 8px; }
  .auth-btn { padding: 12px 14px; font-size: 14px; }
}
@media (max-width: 480px) {
  .auth-card { padding: 18px 14px; }
  .auth-back { font-size: 13px; }
}

/* ---------- HERO ---------- */
@media (max-width: 720px) {
  .hero { padding: 36px 0 28px; }
  .hero.compact { padding: 32px 0 24px; }
  .hero-glow { display: none; }
  .hero-title { font-size: clamp(30px, 8vw, 48px); margin: 16px auto 14px; }
  .hero-sub { font-size: 15px; }
  .hero-cta { gap: 10px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 480px) {
  .hero { padding: 24px 0 18px; }
  .pill { font-size: 11px; padding: 4px 10px 4px 4px; }
  .hero-title { font-size: clamp(26px, 9vw, 40px); }
  .hero-sub { font-size: 14px; }
}

/* ---------- DASHBOARD (stacks single-column) ---------- */
@media (max-width: 960px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-side {
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
    padding: 14px 14px 10px;
  }
  .dash-side .dash-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .dash-side .dash-nav a { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  .dash-top { padding: 12px 14px; flex-wrap: wrap; gap: 10px; }
  .dash-search { max-width: 100%; flex: 1 1 100%; order: 3; }
  .dash-grid,
  .dash-grid-2,
  .dash-grid-3,
  .dash-mem-stats,
  .dash-form-row,
  .dash-quick { grid-template-columns: 1fr; }
  .dash-chat-area { grid-template-columns: 1fr; }
  .dash-card, .dash-panel { padding: 16px; }
}
@media (min-width: 540px) and (max-width: 960px) {
  .dash-quick { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- ADMIN (mirror dashboard fixes for safety) ---------- */
@media (max-width: 720px) {
  .a-top-search { max-width: 100% !important; }
  .a-stat-grid, .a-grid-2, .a-grid-3 { grid-template-columns: 1fr !important; }
}

/* ---------- MISCELLANEOUS GRIDS WITHOUT MOBILE OVERRIDES ---------- */
@media (max-width: 720px) {
  .oss-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid, .docs-grid, .resource-grid, .blog-grid { grid-template-columns: 1fr; }
  .pricing-grid, .price-grid, .plan-grid { grid-template-columns: 1fr; }
  .feature-grid, .features-grid { grid-template-columns: 1fr; }
  .case-grid, .case-studies-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .oss-grid { grid-template-columns: 1fr; }
}

/* ---------- TABLES & WIDE CONTENT ---------- */
@media (max-width: 720px) {
  table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  pre, code { white-space: pre-wrap; word-break: break-word; }
}

/* ---------- SECTION-LEVEL TIGHTENING ---------- */
@media (max-width: 480px) {
  section, .section { padding-left: 0; padding-right: 0; }
  .container { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: clamp(28px, 8vw, 40px); }
  h2 { font-size: clamp(24px, 6vw, 32px); }
  h3 { font-size: clamp(18px, 5vw, 22px); }
  .btn, .btn-primary, .btn-secondary, .btn-ghost { padding: 11px 16px; font-size: 14px; }
}

/* ============================================
   ROI CALCULATOR
   ============================================ */
.roi-calc-section { padding: 100px 0; background: var(--bg); }
.roi-card {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 18px 50px rgba(26,20,16,.06);
}
.roi-form { display: flex; flex-direction: column; gap: 28px; }
.roi-inputs { display: grid; grid-template-columns: 1.4fr 1.6fr 1.4fr; gap: 18px; }
.roi-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.roi-field > span {
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); font-weight: 600;
}
.roi-input-wrap {
  display: flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: var(--bg);
  padding: 0 14px;
}
.roi-input-wrap:focus-within { border-color: var(--orange-3); background: #fff; }
.roi-prefix, .roi-suffix { color: var(--ink-3); font-size: 14px; }
.roi-input-wrap input {
  flex: 1; border: 0; background: transparent;
  padding: 13px 0; font-family: inherit; font-size: 15px; color: var(--ink);
  outline: none;
}
.roi-field select {
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 11px;
  background: var(--bg); font-family: inherit; font-size: 15px; color: var(--ink);
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23a09a92' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.roi-field select:focus { outline: none; border-color: var(--orange-3); background-color: #fff; }

.roi-result {
  background: linear-gradient(135deg, #fff5ed 0%, #fff 100%);
  border: 1px solid #ffe1c8;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.roi-result-row { display: flex; justify-content: space-between; align-items: baseline; }
.roi-label { font-size: 14px; color: var(--ink-2); }
.roi-glixy { font-family: var(--font-serif); font-size: 26px; color: var(--ink); }
.roi-aws { font-family: var(--font-serif); font-size: 22px; color: var(--ink-3); text-decoration: line-through; }
.roi-result-row.big { padding-top: 12px; border-top: 1px dashed #ffd7b8; }
.roi-result-row.big .roi-label { font-size: 16px; color: var(--ink); font-weight: 600; }
.roi-savings { font-family: var(--font-serif); font-size: 38px; color: var(--orange-3); font-weight: 700; }
.roi-note { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

.roi-lead {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
}
.roi-lead h4 { font-size: 15px; margin-bottom: 14px; color: var(--ink-2); font-weight: 600; }
.roi-lead-row {
  display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px;
}
.roi-lead-row input {
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 11px;
  background: var(--bg); font-family: inherit; font-size: 14px; color: var(--ink);
  outline: none; min-width: 0;
}
.roi-lead-row input:focus { border-color: var(--orange-3); background: #fff; }
.roi-lead-status { font-size: 13px; margin-top: 10px; min-height: 18px; }
.roi-lead-status.ok  { color: #1f7a35; }
.roi-lead-status.err { color: #b04030; }

@media (max-width: 900px) {
  .roi-inputs { grid-template-columns: 1fr; }
  .roi-lead-row { grid-template-columns: 1fr; }
}

/* ============================================
   CASE STUDIES — structured format
   ============================================ */
.cs-section { padding: 90px 0; background: var(--bg); }
.cs-section--featured { background: linear-gradient(180deg, #fff8f2, var(--bg)); padding-top: 60px; }

.cs-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 32px 34px;
  margin-top: 28px;
  box-shadow: 0 4px 16px rgba(26,20,16,.04);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cs-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(26,20,16,.08); }
.cs-card--featured {
  border: 1.5px solid var(--orange-2, #ffb088);
  background: linear-gradient(135deg, #fff 0%, #fffaf5 100%);
  padding: 38px 42px;
}

.cs-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px solid var(--line-soft);
  margin-bottom: 26px;
}
.cs-co { display: flex; align-items: center; gap: 14px; }
.cs-co-logo {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--orange-2, #ffb088), var(--orange-3));
  color: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
}
.cs-co-logo--blue   { background: linear-gradient(135deg, #6c9bff, #3a6fdb); }
.cs-co-logo--green  { background: linear-gradient(135deg, #6ad88a, #2da45a); }
.cs-co-logo--purple { background: linear-gradient(135deg, #c084fc, #8a4ad5); }
.cs-co-name { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0; }
.cs-co-meta { font-size: 12.5px; color: var(--ink-3); margin: 2px 0 0; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-tag {
  background: #fff5ed; color: var(--orange-3);
  border: 1px solid #ffd7b8;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em;
}

.cs-headline {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2; letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 28px;
}
.cs-headline em { color: var(--orange-3); font-style: normal; }
.cs-card--featured .cs-headline { font-size: clamp(26px, 3.4vw, 38px); }

.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.cs-grid--compact { gap: 18px; }
.cs-card--featured .cs-grid {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.cs-block {
  background: var(--bg);
  border-radius: 14px;
  padding: 18px 20px;
}
.cs-block p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.cs-step {
  display: inline-block;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--orange-3);
  background: #fff;
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid #ffd7b8;
  margin-bottom: 10px;
}

.cs-timeline { list-style: none; padding: 0; margin: 0; }
.cs-timeline li {
  position: relative; padding-left: 22px;
  font-size: 13.5px; color: var(--ink-2);
  margin-bottom: 8px; line-height: 1.5;
}
.cs-timeline li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange-3);
}
.cs-timeline li::after {
  content: ""; position: absolute; left: 3.5px; top: 18px;
  width: 1px; bottom: -6px;
  background: var(--line);
}
.cs-timeline li:last-child::after { display: none; }
.cs-timeline strong { color: var(--ink); }

.cs-metrics { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cs-metrics th, .cs-metrics td {
  padding: 8px 0; text-align: left;
  border-bottom: 1px dashed var(--line);
}
.cs-metrics th {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); font-weight: 600;
}
.cs-metrics td:last-child { text-align: right; }
.cs-metrics strong { font-family: var(--font-serif); font-size: 17px; color: var(--orange-3); }
.cs-metrics tr:last-child td { border-bottom: none; }

.cs-quote {
  margin: 0;
  padding: 18px 22px;
  background: var(--bg);
  border-left: 3px solid var(--orange-3);
  border-radius: 8px;
  font-size: 14.5px;
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.55;
}
.cs-quote cite {
  display: block;
  font-style: normal;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.cs-grid-cards { display: flex; flex-direction: column; gap: 24px; }

@media (max-width: 760px) {
  .cs-card, .cs-card--featured { padding: 26px 22px; }
  .cs-grid, .cs-card--featured .cs-grid { grid-template-columns: 1fr; }
  .cs-head { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   ARCHITECTURE DIAGRAM
   ============================================ */
.arch-section { padding: 100px 0; background: linear-gradient(180deg, #fff, #fff8f2); }
.arch-diagram {
  position: relative;
  margin-top: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.arch-node {
  background: #fff;
  border: 1.5px solid var(--line-soft);
  border-radius: 14px;
  padding: 16px 22px;
  display: flex; align-items: center; gap: 14px;
  min-width: 320px;
  box-shadow: 0 4px 14px rgba(26,20,16,.04);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.arch-node:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26,20,16,.10); }
.arch-icon { font-size: 24px; color: var(--orange-3); }
.arch-text { display: flex; flex-direction: column; }
.arch-text b { font-size: 15px; color: var(--ink); }
.arch-text small { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.arch-user { background: #fff8f2; border-color: #ffd7b8; }
.arch-llm  { background: #fff8f2; border-color: #ffd7b8; }
.arch-vec  { background: #f2f7ff; border-color: #c8dcff; }
.arch-vec .arch-icon { color: #4a78d8; }
.arch-gpu  { background: #1a1410; color: #fff; border-color: #1a1410; }
.arch-gpu .arch-text b { color: #fff; }
.arch-gpu .arch-text small { color: rgba(255,255,255,.7); }
.arch-gpu .arch-icon { color: var(--orange-2); }
.arch-arrow {
  color: var(--orange-3); font-size: 22px; line-height: 1; font-weight: 700;
}
.arch-row { display: flex; gap: 16px; }
.arch-row .arch-node { min-width: 230px; }
.arch-sidebar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
  width: 100%;
}
.arch-side-item {
  background: rgba(255,255,255,.7);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.arch-side-item b { display: block; font-size: 13px; color: var(--ink); margin-bottom: 4px; }
.arch-side-item small { font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 700px) {
  .arch-row { flex-direction: column; gap: 14px; }
  .arch-node { min-width: 0; width: 100%; }
  .arch-sidebar { grid-template-columns: 1fr; }
}

