/* Variables */
:root {
  --color-bg: #070B14;
  --color-surface: #101827;
  --color-surface-hover: #162238;
  --color-primary: #06B6D4;
  --color-primary-hover: #22D3EE;
  --color-primary-bright: #67E8F9;
  --color-primary-pale: #A5F3FC;
  --color-primary-soft: rgba(6, 182, 212, 0.12);
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-neon: rgba(34, 211, 238, 0.32);
  --color-text: #F8FAFC;
  --color-text-secondary: #CBD5E1;
  --color-text-muted: #94A3B8;
  --color-button-text: #04161A;
  --container-width: 1180px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 22px 70px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 0 0 1px rgba(34, 211, 238, 0.28), 0 18px 60px rgba(6, 182, 212, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

/* Base */
body {
  position: relative;
  min-height: 100vh;
  color: var(--color-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(6, 182, 212, 0.20), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(34, 211, 238, 0.12), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(103, 232, 249, 0.08), transparent 40%),
    linear-gradient(180deg, #060A12 0%, #08111F 48%, #060912 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  opacity: 0.5;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.85), transparent 80%);
}

body::after {
  position: fixed;
  top: -20%;
  right: -20%;
  z-index: -1;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.10), transparent 65%);
  content: "";
  pointer-events: none;
  filter: blur(40px);
}

::selection {
  color: var(--color-button-text);
  background: rgba(34, 211, 238, 0.45);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(103, 232, 249, 0.78);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--color-primary-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--color-text);
  line-height: 1.14;
}

p {
  color: var(--color-text-secondary);
}

p a,
.faq-item a {
  color: var(--color-primary-bright);
  font-weight: 700;
  transition: color 160ms ease;
}

p a:hover,
.faq-item a:hover {
  color: var(--color-primary-pale);
}

/* Layout */
.section {
  padding: 88px 0;
}

.section-muted {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(12, 22, 38, 0.42);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading-left {
  margin: 0;
  text-align: left;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: 40px;
}

.section-heading p,
.text-stack p {
  margin-top: 14px;
  font-size: 18px;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(34, 211, 238, 0.12);
  background: rgba(6, 10, 18, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link {
  flex: 0 0 auto;
}

.header-logo {
  width: 150px;
  height: auto;
}

.header-cta {
  flex: 0 0 auto;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.main-nav a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--color-text-secondary);
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-text);
  background: var(--color-primary-soft);
  box-shadow: inset 0 0 0 1px var(--color-border-neon);
}

/* Hero */
.hero-section {
  padding: 70px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.hero-content h1 {
  max-width: 790px;
  margin-top: 14px;
  font-size: 54px;
  line-height: 1.06;
}

.hero-text {
  max-width: 720px;
  margin-top: 22px;
  font-size: 20px;
}

.hero-actions,
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--color-border-neon);
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.06);
  color: var(--color-primary-pale);
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cta-captions {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  font-size: 14px;
}

.cta-captions p {
  color: var(--color-text-muted);
}

.hero-visual {
  min-width: 0;
}

.network-panel {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--color-border-neon);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(155deg, rgba(16, 24, 39, 0.78), rgba(22, 34, 56, 0.58));
  box-shadow: var(--shadow-soft), 0 0 80px rgba(6, 182, 212, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.network-panel::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  opacity: 0.6;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.9), transparent 80%);
}

.panel-status {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-secondary);
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary-hover);
  box-shadow: 0 0 0 6px var(--color-primary-soft), 0 0 14px var(--color-primary-hover);
}

.network-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  margin: 32px 0;
  padding: 28px 16px;
  border-radius: 20px;
  background: rgba(6, 12, 22, 0.5);
  box-shadow: inset 0 0 60px rgba(6, 182, 212, 0.08);
}

.net-node {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--color-border-neon);
  border-radius: var(--radius-sm);
  background: rgba(34, 211, 238, 0.07);
  color: var(--color-primary-pale);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.14);
  z-index: 1;
}

.net-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary-hover);
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.18);
  color: var(--color-text);
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 0 36px rgba(34, 211, 238, 0.45), inset 0 0 18px rgba(103, 232, 249, 0.32);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.panel-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.panel-metrics article {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(34, 211, 238, 0.05);
  text-align: center;
}

