:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --accent: #6d5ef8;
  --accent-dark: #5a47f0;
  --accent-soft: #ede9fe;
  --border: #eceaf5;
  --shadow: 0 10px 30px rgba(31, 20, 90, 0.08);
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 28px 0;
}

.wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wordmark span {
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 480px;
  background: radial-gradient(circle, rgba(109, 94, 248, 0.25) 0%, rgba(109, 94, 248, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero-subhead {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Waitlist form */
.waitlist-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: left;
}

.waitlist-form .field-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

.waitlist-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 1rem;
  background: #fcfcfe;
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-primary {
  width: 100%;
  padding: 13px 18px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: default;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.form-error {
  color: #d1435b;
  font-size: 0.85rem;
  margin-top: 10px;
  display: none;
}

.success-message {
  display: none;
  text-align: center;
}

.success-message .check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.success-message h3 {
  margin: 0 0 6px;
}

.success-message p {
  color: var(--text-muted);
  margin: 0;
}

/* Demo */
.demo {
  padding: 64px 0 96px;
}

.demo h2 {
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.demo-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

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

  .demo-arrow {
    transform: rotate(90deg);
  }
}

.demo-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  text-align: center;
}

.demo-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.demo-arrow {
  font-size: 1.8rem;
  color: var(--accent);
  justify-self: center;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.pdf-embed {
  width: 100%;
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.pdf-embed embed {
  width: 100%;
  height: 100%;
}

.demo-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.demo-link:hover {
  text-decoration: underline;
}

/* Features */
.features {
  padding: 64px 0 96px;
}

.features h2 {
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.features-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* Thanks page */
.thanks-hero {
  padding: 120px 0;
  text-align: center;
}

.thanks-hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.thanks-hero a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
