/* =========
   Base
========= */
:root{
  --bg: #0b1220;
  --panel: #0f1a30;
  --card: #101f3a;
  --text: #e9eefc;
  --muted: #b7c3e3;
  --brand: #6aa6ff;
  --brand2: #63e6be;
  --danger: #ff6b6b;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 14px 50px rgba(0,0,0,0.45);
  --max: 1120px;
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color:var(--text);
  line-height:1.5;
  position:relative;
}
body::before{
  content:'';
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(1400px 900px at 20% 0%, rgba(106,166,255,0.22), transparent 70%),
    radial-gradient(1000px 800px at 80% 15%, rgba(99,230,190,0.15), transparent 65%),
    radial-gradient(1200px 700px at 10% 90%, rgba(106,166,255,0.10), transparent 60%);
}

a{color:inherit}
img{max-width:100%; height:auto; display:block}

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

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

/* =========
   Header/Nav
========= */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(11,18,32,0.65);
  border-bottom:1px solid var(--border);
}

.navbar{
  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;
  flex-shrink:0;
}
.brand .mark{
  width:38px; height:38px;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(106,166,255,0.95), rgba(99,230,190,0.95));
  box-shadow: var(--shadow);
  display:grid; place-items:center;
  color:#071022; font-weight:900;
  flex-shrink:0;
}
.brand .name{
  display:flex; flex-direction:column; gap:2px;
}
.brand .name strong{font-size:14px; letter-spacing:0.2px}
.brand .name span{font-size:12px; color:var(--muted)}

/* Hamburger button — hidden on desktop */
.nav-toggle{
  display:none;
  background:none;
  border:1px solid var(--border);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  color:var(--text);
  flex-shrink:0;
  line-height:1;
  font-size:18px;
}

.navlinks{
  display:flex; gap:16px; align-items:center; flex-wrap:wrap;
}
.navlinks a{
  text-decoration:none;
  color:var(--muted);
  font-size:13px;
  padding:8px 10px;
  border-radius:12px;
}
.navlinks a:hover{
  color:var(--text);
  background: rgba(255,255,255,0.06);
}

.cta{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px 14px;
  font-size:13px;
  text-decoration:none;
  background: rgba(255,255,255,0.04);
  color:var(--text);
  white-space:nowrap;
}
.btn:hover{background: rgba(255,255,255,0.08)}
.btn.primary{
  border:none;
  background: linear-gradient(135deg, rgba(106,166,255,0.95), rgba(99,230,190,0.85));
  color:#061022;
  font-weight:700;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; color:var(--muted);
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,0.03);
}

/* Mobile nav */
@media (max-width: 768px){
  .nav-toggle{ display:flex; }
  .badge{ display:none; }

  .navlinks{
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    width:100%;
    padding:12px 0 16px;
    border-top:1px solid var(--border);
  }
  .navlinks.open{ display:flex; }
  .navlinks a{
    font-size:15px;
    padding:12px 14px;
  }

  .cta{
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding-bottom:16px;
  }
  .cta.open{ display:flex; }
  .cta .btn{
    width:100%;
    justify-content:center;
    padding:14px;
    font-size:15px;
  }

  .navbar{
    flex-wrap:wrap;
    padding:12px 0;
  }
}

/* =========
   Hero
========= */
.hero{
  padding:54px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:26px;
  align-items:stretch;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,0.03);
  color:var(--muted);
  font-size:12px;
}
h1{
  margin:14px 0 10px;
  font-size:42px;
  line-height:1.1;
  letter-spacing:-0.6px;
}
@media (max-width:520px){
  h1{font-size:34px}
}

.lead{
  color:var(--muted);
  font-size:16px;
  max-width:60ch;
}

.hero-card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background: rgba(15,26,48,0.55);
  box-shadow: var(--shadow);
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hero-card h3{
  margin:0;
  font-size:15px;
}
.list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:13px;
}
.mini{
  font-size:12px;
  color:var(--muted);
}

/* =========
   Sections
========= */
.section{
  padding:28px 0;
}
.section h2{
  margin:0 0 8px;
  font-size:22px;
}
.section p{
  margin:0 0 14px;
  color:var(--muted);
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 920px){ .grid-3{grid-template-columns:1fr} }

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background: rgba(16,31,58,0.55);
  box-shadow: var(--shadow);
  padding:16px;
}
.card h3{margin:0 0 6px; font-size:15px}
.card p{margin:0; font-size:13px; color:var(--muted)}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 920px){ .split{grid-template-columns:1fr} }

.hr{
  height:1px;
  background: var(--border);
  margin:18px 0;
}

/* =========
   Footer
========= */
.footer{
  padding:26px 0 40px;
  border-top:1px solid var(--border);
  background: transparent;
  margin-top:26px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:14px;
}
@media (max-width: 920px){ .footer-grid{grid-template-columns:1fr} }

.footer a{color:var(--muted); text-decoration:none}
.footer a:hover{color:var(--text)}
.small{font-size:12px; color:var(--muted)}
.pills{display:flex; gap:10px; flex-wrap:wrap}

/* =========
   Forms (contact)
========= */
label{display:block; font-size:13px; color:var(--muted); margin:10px 0 6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  outline: none;
}
textarea{min-height:120px; resize:vertical}
.help{font-size:12px; color:var(--muted); margin-top:8px}
.notice{
  border:1px solid rgba(255,107,107,0.35);
  background: rgba(255,107,107,0.08);
  border-radius: var(--radius);
  padding:12px 14px;
  color: var(--muted);
  font-size:12px;
}

/* =========
   Mobile Polish
========= */
@media (max-width: 768px){
  .hero{ padding:32px 0 16px; }
  h1{ font-size:28px; letter-spacing:-0.3px; }
  .kicker{ white-space:normal; word-break:break-word; }
  .lead{ font-size:14px; }
  .section{ padding:20px 0; }
  .container{ padding:0 16px; }
  .pills{ gap:8px; }
  .pills .btn{ flex:1; justify-content:center; min-width:120px; }
  .card{ padding:14px; }
  input, textarea{ font-size:16px; } /* prevents iOS zoom on focus */
  button.btn{ font-size:16px; padding:14px; width:100%; }
  .hr{ margin:14px 0; }
}
