@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #0d1728;
  --surface: #0f1b31;
  --surface-soft: #12213c;
  --text-dark: #ecf4ff;
  --text-soft: #9fb1ca;
  --line: rgba(184, 198, 219, 0.12);
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --hero-text: #eff6ff;
  --hero-soft: #b8c6db;
  --container: min(1180px, calc(100vw - 32px));
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 20px 56px rgba(11, 18, 32, 0.12);
  --ease: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background:
    radial-gradient(circle at 72% 14%, rgba(59, 130, 246, 0.12), transparent 24%),
    linear-gradient(180deg, #08111f 0%, #0b1220 48%, #0a1628 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 17, 31, 0.74);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner,
.capabilities,
.about,
.products,
.solutions,
.updates,
.cta,
.site-footer__inner {
  width: var(--container);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: white;
  font-weight: 800;
}

.brand__logo {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.brand__logo--footer {
  margin-bottom: 6px;
}

.brand__copy strong {
  display: block;
  color: white;
  font-size: 16px;
}

.brand__copy span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

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

.site-nav a,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--ease);
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a[aria-current="page"],
.site-nav a.is-current {
  color: white;
  background: rgba(59, 130, 246, 0.14);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.22);
}

.header-cta {
  color: white;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.hero {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 22px;
  min-height: calc(100vh - 78px);
  align-items: end;
  padding: clamp(88px, 10vh, 132px) 0 0;
}

.hero__content,
.hero__stats,
.about__layout,
.number-strip,
.cta-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero__content {
  background: transparent;
  color: var(--hero-text);
  border-radius: 0;
  box-shadow: none;
  align-self: center;
}

.hero__inner {
  width: var(--container);
  margin: 0 auto;
  padding: 58px 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 28px;
  align-items: center;
}

.hero__copy {
  min-width: 0;
}

.hero__visual {
  display: grid;
  gap: 16px;
}

.hero__visual-frame {
  padding: 14px;
  border: 1px solid rgba(184, 198, 219, 0.12);
  border-radius: 28px;
  background: rgba(15, 27, 49, 0.72);
  box-shadow: 0 22px 50px rgba(8, 17, 31, 0.22);
}

.hero__visual-frame img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1220;
}

.hero__mini-card {
  padding: 18px 20px;
  border: 1px solid rgba(184, 198, 219, 0.12);
  border-radius: 22px;
  background: rgba(15, 27, 49, 0.64);
}

.hero__mini-card span {
  display: block;
  color: #9fb1ca;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__mini-card strong {
  display: block;
  margin-top: 10px;
  color: white;
  font-size: 20px;
  line-height: 1.25;
}

.hero__mini-card p {
  margin: 10px 0 0;
  color: var(--hero-soft);
  line-height: 1.72;
}

.hero__inner--stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border: 1px solid rgba(184, 198, 219, 0.1);
  border-radius: 0;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #60a5fa;
}

.hero h1,
.section-heading h2,
.cta-box h2 {
  margin: 22px 0 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h2 {
  margin: 14px 0 0;
  color: white;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
}

.hero__summary,
.section-heading p,
.about__copy p,
.capability-card p,
.product-card p,
.solution-card p,
.update-card p,
.cta-box p,
.footer-brand p,
.footer-col a,
.footer-col span {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.82;
}

.hero__summary {
  max-width: 760px;
  color: var(--hero-soft);
  margin-top: 22px;
}

.hero__actions,
.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: all var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  color: white;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.btn--secondary {
  color: var(--hero-text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.hero__stats {
  width: var(--container);
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  align-self: end;
}

.stat-card {
  padding: 28px 24px;
  background: rgba(11, 24, 42, 0.58);
  color: white;
  border-right: 1px solid rgba(184, 198, 219, 0.1);
}

.stat-card:last-child {
  border-right: none;
}

.stat-card strong {
  display: block;
  font-size: 30px;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--hero-soft);
}

.capabilities,
.about,
.products,
.solutions,
.updates,
.cta {
  padding-top: 86px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

.capability-grid,
.product-grid,
.solution-grid,
.update-grid {
  display: grid;
  gap: 18px;
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-card,
.solution-card,
.update-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #101c33 0%, #0d1728 100%);
  box-shadow: var(--shadow);
}

.capability-card h3,
.about__copy h3,
.product-card__body h3,
.solution-card h3,
.update-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.24;
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.about__copy,
.about__visual,
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #101c33 0%, #0d1728 100%);
  box-shadow: var(--shadow);
}

.about__copy {
  padding: 30px;
}

.about__visual {
  padding: 18px;
}

.about__visual img,
.product-card img {
  width: 100%;
  border-radius: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary-dark);
  font-weight: 700;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
}

.product-card__body {
  padding: 24px;
}

.number-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: var(--line);
}

.number-strip article {
  padding: 24px;
  background: linear-gradient(180deg, #101c33 0%, #0d1728 100%);
  text-align: center;
}

.number-strip strong {
  display: block;
  font-size: 28px;
  color: var(--hero-text);
}

.number-strip span {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
}

.solution-grid,
.update-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.update-card span {
  display: block;
  margin-bottom: 12px;
  color: #7a8aa2;
  font-size: 13px;
  font-weight: 700;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 36px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.2), transparent 24%),
    linear-gradient(135deg, #0b1220 0%, #10213c 100%);
}

.cta-box h2,
.cta-box p {
  color: white;
}

.cta-box p {
  max-width: 720px;
  color: var(--hero-soft);
}

.site-footer {
  margin-top: 86px;
  background: #09111f;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 38px 0;
}

.footer-brand {
  display: grid;
  gap: 14px;
  color: white;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: white;
  font-size: 16px;
}

.footer-col {
  display: grid;
  gap: 10px;
}

.footer-col a,
.footer-col span,
.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.68);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .capability-grid,
  .solution-grid,
  .update-grid,
  .product-grid,
  .about__layout,
  .site-footer__inner,
  .cta-box,
  .hero__stats,
  .number-strip {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 860px) {
  .site-header__inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(8, 17, 31, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
    border-radius: 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 74px);
    padding-top: clamp(72px, 9vh, 108px);
    padding-bottom: 0;
  }

  .hero__inner,
  .hero__inner--stats {
    width: min(100vw - 24px, 1180px);
  }

  .hero__stats {
    width: min(100vw - 24px, 1180px);
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .capabilities,
  .about,
  .products,
  .solutions,
  .updates,
  .cta,
  .site-footer__inner {
    width: min(100vw - 24px, 1180px);
  }

  .hero__content,
  .capability-card,
  .about__copy,
  .about__visual,
  .product-card__body,
  .solution-card,
  .update-card,
  .cta-box {
    padding: 20px;
  }

  .capability-grid,
  .solution-grid,
  .update-grid,
  .product-grid,
  .about__layout,
  .site-footer__inner,
  .cta-box,
  .hero__stats,
  .number-strip {
    grid-template-columns: 1fr;
  }

  .hero__inner--stats {
    grid-template-columns: 1fr;
  }
}

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