:root {
  --navy: #05122B;
  --deep: #080f20;
  --teal: #00C5A8;
  --teal-glow: rgba(0,197,168,0.18);
  --teal-dim: rgba(0,197,168,0.07);
  --white: #F4F8FF;
  --muted: rgba(244,248,255,0.55);
  --border: rgba(244,248,255,0.10);
  --card-bg: rgba(255,255,255,0.035);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--deep);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none; z-index: 0;
  opacity: 0.6;
}

/* ─── AMBIENT GLOWS ─── */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: rgba(5,18,43,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  text-decoration: none;
}

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

.nav-links {
  display: flex; gap: 40px; list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: opacity 0.2s, transform 0.2s !important;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

#hero .glow-blob.b1 {
  width: 600px; height: 600px;
  background: rgba(0,197,168,0.12);
  top: -150px; left: 50%;
  transform: translateX(-50%);
}

#hero .glow-blob.b2 {
  width: 400px; height: 400px;
  background: rgba(0,80,200,0.10);
  bottom: 0; right: -100px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-dim);
  border: 1px solid rgba(0,197,168,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

h1 {
  font-family: 'monospace', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 820px;
  animation: fadeUp 0.8s 0.1s ease both;
}

h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-sub {
  margin-top: 24px;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  margin-top: 44px;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(0,197,168,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(0,197,168,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover { border-color: rgba(244,248,255,0.3); background: rgba(255,255,255,0.04); }

/* HERO STATS */
.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  justify-content: center;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  width: 100%; max-width: 700px;
  animation: fadeUp 0.8s 0.45s ease both;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SECTION WRAPPER ─── */
section {
  position: relative;
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 640px;
}

.section-body {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin-top: 16px;
  font-weight: 300;
}

/* ─── HOW IT WORKS ─── */
#how { border-top: 1px solid var(--border); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.step {
  background: var(--card-bg);
  padding: 36px 30px;
  position: relative;
  transition: background 0.25s;
}

.step:hover { background: rgba(0,197,168,0.04); }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: rgba(0,197,168,0.12);
  line-height: 1;
  margin-bottom: 18px;
}

.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.step-icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

/* ─── FEATURES ─── */
#features { border-top: 1px solid var(--border); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 30px;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(0,197,168,0.25);
  transform: translateY(-3px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  background: var(--teal-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  border: 1px solid rgba(0,197,168,0.2);
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── RESULTS ─── */
#results { border-top: 1px solid var(--border); }

.results-wrap {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 720px) {
  .results-wrap { grid-template-columns: 1fr; }
}

.result-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}

.result-card.highlight {
  background: linear-gradient(135deg, rgba(0,197,168,0.08), rgba(0,197,168,0.02));
  border-color: rgba(0,197,168,0.25);
}

.result-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px;
}

.rec-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.rec-item:last-child { border-bottom: none; }

.rec-priority {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
  flex-shrink: 0;
}

.high { background: rgba(255,80,80,0.15); color: #ff8080; border: 1px solid rgba(255,80,80,0.3); }
.low  { background: rgba(255,180,50,0.12); color: #ffcc60; border: 1px solid rgba(255,180,50,0.3); }

.rec-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.rec-text strong { color: var(--white); font-weight: 500; }

.metric-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.metric-row:last-child { border-bottom: none; }

.metric-label { font-size: 0.875rem; color: var(--muted); }

.metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
}

/* ─── COMPLIANCE ─── */
#compliance { border-top: 1px solid var(--border); }

.compliance-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.comp-badge {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color 0.2s;
}

.comp-badge:hover { border-color: rgba(0,197,168,0.25); }

.comp-icon { font-size: 1.4rem; flex-shrink: 0; }

.comp-text h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.comp-text p { font-size: 0.78rem; color: var(--muted); }

/* ─── PRICING ─── */
#pricing {
  border-top: 1px solid var(--border);
  text-align: center;
}

#pricing .section-title,
#pricing .section-body { margin-left: auto; margin-right: auto; }

.pricing-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 56px;
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  width: 280px;
  text-align: left;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}

.price-card:hover { transform: translateY(-4px); }

.price-card.featured {
  border-color: rgba(0,197,168,0.4);
  background: linear-gradient(145deg, rgba(0,197,168,0.08), rgba(0,197,168,0.02));
}

.price-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}

.price-tier {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.price-period {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.price-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 32px;
}

.price-features li {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex; align-items: flex-start; gap: 8px;
}

.price-features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.price-btn {
  display: block; text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}

.price-btn.solid {
  background: var(--teal);
  color: var(--navy);
  box-shadow: 0 0 20px rgba(0,197,168,0.3);
}

.price-btn.solid:hover { box-shadow: 0 0 35px rgba(0,197,168,0.5); transform: translateY(-1px); }

.price-btn.outline {
  border: 1px solid var(--border);
  color: var(--white);
}

.price-btn.outline:hover { border-color: rgba(244,248,255,0.3); background: rgba(255,255,255,0.04); }

/* ─── CTA SECTION ─── */
#cta {
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(0,197,168,0.1), rgba(0,80,200,0.07));
  border: 1px solid rgba(0,197,168,0.2);
  border-radius: 20px;
  padding: 72px 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,197,168,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.15;
}

