:root{
  --bg:#050622;
  --panel:#0B104C;
  --panel2:#070F4E;
  --text:#EAF2FF;
  --muted:#A9B7D1;

  --c1:#328FD6;   /* primary blue */
  --c2:#9345CF;   /* primary purple */
  --c3:#89D7F3;   /* cyan highlight */
  --c4:#1C46A3;   /* deep blue */
  --c5:#4C1E81;   /* deep purple */

  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 800px at 15% 20%, rgba(50,143,214,.26), transparent 60%),
              radial-gradient(900px 700px at 80% 10%, rgba(147,69,207,.25), transparent 55%),
              radial-gradient(900px 700px at 70% 85%, rgba(137,215,243,.14), transparent 50%),
              var(--bg);
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%; height:auto; display:block}
.container{width:min(1120px, calc(100% - 48px)); margin-inline:auto}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:24px; top:16px; width:auto; height:auto; padding:10px 12px;
  background:rgba(11,16,76,.92); border:1px solid rgba(137,215,243,.25);
  border-radius:12px; z-index:9999;
}

.site-header{
  position:sticky; top:0;
  backdrop-filter: blur(14px);
  background: rgba(5,6,34,.55);
  border-bottom: 1px solid rgba(137,215,243,.10);
  z-index:50;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand{display:flex; align-items:center; gap:12px; min-width: 0}
.brand-logo{height:56px; width:auto; border-radius:14px}
.brand-name{font-weight:800; letter-spacing:.2px; font-size:16px}
.brand-tag{display:block; color:var(--muted); font-size:12px; margin-top:2px}

.nav{display:flex; align-items:center; gap:12px}
.nav-links{list-style:none; display:flex; gap:18px; padding:0; margin:0; align-items:center}
.nav-links a{color:var(--muted); font-weight:600}
.nav-links a:hover{color:var(--text)}
.nav-toggle{
  display:none; width:44px; height:44px; border-radius:14px;
  background: rgba(11,16,76,.55);
  border: 1px solid rgba(137,215,243,.16);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  color:var(--text); cursor:pointer;
}
.burger{
  display:block; width:18px; height:2px; background:var(--text); margin:0 auto;
  position:relative; border-radius:2px;
}
.burger::before,.burger::after{
  content:""; position:absolute; left:0; width:18px; height:2px; background:var(--text);
  border-radius:2px;
}
.burger::before{top:-6px}
.burger::after{top:6px}

.hero{position:relative; padding:72px 0 26px}
.hero-inner{
  display:grid; grid-template-columns: 1.2fr .9fr;
  gap:34px; align-items:center;
}
.eyebrow{margin:0 0 12px}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  border:1px solid rgba(137,215,243,.18);
  background: rgba(11,16,76,.45);
  color: var(--muted);
}
h1{
  font-size: clamp(34px, 4vw, 52px);
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-.6px;
}
.grad{
  background: linear-gradient(90deg, var(--c1), var(--c2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lead{color:var(--muted); font-size:18px; line-height:1.6; margin:0 0 18px}
.hero-ctas{display:flex; gap:12px; flex-wrap:wrap; margin: 12px 0 20px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  border:1px solid rgba(137,215,243,.15);
  background: linear-gradient(135deg, rgba(50,143,214,.95), rgba(147,69,207,.95));
  box-shadow: var(--shadow);
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.btn-ghost{
  background: rgba(11,16,76,.45);
  box-shadow:none;
}
.btn-sm{padding:10px 14px; font-size:14px}

.hero-metrics{
  display:grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
}
.metric{
  padding:12px 12px;
  border-radius: var(--radius);
  border:1px solid rgba(137,215,243,.12);
  background: rgba(11,16,76,.34);
}
.metric-value{font-size:18px}
.metric-label{color:var(--muted); font-weight:700; font-size:12px; margin-top:6px}

.section{padding:64px 0}
.section-alt{
  background: linear-gradient(180deg, rgba(11,16,76,.10), rgba(7,15,78,.22));
  border-top: 1px solid rgba(137,215,243,.08);
  border-bottom: 1px solid rgba(137,215,243,.08);
}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:22px}
.section-head p{margin:0; color:var(--muted)}
h2{margin:0; font-size:28px; letter-spacing:-.3px}

.cards{
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
}
.card{
  border-radius: var(--radius);
  border: 1px solid rgba(137,215,243,.12);
  background: rgba(11,16,76,.30);
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  padding:18px 18px;
}
.card h3{margin:0 0 8px}
.card p{margin:0 0 12px; color:var(--muted); line-height:1.6}
.checklist{margin:0; padding-left:18px; color:var(--text)}
.checklist li{margin:8px 0}

.steps{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
}
.steps li{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid rgba(137,215,243,.12);
  background: rgba(11,16,76,.28);
}
.steps h3{margin:0 0 6px}
.steps p{margin:0; color:var(--muted); line-height:1.6}

.projects{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
}
.project{transition: transform .12s ease}
.project:hover{transform: translateY(-2px)}
.project-top{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px}

.badge{
  display:inline-flex; align-items:center; justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(137,215,243,.14);
  background: rgba(5,6,34,.35);
  color: var(--muted);
  font-weight:700;
  font-size:12px;
}

.cta{
  padding:70px 0;
  position:relative;
}
.cta-inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  border:1px solid rgba(137,215,243,.14);
  background: linear-gradient(135deg, rgba(50,143,214,.18), rgba(147,69,207,.16));
  border-radius: calc(var(--radius) + 6px);
  padding:22px;
  box-shadow: var(--shadow);
}
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  align-content:start;
}
label{display:flex; flex-direction:column; gap:6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(137,215,243,.14);
  background: rgba(5,6,34,.35);
  color: var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(137,215,243,.35);
  box-shadow: 0 0 0 4px rgba(50,143,214,.18);
}
textarea{resize: vertical}
.full{grid-column: 1 / -1}

.site-footer{
  border-top: 1px solid rgba(137,215,243,.10);
  padding: 20px 0 40px;
  background: rgba(5,6,34,.35);
}
.footer-inner{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:center}
.footer-links{display:flex; gap:14px; flex-wrap:wrap}
.footer-links a{color:var(--muted); font-weight:700}
.footer-links a:hover{color:var(--text)}

.mono{font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}
.small{font-size:12px}
.muted{color:var(--muted)}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0}