.panel-metrics strong {
  display: block;
  color: var(--color-primary-bright);
  font-size: 22px;
  line-height: 1.1;
}

.panel-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: 13px;
}

/* Trust banner */
.trust-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 44px;
  padding: 18px 22px;
  border: 1px solid var(--color-border-neon);
  border-radius: var(--radius-md);
  background: rgba(6, 182, 212, 0.06);
  color: var(--color-text-secondary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.trust-banner strong {
  color: var(--color-primary-bright);
}

/* Sections — download */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.download-grid:has(.download-card:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}

.download-grid-single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.download-card,
.after-card,
.faq-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--color-border-neon);
  border-radius: var(--radius-md);
  background:
    linear-gradient(150deg, rgba(16, 24, 39, 0.65), rgba(22, 34, 56, 0.42));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.06) inset, 0 14px 38px rgba(0, 0, 0, 0.32);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.download-card:hover,
.after-card:hover,
.faq-item:hover {
  border-color: var(--color-primary-hover);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.18) inset, 0 18px 50px rgba(6, 182, 212, 0.24);
}

.download-card h3,
.after-card h3,
.faq-item h3 {
  font-size: 20px;
  color: var(--color-text);
}

.download-card > h3 {
  color: var(--color-primary-bright);
}

.download-card p,
.after-card p,
.faq-item p {
  margin-top: 10px;
}

.download-card .card-note {
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.download-card .button {
  margin-top: 18px;
  align-self: flex-start;
}

/* Steps */
.steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.steps-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(16, 24, 39, 0.55);
  color: var(--color-text-secondary);
}

.steps-list li span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary-bright);
  font-weight: 800;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.28);
}

/* After-install */
.after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.after-card .button {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 12px;
}

.after-card-featured {
  border-color: rgba(34, 211, 238, 0.6);
  background:
    linear-gradient(150deg, rgba(6, 182, 212, 0.14), rgba(16, 24, 39, 0.7));
  box-shadow: var(--shadow-glow);
}

/* Sources */
.sources-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.sources-list li {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(16, 24, 39, 0.55);
  color: var(--color-text-secondary);
}

.sources-list li span {
  margin-right: 8px;
  color: var(--color-primary-bright);
  font-weight: 700;
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--color-primary);
  color: var(--color-button-text);
  box-shadow: 0 14px 32px rgba(6, 182, 212, 0.32), 0 0 0 1px rgba(103, 232, 249, 0.32) inset;
}

.button-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-glow);
}

.button-secondary {
  border-color: var(--color-border-neon);
  background: rgba(34, 211, 238, 0.06);
  color: var(--color-primary-pale);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.button-secondary:hover {
  border-color: var(--color-primary-hover);
  background: var(--color-primary-soft);
  color: var(--color-text);
}

.button-ghost {
  background: transparent;
  color: var(--color-primary-bright);
}

.button-ghost:hover {
  color: var(--color-primary-pale);
  background: var(--color-primary-soft);
}

/* FAQ */
.faq-list {
  display: grid;
  max-width: 880px;
  margin: 0 auto;
  gap: 14px;
}

/* Footer */
.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--color-border-neon);
  background: rgba(4, 7, 13, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr auto;
  gap: 32px;
  align-items: start;
}

.footer-brand img {
  width: 168px;
  height: auto;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 16px;
  color: var(--color-text-muted);
}

.footer-nav {
  display: grid;
  gap: 10px;
}

.footer-nav h3 {
  margin-bottom: 2px;
  font-size: 16px;
}

.footer-nav a {
  color: var(--color-text-secondary);
  transition: color 160ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--color-primary-bright);
}

.footer-year {
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1040px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 24px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .download-grid,
  .after-grid {
    grid-template-columns: 1fr 1fr;
  }

  .download-grid-single {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-section {
    padding: 50px 0;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

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

  .header-logo {
    width: 132px;
  }

  .header-cta {
    display: none;
  }

  .hero-actions,
  .section-cta {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .download-grid,
  .after-grid,
  .steps-list,
  .panel-metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .network-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }

  .net-core {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 420px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .download-card,
  .after-card,
  .faq-item,
  .network-panel {
    padding: 18px;
  }

  .net-core {
    width: 60px;
    height: 60px;
    font-size: 14px;
  }
}
