/* ==========================================================
   JUX Technologies — Obsidian Aurora Design System
   Award-Winning, High-Precision Studio Aesthetic
   Built with Vanilla CSS • Linear / Vercel / Stripe Standard
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── 1. Design Tokens ── */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Obsidian Palette */
  --bg-main: #08090D;
  --bg-primary: #08090D;
  --bg-secondary: #0D0F17;
  --bg-surface: #121520;
  --bg-card: rgba(18, 21, 32, 0.7);
  --bg-card-hover: rgba(26, 31, 48, 0.85);
  --bg-glass: rgba(18, 21, 32, 0.6);

  /* Electric Accents */
  --primary: #6366F1;
  --primary-light: #818CF8;
  --primary-hover: #4F46E5;
  --accent-cyan: #38BDF8;
  --accent-violet: #A855F7;
  --accent-emerald: #10B981;

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-accent: #818CF8;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(99, 102, 241, 0.45);
  
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(99, 102, 241, 0.1);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.25);

  /* Geometry & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --nav-height: 80px;
  --max-width: 1240px;

  /* Mouse tracking defaults */
  --mouse-x: -999px;
  --mouse-y: -999px;
}

/* ── 2. Reset & Global Styles ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

body {
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

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

/* Section Spacing */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

/* Section Headers */
.section-header {
  margin-bottom: 56px;
  max-width: 720px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 14px 0 16px;
  color: #FFFFFF;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── 3. Animated Aurora Mesh Background ── */
.aurora-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
  will-change: transform;
}

.aurora-orb-1 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, #6366F1 0%, rgba(99, 102, 241, 0) 70%);
  top: -200px;
  left: 20%;
  animation: auroraFloat1 22s ease-in-out infinite alternate;
}

.aurora-orb-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #06B6D4 0%, rgba(6, 182, 212, 0) 70%);
  top: 15%;
  right: -100px;
  animation: auroraFloat2 26s ease-in-out infinite alternate;
}

.aurora-orb-3 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #8B5CF6 0%, rgba(139, 92, 246, 0) 70%);
  bottom: 10%;
  left: -200px;
  animation: auroraFloat3 30s ease-in-out infinite alternate;
}

.aurora-orb-4 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #38BDF8 0%, rgba(56, 189, 248, 0) 70%);
  top: 45%;
  right: 15%;
  animation: auroraFloat4 25s ease-in-out infinite alternate;
}

@keyframes auroraFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); }
  100% { transform: translate(-80px, 140px) scale(0.95); }
}

@keyframes auroraFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, -60px) scale(1.1); }
  100% { transform: translate(60px, 90px) scale(0.9); }
}

@keyframes auroraFloat3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, -110px) scale(1.12); }
  100% { transform: translate(-50px, -40px) scale(0.92); }
}

@keyframes auroraFloat4 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, 90px) scale(1.15); }
  100% { transform: translate(70px, -70px) scale(0.9); }
}

/* Subtle Grid Texture */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 80%);
}

/* ── 4. Navigation (Glassmorphic Bar) ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-scrolled,
.nav.scrolled {
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(99, 102, 241, 0.75));
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover .logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 0 22px rgba(6, 182, 212, 0.95)) drop-shadow(0 0 8px #FFFFFF);
  transform: scale(1.06);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 101;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366F1, #38BDF8);
  transition: width 0.1s ease-out;
}

/* ── 5. Buttons & Pills ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary,
.btn-cinematic {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.4), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-primary::after,
.btn-cinematic::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 35%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 65%
  );
  transform: rotate(25deg);
  animation: btnGlint 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btnGlint {
  0% { transform: translateX(-150%) rotate(25deg); }
  25%, 100% { transform: translateX(150%) rotate(25deg); }
}

.btn-primary:hover,
.btn-cinematic:hover {
  background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
  box-shadow: 0 0 36px rgba(99, 102, 241, 0.65), 0 4px 14px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-white-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: #F8FAFC;
  backdrop-filter: blur(8px);
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-light);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* Pills & Badges */
.eyebrow-pill,
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--primary-light);
  text-transform: uppercase;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #A7F3D0;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ── 6. Hero Section (Compact & Striking) ── */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 50px);
  padding-bottom: 70px;
  z-index: 2;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title-cinematic {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 20px auto 24px;
  text-wrap: balance;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #A5B4FC 25%, #38BDF8 50%, #C084FC 75%, #FFFFFF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: textShimmer 7s linear infinite;
}

@keyframes textShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-description-cinematic {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 30px;
  line-height: 1.65;
}

.hero-actions-cinematic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  max-width: 760px;
  margin: 0 auto;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat b {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.stat b em {
  font-style: normal;
  color: var(--primary-light);
  font-size: 1.1rem;
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── 7. Interactive Hero Showcase Stage ── */
.hero-stage {
  margin-top: 50px;
  position: relative;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.showcase-switcher {
  display: inline-flex;
  background: rgba(18, 21, 32, 0.8);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 6px;
  gap: 6px;
  margin-bottom: 24px;
  backdrop-filter: blur(16px);
}

.showcase-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.showcase-tab:hover {
  color: #FFFFFF;
}

.showcase-tab.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.4);
}

.hero-stage-mockup {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12) 0%, rgba(18, 21, 32, 0.7) 70%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 0.4s ease;
}

