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

:root {
  --bg: #06110d;
  --bg-soft: #0c1c16;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.14);
  --text: #f3fff8;
  --muted: #9fb5aa;
  --green: #4dff9a;
  --green-dark: #1fa95c;
  --blue: #62a8ff;
  --purple: #b783ff;
  --orange: #ffb86b;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(77, 255, 154, 0.18), transparent 35%),
    radial-gradient(circle at top right, rgba(98, 168, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #030806, var(--bg));
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(3, 8, 6, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #031008;
  background: linear-gradient(135deg, var(--green), #d7ffe8);
  box-shadow: 0 0 28px rgba(77, 255, 154, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-button,
.primary-button {
  color: #031008;
  background: var(--green);
  box-shadow: 0 0 28px rgba(77, 255, 154, 0.25);
}

.secondary-button {
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.hero h1 span {
  display: block;
  color: var(--muted);
}

.hero-description {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.hero-stats div,
.feature-card,
.step-card,
.cta,
.app-window {
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 18px;
  border-radius: 22px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
}

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

.hero-preview {
  position: relative;
}

.hero-preview::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 40px;
  background: rgba(77, 255, 154, 0.22);
  filter: blur(80px);
}

.app-window {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.window-topbar {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-bottom: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.05);
}

.window-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.builder-layout {
  min-height: 430px;
  display: grid;
  grid-template-columns: 150px 1fr;
}

.block-list {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--card-border);
}

.block {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #07110c;
}

.block-green {
  background: var(--green);
}

.block-blue {
  background: var(--blue);
}

.block-purple {
  background: var(--purple);
}

.block-orange {
  background: var(--orange);
}

.canvas {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.flow-block {
  width: min(260px, 100%);
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  font-weight: 800;
}

.flow-block.green {
  border-color: rgba(77, 255, 154, 0.55);
}

.flow-block.blue {
  border-color: rgba(98, 168, 255, 0.55);
}

.flow-block.purple {
  border-color: rgba(183, 131, 255, 0.55);
}

.flow-line {
  width: 2px;
  height: 26px;
  background: rgba(255, 255, 255, 0.22);
}

.features,
.how-it-works {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading h2,
.cta h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.feature-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.step-card {
  min-height: 210px;
  padding: 24px;
  border-radius: 26px;
}

.feature-card h3,
.step-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature-card p,
.step-card p,
.cta p {
  color: var(--muted);
  line-height: 1.7;
}

.step-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 900;
}

.cta {
  width: min(920px, calc(100% - 40px));
  margin: 80px auto;
  padding: 54px;
  border-radius: 34px;
  text-align: center;
}

.cta p {
  max-width: 620px;
  margin: 18px auto 28px;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .block-list {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
}

@media (max-width: 560px) {
  .navbar {
    width: min(100% - 24px, 1180px);
  }

  .nav-button {
    display: none;
  }

  .hero,
  .features,
  .how-it-works {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .cta {
    width: min(100% - 24px, 920px);
    padding: 34px 24px;
  }
}