/* ===== Tokens (LIGHT theme) ===== */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F2F6FA;
  --navy: #0E2C4E;
  --surface: rgba(11, 34, 56, 0.025);
  --surface-2: rgba(11, 34, 56, 0.05);
  --border: rgba(11, 34, 56, 0.10);
  --border-strong: rgba(11, 34, 56, 0.18);
  --text: #0B2238;
  --text-soft: #4A6075;
  --text-dim: #7E879A;
  --accent-1: #1593B8;
  --accent-2: #1499BE;
  --teal-bright: #1593B8;
  --accent-grad: linear-gradient(120deg, #1180A6 0%, #1FA8C9 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 24px 60px -28px rgba(11, 34, 56, 0.22);
  --glow: 0 0 0 1px rgba(20, 150, 185, 0.20), 0 18px 50px -20px rgba(20, 150, 185, 0.28);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ===== Ambient background ===== */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 34, 56, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 34, 56, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 70%);
}
.bg-glow {
  position: fixed; top: -22%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 720px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(20, 150, 185, 0.14), rgba(45, 182, 214, 0.05) 45%, transparent 70%);
  filter: blur(20px);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(120deg, #0F7396 0%, #1593B8 100%); color: #ffffff;
  box-shadow: 0 10px 30px -10px rgba(20, 150, 185, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(45, 182, 214, 0.7); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(20, 150, 185, 0.5); background: var(--surface-2); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(255, 255, 255, 0.85); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand-name { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.09em; text-transform: uppercase; line-height: 1; }
.bw-el { color: var(--text); }
.bw-in { color: var(--teal-bright); }
.bw-bar { width: 1.5px; height: 14px; background: rgba(11, 34, 56, 0.28); display: inline-block; }
.nav-links { display: flex; gap: 28px; font-size: 0.94rem; color: var(--text-soft); }
.nav-links a { position: relative; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--accent-grad); border-radius: 2px; transition: width 0.25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 24px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.98); }
.mobile-menu a { padding: 12px 4px; color: var(--text-soft); border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: 0; }
.mm-cta { margin-top: 12px; }

/* ===== Hero ===== */
.hero { padding: 96px 0 72px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--accent-2);
  padding: 7px 16px; border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--surface); margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; max-width: 16ch; margin-bottom: 24px;
}
.grad-text { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--text-soft); max-width: 62ch; margin-bottom: 36px; }
.lede strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 48px; }
.trust-chips li {
  font-size: 0.9rem; color: var(--text-soft);
  padding: 10px 18px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); backdrop-filter: blur(8px);
}
.trust-chips strong { color: var(--text); font-weight: 700; margin-right: 4px; }

/* ===== Sections ===== */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.section-sub { margin-top: 18px; font-size: 1.08rem; color: var(--text-soft); }
.section-sub strong, .section-head strong { color: var(--text); font-weight: 600; }

/* ===== Cards ===== */
.card-grid { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.card-icon {
  width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.3rem;
  border-radius: 12px; background: rgba(20, 150, 185, 0.12); border: 1px solid rgba(20, 150, 185, 0.25);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--text-soft); font-size: 0.98rem; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step-num {
  display: inline-block; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.1em;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { color: var(--text-soft); }
.grounded-banner {
  display: flex; align-items: center; gap: 16px; margin-top: 28px;
  padding: 22px 26px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(20, 150, 185, 0.10), rgba(45, 182, 214, 0.06));
  border: 1px solid rgba(20, 150, 185, 0.28);
}
.grounded-banner p { color: var(--text-soft); }
.grounded-banner strong { color: var(--text); }
.grounded-dot { width: 12px; height: 12px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18); flex-shrink: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18); } 50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.05); } }

/* ===== Metrics ===== */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.metric {
  text-align: center; padding: 34px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.metric-num { display: block; font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.metric-label { display: block; margin-top: 10px; font-size: 0.92rem; color: var(--text-dim); }
.traction-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.check-list li { position: relative; padding: 9px 0 9px 30px; color: var(--text-soft); border-bottom: 1px solid var(--border); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 15px; width: 16px; height: 16px;
  background: var(--accent-grad); border-radius: 5px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== Roadmap ===== */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rm-card {
  padding: 26px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.rm-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.rm-card.live { border-color: rgba(45, 182, 214, 0.45); background: linear-gradient(150deg, rgba(45, 182, 214, 0.10), var(--surface)); }
.rm-card.future { border-style: dashed; }
.rm-card header { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.rm-card h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.rm-badge {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; color: var(--text-dim);
  background: var(--surface-2); border: 1px solid var(--border);
}
.rm-badge.live { color: #04121f; background: var(--accent-grad); border: 0; }
.rm-badge.future { color: var(--accent-2); border-color: rgba(45, 182, 214, 0.4); }
.rm-who { font-size: 0.84rem; color: var(--accent-2); font-weight: 500; margin-bottom: 8px; }
.rm-card > p:last-child { color: var(--text-soft); font-size: 0.95rem; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 800px; margin: 0 auto; }
.team-card { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.team-card.placeholder { border-style: dashed; }
.avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; letter-spacing: 0.04em;
  color: #04121f; background: var(--accent-grad);
}
.team-card.placeholder .avatar { color: var(--text-dim); background: var(--surface-2); border: 1px dashed var(--border-strong); font-size: 1.8rem; }
.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-role { color: var(--accent-2); font-weight: 500; font-size: 0.92rem; margin-bottom: 12px; }
.team-card p:last-child { color: var(--text-soft); font-size: 0.95rem; }

/* ===== CTA ===== */
.cta-section { padding: 80px 0 100px; }
.cta-panel {
  text-align: center; max-width: 780px; margin: 0 auto; padding: 64px 40px;
  border-radius: 28px; border: 1px solid rgba(20, 150, 185, 0.3);
  background: linear-gradient(150deg, rgba(20, 150, 185, 0.12), rgba(45, 182, 214, 0.06));
  box-shadow: var(--shadow);
}
.cta-panel h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-panel > p { color: var(--text-soft); font-size: 1.08rem; max-width: 52ch; margin: 0 auto 32px; }
.cta-panel .hero-cta { justify-content: center; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; font-size: 0.9rem; color: var(--text-dim); }

/* ===== Footer ===== */
.footer { padding: 48px 0; border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-note { color: var(--text-dim); font-size: 0.86rem; max-width: 60ch; }
.footer-copy { color: var(--text-dim); font-size: 0.84rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cols-3, .steps, .roadmap { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 56px; }
  .cols-3, .steps, .roadmap, .traction-detail, .team-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 44px 24px; }
}
@media (max-width: 440px) {
  .metrics { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-chips li { font-size: 0.82rem; padding: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .grounded-dot { animation: none; }
}
