:root {
  --bg: #f6f4ef;
  --bg-card: #ffffff;
  --green: #5c7a55;
  --green-light: #7d9b76;
  --green-pale: #e8efe6;
  --green-banner: #5c7a55;
  --text: #2a2a28;
  --text-muted: #6b6b66;
  --border: #e2ddd4;
  --radius: 14px;
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}

a {
  color: inherit;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.btn {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.btn-nav {
  background: var(--green);
  color: #fff;
}

.btn-nav:hover {
  background: #4d6847;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: #4d6847;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--green-light);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 100%;
  text-align: center;
}

.btn-light {
  background: #fff;
  color: var(--green);
  font-weight: 700;
}

/* Hero */
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero-lead {
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Browser mock */
.browser-mock {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(42, 42, 40, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.browser-mock-link {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.browser-mock-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 64px rgba(42, 42, 40, 0.12);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: #f0ede8;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4cfc6;
}

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.browser-body {
  padding: 1.25rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  text-align: left;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-value small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.stat-down {
  color: var(--green);
}

.chart-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1rem 0.5rem;
}

.chart-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.chart-svg {
  width: 100%;
  height: 100px;
  display: block;
}

/* Sections */
.section {
  padding: 4rem 0;
  text-align: center;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 2.5rem;
  letter-spacing: -0.02em;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.feature-icon {
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: lowercase;
}

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

/* Steps */
.section-steps {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  margin: 1rem 0;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 520px;
  margin-inline: auto;
  text-align: left;
}

.steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.steps li:last-child {
  margin-bottom: 0;
}

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  text-transform: lowercase;
}

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

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  text-align: left;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin: 0;
}

.stars {
  color: #e5a84b;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.testimonial footer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}

.price-card-pro {
  border-color: var(--green-light);
  box-shadow: 0 8px 32px rgba(92, 122, 85, 0.12);
}

.badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  text-transform: lowercase;
}

.price {
  margin: 0 0 1.25rem;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.currency {
  font-size: 1.25rem;
  vertical-align: top;
}

.period {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* CTA banner */
.cta-banner {
  background: var(--green-banner);
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: #fff;
}

.cta-banner p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
  max-width: 28rem;
  margin-inline: auto;
}

/* Footer */
.footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
}

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

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.copy {
  width: 100%;
  text-align: center;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

  .stat-row {
    grid-template-columns: 1fr;
  }

  .header {
    flex-wrap: wrap;
  }
}
