:root {
  --bg: #fffaf5;
  --card: #ffffff;
  --text: #1b140e;
  --muted: #6a5f55;
  --accent: #a855f7;
  --accent-dark: #7c3aed;
  --line: #efe0d3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4vw;
  background: rgba(255, 250, 245, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

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

.logo img {
  width: 48px;
  height: auto;
}

nav {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
}

.cta-group {
  display: flex;
  gap: 0.75rem;
}

.cta-group:empty {
  display: none;
}

.primary,
.ghost,
button.ghost {
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  border: none;
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.35);
}

.ghost,
button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
}

.primary:hover,
.ghost:hover,
button.ghost:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  padding: 4rem 4vw 3rem;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.1;
  margin: 0.75rem 0;
}

.hero-copy .subtitle {
  color: var(--muted);
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 1rem;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
}

.hero-panel .metric {
  font-size: 3.5rem;
  font-weight: 700;
}

.hero-panel p {
  margin-top: 0.25rem;
  color: var(--muted);
}

.panel-card {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: #f9f1ea;
}

.panel-card ul {
  padding-left: 1rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.stats,
.social-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 0 4vw 4rem;
}

.stats article,
.social-proof article {
  background: var(--card);
  padding: 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.stats h3 {
  margin: 0;
  font-size: 2rem;
}

.features,
.showcase,
.pricing,
.faq {
  padding: 0 4vw 4rem;
}

.features header,
.pricing header,
.faq header {
  max-width: 680px;
  margin-bottom: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-grid article {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  min-height: 180px;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.showcase-frame .window {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fbbf24;
}

.window-bar span:nth-child(2) {
  background: #34d399;
}

.window-bar span:nth-child(3) {
  background: #f87171;
}

.window-body {
  padding: 1.5rem;
  color: var(--muted);
}

.window-screenshot {
  width: 100%;
  display: block;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.window-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pricing-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  background: var(--card);
  position: relative;
}

.pricing-grid .price {
  font-size: 2rem;
  margin: 0.5rem 0 1.5rem;
}

.pricing-grid ul {
  padding-left: 1.25rem;
  color: var(--muted);
  min-height: 150px;
}

.pricing-grid .featured {
  border-color: var(--accent);
  box-shadow: 0 25px 50px rgba(168, 85, 247, 0.15);
}

.badge {
  position: absolute;
  top: -12px;
  right: 1.75rem;
  background: var(--accent);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.social-proof {
  text-align: center;
}

.social-proof .logos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.social-proof span {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.faq article {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
}

.demo {
  padding: 0 4vw 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.demo-copy ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.demo-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.demo-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 500;
  color: var(--text);
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background: #fffdf9;
}

.demo-form textarea {
  resize: vertical;
}

.demo-form button {
  justify-self: start;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status.success {
  color: #0f8a5f;
}

.form-status.error {
  color: #b83232;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem 4vw;
  border-top: 1px solid var(--line);
  background: #f6ece3;
}

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

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-group {
    flex-wrap: wrap;
    justify-content: center;
  }
}
