* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #f3f6fb;
  --ink: #1d2b3a;
  --muted: #5b6b7a;
  --line: #e4ecf5;
  --accent: #3f7cff;
  --accent-dark: #2c64e8;
  --accent-soft: #dfe9ff;
  --shadow: 0 30px 80px rgba(32, 52, 86, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1120px;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

p {
  color: var(--muted);
}

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

.container {
  width: min(90%, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(14px);
  z-index: 10;
  border-bottom: 1px solid rgba(228, 236, 245, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.logo-image {
  display: block;
  height: auto;
  width: auto;
}

.logo-header {
  width: clamp(220px, 22vw, 320px);
}

.logo-footer {
  width: clamp(180px, 18vw, 240px);
}

.primary-nav {
  display: flex;
  gap: 1.3rem;
  font-size: 0.95rem;
}

.primary-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.header-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.button {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 30px rgba(63, 124, 255, 0.25);
}

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

.button.ghost {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem 5%;
  background: white;
  border-top: 1px solid var(--line);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.hero {
  padding: 6rem 0 4rem;
  background: radial-gradient(circle at top, #ffffff 0%, #f3f7ff 55%, #f7f9fc 100%);
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-text {
  max-width: 680px;
}

.pill {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 1.2rem;
}

.hero p {
  margin: 1rem 0 2rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.metric-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--line);
}

.metric-card span {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
}

.metric-card strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 1rem;
}

.metric-card p {
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.section {
  padding: 5rem 0;
}

.section.muted {
  background: var(--surface-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head p {
  margin-top: 0.8rem;
}

.architecture-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  height: 260px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.node {
  position: absolute;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--muted);
}

.node-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #3f7cff, #52d0ff);
  color: white;
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.node-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.3);
}

.node-left {
  top: 50%;
  left: 10%;
}

.node-right {
  top: 50%;
  right: 10%;
}

.node-top {
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.node-bottom {
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}

.node-small {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--line);
}

.node-small-1 {
  top: 25%;
  right: 30%;
}

.node-small-2 {
  bottom: 22%;
  left: 35%;
}

.node-small-3 {
  top: 50%;
  right: 45%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border: 1px solid var(--line);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(32, 52, 86, 0.06);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.chip-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.chip {
  border: 1px solid var(--line);
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.chip.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.dashboard {
  background: radial-gradient(circle at top, #0f192a, #0c1018 70%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.dashboard-tags {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
}

.dashboard-nodes {
  position: relative;
  height: 200px;
  margin: 1rem 0 2rem;
}

.dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(63, 124, 255, 0.8);
  box-shadow: 0 0 20px rgba(63, 124, 255, 0.5);
}

.dot-1 {
  top: 40px;
  left: 40px;
}

.dot-2 {
  top: 80px;
  left: 140px;
  background: rgba(82, 208, 255, 0.8);
}

.dot-3 {
  top: 40px;
  right: 140px;
}

.dot-4 {
  top: 120px;
  right: 60px;
}

.dot-5 {
  bottom: 30px;
  left: 220px;
}

.dashboard-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.list-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--line);
}

.list-card ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
  list-style: none;
}

.list-card li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.6rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.step-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.pill-row span {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.4rem 1rem;
  background: white;
  font-weight: 600;
  color: var(--muted);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.checklist-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.checklist-card ul {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}

.checklist-card li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 0.6rem;
}

.site-footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 3rem 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-links div {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

.footer-links strong {
  color: var(--ink);
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .hero-metrics,
  .card-grid.four,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .nav-toggle {
    display: flex;
  }

  .header-actions .button {
    display: none;
  }

  .hero-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .cta-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-metrics,
  .card-grid,
  .stats-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .dashboard-footer {
    flex-direction: column;
    gap: 0.6rem;
  }

  .footer-links {
    flex-direction: column;
  }
}
  .logo-header {
    width: clamp(180px, 42vw, 240px);
  }

  .logo-footer {
    width: clamp(160px, 40vw, 220px);
  }
