:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: rgba(10, 15, 24, 0.68);
  --panel-strong: rgba(13, 20, 31, 0.86);
  --line: rgba(255, 255, 255, 0.12);
  --line-bright: rgba(132, 220, 255, 0.28);
  --text: #f7fbff;
  --muted: #a9b6c7;
  --soft: #dce9f4;
  --cyan: #8be4ff;
  --mint: #7cf2c6;
  --amber: #ffd08b;
  --danger: #ff5c7a;
  --ink: #03111b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.72), rgba(5, 7, 11, 0.96) 56%, #05070b 100%),
    linear-gradient(115deg, rgba(124, 242, 198, 0.08), transparent 34%),
    linear-gradient(245deg, rgba(139, 228, 255, 0.11), transparent 38%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
  opacity: 0.42;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 42vh;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(3, 8, 14, 0.88) 74%);
}

#earth-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  display: block;
  background: transparent;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 40;
  width: min(1160px, calc(100vw - 32px));
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 9, 16, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.16);
  transform: translateX(-50%);
}

.brand,
.topbar-download,
.hero-actions,
.console-orbit,
.command-pill,
.installer-meta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
}

.brand-mark,
.console-earth,
.status-dot {
  flex: 0 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 26%, #f7fdff 0 8%, #9fe9ff 9% 20%, #2d91ff 37%, #0b4b93 64%, #04111f 100%);
  box-shadow:
    inset -6px -8px 16px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(139, 228, 255, 0.55);
}

.brand-mark {
  width: 22px;
  height: 22px;
}

.topbar-download {
  min-height: 38px;
  justify-content: center;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 12px 34px rgba(139, 228, 255, 0.18);
}

main {
  position: relative;
}

.hero {
  position: relative;
  width: min(1160px, calc(100vw - 32px));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 126px 0 88px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 228, 255, 0.34), transparent);
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
}

h1 {
  max-width: 9ch;
  font-size: 96px;
  line-height: 0.88;
  font-weight: 900;
}

h2 {
  font-size: 52px;
  line-height: 1.02;
  font-weight: 900;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 850;
}

.hero-lede,
.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.hero-lede {
  max-width: 535px;
  margin: 24px 0 0;
}

.hero-actions {
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button.primary {
  color: var(--ink);
  background: linear-gradient(135deg, #c6f3ff 0%, var(--cyan) 46%, var(--mint) 100%);
  box-shadow: 0 18px 42px rgba(139, 228, 255, 0.21);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(124, 242, 198, 0.18);
}

.download-glyph {
  width: 16px;
  height: 16px;
  position: relative;
  flex: 0 0 auto;
}

.download-glyph::before,
.download-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
}

.download-glyph::before {
  top: 0;
  width: 3px;
  height: 11px;
  border-radius: 2px;
}

.download-glyph::after {
  bottom: 0;
  width: 11px;
  height: 11px;
  clip-path: polygon(50% 100%, 0 40%, 34% 40%, 34% 0, 66% 0, 66% 40%, 100% 40%);
}

.installer-note {
  max-width: 470px;
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.6;
}

.hero-console {
  position: absolute;
  right: 0;
  bottom: 96px;
  z-index: 4;
  width: 374px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-bright);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(11, 18, 30, 0.78), rgba(5, 9, 16, 0.58));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.18);
}

.console-orbit {
  gap: 12px;
}

.console-earth {
  width: 34px;
  height: 34px;
  animation: breathe 3.8s ease-in-out infinite;
}

.console-orbit div {
  display: grid;
  gap: 3px;
}

.console-orbit strong,
.installer-meta strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.console-orbit span,
.installer-meta span,
.command-pill {
  color: var(--muted);
  font-size: 13px;
}

.message-preview {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
}

.message-preview span {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 850;
}

.message-preview p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.55;
}

