:root {
  --primary: #4338ca;
  --primary-dark: #312e81;
  --midnight: #0b0f19;
  --midnight-gradient: linear-gradient(135deg, #090d16 0%, #171c2b 50%, #232a3e 100%);
  --blue-gradient: linear-gradient(106deg, #020381 0%, #1e3a8a 50%, #2563eb 100%);
  --heading: #111827;
  --body: #4b5563;
  --surface: #f8fafc;
  --outline: #e2e8f0;
  --white: #ffffff;
  --radius: 12px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--body);
  background-color: var(--white);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.brand span {
  color: #818cf8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 9999px;
  background: #4f46e5;
  color: var(--white) !important;
  font-weight: 600 !important;
  transition: background 0.2s ease !important;
}

.nav-cta:hover {
  background: #6366f1 !important;
}

/* Mobile Nav Toggle */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero {
  background: var(--midnight-gradient);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--white);
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.hero-figure {
  max-width: 540px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-figure img {
  width: 100%;
  height: auto;
}

/* Feature Pillars */
.pillars {
  padding: 80px 0;
  background: var(--white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}

.pillar-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: #ede9fe;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon img {
  width: 32px;
  height: 32px;
}

.pillar-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 14px;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.6;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--body);
  max-width: 680px;
  margin: 0 auto;
}

/* Services Detail Rows */
.services-section {
  padding: 90px 0;
  background: #f1f5f9;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 64px;
}

.service-row:last-child {
  margin-bottom: 0;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-media {
  flex: 1;
}

.service-media img {
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.service-content {
  flex: 1;
}

.service-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.service-content p {
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.7;
}

/* Who Are We */
.who-section {
  padding: 90px 0;
  background: var(--white);
  text-align: center;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 8px;
}

.who-box {
  max-width: 860px;
  margin: 36px auto 0;
  padding: 40px 36px;
  border: 4px solid #e0e7ff;
  border-radius: 20px;
  background: #faf5ff;
  text-align: left;
}

.who-box p {
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.8;
}

.who-box p strong {
  color: #1e1b4b;
}

/* Bottom CTA Banner */
.bottom-cta {
  background: var(--blue-gradient);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.bottom-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--white);
}

.bottom-cta p {
  font-size: 1.15rem;
  color: #e0e7ff;
  margin-bottom: 28px;
}

.btn-cta {
  display: inline-block;
  background: var(--white);
  color: #1e3a8a;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 9999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
  background: var(--midnight);
  color: #94a3b8;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  font-size: 0.9rem;
  color: #cbd5e1;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-nav a:hover {
  border-color: var(--white);
  color: var(--white);
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 860px) {
  .service-row, .service-row.reverse {
    flex-direction: column;
    gap: 28px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #0b0f19;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav.active {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
}
