:root {
  --bg: #07111f;
  --bg-soft: #0c1a30;
  --panel: rgba(11, 25, 47, 0.78);
  --panel-strong: rgba(8, 20, 40, 0.94);
  --line: rgba(164, 193, 255, 0.16);
  --text: #f4f7fb;
  --muted: #9eb1cb;
  --accent: #71f0d0;
  --accent-strong: #57c7ff;
  --accent-warm: #ffb56b;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
}

body[data-theme="light"] {
  --bg: #f3f7fb;
  --bg-soft: #dce7f3;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(250, 252, 255, 0.95);
  --line: rgba(14, 39, 68, 0.12);
  --text: #08111f;
  --muted: #56677f;
  --accent: #006f84;
  --accent-strong: #008eb3;
  --accent-warm: #d97706;
  --shadow: 0 24px 60px rgba(19, 38, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(87, 199, 255, 0.2), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(113, 240, 208, 0.14), transparent 22%),
    linear-gradient(180deg, #07111f 0%, #09162a 45%, #06101d 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  transition: background 220ms ease, color 220ms ease;
}

body[data-theme="light"] {
  background:
    radial-gradient(circle at top left, rgba(0, 142, 179, 0.12), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(0, 111, 132, 0.08), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #eef4fa 48%, #e8eff7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
}

body[data-theme="light"]::before {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
}

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

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(8, 18, 34, 0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

body[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-logo-wrap {
  position: relative;
  display: block;
  width: 150px;
  height: 150px;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 144%;
  height: 144%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.brand-logo-symbol {
  filter: drop-shadow(0 14px 24px rgba(26, 110, 209, 0.18));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.brand-copy strong,
.site-nav a,
.eyebrow,
.section-label,
.badge,
.product-topline,
.button {
  font-family: "Space Grotesk", sans-serif;
}

.brand-copy strong {
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.98rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.theme-toggle-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  width: 100%;
  padding: 5px;
  gap: 4px;
}

.theme-toggle-track::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 7px);
  height: calc(100% - 10px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 24px rgba(87, 199, 255, 0.24);
  transition: transform 180ms ease;
}

body[data-theme="light"] .theme-toggle-track::before {
  transform: translateX(0);
}

body[data-theme="dark"] .theme-toggle-track::before {
  transform: translateX(calc(100% + 4px));
}

.theme-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 88px 0 40px;
  align-items: center;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.eyebrow span,
.section-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.hero h1,
.section-heading h2,
.company-copy h2,
.cta-panel h2 {
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 9vw, 6.75rem);
}

.hero-text,
.section-heading p,
.product-card p,
.service-card p,
.company-copy p,
.company-stack p,
.cta-panel p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #06101d;
  box-shadow: 0 18px 40px rgba(87, 199, 255, 0.24);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

body[data-theme="light"] .button-secondary,
body[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li,
.hero-card,
.mini-card,
.product-card,
.service-card,
.company-stack article,
.cta-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-metrics li {
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  position: relative;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 20%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 181, 107, 0.2), transparent 68%);
  filter: blur(6px);
  z-index: -1;
}

.hero-card {
  padding: 26px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(113, 240, 208, 0.14), rgba(87, 199, 255, 0.08)),
    var(--panel-strong);
}

.hero-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.hero-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  line-height: 1.2;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-card {
  min-height: 180px;
  padding: 22px;
}

.mini-card span {
  color: var(--accent-warm);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-card h2,
.product-card h3,
.service-card h3 {
  margin: 18px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pulse {
  position: relative;
  overflow: hidden;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 0deg, transparent, rgba(113, 240, 208, 0.18), transparent);
  animation: spin 7s linear infinite;
}

body[data-theme="light"] .pulse::after {
  background: conic-gradient(from 0deg, transparent, rgba(0, 142, 179, 0.12), transparent);
}

.pulse > * {
  position: relative;
  z-index: 1;
}

.signal-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.signal-bar span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 12px;
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.section {
  padding: 96px 0 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.company-copy h2,
.cta-panel h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.section-heading p {
  margin-top: 18px;
}

.product-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.product-card,
.service-card,
.company-stack article {
  padding: 26px;
}

.product-card-featured {
  background:
    linear-gradient(160deg, rgba(87, 199, 255, 0.12), rgba(113, 240, 208, 0.06)),
    var(--panel);
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #06101d;
  background: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-alt {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.product-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.product-card li {
  margin-top: 10px;
  color: var(--muted);
}

.company-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 26px;
  align-items: start;
}

.company-stack {
  display: grid;
  gap: 18px;
}

.company-stack span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-warm);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta-section {
  padding-bottom: 88px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(113, 240, 208, 0.1), rgba(255, 181, 107, 0.08)),
    var(--panel-strong);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 0.95rem;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

@media (max-width: 1100px) {
  .hero,
  .company-layout,
  .signal-bar {
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    max-width: 12ch;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 1200px);
  }

  .site-header {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 14px;
  }

  .theme-toggle {
    width: 100%;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid,
  .hero-metrics,
  .product-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .mini-card {
    min-height: auto;
  }

  .cta-actions,
  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .product-topline,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .signal-bar {
    gap: 10px;
  }

  .signal-bar span {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 100%;
  }

  .brand-logo-wrap {
    width: 108px;
    height: 108px;
  }

  .brand-logo {
    width: 140%;
    height: 140%;
  }

  .brand-copy span {
    font-size: 0.82rem;
  }

  .hero {
    gap: 22px;
  }

  .hero-text,
  .section-heading p,
  .product-card p,
  .service-card p,
  .company-copy p,
  .company-stack p,
  .cta-panel p {
    font-size: 0.96rem;
  }

  .site-nav a {
    font-size: 0.9rem;
  }
}
