/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  color: #0b1020;
  background: #050816;
}

body {
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  padding: 4.5rem 0;
  background: radial-gradient(circle at top left, #101827 0, #050816 55%);
}

.section-gradient {
  padding: 4.75rem 0 4.25rem;
  background: radial-gradient(circle at top left, #4f46e5 0, #0f172a 35%, #020617 80%);
  color: #e5e7eb;
}

.page-hero {
  padding-top: 6.5rem;
  padding-bottom: 3.5rem;
}

.page-hero h1 {
  max-width: 28rem;
}

.lead {
  max-width: 38rem;
  color: #9ca3af;
}

.mt-lg {
  margin-top: 2.5rem;
}

.mt-xl {
  margin-top: 3rem;
}

.center {
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #a5b4fc;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.1;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 0.85rem;
}

.muted {
  color: #9ca3af;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.85));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: -0.05em;
  font-size: 1.25rem;
  color: #e5e7eb;
}

.logo span {
  color: #a5b4fc;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: #e5e7eb;
  opacity: 0.85;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #a855f7, #4f46e5);
  transition: width 160ms ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 1.1rem;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #f9fafb;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    transform 120ms ease-out,
    box-shadow 120ms ease-out,
    background 160ms ease-out,
    border-color 160ms ease-out;
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.35);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  box-shadow: none;
}

.btn-outline:hover {
  border-color: #6366f1;
  background: rgba(15, 23, 42, 0.8);
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
}

.btn-light {
  background: #f9fafb;
  color: #111827;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.4);
}

.btn-light:hover {
  background: #e5e7eb;
}

.btn-full-width {
  width: 100%;
}

/* Hero */
.hero {
  padding-top: 5.5rem;
  padding-bottom: 4.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.8rem;
  align-items: center;
}

.hero-sub {
  color: #cbd5f5;
  max-width: 28rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: #c7d2fe;
}

.hero-meta span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.3);
  background: rgba(15, 23, 42, 0.35);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 320px;
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: 1.1rem;
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.85), #0b1020);
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(129, 140, 248, 0.25);
  color: #e5e7eb;
}

.hero-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.hero-card-label {
  font-size: 0.8rem;
  color: #c7d2fe;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-size: 0.88rem;
}

.hero-bar-group {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-bar {
  position: relative;
  width: 100%;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  overflow: hidden;
}

.hero-bar span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f46e5, #22c55e);
  transform-origin: left;
  transform: scaleX(0.15);
  transition: transform 900ms ease-out;
}

.hero-bar.muted span {
  background: linear-gradient(90deg, #64748b, #a1a1aa);
}

.hero-footnote {
  margin-top: 0.8rem;
  font-size: 0.7rem;
  color: #c7d2fe;
}

/* Layout grids */
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.75rem;
  align-items: start;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  color: #e5e7eb;
}

.section-header p {
  color: #9ca3af;
}

.section-panel,
.section-copy {
  color: #e5e7eb;
}

.stat-card {
  padding: 1.6rem 1.7rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8));
  color: #e5e7eb;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.78rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.75);
}

.pill-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.5rem;
  font-size: 0.94rem;
  color: #e5e7eb;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.4rem 1.4rem 1.3rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(23, 37, 84, 0.9), rgba(15, 23, 42, 0.9));
  color: #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.feature {
  padding: 1.4rem 1.4rem 1.3rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  color: #e5e7eb;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.testimonial {
  padding: 1.5rem 1.6rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
  color: #e5e7eb;
}

.testimonial blockquote {
  margin: 0 0 0.9rem;
  font-size: 0.94rem;
}

.testimonial .name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial .role {
  display: block;
  font-size: 0.8rem;
  color: #9ca3af;
}

.cta-section {
  padding: 3.2rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}

/* Services page */
.service-block {
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(23, 37, 84, 0.9), rgba(15, 23, 42, 0.96));
  color: #e5e7eb;
  margin-bottom: 1.8rem;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.85);
}

.service-header p {
  color: #cbd5f5;
}

.service-body h3 {
  margin-top: 1.1rem;
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
}

.about-block {
  padding: 1.8rem 1.7rem 1.7rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top left, rgba(23, 37, 84, 0.9), rgba(15, 23, 42, 0.96));
  color: #e5e7eb;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.9);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.expertise-card {
  padding: 1.5rem 1.5rem 1.4rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  color: #e5e7eb;
}

.cta-panel {
  padding: 2rem 1.8rem 1.9rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(129, 140, 248, 0.45);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.85), rgba(15, 23, 42, 0.98));
  color: #e5e7eb;
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(129, 140, 248, 0.4);
}

/* Case studies */
.case-grid {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.case-card {
  padding: 2rem 1.8rem 1.8rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(23, 37, 84, 0.95), rgba(15, 23, 42, 0.98));
  color: #e5e7eb;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.96);
}

.case-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a5b4fc;
  margin-bottom: 0.4rem;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.case-result {
  margin-top: 1.1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-intro {
  color: #e5e7eb;
}

.contact-form-wrapper {
  padding: 1.9rem 1.8rem 1.7rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(23, 37, 84, 0.95), rgba(15, 23, 42, 0.98));
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.96);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-group label {
  font-size: 0.85rem;
  color: #e5e7eb;
}

input,
textarea {
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
  outline: none;
  transition:
    border-color 140ms ease-out,
    box-shadow 140ms ease-out,
    background 140ms ease-out;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

input:focus,
textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.7);
  background: rgba(15, 23, 42, 0.98);
}

.form-footnote {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.form-success {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #4ade80;
  min-height: 1rem;
}

/* Footer */
.footer {
  padding: 1.5rem 0 1.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
  color: #6b7280;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-meta {
  color: #9ca3af;
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 550ms ease-out,
    transform 550ms ease-out;
}

.animate-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .section-grid,
  .card-grid,
  .features-grid,
  .testimonial-grid,
  .about-grid,
  .expertise-grid,
  .case-meta,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .hero-card {
    max-width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding-inline: 0;
  }

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 0.75rem 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(15, 23, 42, 0.97);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 160ms ease-out,
      opacity 160ms ease-out;
  }

  .nav-links.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .card-grid,
  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    align-items: stretch;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 2rem, 100%);
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

