:root {
  --bg: #050b18;
  --bg-2: #071326;
  --card: rgba(18, 32, 62, 0.78);
  --card-2: rgba(12, 24, 48, 0.92);
  --line: rgba(126, 151, 255, 0.24);
  --text: #f6f8ff;
  --muted: #aeb9d6;
  --muted-2: #6e7b9c;
  --blue: #34a8ff;
  --violet: #7c5cff;
  --violet-2: #a56bff;
  --white: #ffffff;
  --dark: #020711;
  --light: #eef5ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(3, 8, 20, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  padding: 0;
}
.logo img { display: block; height: 60px; width: auto; margin: 0 0 0 -18px; }
.menu { display: flex; align-items: center; gap: 30px; color: #d7ddf3; font-size: 14px; font-weight: 600; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  transition: 0.2s ease;
  cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--violet), #4c72ff); border: 0; box-shadow: 0 12px 34px rgba(92, 81, 255, 0.34); }
.btn-secondary { background: rgba(255,255,255,0.04); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.hero {
  min-height: 720px;
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 23%, rgba(62, 130, 255, 0.38), transparent 27%),
    radial-gradient(circle at 80% 38%, rgba(124, 92, 255, 0.28), transparent 24%),
    linear-gradient(180deg, #030816 0%, #071326 100%);
}
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 32px; align-items: center; }
.eyebrow { color: #91a1ff; font-weight: 800; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
h1 { font-size: clamp(46px, 6vw, 76px); line-height: 0.98; margin: 0 0 24px; letter-spacing: -0.06em; }
.gradient-text { color: transparent; background: linear-gradient(90deg, #7c5cff, #35b4ff); -webkit-background-clip: text; background-clip: text; }
.lead { color: #d8def2; font-size: 18px; line-height: 1.65; max-width: 640px; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 42px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 760px; }
.metric { display: flex; gap: 12px; align-items: flex-start; color: #d8def2; }
.metric-icon { font-size: 24px; color: var(--violet); }
.metric b { display: block; color: white; font-size: 17px; margin-bottom: 5px; }
.metric span { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }

.map-wrap { min-height: 500px; position: relative; display: grid; place-items: center; }
.map-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(124,92,255,0.35); box-shadow: inset 0 0 80px rgba(74,144,255,0.12), 0 0 80px rgba(124,92,255,0.2); animation: pulse 4s ease-in-out infinite; }
.map-glow:nth-child(2) { width: 420px; height: 420px; animation-delay: 0.8s; }
.map-card {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1.2 / 1;
  border-radius: 38% 62% 44% 56% / 53% 38% 62% 47%;
  background:
    radial-gradient(circle at 52% 45%, rgba(124,92,255,0.95), transparent 20%),
    radial-gradient(circle at 67% 50%, rgba(0,174,255,0.74), transparent 22%),
    linear-gradient(135deg, rgba(30,65,142,0.35), rgba(6,17,40,0.6));
  filter: drop-shadow(0 0 48px rgba(81, 102, 255, 0.46));
  border: 1px solid rgba(141,164,255,0.35);
  overflow: hidden;
}
.map-card:before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 55% 45%, black, transparent 74%);
}
.node { position: absolute; width: 9px; height: 9px; background: #61d6ff; border-radius: 50%; box-shadow: 0 0 18px #61d6ff; }
.node:nth-child(1) { top: 28%; left: 38%; } .node:nth-child(2) { top: 42%; left: 56%; } .node:nth-child(3) { top: 56%; left: 48%; } .node:nth-child(4) { top: 36%; left: 70%; } .node:nth-child(5) { top: 65%; left: 66%; }
@keyframes pulse { 50% { transform: scale(1.05); opacity: .65; } }

section { padding: 70px 0; }
.section-title { font-size: clamp(30px, 4vw, 44px); text-align: center; margin: 0 0 34px; letter-spacing: -0.04em; }
.cards-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  background: linear-gradient(180deg, rgba(25, 42, 78, 0.9), rgba(12, 23, 45, 0.92));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 20px 60px rgba(0,0,0,0.22);
}
.card .icon { font-size: 34px; color: #7b8dff; margin-bottom: 18px; }
.card h3 { margin: 0 0 12px; font-size: 17px; line-height: 1.25; }
.card p { margin: 0; color: #c5cce2; font-size: 13px; line-height: 1.55; }
.services { background: linear-gradient(180deg, #071326, #061123); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 145px; display: grid; grid-template-columns: 56px 1fr 24px; gap: 18px; align-items: start; }
.service-card .arrow { color: #8a98ff; font-size: 24px; align-self: center; }

.light-section { background: #eef5ff; color: #081326; padding: 78px 0; position: relative; overflow: hidden; }
.light-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.light-section h2 { font-size: 36px; letter-spacing: -0.04em; margin: 0 0 20px; }
.light-section p { color: #394965; line-height: 1.7; }
.checks { list-style: none; padding: 0; margin: 18px 0 28px; }
.checks li { margin: 12px 0; color: #25344f; font-size: 14px; }
.checks li:before { content: '✓'; color: #5e57ff; font-weight: 900; margin-right: 10px; }
.cee-visual { height: 320px; border-radius: 24px; background: radial-gradient(circle at 60% 48%, rgba(87, 98, 255, 0.6), transparent 22%), radial-gradient(circle at 70% 60%, rgba(70, 160, 255, 0.3), transparent 26%), linear-gradient(135deg, rgba(206,220,244,0.25), rgba(255,255,255,0.95)); border: 1px solid rgba(90,110,160,0.2); position: relative; overflow: hidden; }
.cee-visual:before { content: ''; position: absolute; inset: -40px; background-image: radial-gradient(circle, rgba(70,80,130,0.18) 1px, transparent 1px); background-size: 30px 30px; transform: rotate(-8deg); }
.cee-visual:after { content: 'CEE'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 90px; font-weight: 900; color: rgba(87,98,255,0.34); letter-spacing: -0.07em; }

.ai-band { background: linear-gradient(180deg, #061123, #040817); position: relative; overflow: hidden; }
.ai-band:after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -120px; height: 220px; background: radial-gradient(ellipse at center, rgba(82, 70, 255, 0.35), transparent 65%); filter: blur(12px); }
.ai-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; z-index: 2; margin-top: 36px; }
.ai-item { text-align: center; color: #dce2f5; border-right: 1px solid rgba(255,255,255,0.12); padding: 0 12px; font-size: 14px; }
.ai-item:last-child { border-right: 0; }
.ai-item .icon { font-size: 28px; margin-bottom: 12px; color: #8a98ff; }
.center { text-align: center; }

.process { background: #eef5ff; color: #071326; padding: 56px 0; }
.process h2 { text-align: center; margin-top: 0; font-size: 34px; letter-spacing: -0.04em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; position: relative; }
.step-no { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #6a5cff; display: grid; place-items: center; font-weight: 800; color: #6a5cff; }
.step h3 { margin: 0 0 7px; font-size: 15px; }
.step p { margin: 0; color: #3c4961; line-height: 1.45; font-size: 13px; }

.cta { padding: 56px 0; background: linear-gradient(135deg, #251c96, #624aff); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta .btn { flex-shrink: 0; white-space: nowrap; }
.cta h2 { margin: 0 0 10px; font-size: 32px; letter-spacing: -0.04em; }
.cta p { margin: 0; color: #e2e7ff; line-height: 1.6; }

footer { background: #030816; padding: 54px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 36px; }
footer h4 { margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; color: #aeb9d6; line-height: 1.9; font-size: 14px; }
footer a:hover { color: #ffffff; text-decoration: underline; }
.footer-legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); color: var(--muted); font-size: 13px; line-height: 1.6; }
.tagline { color: #aeb9d6; margin-top: 16px; line-height: 1.6; }

/* Content blocks (reuse existing design tokens) */
.prose p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.prose h3 { margin: 0 0 16px; font-size: 20px; letter-spacing: -0.02em; }
.light-grid.prose { align-items: start; }
.prose-center { max-width: 820px; margin: 0 auto 44px; text-align: center; }
.checks-dark li { color: #d8def2; }
.subsection-title { text-align: center; font-size: 24px; letter-spacing: -0.03em; margin: 56px 0 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card a.link { color: #8a98ff; font-weight: 600; }
.card a.link:hover { text-decoration: underline; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat b { display: block; font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.04em; color: #5e57ff; margin-bottom: 8px; }
.stat span { display: block; color: #3c4961; font-size: 14px; line-height: 1.5; }
.careers-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.lead-center { margin-left: auto; margin-right: auto; }
.offices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.office h3 { font-size: 20px; margin-bottom: 16px; }
.office address { font-style: normal; color: #d8def2; font-size: 15px; line-height: 1.7; }
.office .office-meta { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.office .office-meta b { color: #d8def2; font-weight: 600; }
.text-link { color: #8a98ff; font-weight: 700; }
.text-link:hover { text-decoration: underline; }

@media (max-width: 980px) {
  html { scroll-padding-top: 140px; }
  .nav-inner { height: auto; min-height: 76px; flex-wrap: wrap; row-gap: 0; }
  .menu { order: 3; width: 100%; gap: 22px; padding: 0 0 12px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .hero { padding-top: 160px; }
  .hero-grid, .light-grid { grid-template-columns: 1fr; }
  .metrics, .cards-6, .cards-4, .service-grid, .ai-list, .steps, .stats, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .offices-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 360px; }
  .ai-item { border-right: 0; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero { padding-top: 150px; }
  .logo img { height: 48px; margin-left: -12px; }
  .nav .btn { padding: 10px 14px; font-size: 13px; }
  .metrics, .cards-6, .cards-4, .service-grid, .ai-list, .steps, .stats, .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .service-card { grid-template-columns: 48px 1fr; }
  .service-card .arrow { display: none; }
}

/* Multi-page additions */
.menu a { transition: color 0.2s ease; }
.menu a:hover, .menu a[aria-current] { color: #ffffff; }
.menu a[aria-current] { box-shadow: 0 2px 0 var(--violet); padding-bottom: 4px; }
.page-hero { min-height: 0; padding: 150px 0 64px; text-align: center; }
.page-hero h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 18px; }
.page-hero .lead { margin-left: auto; margin-right: auto; margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; padding: 0; list-style: none; }
.chips li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(25, 42, 78, 0.6); color: #d8def2; font-size: 14px; font-weight: 600; }
.section-link { text-align: center; margin: 32px 0 0; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.office { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.office-body { padding: 28px 24px; flex: 1; }
.office-map { display: block; width: 100%; height: 280px; border: 0; border-top: 1px solid var(--line); filter: invert(92%) hue-rotate(180deg) contrast(0.9) saturate(0.55); background: #0c1730; }
.office .office-actions { margin: 18px 0 0; font-size: 14px; }
.office .tag { display: inline-block; margin-bottom: 12px; color: #91a1ff; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.contact-lines .card { text-align: center; }
.contact-lines .card p { font-size: 15px; }
@media (max-width: 980px) { .cards-3, .contact-lines { grid-template-columns: 1fr; } .page-hero { padding-top: 190px; } }

