/* ==========================================================================
   CSS Variables & Base Styles
   ========================================================================== */
   :root {
    --primary: #316B25;
    --primary-light: #97D783;
    --primary-dark: #17520E;
    --background: #f8faf7;
    --surface: #ffffff;
    --text-main: #1A1C18;
    --text-muted: #43483F;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(49, 107, 37, 0.1), 0 10px 10px -5px rgba(49, 107, 37, 0.04);
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background blob decoration */
.blob-bg {
    position: fixed;
    top: -20vh;
    right: -10vw;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(151, 215, 131, 0.3) 0%, rgba(248, 250, 247, 0) 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.blob-bg::after {
    content: '';
    position: absolute;
    bottom: -50vh;
    left: -50vw;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(49, 107, 37, 0.1) 0%, rgba(248, 250, 247, 0) 70%);
    filter: blur(80px);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.85);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(49, 107, 37, 0.1);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.store-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-badges.center {
    justify-content: center;
}

.store-link img {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.hero-image-wrapper {
    border-radius: var(--radius-lg);
    padding: 16px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: block;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Walkthrough Section
   ========================================================================== */
.walkthrough {
    padding: 100px 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.8) 20%, rgba(255,255,255,0.8) 80%, rgba(255,255,255,0));
}

.walkthrough-steps {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.step-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.step-row.reverse {
    direction: rtl;
}

.step-row.reverse > * {
    direction: ltr;
}

.step-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.step-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.step-image {
    border-radius: var(--radius-lg);
    padding: 16px;
}

.step-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing {
    padding: 100px 24px;
    display: flex;
    justify-content: center;
}

.pricing-card {
    max-width: 600px;
    width: 100%;
    padding: 64px 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.pricing-card h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.pricing-card p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 24px;
}

.currency {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    transform: translateY(-10px);
}

.amount {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--text-main);
    line-height: 1;
}

.period {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.pricing-note {
    font-size: 0.875rem !important;
    color: var(--text-muted);
    margin-bottom: 40px !important;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .brand {
    margin-bottom: 16px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        min-height: auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .store-badges {
        justify-content: center;
    }

    .hero-image-wrapper {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide on mobile for simplicity, could add hamburger */
    }

    .hero-title {
        font-size: 3rem;
    }

    .step-row, .step-row.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .step-image img {
        max-width: 300px;
    }
    
    .walkthrough-steps {
        gap: 80px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .pricing-card {
        padding: 40px 24px;
    }
}
