:root{
  --bg: #050607;
  --bg2:#0a0c0f;
  --text:#f2f2f2;
  --muted:#b9b9b9;
  --line: rgba(255,255,255,.10);
  --line2: rgba(255,255,255,.16);
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --glow: 0 0 0 1px rgba(255,255,255,.14), 0 0 40px rgba(255,255,255,.06);
  --radius: 18px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 800px at 20% 10%, #0b0e13 0%, var(--bg) 55%, #040507 100%);
  overflow-x:hidden;
}

/* Star canvas behind everything */
#starfield{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:-2;
}

/* subtle grain overlay */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  opacity:.10;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
}

.container{
  width:min(1100px, 92vw);
  margin:0 auto;
}

.nav{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(5,6,7,.82), rgba(5,6,7,.55));
  border-bottom:1px solid var(--line);
}

.nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
}
.brand__dot{
  width:10px;height:10px;border-radius:99px;
  background:var(--text);
  box-shadow: 0 0 18px rgba(255,255,255,.35);
}
.brand__text{font-weight:700; letter-spacing:.06em}

.nav__links{
  display:flex;
  gap:18px;
}
.nav__links a{
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
  transition: all .18s ease;
}
.nav__links a:hover{
  color:var(--text);
  background: rgba(255,255,255,.05);
  box-shadow: var(--glow);
}

.nav__burger{
  display:none;
  width:44px;height:44px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  cursor:pointer;
}
.nav__burger span{
  display:block;
  height:2px;
  margin:7px 10px;
  background: rgba(255,255,255,.85);
  border-radius:2px;
}

.nav__mobile{
  display:none;
  flex-direction:column;
  padding:10px 0 14px;
  border-top:1px solid var(--line);
}
.nav__mobile a{
  color:var(--muted);
  text-decoration:none;
  padding:12px 0;
}
.nav__mobile a:hover{color:var(--text)}

.hero{
  display:grid;
  grid-template-columns: 1.35fr .9fr;
  gap:26px;
  padding:48px 0 22px;
}

.kicker{
  color:var(--muted);
  font-size:13px;
  letter-spacing:.02em;
  margin:0 0 12px;
}

h1{
  margin:0 0 10px;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height:1.05;
  letter-spacing:-0.02em;
}
.muted{color:var(--muted); font-weight:600}
.h1-sub{
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255,255,255,.86);
  font-weight:500;
}

.lead{
  margin: 12px 0 18px;
  color: rgba(255,255,255,.80);
  max-width: 60ch;
}

.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:14px}

.btn{
  appearance:none;
  border:none;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 14px;
  font-weight:600;
  font-size:14px;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease, color .14s ease;
}
.btn:active{transform: translateY(1px)}
.btn--primary{
  color:#0b0b0b;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.btn--primary:hover{box-shadow: 0 18px 50px rgba(0,0,0,.55)}
.btn--ghost{
  color:var(--text);
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.06);
  border-color: var(--line2);
  box-shadow: var(--glow);
}
.btn--tiny{
  padding:10px 12px;
  font-size:13px;
  color:var(--text);
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
}
.btn--tiny:hover{box-shadow: var(--glow); border-color: var(--line2)}

.hero__chips{display:flex; gap:8px; flex-wrap:wrap}
.chip{
  font-size:12px;
  color: rgba(255,255,255,.82);
  padding:8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
}

.hero__panel{display:flex; align-items:stretch}
.glass{
  width:100%;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px 18px 16px;
  box-shadow: var(--shadow);
}
.glass__title{
  margin:0 0 10px;
  color: rgba(255,255,255,.86);
  font-weight:600;
}
.glass__list{
  margin:0;
  padding-left:18px;
  color: rgba(255,255,255,.76);
  font-size:14px;
}
.glass__line{
  height:1px;
  background: var(--line);
  margin:14px 0 12px;
}
.glass__mini{
  margin:0;
  color: rgba(255,255,255,.62);
  font-size:12px;
}

.section{padding:42px 0}
h2{
  margin:0 0 16px;
  font-size:22px;
  letter-spacing:-0.01em;
}
.text{color: rgba(255,255,255,.80); line-height:1.65}

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

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px 16px 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.40);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: var(--line2);
  box-shadow: 0 18px 55px rgba(0,0,0,.56), var(--glow);
}
.card h3{margin:0 0 10px; font-size:16px}
.card ul{margin:0; padding-left:18px; color: rgba(255,255,255,.76); font-size:14px; line-height:1.6}
.card--project p{margin:0 0 10px; color: rgba(255,255,255,.78)}
.card__top{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px}
.tag{
  font-size:12px;
  color: rgba(255,255,255,.82);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.mini{margin-top:0}

.card__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}

.contact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.link{color: rgba(255,255,255,.92)}
.link:hover{opacity:.85}

.footer{
  padding:34px 0 48px;
  color: rgba(255,255,255,.55);
  font-size:12px;
  border-top:1px solid var(--line);
}

.toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(10,12,15,.92);
  border:1px solid var(--line2);
  padding:10px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.86);
  font-size:13px;
  box-shadow: var(--shadow);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show{
  opacity:1;
  transform: translateX(-50%) translateY(-4px);
}

/* responsive */
@media (max-width: 900px){
  .hero{grid-template-columns: 1fr; padding-top:34px}
  .grid--3{grid-template-columns: 1fr}
  .grid--2{grid-template-columns: 1fr}
  .nav__links{display:none}
  .nav__burger{display:block}
  .nav__mobile.show{display:flex}
}
