:root {
  --bg: #050512;
  --bg-soft: #080818;
  --card: #10132b;
  --card-soft: #151a3a;
  --border-soft: rgba(139, 148, 230, 0.26);
  --accent: #1f4fff;
  --accent-hover: #325aff;
  --accent-soft: rgba(31, 79, 255, 0.18);
  --text-main: #f9fbff;
  --text-sub: #a8b0e0;
  --success: #3fe09b;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.72);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #000;
  overflow-x: hidden;
  font-size: 16px;
}

#bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: blur(3px) saturate(1.1) brightness(0.46);
}

.page-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(21, 24, 65, 0.72), rgba(0, 0, 0, 0.96));
  z-index: -1;
}

main {
  min-height: 100vh;
}

.page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 40px;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.86));
  border-bottom: 1px solid rgba(139, 148, 230, 0.12);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-logo {
  height: 30px;
  width: 30px;
  border-radius: 8px;
}

.nav-title {
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-link,
.nav-cta {
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  color: #ffffff;
  background: transparent;
  text-decoration: none;
  opacity: 0.82;
  transition: background 0.16s ease, opacity 0.16s ease, transform 0.1s ease;
  white-space: nowrap;
  flex: 0 0 auto;
}

.nav-link:hover,
.nav-cta:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--accent);
  opacity: 1;
  padding-inline: 18px;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

.nav-cta.secondary {
  background: rgba(13, 18, 51, 0.92);
  border: 1px solid rgba(112, 122, 214, 0.7);
}

.nav-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(13, 18, 51, 0.92);
  border: 1px solid rgba(112, 122, 214, 0.55);
  border-radius: 12px;
  padding: 9px;
  cursor: pointer;
}

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

.hero {
  padding: 95px 56px 55px;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text h1 {
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.accent {
  color: var(--accent);
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 12px;
  font-weight: 650;
}

.hero-subtitle {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-sub);
  max-width: 820px;
  margin-inline: auto;
}

.hero-actions,
.loader-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.btn {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.65);
}

.btn.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn.ghost {
  background: rgba(13, 18, 51, 0.92);
  color: var(--text-main);
  border: 1px solid rgba(112, 122, 214, 0.7);
}

.btn.ghost:hover {
  background: rgba(19, 26, 68, 1);
  transform: translateY(-1px);
}

.hero-meta {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-sub);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-meta-secondary {
  font-size: 14px;
  opacity: 0.9;
}

.hero-scroll-hint {
  max-width: 1280px;
  margin: 75px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-sub);
}

.hero-scroll-hint span {
  width: 2px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(148, 163, 252, 0.7), transparent);
}

.section {
  padding: 225px 225px;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header h2,
.support-card h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.section-subtitle,
.support-card p {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--text-sub);
  margin-top: 8px;
}

.feature-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tile.feature,
.coverage-card,
.loader-card,
.support-card {
  background: radial-gradient(circle at top left, #181c3c 0, #10132b 42%, #090b1c 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.tile.feature {
  padding: 20px 20px 22px;
}

.tile.feature h3,
.coverage-card h3,
.loader-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.tile.feature p,
.coverage-card p,
.loader-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-sub);
}

.coverage-section,
.loader-section {
  background: linear-gradient(180deg, transparent, rgba(8, 11, 32, 0.5), transparent);
}

.split-section,
.loader-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

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

.coverage-card {
  padding: 22px;
}

.loader-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.loader-card-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.loader-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(112, 122, 214, 0.7);
  color: #ffffff;
  font-weight: 800;
}

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

.support-card {
  padding: 28px;
}

.support-card .btn {
  margin-top: 22px;
}

.footer-block {
  padding: 26px 56px 42px;
}

.site-footer {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-sub);
  font-size: 13px;
  border-top: 1px solid rgba(139, 148, 230, 0.16);
  padding-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (max-width: 1100px) {
  .nav {
    padding: 14px 20px;
    align-items: flex-start;
  }

  .nav-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 62px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(5, 8, 26, 0.98);
    border: 1px solid rgba(139, 148, 230, 0.2);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

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

  .split-section,
  .loader-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero,
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    padding-top: 72px;
  }

  .feature-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-block {
    padding-left: 22px;
    padding-right: 22px;
  }
}
