:root {
  --primary: #1E5631;
  --primary-light: #4C9A2A;
  --primary-dark: #0B3B1C;
  --bg: #FBFBF9;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #5C5C5C;
  --border: #E2E2D9;
  --accent-bg: #E9F5EB;
  --muted: #9CA3AF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav { position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 100; border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; max-width: 1140px; margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--primary); }
.nav-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav-cta { background: var(--primary); color: #fff !important; padding: 9px 18px; border-radius: 8px; font-weight: 600; }
.nav-cta:hover { background: var(--primary-dark); text-decoration: none; }
@media (max-width: 700px) { .nav-links a:not(.nav-cta) { display: none; } }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 80px 20px 100px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -10%; width: 50%; height: 200%; background: rgba(76, 154, 42, 0.15); transform: rotate(25deg); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -50%; right: -10%; width: 50%; height: 200%; background: rgba(76, 154, 42, 0.1); transform: rotate(-25deg); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; margin-bottom: 18px; border: 1px solid rgba(255,255,255,0.2); }
.hero h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; line-height: 1.15; margin-bottom: 18px; letter-spacing: -0.02em; }
.hero p { font-size: clamp(16px, 2.2vw, 20px); opacity: 0.92; max-width: 640px; margin: 0 auto 30px; line-height: 1.5; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 16px; transition: transform 0.15s ease, box-shadow 0.15s ease; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: #fff; color: var(--primary); box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.hero-meta { margin-top: 22px; font-size: 14px; opacity: 0.8; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Sections */
section { padding: 70px 20px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-tag { display: inline-block; color: var(--primary); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--text-secondary); font-size: 17px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.feature-card:hover { transform: translateY(-3px); border-color: var(--primary-light); box-shadow: 0 12px 30px rgba(30, 86, 49, 0.08); }
.feature-icon { width: 48px; height: 48px; background: var(--accent-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-card p { color: var(--text-secondary); font-size: 15px; }

/* How it works */
.how-it-works { background: var(--accent-bg); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 20px; }
.step-card { background: var(--surface); border-radius: 16px; padding: 32px 24px; text-align: center; position: relative; }
.step-num { width: 48px; height: 48px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin: 0 auto 18px; }
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-secondary); font-size: 15px; }

/* Screenshots */
.screens-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.phone-mock { background: var(--primary-dark); border-radius: 28px; padding: 14px; aspect-ratio: 9/19; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; box-shadow: 0 20px 50px rgba(11, 59, 28, 0.2); position: relative; overflow: hidden; }
.phone-mock::before { content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 60px; height: 5px; background: #000; border-radius: 3px; z-index: 2; }
.phone-mock-inner { background: #fff; color: var(--text); border-radius: 18px; width: 100%; height: 100%; display: flex; flex-direction: column; padding: 28px 16px 16px; overflow: hidden; }
.mock-header { background: var(--primary); color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; font-size: 14px; text-align: left; margin-bottom: 12px; }
.mock-stat { background: var(--accent-bg); padding: 10px; border-radius: 8px; margin-bottom: 8px; font-size: 12px; color: var(--text); text-align: left; }
.mock-stat strong { color: var(--primary); font-size: 16px; display: block; }
.mock-row { background: #F7F7F4; padding: 8px; border-radius: 6px; margin-bottom: 6px; font-size: 11px; text-align: left; display: flex; justify-content: space-between; }
.mock-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-light); display: inline-block; margin-right: 6px; }
.screen-label { text-align: center; margin-top: 12px; font-weight: 600; color: var(--text-secondary); font-size: 14px; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; position: relative; }
.testimonial-quote { font-size: 36px; color: var(--primary-light); line-height: 1; margin-bottom: 8px; font-family: Georgia, serif; }
.testimonial-card p { color: var(--text); font-size: 15px; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; }
.testimonial-author strong { display: block; font-weight: 700; font-size: 15px; }
.testimonial-author span { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item summary { padding: 20px 24px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 24px; font-weight: 400; transition: transform 0.2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 20px; color: var(--text-secondary); font-size: 15px; }

/* CTA band / Demo form */
.cta-band { background: var(--primary); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 12px; }
.cta-band p { opacity: 0.9; max-width: 580px; margin: 0 auto 24px; font-size: 17px; }
.demo-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto; text-align: left; }
.demo-form input, .demo-form textarea { padding: 14px 16px; border-radius: 10px; border: none; font-size: 15px; font-family: inherit; }
.demo-form textarea { resize: vertical; min-height: 60px; }
.demo-form button { margin-top: 6px; justify-content: center; }
.demo-form-msg { text-align: center; font-size: 14px; min-height: 20px; margin-top: 4px; }

/* Footer */
footer { background: var(--primary-dark); color: #fff; padding: 50px 20px 24px; }
.footer-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; color: rgba(255,255,255,0.7); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.85); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-brand p { font-size: 14px; opacity: 0.8; margin-top: 12px; max-width: 320px; }
.footer-bottom { max-width: 1140px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); text-align: center; font-size: 13px; opacity: 0.7; }

/* Legal pages */
.legal-container { max-width: 820px; margin: 40px auto 80px; padding: 0 20px; }
.legal-container h1 { font-size: 34px; color: var(--primary); margin-bottom: 8px; }
.legal-container .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal-container h2 { font-size: 22px; margin: 30px 0 12px; color: var(--text); }
.legal-container h3 { font-size: 17px; margin: 22px 0 8px; color: var(--text); }
.legal-container p, .legal-container li { color: var(--text-secondary); font-size: 15.5px; margin-bottom: 12px; }
.legal-container ul, .legal-container ol { padding-left: 22px; margin-bottom: 14px; }
.legal-container strong { color: var(--text); }
