/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a2b3c;
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
.text-gradient {
    background: linear-gradient(135deg, #16a34a, #059669);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 12px;
    font-weight: 600; font-size: 0.95rem;
    transition: all 0.25s ease; cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #16a34a, #059669);
    color: #fff; box-shadow: 0 4px 14px rgba(22,163,74,0.3);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(22,163,74,0.45); transform: translateY(-2px); }
.btn-outline { border: 2px solid #16a34a; color: #16a34a; background: transparent; }
.btn-outline:hover { background: #f0fdf4; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 14px; }
.btn-nav { background: #16a34a; color: #fff; padding: 10px 20px; border-radius: 10px; font-size: 0.9rem; }
.btn-nav:hover { background: #15803d; }

/* ===== Section common ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { color: #64748b; margin-top: 12px; font-size: 1.1rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.section-badge {
    display: inline-block; padding: 6px 16px; border-radius: 100px;
    background: #f0fdf4; color: #16a34a; font-size: 0.85rem; font-weight: 600; margin-bottom: 12px;
}

/* ===== Nav ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: all 0.3s ease;
}
.nav.scrolled {
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08); padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, #16a34a, #059669);
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.logo-icon svg { width: 22px; height: 22px; }
.logo-text { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.93rem; font-weight: 500; color: #475569; transition: color 0.2s; }
.nav-links a:hover { color: #16a34a; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switcher { display: flex; gap: 4px; background: #f1f5f9; border-radius: 8px; padding: 3px; }
.lang-btn {
    padding: 4px 10px; border: none; background: transparent; border-radius: 6px;
    font-size: 0.8rem; font-weight: 600; cursor: pointer; color: #64748b; transition: all 0.2s;
}
.lang-btn.active { background: #fff; color: #16a34a; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { width: 24px; height: 2px; background: #1a2b3c; border-radius: 2px; transition: all 0.3s; }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(160deg, #f0fdf4 0%, #ecfdf5 30%, #d1fae5 60%, #a7f3d0 100%);
    overflow: hidden;
}
.hero-bg {
    position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(22,163,74,0.08) 0%, transparent 70%); border-radius: 50%;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content { max-width: 580px; }
.hero-badge {
    display: inline-block; padding: 8px 16px; border-radius: 100px;
    background: rgba(22,163,74,0.1); color: #16a34a; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: #475569; margin-bottom: 32px; line-height: 1.7; }
.hero-sub strong { color: #16a34a; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; }
.hero-wave svg { width: 100%; height: auto; display: block; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone-mockup {
    width: 280px; background: #1a2b3c; border-radius: 36px;
    padding: 12px; box-shadow: 0 25px 60px rgba(0,0,0,0.15); position: relative;
}
.phone-notch {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 28px; background: #1a2b3c; border-radius: 0 0 16px 16px; z-index: 2;
}
.phone-screen {
    width: 100%; background: #fff; border-radius: 26px;
    padding: 48px 16px 0; overflow: hidden; min-height: 520px; position: relative;
}
.phone-app-logo { text-align: center; margin-bottom: 20px; }
.phone-logo-leaf { font-size: 2rem; }
.phone-logo-name { font-weight: 800; font-size: 1rem; color: #16a34a; }
.phone-logo-sub { font-size: 0.7rem; color: #94a3b8; }
.phone-balance-card {
    background: linear-gradient(135deg, #16a34a, #059669); border-radius: 16px;
    padding: 18px; color: #fff; margin-bottom: 14px;
}
.phone-balance-label { font-size: 0.72rem; opacity: 0.8; }
.phone-balance-value { font-size: 1.3rem; font-weight: 700; }
.phone-balance-value small { font-size: 0.7rem; opacity: 0.7; }
.phone-balance-change { font-size: 0.72rem; color: #bbf7d0; margin-top: 4px; }
.phone-project-card {
    display: flex; gap: 10px; align-items: center; padding: 12px;
    background: #f8fafc; border-radius: 12px; margin-bottom: 8px;
}
.phone-project-emoji { font-size: 1.5rem; }
.phone-project-name { font-size: 0.78rem; font-weight: 600; }
.phone-project-meta { font-size: 0.7rem; color: #64748b; }
.phone-project-meta strong { color: #16a34a; }
.phone-project-status { font-size: 0.68rem; color: #16a34a; font-weight: 600; margin-left: auto; white-space: nowrap; }
.phone-project-status.status-done { color: #64748b; }
.phone-nav-bar {
    display: flex; justify-content: space-around; padding: 10px 0;
    border-top: 1px solid #e2e8f0; position: absolute; bottom: 0; left: 0; right: 0;
    background: #fff; border-radius: 0 0 26px 26px; font-size: 0.6rem; color: #94a3b8;
}
.phone-nav-item.active { color: #16a34a; font-weight: 600; }

/* Phone small (download section) */
.phone-small { width: 220px; }
.phone-small .phone-screen { min-height: 400px; padding: 48px 14px 14px; text-align: center; }
.phone-welcome-text { font-size: 0.8rem; color: #475569; margin-bottom: 20px; }
.phone-btn-mock {
    display: block; padding: 10px; border-radius: 10px;
    background: #16a34a; color: #fff; font-weight: 600; font-size: 0.85rem;
    margin-bottom: 8px;
}
.phone-btn-outline { background: transparent; color: #16a34a; border: 2px solid #16a34a; }

/* ===== Problem ===== */
.problem { padding: 100px 0; background: #fff; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.problem-card {
    padding: 36px 28px; border-radius: 20px; border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.problem-bad { background: #fef2f2; border-color: #fecaca; }
.problem-good { background: #f0fdf4; border-color: #bbf7d0; }
.problem-icon { font-size: 1.5rem; margin-bottom: 16px; }
.problem-card h3 { margin-bottom: 10px; }
.problem-card p { font-size: 0.9rem; color: #475569; line-height: 1.6; }

/* ===== How ===== */
.how { padding: 100px 0; background: #f8fafc; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
    text-align: center; padding: 40px 24px; border-radius: 20px;
    background: #fff; border: 1px solid #e2e8f0; position: relative; transition: all 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); border-color: #bbf7d0; }
.step-number {
    font-size: 3rem; font-weight: 800; color: #e2e8f0; position: absolute;
    top: 16px; right: 20px; line-height: 1;
}
.step-card:hover .step-number { color: #bbf7d0; }
.step-icon { font-size: 2.5rem; margin-bottom: 16px; }
.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: #64748b; line-height: 1.6; }

/* ===== Stats ===== */
.stats { padding: 100px 0; background: linear-gradient(135deg, #16a34a, #059669); color: #fff; }
.stats .section-badge { background: rgba(255,255,255,0.15); color: #fff; }
.stats h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-card {
    text-align: center; padding: 36px 20px; border-radius: 20px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15); transition: all 0.3s ease;
}
.stat-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); }
.stat-number { font-size: 2.8rem; font-weight: 800; display: inline; }
.stat-suffix { font-size: 1.2rem; font-weight: 600; display: inline; opacity: 0.8; }
.stat-label { font-size: 0.9rem; opacity: 0.85; margin-top: 6px; }

/* ===== Roles ===== */
.roles { padding: 100px 0; background: #fff; }
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role-card {
    padding: 40px 28px; border-radius: 20px; background: #f8fafc;
    border: 1px solid #e2e8f0; position: relative; transition: all 0.3s ease;
}
.role-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.role-card-highlight {
    border-color: #16a34a; box-shadow: 0 8px 24px rgba(22,163,74,0.1);
    background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 40%);
}
.role-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #16a34a; color: #fff; padding: 4px 16px; border-radius: 100px;
    font-size: 0.8rem; font-weight: 600; white-space: nowrap;
}
.role-icon { font-size: 2.5rem; margin-bottom: 16px; }
.role-card h3 { margin-bottom: 10px; }
.role-card > p { font-size: 0.9rem; color: #64748b; line-height: 1.6; margin-bottom: 20px; }
.role-list { display: flex; flex-direction: column; gap: 10px; }
.role-list li { font-size: 0.9rem; color: #475569; padding-left: 24px; position: relative; }
.role-list li::before {
    content: ''; position: absolute; left: 0; top: 7px;
    width: 8px; height: 8px; border-radius: 50%; background: #bbf7d0;
}

/* ===== Trust ===== */
.trust { padding: 100px 0; background: #f8fafc; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card {
    padding: 32px; border-radius: 20px; background: #fff;
    border: 1px solid #e2e8f0; transition: all 0.3s ease;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); border-color: #d1fae5; }
.trust-icon { font-size: 2rem; margin-bottom: 14px; }
.trust-card h4 { margin-bottom: 8px; }
.trust-card p { font-size: 0.9rem; color: #64748b; line-height: 1.6; }

/* ===== Download ===== */
.download { padding: 100px 0; background: #fff; }
.download-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.download h2 { font-size: 2rem; margin-bottom: 16px; }
.download-content > p { color: #475569; margin-bottom: 32px; font-size: 1.05rem; }
.download-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-download {
    display: flex; align-items: center; gap: 12px; padding: 14px 28px;
    border-radius: 14px; background: #1a2b3c; color: #fff; transition: all 0.25s ease;
}
.btn-download:hover { background: #0f172a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-download small { font-size: 0.75rem; opacity: 0.7; display: block; }
.btn-download strong { font-size: 0.95rem; }
.btn-download-web { background: #fff; color: #1a2b3c; border: 2px solid #e2e8f0; }
.btn-download-web:hover { background: #f8fafc; border-color: #16a34a; }
.download-icon { font-size: 1.5rem; }
.btn-coming-soon { opacity: 0.6; cursor: default; background: #475569; }
.btn-coming-soon:hover { transform: none; box-shadow: none; background: #475569; }
.download-note { font-size: 0.85rem; color: #94a3b8; }

/* ===== Footer ===== */
.footer { padding: 40px 0; background: #0f172a; color: #94a3b8; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-icon { background: linear-gradient(135deg, #16a34a, #059669); }
.footer-brand > p { font-size: 0.85rem; margin-top: 8px; }
.footer-copy p { font-size: 0.85rem; }

/* ===== Animations ===== */
/* Cards are visible by default. Hover effects handle interactivity. */

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .problem-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .roles-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
        flex-direction: column; justify-content: center; align-items: center; gap: 24px; z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.2rem; }
    .burger { display: flex; z-index: 1001; }
    .burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger.open span:nth-child(2) { opacity: 0; }
    .burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero { padding: 100px 0 60px; }
    .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .stats-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
    .trust-grid { grid-template-columns: 1fr; }
    .download-inner { grid-template-columns: 1fr; text-align: center; }
    .download-buttons { justify-content: center; }
    .download-visual { display: none; }
    .footer-inner { flex-direction: column; text-align: center; }
}
