:root {
  --bg: #060A12;
  --bg2: #0B1020;
  --surface: #111827;
  --surface-hover: #172033;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.07);
  --text: #E8ECF2;
  --text-muted: #8B93A5;
  --text-dim: #5A6175;
  --navy: #1E3A5F;
  --accent: #4D8BFF;
  --accent-glow: rgba(77,139,255,0.25);
  --accent2: #00E5A0;
  --accent2-glow: rgba(0,229,160,0.15);
  --gradient-hero: linear-gradient(135deg, rgba(30,58,95,0.25) 0%, rgba(0,229,160,0.06) 100%);
  --gradient-card: linear-gradient(145deg, rgba(77,139,255,0.08), rgba(0,229,160,0.04));
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
header {
  position: fixed; top:0; left:0; right:0; z-index:100;
  padding: 12px 32px;
  background: rgba(6,10,18,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
}
nav {
  max-width:1200px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
}
.logo { display:flex; align-items:center; gap:4px; }
.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight:800; font-size:1.6rem; letter-spacing:0.12em;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.nav-links { display:flex; align-items:center; gap:32px; font-size:0.9rem; color:var(--text-muted); }
.nav-links a { transition:color 0.2s; }
.nav-links a:hover { color:var(--text); }
.btn-nav {
  padding:10px 22px; background:var(--accent); border-radius:8px;
  font-weight:600; font-size:0.88rem; color:#fff;
  transition: box-shadow 0.3s, transform 0.2s;
}
.btn-nav:hover { box-shadow:0 0 24px var(--accent-glow); transform:translateY(-1px); }

/* ===== COMMON ===== */
section { padding:120px 32px; }
.container { max-width:1200px; margin:0 auto; }
.section-label {
  font-size:0.8rem; font-weight:600;
  text-transform:uppercase; letter-spacing:0.1em;
  color:var(--accent); margin-bottom:16px;
}
h1, h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight:700; letter-spacing:-0.02em; line-height:1.12;
}
h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom:20px; }
.section-sub {
  font-size:1.05rem; color:var(--text-muted);
  max-width:560px; line-height:1.7;
}
.grad {
  background: linear-gradient(135deg, var(--accent) 20%, var(--accent2) 80%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.btn-main {
  display:inline-block; padding:16px 32px;
  background:var(--accent); border-radius:10px;
  font-weight:600; font-size:1rem; color:#fff;
  transition:all 0.3s; box-shadow:0 4px 24px var(--accent-glow);
}
.btn-main:hover { transform:translateY(-2px); box-shadow:0 8px 40px var(--accent-glow); }
.btn-outline {
  display:inline-block; padding:16px 32px;
  border:1px solid var(--glass-border); border-radius:10px;
  font-weight:500; font-size:1rem; color:var(--text);
  background:var(--glass); backdrop-filter:blur(8px);
  transition:all 0.3s;
}
.btn-outline:hover { border-color:rgba(255,255,255,0.18); background:rgba(255,255,255,0.06); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 160px 32px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: var(--gradient-hero);
  pointer-events:none;
}
.page-hero-content { position:relative; z-index:1; max-width:720px; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom:20px;
}
.page-hero .section-sub { max-width:600px; }

/* ===== CARDS ===== */
.card {
  background:var(--surface);
  border:1px solid var(--glass-border);
  border-radius:16px;
  padding:36px 28px;
  position:relative;
  overflow:hidden;
  transition:transform 0.3s, border-color 0.3s;
}
.card:hover {
  transform:translateY(-4px);
  border-color:rgba(77,139,255,0.3);
}
.card::after {
  content:''; position:absolute; inset:0;
  background:var(--gradient-card);
  opacity:0; transition:opacity 0.3s; pointer-events:none;
}
.card:hover::after { opacity:1; }
.card-icon {
  width:48px; height:48px; border-radius:12px;
  background:linear-gradient(135deg, rgba(30,58,95,0.5), rgba(77,139,255,0.15));
  border:1px solid rgba(77,139,255,0.2);
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; margin-bottom:24px;
  position:relative; z-index:1;
}
.card h3 {
  font-family:'Space Grotesk', sans-serif;
  font-size:1.15rem; font-weight:600;
  margin-bottom:12px; position:relative; z-index:1;
}
.card p {
  font-size:0.9rem; color:var(--text-muted);
  line-height:1.65; position:relative; z-index:1;
}

/* ===== FOOTER ===== */
footer {
  border-top:1px solid var(--glass-border);
  padding:48px 32px; background:var(--bg);
}
.footer-grid {
  max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns:1.5fr 1fr 1fr;
  gap:48px;
}
.footer-brand { display:flex; align-items:center; gap:4px; margin-bottom:16px; }
.footer-brand .wordmark { font-size:1.4rem; }
.footer-desc {
  font-size:0.88rem; color:var(--text-muted);
  line-height:1.6; max-width:320px; margin-bottom:20px;
}
.footer-email { font-size:0.9rem; color:var(--accent); font-weight:500; }
.footer-heading {
  font-family:'Space Grotesk', sans-serif;
  font-size:0.85rem; font-weight:600;
  text-transform:uppercase; letter-spacing:0.08em;
  color:var(--text); margin-bottom:20px;
}
.footer-link-list { list-style:none; display:flex; flex-direction:column; gap:12px; }
.footer-link-list a { font-size:0.9rem; color:var(--text-muted); transition:color 0.2s; }
.footer-link-list a:hover { color:var(--text); }
.social-links { display:flex; gap:14px; margin-top:4px; }
.social-link {
  width:40px; height:40px; border-radius:10px;
  background:var(--surface); border:1px solid var(--glass-border);
  display:flex; align-items:center; justify-content:center;
  transition:all 0.3s; color:var(--text-muted);
}
.social-link:hover {
  border-color:var(--accent); color:var(--accent);
  transform:translateY(-2px); box-shadow:0 4px 16px var(--accent-glow);
}
.social-link svg { width:18px; height:18px; fill:currentColor; }
.footer-bottom {
  max-width:1200px; margin:0 auto;
  padding-top:28px; margin-top:40px;
  border-top:1px solid var(--glass-border);
  display:flex; justify-content:space-between;
  align-items:center; flex-wrap:wrap; gap:12px;
  font-size:0.82rem; color:var(--text-dim);
}

/* ===== MOBILE NAV ===== */
.nav-toggle {
  display:none;
  background:none; border:none; cursor:pointer;
  padding:8px; color:var(--text);
}
.nav-toggle svg { width:24px; height:24px; stroke:currentColor; stroke-width:2; fill:none; }

/* ===== RESPONSIVE ===== */
@media (max-width:900px) {
  .footer-grid { grid-template-columns:1fr; gap:32px; }
}
@media (max-width:768px) {
  /* Hamburger nav */
  .nav-toggle { display:block; }
  .nav-links {
    display:none;
    position:fixed;
    top:0; left:0; right:0; bottom:0;
    background:rgba(6,10,18,0.97);
    backdrop-filter:blur(20px);
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:28px;
    z-index:200;
    font-size:1.2rem;
  }
  .nav-links.open { display:flex; }
  .nav-links a { color:var(--text); }
  .btn-nav { font-size:1rem !important; padding:14px 32px !important; }
  .nav-close {
    position:absolute; top:20px; right:20px;
    background:none; border:none; cursor:pointer;
    color:var(--text); padding:8px;
  }
  .nav-close svg { width:28px; height:28px; stroke:currentColor; stroke-width:2; fill:none; }
}
@media (max-width:600px) {
  section { padding:72px 16px; }
  header { padding:10px 16px; }
  footer { padding:36px 16px; }
  .page-hero { padding:110px 16px 48px; }
  .page-hero h1 { font-size:clamp(1.6rem, 7vw, 2.4rem); }
  .section-sub { font-size:0.95rem; }
  h2 { font-size:clamp(1.5rem, 5vw, 2rem); }
  .card { padding:24px 20px; }
  .btn-main, .btn-outline { width:100%; text-align:center; padding:14px 24px; font-size:0.95rem; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .wordmark { font-size:1.3rem; }
}
a:focus-visible, button:focus-visible {
  outline:2px solid var(--accent2); outline-offset:2px;
}