.cta-box p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 36px;
  font-size: 1rem;
}

.cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ─── FRAMEWORK PILLS ─── */
.framework-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 32px;
}

.pill {
  background: var(--teal-dim);
  border: 1px solid rgba(0,197,168,0.2);
  color: var(--teal);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ─── PROGRESS BARS ─── */
.progress-row { margin-bottom: 20px; }

.progress-meta {
  display: flex; justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 7px;
}

.progress-label { color: var(--muted); }
.progress-val { color: var(--white); font-weight: 500; }

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.07);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), rgba(0,197,168,0.6));
  border-radius: 100px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── DEMO HERO ─── */
.demo-hero {
  position: relative;
  padding: 140px 24px 64px;
  text-align: center;
  overflow: hidden;
}

.blob-1 {
  width: 500px; height: 500px;
  background: rgba(0,197,168,0.10);
  top: -100px; left: 50%; transform: translateX(-50%);
}

.blob-2 {
  width: 300px; height: 300px;
  background: rgba(0,80,200,0.08);
  bottom: 0; right: 5%;
}

.demo-hero h1 {
  font-family: 'monospace', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 720px; margin: 0 auto;
  animation: fadeUp 0.7s 0.1s ease both;
}

.demo-hero h1 em { font-style: normal; color: var(--teal); }

.demo-hero p {
  margin: 20px auto 0;
  font-size: 1.05rem; font-weight: 300;
  color: var(--muted); max-width: 540px;
  line-height: 1.7;
  animation: fadeUp 0.7s 0.2s ease both;
}

/* ─── STEP PILLS ─── */
.step-pills {
  display: flex; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  margin-top: 36px;
  animation: fadeUp 0.7s 0.3s ease both;
}

.step-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.82rem; color: var(--muted);
}

.step-pill .pill-num {
  width: 20px; height: 20px;
  background: var(--teal-dim);
  border: 1px solid rgba(0,197,168,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: var(--teal);
  flex-shrink: 0;
}

/* ─── APP EMBED SECTION ─── */
.embed-section {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px 80px;
}

.app-chrome {
  background: rgba(5,18,43,0.6);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,197,168,0.08),
    0 40px 100px rgba(0,0,0,0.5),
    0 0 80px rgba(0,197,168,0.06);
  animation: fadeUp 0.8s 0.35s ease both;
}

.app-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: rgba(5,18,43,0.9);
  border-bottom: 1px solid var(--border);
}

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

.dot {
  width: 12px; height: 12px; border-radius: 50%;
}

.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.app-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}

.url-lock { color: var(--teal); font-size: 0.7rem; }

.app-actions { display: flex; gap: 10px; }

.app-action-btn {
  background: var(--teal-dim);
  border: 1px solid rgba(0,197,168,0.2);
  color: var(--teal);
  padding: 5px 14px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.app-action-btn:hover { background: rgba(0,197,168,0.15); }

.gradio-wrap {
  position: relative;
  width: 100%;
  min-height: 750px;
  background: #0d1117;
}

gradio-app {
  width: 100%;
  display: block;
  min-height: 750px;
  --color-accent: #00C5A8;
  --color-accent-soft: rgba(0,197,168,0.15);
}

/* ─── DISCLAIMER BAR ─── */
.disclaimer-bar {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(251,191,36,0.06);
  border: 1px solid rgba(251,191,36,0.2);
  border-radius: 10px;
  padding: 14px 20px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(251,191,36,0.85);
  line-height: 1.6;
}

.disclaimer-bar .disc-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ─── INFO CARDS ─── */
.info-strip {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.info-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0; transition: opacity 0.3s;
}

.info-card:hover { border-color: rgba(0,197,168,0.25); transform: translateY(-3px); }
.info-card:hover::before { opacity: 1; }

.info-icon { font-size: 1.5rem; margin-bottom: 12px; }

.info-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  margin-bottom: 8px;
}

.info-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

/* ─── CTA STRIP ─── */
.cta-strip {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px 100px;
}

.cta-inner {
  background: linear-gradient(135deg, rgba(0,197,168,0.10), rgba(0,80,200,0.07));
  border: 1px solid rgba(0,197,168,0.2);
  border-radius: 16px;
  padding: 52px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,197,168,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -0.025em;
  max-width: 520px; margin: 0 auto 14px; line-height: 1.15;
}

.cta-inner p {
  color: var(--muted); max-width: 420px;
  margin: 0 auto 32px; font-size: 0.95rem;
}

.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--white); }

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

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

.disclaimer {
  background: rgba(244,248,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  section { padding: 72px 20px; }
  h1 { font-size: 2.4rem; }
  .hero-stats { gap: 28px; }
  .gradio-wrap, gradio-app { min-height: 900px; }
  footer { padding: 30px 20px; flex-direction: column; text-align: center; }
}