:root {
  --bg: #1a1a1a;
  --bg-soft: #202224;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-border: rgba(111, 191, 255, 0.18);
  --text: #f4f7fb;
  --muted: #a5b4c7;
  --accent: #5cb7ff;
  --accent-deep: #0f6baa;
  --accent-glow: rgba(92, 183, 255, 0.28);
  --success: #95ffcc;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top, rgba(92, 183, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #16181a 0%, #1a1a1a 38%, #151618 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(circle at top, black 32%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at top, black 32%, transparent 80%);
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(20, 22, 24, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(92, 183, 255, 0.95), rgba(10, 50, 79, 0.85)),
    #16344a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(92, 183, 255, 0.25);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
}

.brand-mark::before {
  width: 18px;
  height: 2px;
  left: 12px;
  top: 20px;
}

.brand-mark::after {
  width: 2px;
  height: 18px;
  left: 20px;
  top: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-text strong,
.site-nav a,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-text small {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.8rem 1rem;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
body[data-page="home"] .site-nav a[href="index.html"],
body[data-page="features"] .site-nav a[href="features.html"],
body[data-page="contact"] .site-nav a[href="contact.html"]:not(.button) {
  color: var(--text);
}

body[data-page="contact"] .site-nav .button {
  border-color: rgba(92, 183, 255, 0.55);
  box-shadow: 0 16px 36px rgba(92, 183, 255, 0.28);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto 5px;
  background: var(--text);
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 50px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(92, 183, 255, 0.35);
  background: linear-gradient(135deg, rgba(92, 183, 255, 0.95), rgba(18, 84, 128, 0.92));
  color: #f8fcff;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(92, 183, 255, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(92, 183, 255, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  box-shadow: none;
}

.button-small {
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.hero,
.page-hero {
  position: relative;
}

.hero {
  padding: 7.5rem 0 4.5rem;
}

.page-hero {
  padding: 6rem 0 2rem;
}

.compact-hero {
  padding-bottom: 1rem;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8, 20, 31, 0.92), rgba(26, 26, 26, 0.64)),
    radial-gradient(circle at 78% 22%, rgba(92, 183, 255, 0.22), transparent 16%),
    radial-gradient(circle at 85% 24%, rgba(92, 183, 255, 0.08), transparent 30%);
  overflow: hidden;
}

.hero-grid::before,
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-grid::before {
  background:
    linear-gradient(rgba(92, 183, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 183, 255, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black 25%, transparent 100%);
}

.hero-grid::after {
  background:
    radial-gradient(circle at 74% 32%, rgba(92, 183, 255, 0.24), transparent 0 22%, transparent 22%),
    linear-gradient(135deg, transparent 42%, rgba(92, 183, 255, 0.14) 42%, transparent 43%),
    linear-gradient(160deg, transparent 52%, rgba(92, 183, 255, 0.1) 52%, transparent 53%);
  opacity: 0.95;
}

.hero-content,
.contact-hero {
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  gap: 2rem;
  align-items: end;
}

.hero-copy h1,
.section-heading h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 1.4rem;
  max-width: 12ch;
}

.lead {
  max-width: 60ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-panel,
.glass-card,
.feature-card,
.info-card,
.benefit-row {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-panel,
.glass-card {
  border-radius: var(--radius);
  padding: 1.5rem;
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(18, 29, 39, 0.95), rgba(17, 18, 20, 0.92)),
    rgba(255, 255, 255, 0.02);
  border-color: rgba(92, 183, 255, 0.2);
}

.hero-panel-head,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8acfff;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(92, 183, 255, 0.12);
}

.metric-card {
  margin-top: 1rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-card span,
.muted,
.section-heading p,
.feature-card p,
.info-card p,
.benefit-row p,
.glass-card p,
.footer-note,
.site-footer p,
.form-note,
label {
  color: var(--muted);
}

.metric-card strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.1rem;
}

.section {
  padding: 2rem 0 4.5rem;
}

.section-tinted {
  position: relative;
}

.section-tinted::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(92, 183, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading.narrow {
  max-width: 780px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  margin: 0.7rem 0 1rem;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.section-heading p {
  max-width: 64ch;
  font-size: 1rem;
}

.two-column,
.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-band,
.card-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-band {
  margin-top: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.info-card,
.feature-card {
  border-radius: 22px;
  padding: 1.4rem;
}

.feature-card h3,
.info-card h3,
.glass-card h3,
.timeline-item h3,
.benefit-row h3,
.mini-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.18rem;
}

.card-index {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-bottom: 1rem;
  color: var(--accent);
  background: rgba(92, 183, 255, 0.08);
  border: 1px solid rgba(92, 183, 255, 0.16);
  font-weight: 800;
}

.about-panel {
  position: relative;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1.2rem 0 0 1.4rem;
  border-left: 1px solid rgba(92, 183, 255, 0.24);
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 1.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(92, 183, 255, 0.12);
}

.benefit-list {
  display: grid;
  gap: 1rem;
}

.benefit-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  border-radius: 20px;
}

.styled-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.styled-list li + li {
  margin-top: 0.9rem;
}

.cta-strip {
  padding: 0 0 4.5rem;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 1.8rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(14, 40, 60, 0.94), rgba(25, 26, 28, 0.94)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(92, 183, 255, 0.16);
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.8rem 0 2.4rem;
}

.footer-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-note {
  text-align: right;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.contact-badges span,
.mini-card {
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-stack {
  display: grid;
  gap: 1.4rem;
}

.mini-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.form-card h2 {
  margin-top: 0.6rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.96rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.custom-select-trigger {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.custom-select-trigger:focus {
  border-color: rgba(92, 183, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(92, 183, 255, 0.12);
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding-right: 3rem;
}

.custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 180ms ease;
}

.custom-select.is-open .custom-select-trigger::after {
  transform: translateY(-35%) rotate(-135deg);
}

.custom-select-value {
  color: var(--text);
}

.custom-select-value.is-placeholder {
  color: #6b7280;
}

.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 20;
  display: none;
  padding: 0.45rem;
  border-radius: 16px;
  background: #101214;
  border: 1px solid rgba(92, 183, 255, 0.22);
  box-shadow: var(--shadow);
}

.custom-select.is-open .custom-select-menu {
  display: grid;
  gap: 0.3rem;
}

.custom-select-option {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option.is-selected {
  background: rgba(92, 183, 255, 0.12);
  color: #f8fcff;
  outline: none;
}

.form-success {
  display: none;
  margin: 0;
  color: var(--accent);
}

.form-success.is-visible {
  display: block;
}

.form-success.is-error {
  color: #ffadad;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-layout,
  .feature-band,
  .three-up,
  .two-column,
  .split-layout,
  .contact-layout,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .benefit-row {
    grid-template-columns: 1fr;
  }

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

  .footer-note,
  .footer-links {
    text-align: left;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
  }

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

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.75rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 22px;
    background: rgba(18, 20, 22, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding-inline: 0.75rem;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero-copy h1,
  .section-heading h1 {
    max-width: none;
  }

  .section-heading h2 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .reveal {
    transition: none;
  }
}
