:root {
  --bg: #04070d;
  --bg-soft: #08111d;
  --surface: rgba(11, 19, 31, 0.92);
  --surface-strong: #0f1a2a;
  --surface-soft: rgba(13, 24, 39, 0.72);
  --stroke: rgba(117, 147, 187, 0.18);
  --stroke-strong: rgba(87, 233, 151, 0.35);
  --text: #f5fbff;
  --text-soft: #b7c6d7;
  --muted: #7e92aa;
  --brand: #56e693;
  --brand-strong: #15c96b;
  --accent: #61d3ff;
  --warning: #ffd166;
  --danger: #ff7b7b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 84px;
}

html, body { min-height: 100%; }
body {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(30, 120, 255, 0.15), transparent 22%),
    radial-gradient(circle at top right, rgba(52, 209, 116, 0.13), transparent 26%),
    linear-gradient(180deg, #02040a 0%, #07111d 32%, #03070d 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(92, 246, 164, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 246, 164, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black, transparent 85%);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.page-shell {
  position: relative;
  overflow-x: clip;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(95, 221, 255, 0.18);
  background: rgba(8, 18, 32, 0.68);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.section-heading p {
  color: var(--text-soft);
  max-width: 720px;
  font-size: 1.02rem;
}

.muted { color: var(--text-soft); }
.small-muted { color: var(--muted); font-size: 0.95rem; }
.center { text-align: center; }
.hidden { display: none !important; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: white;
  color: black;
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(97, 211, 255, 0.08);
  background: rgba(3, 9, 18, 0.78);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand img {
  width: min(162px, 38vw);
  height: auto;
  object-fit: contain;
}

.brand__text {
  display: none !important;
  flex-direction: column;
  gap: 3px;
}

.brand__title {
  font-size: 0.98rem;
  font-weight: 800;
}

.brand__subtitle {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(95, 221, 255, 0.16);
  background: rgba(6, 14, 25, 0.86);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 999px;
}

.site-nav {
  position: fixed;
  inset: var(--header-height) 16px auto 16px;
  display: none;
  padding: 18px;
  border: 1px solid rgba(97, 211, 255, 0.12);
  border-radius: 24px;
  background: rgba(4, 9, 18, 0.98);
  box-shadow: var(--shadow);
}

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

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-soft);
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: white;
  background: rgba(86, 230, 147, 0.09);
}

.site-nav__cta {
  margin-top: 14px;
}

.site-nav__cta .btn {
  width: auto;
  white-space: nowrap;
  height: 52px;
  min-height: 52px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px !important;
}

.site-nav__cta .btn--primary {
  color: #05110a !important;
}

.site-nav__cta .btn--primary:hover,
.site-nav__cta .btn--primary:focus-visible {
  color: #ffffff !important;
  background: rgba(8, 16, 28, 0.95);
  border-color: rgba(97, 211, 255, 0.28);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.hero {
  padding-top: 44px;
  padding-bottom: 72px;
}

.hero__shell {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero__panel,
.hero__visual {
  position: relative;
}

.hero__panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  line-height: 0.97;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.hero p {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 620px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.hero__microcopy {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.hero__metric {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(9, 18, 31, 0.78);
  border: 1px solid rgba(86, 230, 147, 0.15);
  color: white;
  font-weight: 600;
}

.hero__visual-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 30px;
  border: 1px solid rgba(97, 211, 255, 0.15);
  background:
    linear-gradient(180deg, rgba(9, 17, 31, 0.72), rgba(9, 17, 31, 0.95)),
    url('../img/backgrounds/hero-tech.png') center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero__glow {
  position: absolute;
  inset: auto auto -30px -50px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(86, 230, 147, 0.28), transparent 70%);
  filter: blur(18px);
}

.hero__glow--accent {
  inset: 20px -40px auto auto;
  background: radial-gradient(circle, rgba(97, 211, 255, 0.22), transparent 70%);
}

.hero__visual-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: 28px;
}

.hero__logo {
  width: min(420px, 84%);
  justify-self: end;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.55));
}

.hero__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: end;
}

.mini-panel {
  padding: 16px;
  border-radius: 20px;
  background: rgba(9, 18, 31, 0.82);
  border: 1px solid rgba(97, 211, 255, 0.14);
}

.mini-panel__label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mini-panel strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.mini-panel p { font-size: 0.94rem; }

.cta-band {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(10, 20, 35, 0.92), rgba(15, 30, 46, 0.88));
  border: 1px solid rgba(86, 230, 147, 0.17);
  box-shadow: var(--shadow);
}

.cta-band__inner {
  display: grid;
  gap: 16px;
}

.footer {
  padding: 38px 0 24px;
  border-top: 1px solid rgba(97, 211, 255, 0.08);
  background: rgba(3, 9, 18, 0.9);
}

.footer__grid {
  display: grid;
  gap: 24px;
}

.footer__brand img { width: min(200px, 58vw); }
.footer__title { font-weight: 700; margin-bottom: 8px; }
.footer__list { display: grid; gap: 10px; color: var(--text-soft); }
.footer__bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.95rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 500;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(10, 18, 32, 0.9);
  border: 1px solid rgba(97, 211, 255, 0.18);
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (min-width: 900px) {
  .brand__text { display: none !important; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }
  .site-nav a { padding-inline: 14px; }
  .site-nav__cta { margin-top: 0; margin-left: 10px; flex-shrink: 0; display: flex; align-items: center; }
  .hero { padding-top: 58px; }
  .hero__shell { grid-template-columns: 1.02fr 0.98fr; gap: 34px; }
  .section-heading { margin-bottom: 42px; }
  .footer__grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }
}