/* Animated Border-Beam Effect */
.hero-stage-mockup::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from 0deg, transparent 0%, transparent 60%, #6366F1 80%, #38BDF8 95%, transparent 100%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderBeam 8s linear infinite;
  pointer-events: none;
}

@keyframes borderBeam {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.mockup-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(10, 12, 18, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -24px -24px 18px -24px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.window-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #34D399;
  font-weight: 700;
}

.window-status .pulse-mini {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}

.hero-stage-mockup img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Floating Telemetry Badges */
.telemetry-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(14, 17, 26, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 16px rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(16px);
  z-index: 3;
  pointer-events: none;
}

.badge-top-left {
  top: 30px;
  left: -20px;
  animation: floatSlow 5.5s ease-in-out infinite alternate;
}

.badge-mid-right {
  top: 45%;
  right: -25px;
  animation: floatMed 6.8s ease-in-out infinite alternate-reverse;
}

.badge-bottom-right {
  bottom: 30px;
  right: 30px;
  animation: floatFast 4.8s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes floatMed {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(14px) rotate(1deg); }
}

@keyframes floatFast {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(0.8deg); }
}

.telemetry-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.telemetry-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.telemetry-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.telemetry-val span {
  color: var(--accent-cyan);
}

/* ── 8. Kinetic Marquee ── */
.marquee {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(13, 15, 23, 0.6);
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  gap: 32px;
}

.marquee-track span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marquee-track span i {
  color: var(--primary);
  font-style: normal;
  margin: 0 16px;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 9. Bento Grid & Capability Cards ── */
.bento-grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.bento-card,
.pillar-card,
.capability-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Spotlight Follower inside Bento Card */
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(99, 102, 241, 0.12), transparent 60%);
  pointer-events: none;
  opacity: 1;
  z-index: 0;
}

.bento-card:hover,
.pillar-card:hover,
.capability-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.15);
  transform: translateY(-4px);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.bento-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.feature-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-list li::before {
  content: '✓';
  color: var(--primary-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* Pillar Mini-HUDs */
.pillar-mini-hud {
  margin: 16px 0 20px;
  padding: 14px;
  background: rgba(10, 12, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.pillar-mini-hud.highlight {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.08);
}

.hud-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.hud-method {
  color: var(--primary-light);
  font-weight: 700;
}

.hud-status {
  color: #34D399;
  font-weight: 700;
}

.hud-time {
  color: var(--accent-cyan);
  margin-left: auto;
}

.hud-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hud-pill {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
}

.hud-pill-accent {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6EE7B7;
  font-size: 0.72rem;
  font-weight: 700;
}

.hud-subtext {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hud-scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.score-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.score-circle .num {
  font-size: 1.15rem;
  font-weight: 900;
  color: #34D399;
}

.score-circle .lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ── Kinetic Marquee ── */
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 12, 18, 0.75);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-main) 0%, transparent 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-main) 0%, transparent 100%);
}

.marquee-track {
  display: inline-flex;
  gap: 20px;
  animation: marqueeScroll 32s linear infinite;
  align-items: center;
}

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

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: #FFFFFF;
  transition: all 0.25s ease;
}

