.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  width: 100%;
}

.home-main {
  display: grid;
  gap: 120px;
  width: min(1240px, 100% - 12vw);
  margin: 0 auto;
  padding: 80px 0 120px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(320px, 0.85fr);
  gap: 70px;
  align-items: center;
  min-height: 70vh;
}

.hero-copy h1 {
  font-family: "Archivo Black", "Space Grotesk", sans-serif;
  font-size: clamp(34px, 6vw, 62px);
  margin: 20px 0;
}

.hero-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 26px 0;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.metric-item strong {
  display: block;
  font-size: 22px;
}

.metric-item span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
}

.globe-wrap {
  position: relative;
  width: min(520px, 70vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(54, 240, 194, 0.16), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(255, 122, 24, 0.18), transparent 60%),
    rgba(7, 9, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.globe-core {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 240, 194, 0.25), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
}

.globe-halo {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  animation: spin 18s linear infinite;
  pointer-events: none;
}

.hero-card {
  width: min(420px, 90vw);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border-radius: 26px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 12px rgba(255, 59, 107, 0.7);
}

.hero-card-body {
  display: grid;
  gap: 14px;
}

.hero-card-body strong {
  font-size: 24px;
}

.hero-card-body span {
  color: var(--muted);
  font-size: 13px;
}

.sparkline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: end;
  height: 80px;
}

.sparkline span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(54, 240, 194, 0.6), rgba(255, 122, 24, 0.15));
  animation: pulse 4s infinite ease-in-out;
}

.sparkline span:nth-child(1) { height: 40%; }
.sparkline span:nth-child(2) { height: 60%; animation-delay: 0.4s; }
.sparkline span:nth-child(3) { height: 30%; animation-delay: 0.8s; }
.sparkline span:nth-child(4) { height: 75%; animation-delay: 1.2s; }
.sparkline span:nth-child(5) { height: 45%; animation-delay: 1.6s; }
.sparkline span:nth-child(6) { height: 85%; animation-delay: 2s; }

.orbital {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  animation: spin 18s linear infinite;
}

.section-title {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-title span {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--accent);
}

.section-title h2 {
  font-family: "Archivo Black", "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
}

.feature-section,
.flow-section,
.security-section {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 200px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.flow-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  border-radius: 24px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 14px;
  min-height: 220px;
}

.flow-card p {
  color: var(--muted);
  line-height: 1.6;
}

.chip {
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.security-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 10px;
}

.security-card p {
  color: var(--muted);
  line-height: 1.6;
}

.cta-section {
  background: rgba(15, 21, 32, 0.75);
  border-radius: 30px;
  padding: 70px 8vw;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cta-inner h2 {
  font-family: "Archivo Black", "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 40px 6vw 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 14, 0.6);
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-note {
  color: var(--muted);
  font-size: 12px;
}

body.is-loaded .feature-card,
body.is-loaded .flow-card,
body.is-loaded .security-card,
body.is-loaded .hero-card,
body.is-loaded .cta-section {
  animation: rise 0.9s ease forwards;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }
}

@media (max-width: 980px) {
  .home-main {
    width: calc(100% - 10vw);
    padding-top: 60px;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy,
  .hero-visual {
    min-width: 0;
    width: 100%;
  }

  .hero-visual {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .home-main {
    width: calc(100% - 48px);
    gap: 80px;
    padding: 50px 0 90px;
  }

  .home-hero {
    gap: 48px;
    min-height: auto;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.14;
    overflow-wrap: break-word;
  }

  .hero-copy p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .metric-item strong {
    font-size: 20px;
  }

  .metric-item span {
    display: block;
    font-size: 11px;
    line-height: 1.35;
  }

  .globe-wrap {
    width: min(100%, 390px);
  }

  .cta-section {
    border-radius: 24px;
    padding: 48px 24px;
  }
}

@media (max-width: 420px) {
  .home-main {
    width: calc(100% - 40px);
  }

  .hero-actions .btn,
  .cta-actions .btn {
    flex: 1 1 140px;
  }
}
