:root {
  --bg: #080d1a;
  --surface: #101935;
  --surface-soft: #162246;
  --text: #e8efff;
  --text-muted: #c1cdea;
  --primary: #18b8ff;
  --primary-dark: #0e8ec4;
  --border: #263660;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, #0d1f45 0%, var(--bg) 45%),
    linear-gradient(180deg, #070c19 0%, #080d1a 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 13, 26, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: transparent;
  color: var(--text);
  padding: 0.5rem 0.8rem;
  font-weight: 700;
  gap: 0.45rem;
  justify-self: end;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-nav {
  width: 100%;
  grid-column: 1 / -1;
  overflow: hidden;
}

.nav-toggle-icon {
  display: inline-flex;
  line-height: 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    max-height 0.28s ease,
    opacity 0.2s ease,
    transform 0.24s ease;
}

.site-nav.is-open .nav-list {
  max-height: 22rem;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-toggle:hover {
  border-color: var(--primary);
  background: rgba(24, 184, 255, 0.08);
}

.nav-toggle-icon svg {
  transition: transform 0.22s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon svg {
  transform: rotate(90deg);
}

.nav-list a {
  display: inline-block;
  color: var(--text);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
  font-weight: 600;
}

.nav-list a[aria-current="page"] {
  border-color: var(--primary);
  background: rgba(24, 184, 255, 0.12);
}

.hero {
  padding: 3.4rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 1.3rem;
  align-items: stretch;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

h1,
h2 {
  line-height: 1.2;
  margin-top: 0;
}

h3 {
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 0.55rem;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 70ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: 0.18s ease;
  transition-property: transform, background-color, border-color, box-shadow;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #031027;
}

.btn-primary:hover {
  background: #4ecfff;
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.section {
  padding: 2.2rem 0;
}

.section-soft {
  background: rgba(14, 23, 50, 0.45);
  border-top: 1px solid rgba(38, 54, 96, 0.55);
  border-bottom: 1px solid rgba(38, 54, 96, 0.55);
}

.cards,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

.card,
.pricing-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.15rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.pricing-card .price {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0.2rem 0 0.55rem;
}

.company-offer {
  margin-top: 1rem;
}

.product-featured {
  border-color: rgba(24, 184, 255, 0.55);
}

.product-card h2 {
  margin-bottom: 0.65rem;
}

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

.contact-form {
  display: grid;
  gap: 0.55rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  padding: 0.7rem 0.75rem;
  background: #0a1229;
  color: var(--text);
}

label {
  font-weight: 600;
}

input:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
.nav-list a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.contact-form .btn {
  margin-top: 0.4rem;
}

.list-compact {
  margin: 0.45rem 0 1rem;
  padding-left: 1.1rem;
}

.list-compact li + li {
  margin-top: 0.35rem;
}

.link-inline {
  display: inline-block;
  font-weight: 600;
  margin-top: 0.5rem;
}

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: rgba(9, 15, 33, 0.85);
}

.site-main {
  flex: 1 0 auto;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .header-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    width: auto;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    max-height: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1.25fr 1fr;
  }

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

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

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

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

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

@media (min-width: 980px) {
  .hero {
    padding-top: 4.3rem;
  }

  .section {
    padding: 2.8rem 0;
  }
}
