/* === GreenLedger — Modern Green Template === */
:root {
    --bg: #ffffff;
    --bg-green: #f0faf4;
    --text: #1a1a2e;
    --text-muted: #5e6577;
    --accent: #10b981;
    --accent-dark: #059669;
    --accent-light: #d1fae5;
    --border: #e5e7eb;
    --radius: 12px;
    --font: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }

.container { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 700px; margin-left: auto; margin-right: auto; }

/* Header */
.header { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 14px 0; background: transparent; transition: all .3s; }
.header.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); box-shadow: 0 1px 16px rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.15rem; font-weight: 700; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.logo-icon { color: var(--accent); font-size: 1rem; }

.nav { display: flex; gap: 28px; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: .88rem; font-weight: 500; transition: color .3s; }
.nav a:hover { color: var(--accent); }

.btn { display: inline-block; padding: 13px 26px; background: var(--accent); color: white; border-radius: var(--radius); text-decoration: none; font-weight: 700; font-size: .88rem; border: none; cursor: pointer; transition: all .3s; font-family: var(--font); }
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16,185,129,.2); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); box-shadow: none; }
.btn-sm { padding: 10px 20px; font-size: .82rem; }
.btn-full { width: 100%; text-align: center; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 26px; height: 18px; position: relative; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); position: absolute; left: 0; transition: .3s; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }

/* Hero */
.hero { padding: 160px 0 100px; text-align: center; }
.hero-center { max-width: 640px; margin: 0 auto; }
.hero-pill { display: inline-block; background: var(--accent-light); color: var(--accent-dark); padding: 8px 18px; border-radius: 20px; font-size: .82rem; font-weight: 600; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-logos { display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-logos p { font-size: .75rem; color: var(--text-muted); }
.hero-logos span { font-size: .82rem; font-weight: 600; color: var(--text-muted); padding: 6px 14px; border: 1px solid var(--border); border-radius: 6px; }

/* Sections */
.section { padding: 100px 0; }
.section-green { background: var(--bg-green); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 8px; }
.section-sub { color: var(--text-muted); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); transition: all .3s; background: white; }
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(16,185,129,.08); }
.service-emoji { font-size: 1.6rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.service-card p { font-size: .88rem; color: var(--text-muted); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.step { padding: 24px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: white; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: .86rem; color: var(--text-muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pricing-card { padding: 32px 24px; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; position: relative; background: white; transition: all .3s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.06); }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; padding: 4px 14px; border-radius: 12px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.pricing-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.pricing-amount { margin-bottom: 20px; }
.currency { font-size: 1.2rem; font-weight: 500; vertical-align: top; }
.price-num { font-size: 2.8rem; font-weight: 700; }
.period { font-size: .88rem; color: var(--text-muted); }
.pricing-card ul { list-style: none; margin-bottom: 24px; text-align: left; }
.pricing-card li { font-size: .86rem; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.pricing-card li:last-child { border-bottom: none; }
.pricing-card li::before { content: '✓ '; color: var(--accent); font-weight: 700; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .3s; }
.faq-item.active { border-color: var(--accent); }
.faq-question { display: block; width: 100%; padding: 18px 22px; background: white; border: none; text-align: left; font-size: .95rem; font-weight: 600; font-family: var(--font); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 1.2rem; color: var(--accent); transition: transform .3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 22px 18px; font-size: .9rem; color: var(--text-muted); }
.faq-item.active .faq-answer { max-height: 200px; }

/* CTA */
.cta-wrap { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-wrap h2 { font-size: 1.9rem; font-weight: 700; margin-bottom: 12px; }
.cta-wrap > p { color: var(--text-muted); margin-bottom: 24px; }
.cta-details { margin-bottom: 24px; }
.cta-details p { font-size: .9rem; color: var(--text-muted); margin-bottom: 4px; }
.cta-details strong { color: var(--text); }

/* Footer */
.footer { padding: 40px 0 20px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: .84rem; transition: color .3s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: .72rem; color: var(--text-muted); line-height: 1.6; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav, .hide-mobile { display: none; }
    .nav-toggle { display: block; }
    .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: white; padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,.06); gap: 14px; }
    .hero { padding: 130px 0 70px; }
}
