/* ---------- Design tokens ---------- */
:root {
  --bg: #070d1c;
  --bg-2: #0a1628;
  --bg-3: #0f1e36;
  --surface: #111f3a;
  --surface-2: #162a4d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eef7;
  --text-dim: #a4b3cc;
  --text-mute: #6b7a94;
  --accent: #00d4ff;
  --accent-2: #0066ff;
  --accent-soft: rgba(0, 212, 255, 0.12);
  --danger: #ff6b6b;
  --success: #3ddc84;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 48px rgba(0, 212, 255, 0.25);

  --max: 1200px;
  --pad: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--bg); padding: 10px 16px; z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
}
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.section-dark {
  background: radial-gradient(ellipse at top left, rgba(0, 102, 255, 0.12), transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(0, 212, 255, 0.08), transparent 50%),
              var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  background: var(--accent-soft);
  margin-bottom: 20px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section-lede {
  color: var(--text-dim);
  font-size: clamp(16px, 1.5vw, 18px);
  margin-top: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #001424;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0, 102, 255, 0.45); }

.btn-ghost {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(7, 13, 28, 0.6);
  border-bottom: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.site-header.scrolled {
  background: rgba(7, 13, 28, 0.88);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.logo-mark { display: inline-flex; }
.logo-accent { color: var(--accent); }

.primary-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}
.primary-nav a {
  font-size: 14.5px;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color 0.15s var(--ease);
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.primary-nav a:hover::after { transform: scaleX(1); }

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(7, 13, 28, 0.98);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; padding: 16px var(--pad) 24px; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 500;
}
.mobile-nav a.btn { border-bottom: 0; margin-top: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(0, 102, 255, 0.25), transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(0, 212, 255, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.glow-1 { width: 420px; height: 420px; background: #0066ff; top: -120px; left: -80px; }
.glow-2 { width: 360px; height: 360px; background: #00d4ff; bottom: -120px; right: -60px; opacity: 0.3; }

.hero-inner { position: relative; z-index: 1; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 18ch;
  margin: 0 auto;
}
.grad-text {
  background: linear-gradient(135deg, #00d4ff 0%, #6aa0ff 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 24px auto 36px;
  max-width: 640px;
  color: var(--text-dim);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-stats span { color: var(--text-mute); font-size: 13.5px; }

/* ---------- Trust bar ---------- */
.trust {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.trust-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
  font-weight: 600;
}
.trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-dim);
  font-size: 15px;
}
.trust-row .sep { color: var(--text-mute); opacity: 0.5; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(22, 42, 77, 0.5) 0%, rgba(15, 30, 54, 0.4) 100%);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.4), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  font-weight: 600;
}
.service-card p { color: var(--text-dim); margin-bottom: 18px; font-size: 15px; }
.service-card ul { display: flex; flex-direction: column; gap: 8px; }
.service-card ul li {
  padding-left: 22px;
  position: relative;
  font-size: 14.5px;
  color: var(--text-dim);
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.service-card--cta {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 212, 255, 0.1) 100%);
  border-color: rgba(0, 212, 255, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.service-card--cta h3 { margin-top: 0; }
.service-card--cta .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.industry-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.industry-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.industry-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  margin-bottom: 18px;
}
.industry-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}
.industry-card p { color: var(--text-dim); font-size: 15px; }

/* ---------- Approach ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.approach-step {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.approach-step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}
.approach-step p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about-copy h2 { margin-top: 16px; margin-bottom: 20px; font-family: var(--font-display); font-size: clamp(28px, 3.8vw, 40px); letter-spacing: -0.02em; line-height: 1.15; }
.about-copy p { color: var(--text-dim); margin-bottom: 16px; font-size: 16.5px; }
.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.about-pillars > div { display: flex; flex-direction: column; gap: 4px; }
.about-pillars strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
}
.about-pillars span { color: var(--text-dim); font-size: 14.5px; }

.about-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 102, 255, 0.05) 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 96px;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}
.about-card dl { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.about-card dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.about-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.about-card dt { color: var(--text-mute); font-weight: 500; }
.about-card dd { color: var(--text); font-weight: 500; text-align: right; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.contact-copy h2 {
  margin-top: 16px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.contact-copy p { color: var(--text-dim); margin-bottom: 32px; font-size: 16.5px; }

.contact-list { display: flex; flex-direction: column; gap: 0; }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.contact-list li:last-child { border-bottom: 1px solid var(--border); }
.contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.contact-list a { color: var(--accent); font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: -0.005em;
}
.field input, .field select, .field textarea {
  background: rgba(7, 13, 28, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: rgba(7, 13, 28, 0.85);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23a4b3cc' d='M6 8L0 0h12z'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-status { font-size: 14px; color: var(--text-dim); min-height: 20px; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 72px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  margin-top: 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text-dim); margin-top: 12px; font-size: 14.5px; max-width: 30ch; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { color: var(--text-dim); font-size: 14.5px; transition: color 0.15s var(--ease); }
.footer-cols a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 13.5px;
  flex-wrap: wrap;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .trust-row { gap: 14px; font-size: 14px; }
  .trust-row .sep { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
