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

:root {
  --navy-950: #020617;
  --navy-900: #0a1628;
  --navy-800: #13233f;
  --navy-700: #1a3056;
  --navy-600: #23406d;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --white: #ffffff;
  --black: #000000;

  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  --transition: 220ms ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Navigation ─────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--teal-400), var(--cyan-400));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--navy-950);
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--slate-300);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-400);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  color: var(--navy-950) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  opacity: 0.92;
}

.nav-cta::after {
  display: none !important;
}

/* ── Hero ───────────────────────────────────────────── */

.hero {
  padding: 10rem 2rem 6rem;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(45, 212, 191, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(34, 211, 238, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-overline {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-400);
  margin-bottom: 1.25rem;
  background: rgba(45, 212, 191, 0.10);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--teal-400), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--slate-300);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.75rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  color: var(--navy-950);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--slate-600);
}

.btn-outline:hover {
  border-color: var(--teal-400);
  color: var(--teal-400);
  transform: translateY(-2px);
}

/* ── Section Common ─────────────────────────────────── */

section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan-600);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-500);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ── Services ───────────────────────────────────────── */

.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: var(--teal-400);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--teal-400);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ── Process ────────────────────────────────────────── */

.process {
  background: var(--slate-50);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--slate-300);
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--teal-400);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--teal-400);
}

.process-step h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ── About ──────────────────────────────────────────── */

.about {
  background: var(--navy-900);
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about .section-tag {
  color: var(--teal-400);
}

.about .section-title {
  color: var(--white);
}

.about .section-subtitle {
  color: var(--slate-300);
}

.about-text {
  font-size: 1.05rem;
  color: var(--slate-300);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--teal-400);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--slate-300);
  font-weight: 500;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.visual-card {
  background: var(--navy-800);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.visual-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--navy-950);
}

.visual-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.visual-card p {
  font-size: 0.85rem;
  color: var(--slate-400);
  line-height: 1.5;
}

/* ── Industries ─────────────────────────────────────── */

.industries {
  background: var(--white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color var(--transition);
}

.industry-card:hover {
  border-color: var(--cyan-400);
}

.industry-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.4rem;
}

.industry-card p {
  font-size: 0.825rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* ── CTA ────────────────────────────────────────────── */

.cta-section {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  text-align: center;
}

.cta-section .section-title {
  color: var(--white);
}

.cta-section .section-subtitle {
  color: var(--slate-300);
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ─────────────────────────────────────────── */

.footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  font-size: 0.925rem;
  color: var(--slate-400);
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.7rem;
}

.footer-column ul li a {
  text-decoration: none;
  color: var(--slate-400);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-column ul li a:hover {
  color: var(--teal-400);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.footer-bottom a {
  color: var(--slate-400);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--teal-400);
}

/* ── Legal Pages ────────────────────────────────────── */

.legal-hero {
  padding: 8rem 2rem 3rem;
  background: var(--navy-900);
  text-align: center;
}

.legal-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.legal-hero p {
  font-size: 1.1rem;
  color: var(--slate-300);
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0.5rem 0 1.25rem 1.5rem;
}

.legal-content ul li,
.legal-content ol li {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: var(--slate-900);
  font-weight: 700;
}

.legal-content a {
  color: var(--cyan-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--teal-500);
}

.legal-content .last-updated {
  font-size: 0.875rem;
  color: var(--slate-400);
  font-style: normal;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-200);
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
