:root {
  --bg: #05060d;
  --bg-alt: #080a16;
  --panel: #0b1020;
  --ink: #e7faff;
  --muted: #8aa0bf;
  --cyan: #00f0ff;
  --magenta: #ff2bd6;
  --violet: #7b5cff;
  --lime: #b6ff3a;
  --line: rgba(0, 240, 255, 0.18);
  --radius: 14px;
  --glow-c: 0 0 12px rgba(0, 240, 255, 0.55);
  --glow-m: 0 0 12px rgba(255, 43, 214, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5 { font-family: "Sora", "Inter", sans-serif; line-height: 1.15; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 92%); margin: 0 auto; position: relative; z-index: 2; }

/* ===== Cyberpunk background layers ===== */
#matrix {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0.5; pointer-events: none;
}
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 80%);
}
.scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,0.18) 3px);
  mix-blend-mode: multiply; opacity: 0.5;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(255,43,214,0.16), transparent),
    radial-gradient(900px 600px at 0% 5%, rgba(0,240,255,0.16), transparent),
    radial-gradient(700px 500px at 50% 110%, rgba(123,92,255,0.16), transparent);
}

.eyebrow {
  display: inline-block;
  font-family: "Sora", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
  text-shadow: var(--glow-c);
}
.eyebrow.light { color: var(--magenta); text-shadow: var(--glow-m); }

.grad {
  background: linear-gradient(120deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hue 6s linear infinite;
}
@keyframes hue { to { filter: hue-rotate(360deg); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 6px;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  color: #02040a;
  box-shadow: 0 0 18px rgba(0,240,255,0.5), inset 0 0 8px rgba(255,255,255,0.3);
}
.btn-primary:hover { box-shadow: 0 0 28px rgba(0,240,255,0.8); }
.btn-ghost { background: rgba(0,240,255,0.04); color: var(--cyan); border-color: var(--cyan); box-shadow: inset 0 0 10px rgba(0,240,255,0.15); }
.btn-ghost:hover { background: rgba(0,240,255,0.12); box-shadow: 0 0 18px rgba(0,240,255,0.5); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 13, 0.7);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,240,255,0.1), 0 8px 30px rgba(0,0,0,0.6);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.1rem; font-family: "Sora", sans-serif; letter-spacing: 0.04em; }
.brand-name { color: var(--ink); text-shadow: 0 0 8px rgba(0,240,255,0.3); }
.brand-mark {
  display: grid; place-items: center; height: 30px; padding: 0 8px; border-radius: 5px;
  background: linear-gradient(120deg, var(--cyan), var(--magenta));
  color: #02040a; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em;
  box-shadow: var(--glow-c);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.92rem; transition: color 0.15s, text-shadow 0.15s; }
.nav-links a:hover { color: var(--cyan); text-shadow: var(--glow-c); }
.nav-cta { padding: 9px 18px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--cyan); border-radius: 2px; box-shadow: var(--glow-c); transition: 0.2s; }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 4% 18px; border-bottom: 1px solid var(--line); background: rgba(5,6,13,0.92); position: relative; z-index: 2; }
.mobile-menu a { padding: 10px 6px; color: var(--muted); }
.mobile-menu.open { display: flex; }

/* Hero */
.hero { padding: 90px 0 78px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; text-shadow: 0 0 24px rgba(0,240,255,0.25); }
.lede { margin-top: 18px; font-size: 1.12rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; color: var(--muted); font-size: 0.82rem; font-family: "Sora", monospace; letter-spacing: 0.08em; }
.logos { display: flex; gap: 22px; margin-top: 10px; flex-wrap: wrap; font-weight: 700; letter-spacing: 0.12em; color: rgba(0,240,255,0.4); }