.hero-card .card{padding:0; overflow:hidden}
.card-top{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid rgba(137,215,243,.10);
  background: rgba(5,6,34,.35);
}
.dots{display:flex; gap:6px}
.dots span{width:10px; height:10px; border-radius:99px; background: rgba(137,215,243,.20)}
.code{margin:0; padding:14px 14px; overflow:auto}
.code code{font-family: "JetBrains Mono", ui-monospace, monospace; font-size:13px; line-height:1.55}
.card-bottom{
  display:flex; gap:8px; flex-wrap:wrap;
  padding:14px 14px;
  border-top:1px solid rgba(137,215,243,.10);
  background: rgba(5,6,34,.25);
}

.glow{position:relative}
.glow::before{
  content:"";
  position:absolute; inset:-1px;
  background: linear-gradient(135deg, rgba(50,143,214,.75), rgba(147,69,207,.7));
  filter: blur(18px);
  opacity:.28;
  z-index:-1;
}

.kw{color: var(--c3); font-weight:700}
.fn{color: #B9A7FF}
.id{color: #EAF2FF}
.str{color: #9AF2C8}
.cmt{color: rgba(169,183,209,.7)}

.hero-bg{position:absolute; inset:0; pointer-events:none; overflow:hidden}
.orb{position:absolute; border-radius:999px; filter: blur(38px); opacity:.45}
.orb-1{width:520px; height:520px; left:-140px; top:-140px; background: rgba(50,143,214,.55)}
.orb-2{width:560px; height:560px; right:-180px; top:60px; background: rgba(147,69,207,.52)}
.grid{
  position:absolute; inset: -30% -10%;
  background-image:
    linear-gradient(rgba(137,215,243,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137,215,243,.08) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(900px) rotateX(60deg) translateY(-130px);
  opacity:.14;
}

@media (max-width: 940px){
  .hero-inner{grid-template-columns: 1fr; gap:18px}
  .section-head{flex-direction:column; align-items:flex-start}
  .cards{grid-template-columns: 1fr}
  .projects{grid-template-columns: 1fr}
  .steps{grid-template-columns: 1fr}
  .cta-inner{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .nav-toggle{display:inline-flex; align-items:center; justify-content:center}
  .nav-links{
    position:absolute;
    right: 24px;
    top: 76px;
    width: min(320px, calc(100vw - 48px));
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:14px;
    border-radius: 18px;
    border:1px solid rgba(137,215,243,.16);
    background: rgba(5,6,34,.86);
    box-shadow: var(--shadow);
    display:none;
  }
  .nav-links.open{display:flex}
}


@media (max-width: 420px){
  .brand-logo{height:48px}
}
