/* ASTROSEE Landing — vanilla CSS (Cloudflare Pages friendly) */
:root{
  --bg: #0b1020;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --shadow: 0 20px 70px rgba(0,0,0,.45);
  --rad: 18px;

  --a1: #59f1ff;
  --a2: #7c7bff;
  --a3: #7dffa6;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(1200px 700px at 10% 0%, rgba(124,123,255,.20), transparent 60%),
              radial-gradient(900px 600px at 90% 20%, rgba(89,241,255,.20), transparent 55%),
              radial-gradient(1000px 700px at 50% 100%, rgba(125,255,166,.10), transparent 60%),
              var(--bg);
  color:var(--text);
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}

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

.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:#000; border:1px solid var(--border); border-radius:12px; z-index:9999;}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(150%) blur(10px);
  background: rgba(11,16,32,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px;}
.brand__mark{
  width:26px; height:26px; border-radius:9px;
  background: radial-gradient(circle at 30% 30%, var(--a1), transparent 55%),
              radial-gradient(circle at 70% 70%, var(--a2), transparent 55%),
              rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
}
.brand--small .brand__mark{width:22px;height:22px;border-radius:8px}

.nav{display:flex; gap:18px; align-items:center;}
.nav a{color:var(--muted); font-weight:500}
.nav a:hover{color:var(--text)}

.topbar__cta{display:flex; gap:10px; align-items:center;}
.hamburger{
  display:none;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius:14px;
  padding:10px 10px;
  cursor:pointer;
}
.hamburger span{display:block;width:18px;height:2px;background:rgba(255,255,255,.80);margin:4px 0;border-radius:99px}

.mobile{
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(11,16,32,.70);
}
.mobile__inner{
  padding:14px 0 18px;
  display:flex; flex-direction:column; gap:12px;
}
.mobile__inner a{color:var(--muted); font-weight:600}
.mobile__inner a:hover{color:var(--text)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:600;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.22)}
.btn--primary{
  border-color: rgba(89,241,255,.35);
  background: linear-gradient(135deg, rgba(89,241,255,.22), rgba(124,123,255,.20));
}
.btn--ghost{
  background: transparent;
}
.btn--wide{width:100%}

.hero{position:relative; padding:62px 0 34px; overflow:hidden;}
.hero__grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:26px; align-items:center;}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
  letter-spacing:.2px;
}
h1{font-size: clamp(34px, 4.2vw, 54px); line-height:1.05; margin:14px 0 14px;}
.lead{font-size: clamp(16px, 1.3vw, 18px); color:var(--muted); max-width: 58ch; margin:0 0 18px;}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 22px;}

.grad{background:linear-gradient(90deg, var(--a1), var(--a2)); -webkit-background-clip:text; background-clip:text; color:transparent}
.grad2{background:linear-gradient(90deg, var(--a2), var(--a3)); -webkit-background-clip:text; background-clip:text; color:transparent}
.grad3{background:linear-gradient(90deg, var(--a3), var(--a1)); -webkit-background-clip:text; background-clip:text; color:transparent}

.metrics{display:flex; gap:14px; flex-wrap:wrap; margin-top:18px;}
.metric{
  flex:1; min-width:160px;
  padding:12px 12px;
  border-radius: var(--rad);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.metric__k{font-weight:800; letter-spacing:.3px;}
.metric__v{color:var(--muted); font-weight:500; font-size:14px}

.hero__card .card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.card__top{
  display:flex; align-items:center; gap:8px;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}
.dot{width:10px;height:10px;border-radius:50%;}
.dot--r{background:rgba(255,120,120,.85)}
.dot--y{background:rgba(255,220,120,.85)}
.dot--g{background:rgba(120,255,180,.85)}
.card__title{margin-left:6px; color:var(--muted); font-weight:700; font-size:13px}
.card__body{padding:14px;}
.chiprow{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px;}
.chip{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.80);
  font-weight:600;
}
.viz{
  position:relative;
  height:170px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(500px 280px at 20% 10%, rgba(89,241,255,.18), transparent 60%),
    radial-gradient(480px 260px at 80% 70%, rgba(124,123,255,.14), transparent 60%),
    rgba(0,0,0,.22);
  overflow:hidden;
}
.viz__grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity:.6;
}
.viz__pulse{
  position:absolute; left:18%; top:48%;
  width:180px; height:180px;
  transform: translate(-50%,-50%);
  border-radius:50%;
  border:1px solid rgba(89,241,255,.35);
  box-shadow: 0 0 0 0 rgba(89,241,255,.14);
  animation: pulse 2.2s infinite ease-out;
}
.viz__pulse--2{
  left:70%; top:62%;
  width:140px;height:140px;
  border-color: rgba(124,123,255,.28);
  animation-delay: .7s;
}
@keyframes pulse{
  0%{transform: translate(-50%,-50%) scale(.72); opacity:.95}
  100%{transform: translate(-50%,-50%) scale(1.35); opacity:0}
}
.viz__trace{
  position:absolute; left:0; top:60%;
  height:2px; width:100%;
  background: linear-gradient(90deg, transparent, rgba(125,255,166,.55), transparent);
  animation: sweep 2.7s infinite ease-in-out;
}
@keyframes sweep{
  0%{transform: translateX(-30%)}
  50%{transform: translateX(0%)}
  100%{transform: translateX(30%)}
}