.hero-card {
  background: linear-gradient(160deg, rgba(11,16,32,0.95), rgba(5,6,13,0.95));
  color: #d8ecff; border: 1px solid var(--line); border-radius: 14px; padding: 22px;
  box-shadow: 0 0 40px rgba(0,240,255,0.12), inset 0 0 30px rgba(123,92,255,0.06);
  position: relative;
}
.hero-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 14px; padding: 1px;
  background: linear-gradient(120deg, var(--cyan), var(--magenta), var(--violet));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.6; pointer-events: none;
}
.card-row { display: flex; gap: 7px; margin-bottom: 16px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff2bd6; box-shadow: var(--glow-m); } .dot-y { background: #b6ff3a; } .dot-g { background: #00f0ff; box-shadow: var(--glow-c); }

.spec-sheet { background: rgba(0,0,0,0.5); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; font-family: "Sora", monospace; }
.spec-title { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--cyan); padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); text-shadow: var(--glow-c); }
.spec-line { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 0.9rem; border-bottom: 1px solid rgba(0,240,255,0.07); }
.spec-line:last-child { border-bottom: 0; }
.spec-line span { color: var(--muted); }
.spec-line strong { color: #d8ecff; font-weight: 700; }
.spec-line strong.ok { color: var(--lime); text-shadow: 0 0 10px rgba(182,255,58,0.6); }

.metric-pills { display: flex; gap: 12px; margin-top: 18px; }
.pill { flex: 1; background: rgba(0,240,255,0.05); border: 1px solid var(--line); border-radius: 8px; padding: 12px; text-align: center; }
.pill strong { display: block; font-size: 1rem; color: var(--cyan); text-shadow: var(--glow-c); }
.pill span { font-size: 0.72rem; color: var(--muted); }

/* Sections */
.section { padding: 86px 0; position: relative; z-index: 2; }
.section-alt { background: rgba(8,10,22,0.6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); text-shadow: 0 0 18px rgba(0,240,255,0.2); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.02rem; }

/* Cards / Capabilities */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: linear-gradient(160deg, rgba(11,16,32,0.7), rgba(5,6,13,0.7));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s;
  position: relative; overflow: hidden;
}
.feature::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: translateX(-100%); transition: transform 0.5s ease;
}
.feature:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: 0 0 28px rgba(0,240,255,0.25); }
.feature:hover::after { transform: translateX(100%); }
.icon { font-size: 1.6rem; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 10px; background: rgba(0,240,255,0.08); border: 1px solid var(--line); box-shadow: inset 0 0 14px rgba(0,240,255,0.12); margin-bottom: 16px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--ink); }
.feature p { color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 16px; text-shadow: 0 0 18px rgba(0,240,255,0.2); }
.about-copy p { color: var(--muted); }
.checklist { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.checklist li { padding-left: 32px; position: relative; color: var(--ink); }
.checklist li::before { content: "▹"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 700; text-shadow: var(--glow-c); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.office { background: rgba(11,16,32,0.7); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color 0.2s, box-shadow 0.2s; }
.office:hover { border-color: var(--magenta); box-shadow: 0 0 22px rgba(255,43,214,0.2); }
.office h4 { font-size: 1.02rem; margin-bottom: 4px; color: var(--cyan); }
.office p { color: var(--muted); font-size: 0.88rem; }

/* Stats */
.stats { background: rgba(5,6,13,0.6); }
.on-dark { color: var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11,16,32,0.5); }
.stat .num { font-family: "Sora", sans-serif; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; background: linear-gradient(120deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 14px rgba(0,240,255,0.4)); }
.stat p { color: var(--muted); margin-top: 6px; font-family: "Sora", monospace; font-size: 0.85rem; letter-spacing: 0.06em; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { text-align: center; background: rgba(11,16,32,0.7); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 18px; transition: transform 0.18s, box-shadow 0.2s, border-color 0.2s; }
.member:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: 0 0 26px rgba(0,240,255,0.22); }
.avatar { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 12px; display: grid; place-items: center; color: #02040a; font-weight: 800; font-size: 1.3rem; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 0 20px var(--c1); }
.avatar.sm { width: 48px; height: 48px; font-size: 0.95rem; margin: 0; border-radius: 10px; }
.member h3 { font-size: 1.05rem; color: var(--ink); }
.member .role { color: var(--muted); font-size: 0.88rem; }

/* Quote */
.quote-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
blockquote { font-family: "Sora", sans-serif; font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 600; line-height: 1.4; color: var(--ink); text-shadow: 0 0 18px rgba(0,240,255,0.18); }
.quote-author { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; text-align: left; }
.quote-author strong { display: block; color: var(--cyan); }
.quote-author span { color: var(--muted); font-size: 0.88rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; text-shadow: 0 0 18px rgba(0,240,255,0.2); }
.contact-copy p { color: var(--muted); }
.contact-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; color: var(--muted); }
.contact-list a { color: var(--cyan); text-shadow: var(--glow-c); }
.contact-form { background: linear-gradient(160deg, rgba(11,16,32,0.8), rgba(5,6,13,0.8)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 0 40px rgba(0,240,255,0.1); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: "Sora", monospace; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; color: var(--cyan); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: rgba(0,0,0,0.4); color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(138,160,191,0.5); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,240,255,0.15), 0 0 16px rgba(0,240,255,0.25); }
.form-note { margin-top: 12px; font-size: 0.9rem; color: var(--lime); min-height: 1.2em; text-shadow: 0 0 10px rgba(182,255,58,0.5); }

/* Footer */
.site-footer { background: rgba(5,6,13,0.85); color: var(--muted); padding: 56px 0 28px; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer-tag { color: var(--muted); margin-top: 12px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h5 { color: var(--cyan); margin-bottom: 14px; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-cols a { display: block; color: var(--muted); padding: 5px 0; transition: color 0.15s, text-shadow 0.15s; }
.footer-cols a:hover { color: var(--cyan); text-shadow: var(--glow-c); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; font-family: "Sora", monospace; letter-spacing: 0.04em; }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stat-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
