:root {
    --primary: #1B5E20;
    --primary-light: #2E7D32;
    --primary-dark: #0D3311;
    --accent: #FFB300;
    --bg: #F8FAF8;
    --surface: #FFFFFF;
    --text: #1A1C1A;
    --text-muted: #667085;
    --radius-l: 32px;
    --radius-m: 24px;
    --radius-s: 16px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
    --shadow-xl: 0 20px 24px -4px rgba(16, 24, 40, 0.1), 0 8px 8px -4px rgba(16, 24, 40, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* --- Buttons --- */
.btn-pill {
    background-color: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-pill:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    /* Fixed: Reduced from 160px */
    width: auto;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a:not(.btn-pill) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:not(.btn-pill):hover {
    color: var(--primary);
}

/* --- Hero --- */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.hero-content h1 {
    font-size: 64px;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #E8F5E9;
    color: var(--primary);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
}

.app-store-btn {
    display: inline-block;
    transition: transform 0.2s;
}

.app-store-btn:hover {
    transform: translateY(-2px);
}

/* --- Device Mockups (CSS Only) --- */
/* Reusable phone frame for all screenshots */
.device-mockup {
    position: relative;
    border-radius: 48px;
    border: 12px solid #1f2937;
    /* Dark bezel */
    background: #1f2937;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 320px;
    /* Fixed: Constrain width */
    margin: 0 auto;
    aspect-ratio: 9/19.5;
}

/* Notch */
.device-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #1f2937;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 10;
}

.device-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
    display: block;
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Glow effect behind hero phone */
.hero-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.2) 0%, transparent 70%);
    z-index: -1;
}

/* --- Features Section --- */
.features {
    padding: 120px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.feature-item {
    text-align: left;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: #E8F5E9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Showcase (Screenshots) --- */
.showcase {
    padding: 120px 0;
    background: #F2F4F7;
    /* Light gray background to contrast phones */
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Responsive grid */
    gap: 64px;
    justify-items: center;
    margin-top: 64px;
}

.showcase-item {
    text-align: center;
}

.showcase-caption {
    margin-top: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-dark);
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    border-radius: 48px;
    padding: 80px 48px;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.cta-box p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background: white;
    color: var(--primary);
    font-size: 18px;
    padding: 16px 48px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}

.btn-white:hover {
    transform: scale(1.05);
}

/* --- Footer --- */
footer {
    background: var(--surface);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 16px;
    color: var(--text);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 16px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #f2f4f7;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
        gap: 48px;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-image {
        order: -1;
    }

    /* Phone on top on mobile? optional */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nav-links {
        display: none;
    }

    /* Add mobile menu later if needed, for now hidden */
}