.kpis{display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin-top:12px;}
.kpi{
  padding:10px 10px;
  border-radius:16px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.kpi__label{color:var(--muted); font-size:12px; font-weight:600}
.kpi__value{font-weight:700; margin-top:4px; font-size:13px}
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  font-size:12px; font-weight:800;
}
.badge--ok{background: rgba(125,255,166,.10); border-color: rgba(125,255,166,.22)}

.log{margin-top:12px; display:grid; gap:8px;}
.log__line{
  display:flex; gap:10px; align-items:center;
  color:rgba(255,255,255,.80);
  font-weight:600; font-size:13px;
}
.log__line span{color:rgba(125,255,166,.95)}

.section{padding:58px 0;}
.section--alt{background: rgba(255,255,255,.02); border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06);}
.section__head{margin-bottom:22px;}
.section__head h2{font-size: clamp(26px, 2.6vw, 36px); margin:0 0 8px;}
.section__head p{margin:0; color:var(--muted); max-width: 78ch;}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px;}

.feature, .case{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--rad);
  padding:16px 16px;
}
.feature h3, .case h3{margin:0 0 8px;}
.feature p, .case p{margin:0 0 10px; color:var(--muted);}
.feature ul{margin:10px 0 0; padding-left:18px; color:rgba(255,255,255,.78);}
.feature li{margin:6px 0}

.split{
  margin-top:18px;
  display:grid; grid-template-columns: 1.05fr .95fr; gap:14px; align-items:stretch;
}
.steps{margin:0; padding-left:0; list-style:none; display:grid; gap:10px;}
.steps li{
  display:flex; gap:12px; align-items:flex-start;
  padding:12px 12px;
  border-radius: var(--rad);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.steps__n{
  width:30px; height:30px; border-radius:11px;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(89,241,255,.14);
  border:1px solid rgba(89,241,255,.22);
  font-weight:800;
}
.split__panel .panel{
  height:100%;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--rad);
  padding:16px 16px;
}
.panel h4{margin:0 0 10px;}
.panel__grid{display:grid; gap:10px; margin-bottom:12px;}
.panel__item{
  display:flex; gap:10px; align-items:center;
  padding:12px 12px;
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
}
.panel__item span{font-size:18px}
.muted{color:var(--muted)}

.tech{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.tech__col{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--rad);
  padding:16px 16px;
}
.tech__col h3{margin:0 0 8px}
.bullets{margin:0; padding-left:18px; color:rgba(255,255,255,.80)}
.bullets li{margin:8px 0}

.callout{
  margin-top:18px;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
  padding:18px 18px;
  border-radius: 22px;
  border:1px solid rgba(89,241,255,.22);
  background: linear-gradient(135deg, rgba(89,241,255,.12), rgba(124,123,255,.10));
}
.callout h3{margin:0 0 6px}
.callout p{margin:0; color:var(--muted)}

.faq details{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--rad);
  padding:14px 14px;
  margin:12px 0;
}
.faq summary{cursor:pointer; font-weight:700}
.faq p{color:var(--muted); margin:10px 0 0}

.contact{
  display:grid; grid-template-columns: 1.05fr .95fr; gap:14px; align-items:start;
}
.form{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--rad);
  padding:16px 16px;
}
label{display:grid; gap:7px; font-weight:650; color:rgba(255,255,255,.88); margin-bottom:12px;}
input, textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color:var(--text);
  padding:12px 12px;
  font: inherit;
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(89,241,255,.35)}
.form__hint{margin:10px 0 0; color:var(--muted); font-size:12.5px}
.form__ok{margin:10px 0 0; font-weight:700}
.note{
  display:flex; gap:10px; align-items:flex-start;
  padding:12px 12px;
  border-radius: var(--rad);
  background: rgba(0,0,0,.16);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.82);
}

.footer{
  padding:26px 0;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.footer__inner{
  display:flex; justify-content:space-between; gap:18px; align-items:flex-start;
}
.footer__right{display:flex; gap:14px; flex-wrap:wrap;}
.footer__right a{color:var(--muted); font-weight:600}
.footer__right a:hover{color:var(--text)}
.footer__bottom{
  margin-top:14px;
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
}

/* Glows */
.glow{
  position:absolute; inset:auto;
  filter: blur(60px);
  opacity:.55;
  pointer-events:none;
}
.glow--1{
  width:520px; height:380px;
  left:-180px; top:-160px;
  background: radial-gradient(circle, rgba(89,241,255,.35), transparent 60%);
}
.glow--2{
  width:580px; height:420px;
  right:-220px; bottom:-240px;
  background: radial-gradient(circle, rgba(124,123,255,.35), transparent 60%);
}

/* Responsive */
@media (max-width: 940px){
  .hero__grid{grid-template-columns:1fr; gap:18px;}
  .grid3{grid-template-columns:1fr;}
  .grid2{grid-template-columns:1fr;}
  .split{grid-template-columns:1fr;}
  .tech{grid-template-columns:1fr;}
  .contact{grid-template-columns:1fr;}
  .nav{display:none}
  .topbar__cta{display:none}
  .hamburger{display:inline-flex}
}