.marquee-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-flutter { background: #02569B; box-shadow: 0 0 10px #02569B; }
.dot-react { background: #61DAFB; box-shadow: 0 0 10px #61DAFB; }
.dot-nextjs { background: #FFFFFF; box-shadow: 0 0 10px #FFFFFF; }
.dot-ts { background: #3178C6; box-shadow: 0 0 10px #3178C6; }
.dot-python { background: #FBBF24; box-shadow: 0 0 10px #FBBF24; }
.dot-node { background: #10B981; box-shadow: 0 0 10px #10B981; }
.dot-postgres { background: #6366F1; box-shadow: 0 0 10px #6366F1; }
.dot-supabase { background: #34D399; box-shadow: 0 0 10px #34D399; }
.dot-stripe { background: #8B5CF6; box-shadow: 0 0 10px #8B5CF6; }
.dot-figma { background: #EC4899; box-shadow: 0 0 10px #EC4899; }
.dot-cloudflare { background: #F97316; box-shadow: 0 0 10px #F97316; }

/* ── 10. Featured Work Section ── */
.work-grid {
  display: grid;
  gap: 32px;
}

.work-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  backdrop-filter: blur(16px);
  transition: all 0.35s ease;
  overflow: hidden;
}

.work-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.work-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0;
  color: #FFFFFF;
}

.work-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.work-preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.work-preview img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.work-card:hover .work-preview img {
  transform: scale(1.03);
}

/* ── 11. Senior Solo vs. Agency Benchmark ── */
.sandbox-card {
  max-width: 1040px;
  margin: 0 auto;
}

.benchmark-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.comparison-box.jux-box {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(14, 17, 26, 0.85) 100%);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.12);
}

.comparison-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.comparison-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

.comparison-tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.comparison-tag.red {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.comparison-tag.green {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.comparison-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-tile.green {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.18);
}

.metric-tile-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-tile-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.metric-tile.green .metric-tile-val {
  color: #6EE7B7;
}

.metric-tile.red .metric-tile-val {
  color: #FCA5A5;
}

/* ── 12. End-to-End Delivery Flowchart ── */
.flowchart-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.flowchart-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.flowchart-step-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.flowchart-step-card.highlight {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.15) 0%, rgba(14, 17, 26, 0.9) 100%);
  border-color: var(--primary);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.25);
}

.flowchart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.flowchart-node {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-light);
  font-family: var(--font-mono);
}

.flowchart-step-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.flowchart-step-tag {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.flowchart-arrow {
  color: var(--primary-light);
  font-weight: 700;
}

.flowchart-badge-final {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.flowchart-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.3;
}

.flowchart-step-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.flowchart-deliverable {
  margin-top: auto;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.flowchart-summary-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  gap: 24px;
  flex-wrap: wrap;
}

.summary-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  font-weight: 700;
}

.summary-content h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 4px 0 6px;
}

.summary-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.summary-action {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── 13. Interactive Project Investment Estimator ── */
.calculator-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.calc-config {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(16px);
}

.calc-step {
  margin-bottom: 32px;
}

.calc-step:last-child {
  margin-bottom: 0;
}

.calc-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-pill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.calc-pill {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.calc-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.calc-pill.selected {
  background: rgba(99, 102, 241, 0.14);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
}

.calc-pill-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.calc-pill-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.calc-pill.selected .calc-pill-sub {
  color: #CBD5E1;
}

.calc-summary-panel {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: linear-gradient(180deg, rgba(14, 17, 26, 0.95) 0%, rgba(8, 9, 13, 0.98) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.calc-price-display {
  margin: 18px 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.price-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.price-val {
  font-size: 2.8rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-top: 4px;
}

.calc-timeline-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.timeline-val {
  color: var(--accent-cyan);
  font-weight: 700;
}

.calc-features-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-features-list li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-features-list li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: 700;
}

.full-width {
  width: 100%;
}

/* ── 14. Built Standards Strip ── */
.awards-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  backdrop-filter: blur(16px);
}

.award-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
}

.award-item .star {
  color: var(--primary-light);
  font-size: 1.1rem;
}

/* ── 15. Solo Founder Preview ── */
.founder-spotlight-wrap {
  position: relative;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.founder-photo {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

/* ── 16. Interactive FAQ Accordion ── */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: border-color 0.2s ease;
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--border-strong);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--primary-light);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 24px 24px;
}

/* ── 17. CTA Section ── */
.cta-section {
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

.text-center {
  text-align: center;
}

/* ── 18. Estimate Lock-In Modal Dialog ── */
.estimate-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.estimate-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.estimate-modal-card {
  background: #0D1017;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 580px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 50px rgba(99, 102, 241, 0.2);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-light);
  font-weight: 700;
}

.modal-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 6px 0 8px;
}

.modal-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.modal-estimate-summary {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.summary-chip-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.summary-price-val {
  color: var(--accent-cyan);
  font-size: 1.3rem;
}

.summary-chip-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.25);
}

.modal-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  display: none;
}

.modal-status.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
}

.modal-status.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #F87171;
}

.modal-footer-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ── 19. Subpages: Services, Team & Contact ── */
.page-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 20px;
}

.page-header h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 14px 0 16px;
  line-height: 1.15;
}

.capability-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.capability-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.capability-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.card-number {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.capability-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.capability-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  align-items: start;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(16px);
}

.contact-info h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.info-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.info-value {
  font-size: 0.96rem;
  color: #FFFFFF;
  font-weight: 500;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.contact-form-wrapper h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.form-subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.role-accent {
  color: var(--primary-light);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.budget-chip {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.budget-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  color: #FFFFFF;
}

.budget-chip.active {
  background: rgba(99, 102, 241, 0.16);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
}

/* ── 20. Footer ── */
footer {
  border-top: 1px solid var(--border-subtle);
  background: #06070A;
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-col ul a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ── 17. Responsive Design ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .work-card { grid-template-columns: 1fr; gap: 24px; }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-img-box { max-width: 200px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flowchart-pipeline-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-container { grid-template-columns: 1fr; }
  .calc-summary-panel { position: static; }
  .awards-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(8, 9, 13, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: none;
  }
  .nav-links.active,
  .nav-links.mobile-open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .benchmark-split { grid-template-columns: 1fr; }
  .flowchart-pipeline-grid { grid-template-columns: 1fr; }
  .telemetry-badge { display: none; }
  .awards-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .calc-container, .calc-config, .calc-summary-panel { padding: 20px; }
  .flowchart-summary-bar { padding: 24px 20px; }
}
