:root {
  --bg: #000000; /* Pure deep black foundation */
  --bg-soft: #080a1a;
  --card: rgba(10, 14, 35, 0.4);
  --text: #f8faff;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.15);
  --blue: #3b82f6;
  --neon: #00f2ff;
  --purple: #8b5cf6;
  --green: #10b981;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(139, 92, 246, 0.18), transparent 55%),
    radial-gradient(1000px 600px at 10% 10%, rgba(59, 130, 246, 0.15), transparent 60%),
    linear-gradient(180deg, #000000 0%, #03050c 45%, #000000 100%);
  z-index: -2;
}

/* New Network Canvas styling */
#network-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(to bottom, #fff 40%, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--neon);
  box-shadow: 0 0 15px var(--neon);
}

.links {
  display: flex;
  gap: 24px;
}

.links a,
.nav-actions a.text-link,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.links a:hover,
.nav-actions a:hover,
.site-footer a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(140deg, var(--blue), var(--purple));
  box-shadow: 0 12px 30px rgba(95, 123, 255, 0.25);
}

.btn-ghost {
  color: #d7defc;
  border-color: var(--line);
  background: rgba(16, 24, 53, 0.35);
}

.hero {
  padding-top: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: 0.2px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.subtitle {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 58ch;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin: 30px 0 24px;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.hero-metrics strong {
  color: #fff;
}

.hero-panel {
  position: relative;
}

.panel-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.mockup {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.mockup-top span {
  color: var(--muted);
  font-size: 0.9rem;
}

.mockup-top strong {
  display: block;
  font-size: 2rem;
  margin: 8px 0 2px;
}

.mockup-top small {
  color: var(--green);
}

.mockup-chart {
  margin: 18px 0 20px;
  height: 120px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.15), transparent 72%),
    linear-gradient(115deg, rgba(139, 92, 246, 0.4), rgba(59, 130, 246, 0.1));
  position: relative;
  overflow: hidden;
}

.mockup-chart::after {
  content: "";
  position: absolute;
  inset: auto -10% 18px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  filter: blur(0.4px);
}

.mockup-list .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.94rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.logos {
  padding-top: 22px;
}

.logos p {
  text-align: center;
  color: var(--muted);
}

.logo-strip {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.logo-strip span {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.4);
  color: #d9dfff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.section-head {
  margin-bottom: 34px;
}

.cards, .steps-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card, .step, .price-card, .faq-list details, .cta-panel {
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover, .price-card:hover, .step:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
}

.feature-card {
  min-height: 240px;
  padding: 28px;
}

.feature-card p, .step p, .price-card li, .faq-list p, .cta p {
  color: var(--muted);
  line-height: 1.6;
}

.step {
  padding: 26px;
}

.step span {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--blue);
}

.price-card {
  padding: 28px;
}

.price {
  font-size: 2.2rem;
  margin: 8px 0 16px;
  letter-spacing: -0.5px;
}

.price small {
  font-size: 0.9rem;
  color: var(--muted);
}

.price-card ul {
  padding-left: 20px;
  min-height: 130px;
}

.featured {
  border-color: rgba(139, 92, 246, 0.5);
  background: linear-gradient(165deg, rgba(28, 38, 88, 0.5), rgba(15, 23, 42, 0.6));
  position: relative;
  transform: translateY(-10px);
}
.featured:hover {
  transform: translateY(-14px);
}

.tag {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(140deg, var(--blue), var(--purple));
}

/* Beta Pricing Notice */
.beta-notice {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #d8b4fe;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px;
  cursor: pointer;
}

.faq-list summary {
  font-weight: 600;
  outline: none;
}

.faq-list p {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.cta {
  padding-top: 70px;
}

.cta-panel {
  text-align: center;
  padding: 52px 22px;
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(59, 130, 246, 0.15), transparent 70%),
    radial-gradient(600px 300px at 90% 100%, rgba(139, 92, 246, 0.15), transparent 70%),
    rgba(10, 14, 35, 0.4);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 14px;
}

.footer-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.footer-row div {
  display: flex;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
}

@media (max-width: 980px) {
  .links { display: none; }
  .hero-grid, .cards, .steps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .featured { transform: translateY(0); }
  .featured:hover { transform: translateY(-4px); }
}

@media (max-width: 640px) {
  .container { width: min(1120px, calc(100% - 28px)); }
  .section { padding: 74px 0; }
  .hero-cta { flex-direction: column; }
  .nav-actions .text-link { display: none; }
}
