/* ===========================
   NUCLEOTTO — Core Stylesheet
   =========================== */

:root {
  --bg:        #080c14;
  --bg-2:      #0d1321;
  --bg-3:      #111827;
  --surface:   #151f2e;
  --surface-2: #1a2740;
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.12);

  --text-primary:   #f0f4ff;
  --text-secondary: #8899b4;
  --text-muted:     #4a5a72;

  --accent:    #4f8ef7;
  --accent-2:  #7b5cf7;
  --accent-3:  #00d4aa;
  --glow:      rgba(79,142,247,0.18);

  --gradient:  linear-gradient(135deg, #4f8ef7 0%, #7b5cf7 100%);

  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
}

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

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

/* CANVAS */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* GLOBAL */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

section { padding: 120px 0; position: relative; z-index: 1; }

.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 820px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 60px;
  line-height: 1.75;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* NAV */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8,12,20,0.75);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

.nav-cta {
  border: 1px solid rgba(79,142,247,0.35) !important;
  border-radius: 8px;
  padding: 7px 16px !important;
  color: var(--accent) !important;
  background: rgba(79,142,247,0.07) !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary.large { padding: 18px 36px; font-size: 1.05rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.btn-ghost.small { padding: 10px 18px; font-size: 0.85rem; }

/* HERO */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.reveal-line {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards;
  display: block;
}
.reveal-line:nth-child(1) { animation-delay: 0.2s; }
.reveal-line:nth-child(2) { animation-delay: 0.35s; }
.reveal-line:nth-child(3) { animation-delay: 0.5s; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.7s forwards;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.85s forwards;
}

/* DEMO WINDOW */
.hero-demo-container {
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

.demo-window {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(79,142,247,0.08);
}

.demo-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.red   { background: #ff5f57; }
.dot.amber { background: #febc2e; }
.dot.green { background: #28c841; }

.demo-title {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
}

.demo-chat {
  padding: 24px 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 85%;
}

.demo-msg.user {
  background: rgba(79,142,247,0.15);
  border: 1px solid rgba(79,142,247,0.25);
  color: var(--text-primary);
  align-self: flex-end;
}

.demo-msg.otto {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  align-self: flex-start;
}

.typing-cursor::after {
  content: '▌';
  animation: blink 0.8s step-end infinite;
  color: var(--accent);
}

.demo-input-row {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.demo-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: var(--font-body);
}

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

.demo-send {
  background: var(--gradient);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.demo-send:hover { opacity: 0.8; }

/* PROBLEM */
#problem {
  background: linear-gradient(180deg, transparent 0%, var(--bg-2) 20%, var(--bg-2) 80%, transparent 100%);
}

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

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.problem-card:hover { border-color: var(--border-2); transform: translateY(-4px); }

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

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.problem-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* OTTO TIERS */
.otto-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}

.tier-card:hover { transform: translateY(-6px); }

.tier-card.featured {
  border-color: rgba(79,142,247,0.4);
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
  box-shadow: 0 0 40px rgba(79,142,247,0.12);
}

.tier-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.tier-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.tier-role { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

.tier-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.tier-price span { font-size: 1rem; font-weight: 400; color: var(--text-secondary); }

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

.tier-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.tier-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.tier-onboarding {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* PILOT */
.otto-pilot {
  background: linear-gradient(135deg, rgba(79,142,247,0.08) 0%, rgba(123,92,247,0.08) 100%);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}

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

.pilot-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.pilot-inner h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pilot-inner p { font-size: 0.9rem; color: var(--text-secondary); }

.pilot-price-block { text-align: center; flex-shrink: 0; }

.pilot-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.pilot-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; }

/* HIVE */
#hive {
  background: linear-gradient(180deg, transparent 0%, var(--bg-2) 15%, var(--bg-2) 85%, transparent 100%);
}

.hive-diagram {
  position: relative;
  margin: 60px 0;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hive-diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(79,142,247,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.firm-brain {
  text-align: center;
  padding: 28px 40px;
  background: linear-gradient(135deg, rgba(79,142,247,0.12) 0%, rgba(123,92,247,0.12) 100%);
  border: 1px solid rgba(79,142,247,0.3);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.firm-brain-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 6px;
}

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

.firm-brain-pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(79,142,247,0.15) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.hive-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hive-node {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: border-color 0.3s, transform 0.3s;
}

.hive-node:hover { border-color: var(--border-2); transform: translateY(-4px); }

.node-icon { font-size: 1.8rem; margin-bottom: 12px; opacity: 0.7; }

.node-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

.hive-value-props {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}

.hive-prop {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}

.hive-prop:hover { border-color: var(--border-2); }

.hive-prop-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.hive-prop h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.hive-prop p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* COMPARISON TABLE */
.hive-comparison {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.hive-comparison h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.hive-comparison-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.comparison-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.comp-header, .comp-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
}

.comp-header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.comp-row {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-secondary);
  align-items: center;
}

.comp-row:last-child { border-bottom: none; }
.comp-label { font-weight: 500; color: var(--text-primary); }
.comp-highlight { color: var(--accent-3) !important; font-weight: 600; }

.hive-price-callout {
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(79,142,247,0.08) 0%, rgba(123,92,247,0.08) 100%);
  border: 1px solid rgba(79,142,247,0.25);
  border-radius: var(--radius);
}

.hive-price-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}

.hive-price-main {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.hive-price-main span { font-size: 1.2rem; font-weight: 400; color: var(--text-secondary); }
.hive-price-note { font-size: 0.85rem; color: var(--text-muted); }

/* CLEO */
.cleo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.cleo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.cleo-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.cleo-icon { font-size: 1.8rem; margin-bottom: 14px; opacity: 0.8; }

.cleo-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.cleo-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

.cleo-cta {
  padding: 36px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cleo-cta p { font-size: 0.95rem; color: var(--text-secondary); max-width: 580px; line-height: 1.7; }

/* PROOF */
#proof {
  background: linear-gradient(180deg, transparent 0%, var(--bg-2) 20%, var(--bg-2) 80%, transparent 100%);
}

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

.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.proof-card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.proof-card-wide { grid-column: 1 / -1; }

.proof-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.proof-type {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.proof-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
  border-left: 2px solid rgba(79,142,247,0.4);
  padding-left: 18px;
}

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

/* PRICING */
.pricing-note { font-size: 0.88rem; color: var(--text-muted); margin-top: -10px; margin-bottom: 48px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.pricing-block h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.pricing-rows { display: flex; flex-direction: column; gap: 14px; }

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.88rem;
}

.pricing-row > span:first-child { color: var(--text-secondary); }
.pricing-row > span:last-child { color: var(--text-primary); font-weight: 500; text-align: right; }

.pricing-row-pilot > span:first-child { color: var(--accent-3); }
.pricing-row-pilot > span:last-child { color: var(--accent-3); font-weight: 600; }

.cleo-enquire { margin-top: 24px; }

/* CONTACT */
#contact {
  background: linear-gradient(180deg, transparent 0%, var(--bg-2) 30%, var(--bg-2) 100%);
}

.contact-inner {
  max-width: 760px;
}

.contact-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-meta { font-size: 0.9rem; color: var(--text-muted); }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline { font-size: 0.9rem; color: var(--text-muted); }

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-secondary); }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

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

/* RESPONSIVE */
@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    text-align: center;
    justify-items: center;
  }

  .hero-cta-row { justify-content: center; }
  .hero-demo-container { width: 100%; max-width: 520px; }
  .otto-tiers { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hive-value-props { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card-wide { grid-column: auto; }
  .hive-nodes { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .pilot-inner { flex-direction: column; text-align: center; }
  .cleo-cta { flex-direction: column; }
  .comparison-table { overflow-x: auto; }
  .comp-header, .comp-row { min-width: 600px; }
}

@media (max-width: 600px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .hive-comparison { padding: 28px 20px; }
  .otto-pilot { padding: 28px 24px; }
}
