/* ============================================
   SharedLLM — Design System & Styles
   The Linux of AI — Community-owned inference
   ============================================ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

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

/* CSS Custom Properties */
:root {
  --bg: #050505;
  --surface-1: #0a0a0a;
  --surface-2: #111111;
  --surface-3: #1a1a1a;
  --primary: #22c55e;
  --primary-dim: #1a9e4a;
  --primary-glow: rgba(34, 197, 94, 0.15);
  --primary-glow-strong: rgba(34, 197, 94, 0.3);
  --secondary: #3b82f6;
  --text: #fafafa;
  --text-secondary: #a1a1a1;
  --text-muted: #666666;
  --border: #222222;
  --border-light: #333333;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --container: 1200px;
  --section-pad: 120px;
  --section-pad-mobile: 60px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #4ade80;
}

img {
  max-width: 100%;
}

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

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--primary);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--primary);
  color: #050505 !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: #4ade80;
  color: #050505 !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(20px);
  padding: 40px 24px;
  z-index: 999;
}

.nav-mobile.open {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav-mobile a {
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  font-family: var(--font-heading);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #050505;
}

.btn-primary:hover {
  background: #4ade80;
  color: #050505;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-mesh {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 300px;
  margin: 0 auto;
}

.hero-mesh svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   Live Stats Bar
   ============================================ */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
  padding: 32px 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ============================================
   Section Base
   ============================================ */
.section {
  padding: var(--section-pad) 0;
}

.section-dark {
  background: var(--bg);
}

.section-surface {
  background: var(--surface-1);
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

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

.section-center .section-subtitle {
  margin: 0 auto;
}

/* ============================================
   The Problem
   ============================================ */
.problem {
  padding: var(--section-pad) 0;
  position: relative;
}

.problem-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.problem-line {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  opacity: 0;
}

.problem-line.accent {
  color: var(--primary);
  font-size: clamp(28px, 4.5vw, 44px);
}

/* ============================================
   How It Works — Cards
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(40px);
}

.card:hover {
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(34, 197, 94, 0.08);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  border-radius: 12px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   Your Machine Section
   ============================================ */
.machine-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 750px;
  margin: 48px auto 0;
}

.machine-card .terminal-line {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
}

.machine-card .terminal-line .val {
  color: var(--primary);
  font-weight: 600;
}

.machine-card .terminal-line .label {
  color: var(--text);
}

.machine-note {
  margin-top: 24px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Flywheel
   ============================================ */
.flywheel-wrap {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-top: 60px;
}

.flywheel-svg {
  flex-shrink: 0;
  width: 360px;
  height: 360px;
}

.flywheel-text h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.flywheel-text p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.pricing-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(34, 197, 94, 0.08);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #050505;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-tier {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-price .period {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Startup Callout */
.startup-callout {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  margin-top: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.startup-callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.startup-callout .highlight-text {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

.startup-callout .highlight-text .accent {
  color: var(--primary);
}

/* ============================================
   Funding Milestones
   ============================================ */
.milestones-track {
  margin-top: 60px;
  position: relative;
}

.milestones-bar {
  position: relative;
  height: 4px;
  background: var(--surface-3);
  border-radius: 2px;
  margin: 40px 0;
}

.milestones-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #4ade80);
  border-radius: 2px;
  transition: width 1s ease;
}

.milestones-points {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.milestone-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
}

.milestone-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 2px solid var(--border);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  transition: all var(--transition);
}

.milestone-point.reached .milestone-dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.4);
}

.milestone-point.current .milestone-dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 16px rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 24px rgba(34, 197, 94, 0.7); }
}

.milestone-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.milestone-amount {
  font-size: 13px;
  color: var(--text-muted);
}

.milestones-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  margin-top: 32px;
}

/* ============================================
   Vision Quote
   ============================================ */
.vision-quote {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.vision-quote .layer {
  display: block;
  margin-bottom: 8px;
}

.vision-quote .final {
  color: var(--primary);
  margin-top: 24px;
  display: block;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 60px;
}

.cta-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.cta-path {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}

.cta-path:hover {
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateY(-4px);
}

.cta-path h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-path p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-path code {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 20px;
  user-select: all;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.footer-logo span {
  color: var(--primary);
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   Chat Page
   ============================================ */
.chat-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: var(--bg);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
  flex-shrink: 0;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.chat-back {
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.chat-title span {
  color: var(--primary);
}

.model-selector {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

.model-selector:focus {
  border-color: var(--primary);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  max-width: 720px;
  width: fit-content;
  padding: 14px 20px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.7;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.message-user {
  align-self: flex-end;
  background: var(--primary);
  color: #050505;
  border-bottom-right-radius: 4px;
}

.message-assistant {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.message-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 18px 24px;
}

.message-typing .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.message-typing .dot:nth-child(2) { animation-delay: 0.2s; }
.message-typing .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input-wrap {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface-1);
  flex-shrink: 0;
}

.chat-input-inner {
  display: flex;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.chat-input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 20px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  resize: none;
  min-height: 48px;
  max-height: 150px;
}

.chat-input:focus {
  border-color: var(--primary);
}

.chat-input::placeholder {
  color: var(--text-muted);
}

.chat-send {
  background: var(--primary);
  border: none;
  color: #050505;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
  align-self: flex-end;
}

.chat-send:hover {
  background: #4ade80;
}

.chat-send svg {
  width: 20px;
  height: 20px;
}

.chat-footer {
  text-align: center;
  padding: 12px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flywheel-wrap {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .flywheel-svg {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cta-paths {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-grid {
    gap: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

  .milestones-points {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .milestone-point {
    flex: 0 0 auto;
    min-width: 80px;
  }

  .milestones-bar {
    display: none;
  }

  .hero-mesh {
    height: 200px;
  }

  .machine-card {
    padding: 32px 24px;
  }

  .startup-callout {
    padding: 32px 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 60px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .stats-grid {
    flex-direction: column;
    gap: 20px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ============================================
   Utility
   ============================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
