:root {
  --bg: #08111f;
  --bg-soft: #0d1a2d;
  --panel: rgba(16, 31, 51, 0.78);
  --panel-solid: #102039;
  --text: #f5f7fb;
  --muted: #a8b3c7;
  --line: rgba(255, 255, 255, 0.09);
  --brand: #6ee7ff;
  --brand-2: #7c5cff;
  --accent: #60f0b1;
  --warning: #ffd166;
  --danger: #ff7f8f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(124, 92, 255, 0.18), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(110, 231, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #08111f 0%, #091522 52%, #07101b 100%);
  min-height: 100vh;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 31, 0.76);
  border-bottom: 1px solid var(--line);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 28px rgba(110, 231, 255, 0.22);
  position: relative;
}
.brand-mark::after { content: ""; position: absolute; inset: 8px; border: 2px solid #08111f; border-radius: 6px; }
.brand span:last-child { font-size: 1.06rem; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: var(--muted); padding: 10px 12px; border-radius: 10px; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta { margin-left: 6px; }

.menu-btn { display: none; border: 1px solid var(--line); background: rgba(255,255,255,0.05); color: white; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; cursor: pointer; transition: .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #06111a; background: linear-gradient(135deg, var(--brand), var(--accent)); box-shadow: 0 12px 34px rgba(96, 240, 177, 0.16); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,0.05); color: white; }

.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 54px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); margin-top: 18px; }
h2 { font-size: clamp(2rem, 3.5vw, 3.15rem); }
h3 { font-size: 1.15rem; }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin: 24px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: var(--muted); font-size: .92rem; }
.hero-meta strong { color: white; }

