:root {
  --bg: #0a0a0f;
  --surface: #15151f;
  --border: rgba(255, 255, 255, 0.08);
  --text-primary: #f4f4f7;
  --text-secondary: #9a9aab;
  --gradient-start: #7c6cf0;
  --gradient-end: #5b8def;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60rem;
  height: 40rem;
  background: radial-gradient(closest-side, rgba(124, 108, 240, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 60rem;
  padding: 2rem 1.5rem 0;
}

.mark {
  display: block;
}

.wordmark {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40rem;
  text-align: center;
  padding: 5rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.tagline {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0;
  max-width: 26rem;
}

.demo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  padding: 0 1.5rem 3.5rem;
}

.demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
}

.demo-heart {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gradient-start);
  margin: 0 0 1rem;
}

.demo-card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.demo-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.demo-target {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0.1rem 0 0;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.features {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 60rem;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  color: var(--gradient-start);
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature h2 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.feature p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.design-preview {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% - 3rem);
  max-width: 60rem;
  height: auto;
  margin: 0 auto 4rem;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.closing {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 0 1.5rem 3rem;
}

.closing-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40rem;
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

.copyright {
  opacity: 0.7;
}

.github-link {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.github-link svg {
  width: 1.4rem;
  height: 1.4rem;
}

.github-link:hover {
  color: var(--text-primary);
  border-color: var(--gradient-start);
}

@media (max-width: 800px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features {
    grid-template-columns: 1fr;
  }
}
