:root {
  --primary: #2E7D32;
  --primary-dark: #1B5E20;
  --accent: #E94560;
  --bg: #FAFAFA;
  --text: #212121;
  --text-secondary: #757575;
  --surface: #FFFFFF;
  --divider: #E0E0E0;
  --radius: 12px;
  --max-width: 960px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
nav .brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}
nav .links { display: flex; gap: 24px; font-size: 14px; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }

.hero {
  text-align: center;
  padding: 80px 24px 60px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero h1 .accent { color: var(--accent); }
.hero .subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.hero .cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 40px 0 60px;
}
.feature-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.feature-card .icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; }

.pricing { padding: 60px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.pricing-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  text-align: center;
}
.pricing-card.pro {
  border: 2px solid var(--primary);
  position: relative;
}
.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 2px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.pricing-card h3 { font-size: 20px; margin-bottom: 4px; }
.pricing-card .price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin: 12px 0;
}
.pricing-card .price span { font-size: 14px; font-weight: 400; color: var(--text-secondary); }
.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 16px 0;
  font-size: 14px;
}
.pricing-card li {
  padding: 6px 0;
  border-bottom: 1px solid var(--divider);
}
.pricing-card li::before { content: "✓ "; color: var(--primary); font-weight: 700; }
.pricing-card li.disabled { color: var(--text-secondary); }
.pricing-card li.disabled::before { content: "— "; color: var(--text-secondary); }

.demo {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  margin: 40px 0;
  text-align: center;
}
.demo .speech-bubble {
  background: #1A1A2E;
  color: #fff;
  padding: 16px 24px;
  border-radius: 20px 20px 20px 4px;
  display: inline-block;
  font-size: 16px;
  margin-bottom: 16px;
}
.demo .parsed-result {
  background: var(--bg);
  padding: 16px;
  border-radius: var(--radius);
  text-align: left;
  display: inline-block;
  font-size: 14px;
  max-width: 360px;
}
.demo .parsed-result .row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-secondary);
  font-size: 13px;
  border-top: 1px solid var(--divider);
  margin-top: 60px;
}
footer a { margin: 0 12px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .hero .subtitle { font-size: 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
}
