:root {
  --navy-950: #071528;
  --navy-900: #0C2340;
  --navy-800: #123057;
  --navy-700: #1B4270;
  --gold-400: #E0B25C;
  --gold-500: #C9942F;
  --gold-600: #A87821;
  --ink: #101418;
  --paper: #FBFAF7;
  --paper-dim: #F1EEE6;
  --text-muted: #5B6270;
  --border: rgba(16, 20, 24, 0.1);
  --radius: 10px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* Card hover lift */
.problem-card, .step, .founder-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.problem-card:hover, .step:hover { transform: translateY(-4px); }
.founder-card:hover .founder-photo { transform: scale(1.02); }
.founder-photo { transition: transform 0.4s ease; }

@media (prefers-reduced-motion: reduce) {
  .problem-card, .step, .founder-photo { transition: none; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-900);
}

.logo-accent { color: var(--gold-600); }

.nav { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; }
.nav a { color: var(--navy-800); }
.nav-cta {
  background: var(--navy-900);
  color: var(--paper) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  color: var(--paper);
  padding: 96px 0 88px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text { flex: 1 1 auto; min-width: 0; }

.hero-visual {
  flex: 0 0 300px;
  width: 300px;
}

.brain-net { width: 100%; height: auto; overflow: visible; }

.brain-nodes circle { animation: node-pulse 1.8s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.brain-nodes circle:nth-child(2n) { animation-delay: -0.6s; }
.brain-nodes circle:nth-child(3n) { animation-delay: -1.05s; }

@keyframes node-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

.brain-signals circle { filter: drop-shadow(0 0 4px rgba(245, 217, 166, 0.9)); }

@media (prefers-reduced-motion: reduce) {
  .brain-nodes circle { animation: none; }
  .brain-signals { display: none; }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 18px;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  animation: pulse-ring 2.2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot::after { animation: none; display: none; }
}

.hero h1 { max-width: 780px; color: #fff; }

.hero-sub {
  max-width: 620px;
  font-size: 1.1rem;
  color: rgba(251, 250, 247, 0.78);
}

.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950) !important;
}

.btn-ghost {
  border: 1px solid rgba(251, 250, 247, 0.35);
  color: var(--paper) !important;
}

/* Problem */
.problem { padding: 80px 0; }
.problem h2 { max-width: 640px; margin-bottom: 40px; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.problem-card {
  background: var(--paper-dim);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.problem-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-600);
  margin-bottom: 14px;
}

.problem-card-accent {
  background: var(--navy-900);
  color: var(--paper);
}

.problem-card-accent .problem-icon { color: var(--gold-400); }
.problem-card-accent .problem-label { color: var(--gold-400); }

.problem-label {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy-700);
  margin-bottom: 8px;
}

.problem-card p:last-child { margin: 0; font-size: 0.98rem; }

/* How it works */
.how { padding: 80px 0; background: var(--paper-dim); }

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

.step-icon {
  width: 26px;
  height: 26px;
  color: var(--navy-700);
  margin-bottom: 14px;
}

.step-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 10px;
}

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

/* Deliverables / capabilities */
.deliverables { padding: 84px 0; }
.section-sub { color: var(--text-muted); max-width: 560px; margin-bottom: 40px; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.capability-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.capability-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(12, 35, 64, 0.08); }

.capability-icon {
  width: 26px;
  height: 26px;
  color: var(--gold-600);
  margin-bottom: 14px;
}

.capability-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .capability-card { transition: none; }
}

/* Ask demo */
.ask-demo {
  max-width: 560px;
  background: var(--navy-900);
  border-radius: 16px;
  padding: 28px 28px 24px;
  color: var(--paper);
}

.ask-demo-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  font-weight: 600;
  margin-bottom: 16px;
}

.ask-bubble {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  max-width: 88%;
  margin-bottom: 12px;
}

.ask-bubble-user {
  background: rgba(251, 250, 247, 0.1);
  color: var(--paper);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.ask-bubble-ai {
  background: var(--gold-500);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom-left-radius: 4px;
  margin-bottom: 0;
}

.typing-dots { display: inline-flex; gap: 3px; flex: 0 0 auto; }
.typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy-950);
  opacity: 0.5;
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

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

@media (prefers-reduced-motion: reduce) {
  .typing-dots span { animation: none; }
}

/* Security */
.security { padding: 84px 0; background: var(--paper-dim); }

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

.security-card {
  background: var(--paper);
  border-radius: 12px;
  padding: 24px 22px;
}

.security-icon {
  width: 26px;
  height: 26px;
  color: var(--navy-700);
  margin-bottom: 14px;
}

.security-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* Founders */
.founders { padding: 84px 0; background: var(--paper-dim); }
.founders h2 { text-align: center; margin-bottom: 40px; }

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 640px;
  margin: 0 auto;
}

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

.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 16px;
}

.founder-name { font-weight: 600; font-size: 1.05rem; margin: 0 0 2px; color: var(--navy-900); }
.founder-role { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* Proof */
.proof { padding: 60px 0; }
.proof-inner { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 44px 0; }
.proof-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy-800);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* CTA */
.cta { background: var(--navy-900); color: var(--paper); padding: 84px 0; }
.cta-inner { text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(251, 250, 247, 0.78); max-width: 480px; margin: 0 auto 28px; }

/* Footer */
.site-footer { padding: 28px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 860px) {
  .nav { gap: 16px; font-size: 0.88rem; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .hero-visual { flex: 0 0 220px; width: 220px; }
}

@media (max-width: 640px) {
  .hero-content { flex-direction: column; align-items: flex-start; }
  .hero-visual { width: 200px; flex-basis: auto; align-self: center; opacity: 0.9; }
}

@media (max-width: 520px) {
  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; max-width: 280px; }
  .nav a:not(.nav-cta) { display: none; }
  .ask-bubble { max-width: 100%; }
}