.visual-card {
  position: relative;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    radial-gradient(circle at 70% 15%, rgba(110,231,255,.18), transparent 26%),
    rgba(9, 22, 37, .75);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.grid-lines {
  position: absolute; inset: 0; opacity: .24;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 38px 38px;
}
.orbit { position: absolute; border: 1px solid rgba(110,231,255,.2); border-radius: 50%; }
.orbit.one { width: 300px; height: 300px; right: -54px; top: 48px; }
.orbit.two { width: 180px; height: 180px; right: 8px; top: 108px; border-color: rgba(124,92,255,.25); }
.shield {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(45deg);
  width: 190px; height: 190px; border-radius: 44px;
  background: linear-gradient(135deg, rgba(110,231,255,.95), rgba(124,92,255,.88));
  box-shadow: 0 0 80px rgba(110,231,255,.2);
}
.shield::before { content: ""; position: absolute; inset: 18px; background: #0b1727; border-radius: 30px; }
.shield::after { content: "N"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand); font-weight: 900; font-size: 4rem; transform: rotate(-45deg); }
.stat-float { position: absolute; min-width: 150px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8,17,31,.83); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.stat-float strong { display: block; font-size: 1.35rem; }
.stat-float span { color: var(--muted); font-size: .82rem; }
.stat-a { left: 24px; top: 44px; }
.stat-b { right: 22px; bottom: 34px; }
.stat-c { left: 30px; bottom: 76px; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px rgba(96,240,177,.6); margin-right: 7px; }

.section { padding: 82px 0; }
.section-tight { padding: 52px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-head p { color: var(--muted); max-width: 600px; margin: 0; }
.kicker { color: var(--brand); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; margin-bottom: 12px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 26px; box-shadow: 0 18px 45px rgba(0,0,0,.12); }
.card p { color: var(--muted); margin-bottom: 0; }
.icon-box { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(135deg, rgba(110,231,255,.16), rgba(124,92,255,.14)); border: 1px solid rgba(110,231,255,.16); color: var(--brand); font-weight: 900; }

.metric-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric { background: rgba(8,17,31,.88); padding: 28px; }
.metric strong { display: block; font-size: 2rem; margin-bottom: 4px; }
.metric span { color: var(--muted); font-size: .9rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.copy p { color: var(--muted); }
.checks { display: grid; gap: 12px; margin-top: 22px; }
.check { display: flex; gap: 12px; color: #dce4ef; }
.check i { flex: 0 0 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #06111a; background: var(--accent); font-style: normal; font-size: .8rem; font-weight: 900; }

.stack-graphic { min-height: 400px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(124,92,255,.13), rgba(110,231,255,.07)); position: relative; overflow: hidden; }
.stack-layer { position: absolute; left: 50%; width: 72%; height: 84px; transform: translateX(-50%) skewX(-8deg); border-radius: 14px; border: 1px solid rgba(255,255,255,.11); background: rgba(10,25,42,.92); box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.stack-layer:nth-child(1){ top: 76px; }
.stack-layer:nth-child(2){ top: 160px; left: 52%; }
.stack-layer:nth-child(3){ top: 244px; left: 54%; }
.stack-layer span { display: block; transform: skewX(8deg); padding: 26px; font-weight: 800; }
.stack-layer small { color: var(--muted); margin-left: 8px; font-weight: 500; }

.page-hero { padding: 78px 0 44px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.35rem); max-width: 900px; }
.page-hero p { color: var(--muted); max-width: 760px; font-size: 1.08rem; margin-top: 20px; }

.timeline { display: grid; gap: 16px; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: start; }
.timeline-year { color: var(--brand); font-weight: 900; padding-top: 20px; }
.timeline-body { border: 1px solid var(--line); background: var(--panel); padding: 22px; border-radius: var(--radius-sm); }
.timeline-body p { color: var(--muted); margin-bottom: 0; }

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.person { overflow: hidden; padding: 0; }
.avatar { aspect-ratio: 4/3; display: grid; place-items: center; background: linear-gradient(135deg, rgba(110,231,255,.13), rgba(124,92,255,.18)); position: relative; }
.avatar::before { content: ""; width: 116px; height: 116px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); opacity: .85; }
.avatar::after { content: ""; width: 188px; height: 88px; border-radius: 90px 90px 20px 20px; position: absolute; bottom: 28px; background: rgba(11,23,39,.88); }
.person-copy { padding: 22px; }
.person-role { color: var(--brand); font-size: .88rem; font-weight: 800; }
.person-copy p { margin-bottom: 0; }

.service-row { display: grid; grid-template-columns: 68px 1fr auto; align-items: center; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-number { color: var(--muted); font-size: .86rem; }
.service-row p { color: var(--muted); margin: 7px 0 0; }
.service-pill { border: 1px solid var(--line); padding: 7px 10px; border-radius: 999px; font-size: .78rem; color: var(--muted); white-space: nowrap; }

.future-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.future-card { min-height: 250px; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; }
.future-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; top: -80px; right: -60px; background: radial-gradient(circle, rgba(110,231,255,.16), transparent 65%); }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; }
.contact-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 28px; }
.contact-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-item strong { display: block; }
.contact-item span { color: var(--muted); font-size: .92rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { color: #dbe5f1; font-size: .9rem; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid var(--line); background: rgba(5,14,25,.72); color: white; border-radius: 12px; padding: 13px 14px; outline: none; }
input:focus, textarea:focus, select:focus { border-color: rgba(110,231,255,.55); box-shadow: 0 0 0 3px rgba(110,231,255,.09); }
textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .84rem; margin-top: 12px; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(96,240,177,.1); border: 1px solid rgba(96,240,177,.24); color: #baf8d9; }

.cta-band { border: 1px solid var(--line); border-radius: 28px; padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 26px; background: linear-gradient(135deg, rgba(110,231,255,.08), rgba(124,92,255,.10)); }
.cta-band p { color: var(--muted); margin-bottom: 0; }

.site-footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a:hover { color: white; }

.fade-up { opacity: 0; transform: translateY(18px); transition: .65s ease; }
.fade-up.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .cards, .team-grid { grid-template-columns: repeat(2,1fr); }
  .metric-strip { grid-template-columns: repeat(2,1fr); }
  .visual-card { min-height: 430px; }
  .nav-links { position: absolute; top: 76px; left: 16px; right: 16px; padding: 14px; display: none; flex-direction: column; align-items: stretch; background: rgba(8,17,31,.97); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .menu-btn { display: inline-block; }
  .nav-cta { margin-left: 0; }
}

@media (max-width: 640px) {
  .hero { padding-top: 68px; }
  .section { padding: 62px 0; }
  .cards, .team-grid, .future-grid, .metric-strip, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .section-head, .cta-band, .footer-grid { align-items: flex-start; flex-direction: column; }
  .service-row { grid-template-columns: 48px 1fr; }
  .service-pill { grid-column: 2; justify-self: start; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .timeline-year { padding-top: 0; }
  .visual-card { min-height: 390px; }
  .shield { width: 150px; height: 150px; }
  .stat-c { display:none; }
}
