:root {
  --bg-0: #fafbfc; /* clean neutral white */
  --bg-1: #f3f5f7; /* soft gray */
  --bg-alt: #f8fafb; /* light mint */
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.95);
  --border: rgba(0, 0, 0, 0.06);
  --fg: #0a0d10; /* rich black */
  --muted: #5a6674; /* balanced gray */
  --accent-300: #7dd3c0; /* teal-300 */
  --accent-400: #5eead4; /* teal-400 */
  --accent-500: #2dd4bf; /* teal-500 */
  --accent-600: #14b8a6; /* teal-600 */
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.04), 0 8px 16px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--fg);
  background: var(--bg-0);
  font: 400 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-canvas {
  display: none;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.85); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 700; letter-spacing: 0.2px; }
.brand img { filter: drop-shadow(0 2px 8px rgba(45,212,191, 0.25)); }
.nav-links { display: none; gap: 16px; align-items: center; }
.nav-links a { color: var(--fg); text-decoration: none; opacity: 0.9; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { color: #fff; position: relative; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: linear-gradient(90deg, var(--accent-300), var(--accent-600)); border-radius: 2px; }
.nav-toggle { display: inline-block; background: transparent; border: none; color: var(--fg); font-size: 22px; }

@media (min-width: 920px) {
  .nav-links { display: inline-flex; }
  .nav-toggle { display: none; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--border); text-decoration: none; color: var(--fg); transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--fg); border-color: transparent; color: #ffffff; }
.btn-ghost { background: transparent; border: 1px solid var(--border); }

.hero { 
  padding: 72px 0 32px; 
  position: relative; 
  background: radial-gradient(ellipse 1200px 600px at 30% -10%, rgba(45,212,191,0.08) 0%, transparent 40%),
              radial-gradient(ellipse 1000px 500px at 70% -5%, rgba(20,184,166,0.06) 0%, transparent 40%),
              linear-gradient(180deg, #ffffff, #fafbfc);
}
.hero-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 32px; }
.hero-copy h1 { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-weight: 800; font-size: clamp(36px, 4vw, 56px); line-height: 1.04; margin: 10px 0 16px; letter-spacing: -0.02em; }
.hero-copy p { font-size: 18px; color: var(--muted); margin: 0 0 20px; }
.eyebrow { color: var(--accent-300); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; }
.accent { background: linear-gradient(90deg, var(--accent-300), var(--accent-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta { display: flex; gap: 12px; align-items: center; }
.cta.center { justify-content: center; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { border: 1px solid var(--border); background: var(--bg-alt); padding: 6px 10px; border-radius: 999px; font-size: 12px; color: var(--muted); }

.hero-visual { position: relative; }
.viz-stack { position: relative; height: 420px; }
.card { border-radius: 18px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); }
.glass { background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)); }
.rise { position: absolute; inset: 60px 0 0; }
.card-head { padding: 10px 12px; display: flex; gap: 6px; border-bottom: 1px solid var(--border); }
.card-head .dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(2,6,23,0.2); }
.card-body { padding: 16px; }
.mock-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mock-col { border: 1px dashed rgba(2,6,23,0.12); border-radius: 12px; padding: 12px; background: rgba(255,255,255,0.85); }
.mock-col .tag { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--border); background: rgba(2,6,23,0.04); font-size: 12px; margin-bottom: 10px; }
.mock-col .tag.green { background: rgba(58, 214, 161, 0.16); border-color: rgba(58,214,161,0.5); }
.pill { height: 10px; border-radius: 999px; background: rgba(2,6,23,0.10); margin: 8px 0; }
.pill.wide { width: 80%; }

.widget-float { position: absolute; right: 0; bottom: 0; width: 320px; padding: 12px; border-radius: 16px; }
.widget-float svg { width: 100%; height: auto; }
.widget-label { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: right; }
.svg-bar { fill: rgba(2,6,23,0.14); }
.svg-line { fill: rgba(2,6,23,0.10); }
.svg-dot { fill: var(--accent-500); }
.float { transform: translateY(0); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

.section { padding: 72px 0; }
.section.alt { background: #f8fafb; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 6px 0 6px; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); margin: 0; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.feature-card h3 { margin: 8px 0 6px; }
.feature-card p { color: var(--muted); margin: 0; }
.feature-card .icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(2,6,23,0.04); border: 1px solid var(--border); }
.feature-card .icon svg { width: 20px; height: 20px; fill: var(--fg); opacity: 0.9; }

.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.ai-card { border-radius: 16px; padding: 18px; min-height: 140px; border: 1px solid var(--border); background: #ffffff; display: grid; gap: 10px; align-content: start; }
.ai-card .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); color: var(--accent-600); border: 1px solid var(--border); }
.ai-card .icon svg { width: 22px; height: 22px; }
.badge { display: inline-block; font-size: 11px; padding: 4px 8px; border-radius: 999px; background: rgba(45,212,191, 0.12); border: 1px solid rgba(45,212,191, 0.3); color: var(--accent-600); margin-bottom: 8px; font-weight: 600; }
.group-title { margin: 24px 0 8px; font-size: 18px; font-weight: 700; color: var(--fg); }
.mini-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 10px 0 18px; }

.arch-card { padding: 20px; border: 1px solid var(--border); border-radius: 16px; }
.arch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.arch-box { background: rgba(255,255,255,0.9); border: 1px dashed var(--border); border-radius: 12px; padding: 14px; text-align: center; font-weight: 600; }
.arch-box span { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.arch-note { color: var(--muted); margin: 10px 0 0; text-align: center; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; padding: 0; margin: 10px 0 0; counter-reset: s; }
.steps li { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: #ffffff; }
.steps li span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: linear-gradient(135deg, var(--accent-500), var(--accent-400)); font-size: 12px; margin-right: 8px; color: #ffffff; }

.site-footer { padding: 24px 0; border-top: 1px solid var(--border); background: #f3f5f7; }
.foot-base { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.foot-base .brand { opacity: 0.9; }
.foot-base .brand:hover { opacity: 1; }
.foot-base .muted { color: var(--muted); }
.social a { display: inline-flex; color: var(--muted); opacity: 0.8; }
.social a:hover { opacity: 1; }

/* Roadmap timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.time-card { border: 1px solid var(--border); border-radius: 14px; padding: 16px; min-height: 120px; }
.time-card h3 { margin: 8px 0 6px; }
.time-card p { color: var(--muted); margin: 0; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 919px) {
  .hero { padding-top: 48px; }
  .hero-wrap { grid-template-columns: 1fr; }
  .viz-stack { height: 320px; margin-top: -6px; }
  .features-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .arch-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .nav-links { position: fixed; inset: 64px 0 auto 0; background: rgba(255, 255, 255, 0.98); display: none; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); gap: 10px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
}


