@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap");

:root {
  --edge-bg: #111111;
  --edge-bg-soft: #1a1a1a;
  --edge-bg-deep: #0a0a0a;
  --edge-line: #333333;
  --edge-accent: #f5b700;
  --edge-text: #ffffff;
  --edge-muted: #a3a3a3;
  --edge-wrap: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--edge-bg);
  color: var(--edge-text);
  font-family: Inter, "Noto Sans SC", "PingFang SC", sans-serif;
}

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

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

.edge-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(245, 183, 0, 0.1);
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(8px);
}

.edge-nav-inner,
.edge-brand,
.edge-links,
.edge-nav-actions,
.hero-actions,
.metric-badge,
.logo-mark,
.footer-bottom,
.social-icons {
  display: flex;
  align-items: center;
}

.edge-nav-inner {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 24px;
}

.edge-brand {
  justify-self: start;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.edge-brand i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--edge-accent);
}

.edge-links {
  gap: 24px;
  justify-self: center;
}

.edge-links a {
  position: relative;
  padding: 4px 0;
  color: var(--edge-muted);
  font-size: 16px;
}

.edge-links a.active,
.edge-links a:hover {
  color: var(--edge-text);
}

.edge-links a.active::after,
.edge-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--edge-accent);
}

.edge-beta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  border: 1px solid var(--edge-accent);
  border-radius: 6px;
  color: var(--edge-accent);
  font-size: 16px;
  font-weight: 500;
  box-shadow: none;
}

.edge-nav-actions {
  justify-self: end;
  gap: 12px;
}

.edge-lang-switcher {
  position: relative;
}

.edge-lang-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(245, 183, 0, 0.24);
  border-radius: 6px;
  color: var(--edge-text);
  cursor: pointer;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
}

.edge-lang-switcher summary::-webkit-details-marker {
  display: none;
}

.edge-lang-switcher summary i {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--edge-accent);
  border-bottom: 1.5px solid var(--edge-accent);
  transform: rotate(45deg) translateY(-1px);
}

.edge-lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 120px;
  padding: 8px;
  border: 1px solid rgba(245, 183, 0, 0.18);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.edge-lang-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--edge-muted);
  font-size: 14px;
}

.edge-lang-menu a:hover,
.edge-lang-menu a.active {
  background: rgba(245, 183, 0, 0.12);
  color: var(--edge-accent);
}

.edge-hero {
  position: relative;
  padding-top: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66vh;
  overflow: hidden;
  background: linear-gradient(180deg, #111111 0%, #1a1a1a 100%);
}

.node-field {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.node-field svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: calc(66vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 48px;
  text-align: center;
}

.hero-content h1 {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-content strong {
  color: var(--edge-accent);
  text-shadow: 0 0 12px rgba(245, 183, 0, 0.6);
}

.hero-content p {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--edge-muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  justify-content: center;
  gap: 24px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 48px;
  border-radius: 6px;
  font-size: 16px;
}

.primary-action {
  background: var(--edge-accent);
  color: var(--edge-bg);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 183, 0, 0.2);
}

.secondary-action {
  border: 1px solid var(--edge-line);
  background: transparent;
  color: var(--edge-text);
  font-weight: 500;
}

.feature-bands {
  background: var(--edge-bg);
}

.feature-band {
  position: relative;
  padding: 96px 0;
}

.feature-band.band-dark {
  background: #141414;
}

.band-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(245, 183, 0, 0.2);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--edge-accent);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.band-copy h2 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
}

.band-copy p {
  margin: 0;
  color: var(--edge-muted);
  font-size: 16px;
  line-height: 1.75;
}

.metric-badge {
  width: fit-content;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 16px;
  border: 1px solid rgba(245, 183, 0, 0.3);
  border-radius: 6px;
  background: rgba(245, 183, 0, 0.1);
  color: var(--edge-accent);
  font-size: 14px;
  font-weight: 500;
}

.metric-badge i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--edge-accent);
}

.visual-panel {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--edge-line);
  border-radius: 12px;
  background: var(--edge-bg-soft);
}

.visual-panel svg {
  width: 100%;
  height: 100%;
}

.visual-panel.code svg,
.visual-panel.federated svg {
  opacity: 0.82;
}

.visual-panel.hex svg {
  opacity: 0.9;
}

.visual-panel text {
  fill: var(--edge-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  opacity: 0.68;
}

.testimonial {
  position: relative;
  padding: 80px 0;
  background: var(--edge-bg-deep);
}

.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.stars {
  margin-bottom: 32px;
  color: var(--edge-accent);
  font-size: 24px;
  letter-spacing: 8px;
}

.testimonial p {
  margin: 0 0 40px;
  font-size: 24px;
  line-height: 1.75;
  font-weight: 500;
}

.author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 28%, rgba(245, 183, 0, 0.35), transparent 28%),
    #333333;
}

.author strong {
  color: var(--edge-accent);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.trust-strip {
  padding: 40px 0;
  border-top: 1px solid var(--edge-line);
  background: var(--edge-bg-soft);
  text-align: center;
}

.trust-title {
  display: block;
  margin-bottom: 32px;
  color: var(--edge-accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  opacity: 0.5;
  filter: grayscale(1);
}

.logo-mark {
  gap: 12px;
  color: var(--edge-text);
}

.logo-mark i {
  position: relative;
  width: 32px;
  height: 32px;
  display: block;
}

.logo-mark strong {
  font-size: 20px;
  font-weight: 700;
}

.mark-1 i::before,
.mark-1 i::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.mark-1 i::before {
  left: 4px;
  top: 4px;
  width: 10px;
  height: 10px;
  box-shadow: 14px 14px 0 currentColor;
}

.mark-1 i::after {
  right: 4px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.mark-2 i,
.mark-4 i {
  border: 3px solid currentColor;
}

.mark-2 i {
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.mark-3 i {
  background: currentColor;
  transform: rotate(45deg) scale(0.72);
}

.mark-4 i {
  border-radius: 999px;
}

.mark-4 i::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: currentColor;
}

.edge-footer {
  border-top: 1px solid var(--edge-line);
  background: var(--edge-bg);
}

.edge-footer .edge-wrap {
  padding-top: 48px;
  padding-bottom: 48px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-columns div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-columns h3 {
  margin: 0 0 8px;
  color: var(--edge-accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-columns a {
  color: var(--edge-muted);
  font-size: 13px;
}

.footer-columns span {
  color: var(--edge-muted);
  font-size: 13px;
  line-height: 1.75;
}

.footer-bottom {
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--edge-line);
  color: #808080;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
}

.social-icons {
  gap: 14px;
}

.social-icons span {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .edge-links {
    gap: 16px;
  }

  .edge-links a:nth-child(2),
  .edge-links a:nth-child(3),
  .edge-links a:nth-child(5) {
    display: none;
  }

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

  .feature-band.reverse .visual-panel {
    order: 2;
  }

  .feature-band.reverse .band-copy {
    order: 1;
  }

  .logo-row {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .edge-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .edge-beta {
    display: none;
  }

  .edge-nav-inner {
    grid-template-columns: auto 1fr;
  }

  .edge-links {
    justify-self: end;
  }

  .edge-nav-actions {
    justify-self: end;
  }

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

  .hero-content p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .feature-band {
    padding: 72px 0;
  }

  .testimonial p {
    font-size: 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
