:root{
  --bg:#06111f;
  --bg2:#091827;
  --panel:#0d1d30;
  --panel2:#11263c;
  --text:#f5f8fc;
  --muted:#9fb0c5;
  --line:rgba(255,255,255,.11);
  --accent:#55d6ff;
  --accent2:#7ce9be;
  --warning:#ffc66d;
  --max:1180px;
  --radius:18px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 80% 0%,rgba(85,214,255,.10),transparent 30%),
    linear-gradient(180deg,#06111f 0%,#071421 100%);
  color:var(--text);
  line-height:1.6;
}

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

button,input,select,textarea{
  font:inherit;
}

.container{
  width:min(var(--max),calc(100% - 40px));
  margin:auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(6,17,31,.93);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(18px);
}

.nav{
  min-height:72px;
  display:flex;
  align-items:center;
  gap:24px;
}

.brand{
  font-size:18px;
  font-weight:800;
  letter-spacing:.04em;
  white-space:nowrap;
}

.brand span{color:var(--accent)}

.nav-links{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:20px;
  font-size:14px;
  color:var(--muted);
}

.nav-links a:hover,
.nav-links a.active{
  color:white;
}

.nav-cta{
  padding:9px 14px;
  border:1px solid rgba(85,214,255,.5);
  border-radius:999px;
  color:white!important;
}

.mobile-menu{
  display:none;
  margin-left:auto;
  color:white;
  background:none;
  border:1px solid var(--line);
  border-radius:10px;
  padding:8px 12px;
}

.hero{
  padding:82px 0 58px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.16fr .84fr;
  gap:52px;
  align-items:center;
}

.eyebrow{
  display:inline-block;
  margin-bottom:17px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.13em;
  color:var(--accent);
}

h1{
  margin:0;
  max-width:950px;
  font-size:clamp(43px,6vw,72px);
  line-height:1.02;
  letter-spacing:-.045em;
}

h2{
  margin:0 0 18px;
  font-size:clamp(30px,4vw,46px);
  line-height:1.08;
  letter-spacing:-.03em;
}

h3{
  margin:0 0 10px;
  font-size:20px;
}

p{margin:0 0 16px}

.lead{
  margin-top:24px;
  max-width:820px;
  font-size:20px;
  color:var(--muted);
}

.actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.btn{
  min-height:46px;
  padding:0 18px;
  border-radius:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  font-weight:750;
  cursor:pointer;
}

.btn-primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#02101a;
}

.btn-secondary{
  background:rgba(255,255,255,.035);
  color:white;
}

section{
  padding:66px 0;
}

.section-head{
  max-width:820px;
  margin-bottom:32px;
}

.section-head p,
.muted,
.card p,
.panel p{
  color:var(--muted);
}

.grid-2,
.grid-3,
.grid-4{
  display:grid;
  gap:18px;
}

.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}

.card,
.panel,
.hero-visual{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  box-shadow:0 22px 60px rgba(0,0,0,.22);
}

.card,
.panel{
  padding:24px;
}

.hero-visual{
  padding:28px;
}

.flow{
  display:grid;
  gap:11px;
}

.flow-node{
  padding:15px 16px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--muted);
}

.flow-node strong{
  display:block;
  color:var(--accent);
  margin-bottom:3px;
}

.flow-arrow{
  text-align:center;
  color:#65778f;
}

.tag{
  display:inline-flex;
  border:1px solid var(--line);
  color:var(--muted);
  border-radius:999px;
  padding:4px 9px;
  margin-bottom:14px;
  font-size:12px;
}

.metric{
  font-size:34px;
  line-height:1;
  margin-bottom:14px;
  color:var(--accent);
  font-weight:850;
}

.architecture{
  display:grid;
  gap:13px;
}

.arch-layer{
  padding:21px;
  border-radius:14px;
  border:1px solid var(--line);
  background:var(--panel);
  color:var(--muted);
}

.arch-layer strong{
  display:block;
  margin-bottom:5px;
  color:white;
}

.arch-layer.foundation{
  border-color:rgba(85,214,255,.42);
}

.arch-layer.engine{
  border-color:rgba(124,233,190,.42);
}

.demo-frame{
  min-height:360px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#081725;
  overflow:hidden;
}

.demo-stage{
  padding:28px;
}

.demo-controls{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:20px;
}

.demo-output{
  min-height:210px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.035);
}

.timeline{
  display:grid;
}

.timeline-item{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:20px;
  padding:22px 0;
  border-top:1px solid var(--line);
}

.timeline-item:first-child{
  border-top:none;
}

.disclosure{
  border-left:4px solid var(--warning);
  background:rgba(255,198,109,.07);
  padding:20px 22px;
  border-radius:0 13px 13px 0;
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  padding:15px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}

th{
  color:var(--muted);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.form-grid{
  display:grid;
  gap:14px;
}

label{
  display:grid;
  gap:7px;
  color:var(--muted);
  font-size:14px;
}

input,
select,
textarea{
  width:100%;
  padding:12px 13px;
  color:white;
  background:#081625;
  border:1px solid var(--line);
  border-radius:10px;
}

textarea{
  min-height:120px;
  resize:vertical;
}

.site-footer{
  margin-top:38px;
  padding:42px 0;
  border-top:1px solid var(--line);
  color:var(--muted);
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:30px;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.small{font-size:13px}

@media(max-width:920px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  .grid-4,
  .grid-3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .nav-links{
    display:none;
    position:absolute;
    top:72px;
    left:20px;
    right:20px;
    padding:18px;
    background:#081725;
    border:1px solid var(--line);
    border-radius:14px;
    flex-direction:column;
    align-items:stretch;
  }

  .nav-links.open{display:flex}

  .mobile-menu{display:block}
}

@media(max-width:680px){
  .container{
    width:min(var(--max),calc(100% - 26px));
  }

  .hero{
    padding:52px 0 36px;
  }

  h1{font-size:43px}

  .grid-2,
  .grid-3,
  .grid-4{
    grid-template-columns:1fr;
  }

  .timeline-item{
    grid-template-columns:1fr;
    gap:5px;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  table{
    font-size:13px;
  }
}