.command-pill {
  min-height: 48px;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.command-pill > span:nth-child(2) {
  flex: 1;
}

.status-dot {
  width: 16px;
  height: 16px;
  box-shadow: 0 0 18px rgba(124, 242, 198, 0.6);
}

.mic-glyph,
.voice-glyph {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
}

.mic-glyph::before {
  content: "";
  width: 10px;
  height: 18px;
  border: 2px solid var(--soft);
  border-radius: 10px;
  box-shadow: 0 8px 0 -6px var(--soft);
}

.voice-glyph {
  background: linear-gradient(135deg, var(--cyan), #2b9cff);
}

.voice-glyph::before {
  content: "";
  width: 18px;
  height: 18px;
  background:
    linear-gradient(90deg, transparent 0 15%, var(--ink) 15% 26%, transparent 26% 37%, var(--ink) 37% 48%, transparent 48% 59%, var(--ink) 59% 70%, transparent 70% 81%, var(--ink) 81% 92%, transparent 92%);
  border-radius: 8px;
}

.scene-caption {
  position: absolute;
  left: 0;
  bottom: 92px;
  z-index: 4;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.scene-caption span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.055);
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(14px);
}

.install-section,
.seo-section,
.steps-section,
.trust-section,
.faq-section {
  position: relative;
  z-index: 3;
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.install-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.5fr);
  gap: 32px;
  align-items: end;
}

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

.section-heading.compact {
  max-width: 620px;
}

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

.installer-card,
.keyword-grid article,
.steps article,
.trust-grid article,
.faq-grid article {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(1.14);
}

.keyword-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.keyword-grid article {
  min-height: 210px;
  padding: 22px;
  border-radius: 21px;
  background:
    linear-gradient(145deg, rgba(13, 20, 31, 0.76), rgba(6, 10, 17, 0.58)),
    var(--panel);
}

.keyword-grid h3 {
  margin-bottom: 10px;
}

.keyword-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding-bottom: 96px;
}

.faq-grid article {
  min-height: 190px;
  padding: 24px;
  border-radius: 21px;
}

.faq-grid h3 {
  margin-bottom: 10px;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.installer-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 22px;
}

.installer-meta {
  gap: 14px;
}

.installer-meta div {
  display: grid;
  gap: 4px;
}

.installer-icon {
  width: 52px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 13px;
  background:
    linear-gradient(135deg, transparent 0 20%, rgba(255, 255, 255, 0.3) 20% 31%, transparent 31%),
    linear-gradient(145deg, var(--mint), var(--cyan) 62%, var(--amber));
  box-shadow:
    inset -10px -12px 22px rgba(0, 0, 0, 0.16),
    0 18px 44px rgba(124, 242, 198, 0.18);
}

.installer-button {
  width: 100%;
}

.steps,
.trust-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

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

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

.steps article,
.trust-grid article {
  min-height: 210px;
  padding: 24px;
  border-radius: 21px;
}

.steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.steps h3,
.trust-grid h3 {
  margin-bottom: 10px;
}

.steps p,
.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.08);
    filter: brightness(1.2);
  }
}

@media (max-width: 1020px) {
  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-copy {
    max-width: 510px;
  }

  .hero-console {
    width: 340px;
  }

  .install-section {
    grid-template-columns: 1fr;
  }

  .keyword-grid,
  .steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .keyword-grid article,
  .steps article,
  .trust-grid article,
  .faq-grid article {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    top: 12px;
    width: calc(100vw - 24px);
    min-height: 54px;
  }

  .brand {
    font-size: 14px;
  }

  .topbar-download {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    width: calc(100vw - 28px);
    min-height: 94svh;
    padding: 112px 0 250px;
  }

  h1 {
    max-width: 8ch;
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lede,
  .section-heading p {
    font-size: 16px;
  }

  .hero-console {
    left: 0;
    right: 0;
    bottom: 74px;
    width: auto;
  }

  .scene-caption {
    display: none;
  }

  .install-section,
  .seo-section,
  .steps-section,
  .trust-section,
  .faq-section {
    width: calc(100vw - 28px);
    padding-top: 68px;
  }

  .installer-card,
  .keyword-grid article,
  .steps article,
  .trust-grid article,
  .faq-grid article {
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .topbar {
    gap: 10px;
    padding-left: 12px;
  }

  .brand span:last-child {
    max-width: 94px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar-download {
    padding: 0 10px;
  }

  h1 {
    font-size: 48px;
  }

  .button {
    width: 100%;
  }

  .hero-console {
    padding: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
