/* ============================================
   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.1); }
  66%      { transform: translate(-30px, 20px) scale(0.95); }
}
@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); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  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:hover .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: 8px; }

.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;
}

/* ============ 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-color: var(--orange-2);
  background: linear-gradient(180deg, #fff5e9, #ffffff);
  box-shadow: 0 20px 50px rgba(255, 106, 31, 0.15);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  animation: badgeIn 0.6s var(--ease-out) both;
}
.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); }

/* ============ 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: var(--ink);
  border-radius: var(--radius-xl);
  padding: 90px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-glow {
  position: absolute;
  inset: 0;
  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;
}
.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: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand { max-width: 300px; }
.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-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .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, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { max-width: 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;
  }
}
