:root {
    --grass: #2e7d32;
    --dark: #333;
    --white: #ffffff;
    --light: #f5f5f5;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; color: var(--dark); line-height: 1.6; background: var(--white); }

/* Navigation */
header { position: sticky; top: 0; background: var(--white); padding: 15px 10%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 1000; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--grass) !important; text-decoration: none; }
nav a { margin-left: 20px; text-decoration: none; color: #666; font-weight: 500; }
.btn-nav-login { border: 2px solid var(--grass); padding: 8px 20px; border-radius: 8px; color: var(--grass); text-decoration: none; }
.btn-nav-trial { background: var(--grass); color: white; padding: 10px 20px; border-radius: 8px; text-decoration: none; }

/* Hero */
.hero { padding: 80px 10%; display: flex; align-items: center; background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%); }
.hero-text { flex: 1; padding-right: 50px; }
.hero-text h1 { font-size: 3.5rem; color: var(--dark); line-height: 1.1; margin-bottom: 20px; }

/* Buttons */
.cta-btn-large { 
    background: white; color: var(--grass); padding: 10px; border-radius: 12px; 
    font-size: 1.2rem; font-weight: bold; text-decoration: none; display: inline-block;
}
.hero-cta { background: var(--grass); color: white; padding: 15px 30px; }

/* Features & Dividers */
#features { position: relative; padding-top: 40px; }
#features::before, .feature-row:not(:last-of-type)::after {
    content: ""; position: absolute; left: 50%; transform: translateX(-50%);
    width: 40%; height: 1px; background-color: var(--grass); opacity: 0.3;
}
#features::before { top: 0; }
.feature-row { display: flex; align-items: center; padding: 60px 10%; gap: 50px; position: relative; }
.feature-row:nth-child(even) { flex-direction: row-reverse; background: var(--light); }
.feature-row:not(:last-of-type)::after { bottom: 0; }
.feature-row:hover .catalog-icon { transform: scale(1.1) rotate(5deg); }
.feature-content h2 { font-size: 2.2rem; margin-bottom: 15px; color: var(--dark); }
.feature-content p { font-size: 1.1rem; color: #555; max-width: 500px; }

/* Stats Grid */
.stats-grid { padding: 80px 10%; text-align: center; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.stat-card { padding: 30px; border: 1px solid #eee; border-radius: 15px; transition: 0.3s; }
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* Styling the interactive numbers/links */
.stat-link {
    color: var(--grass) !important;
    font-weight: 800;
    text-decoration: none;
    position: relative;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    border-bottom: 2px solid rgba(46, 125, 50, 0.2);
}

.stat-link span {
    font-size: 1.3rem;
}

/* Hover State: The "Pro" Feel */
.stat-link:hover {
    background-color: rgba(46, 125, 50, 0.08);
    border-bottom-color: var(--grass);
    transform: translateY(-1px);
    color: #1b5e20 !important;
}

.stat-link:active {
    transform: translateY(0);
    background-color: rgba(46, 125, 50, 0.15);
}

/* 1. The Hamburger Icon Styling */
.menu-toggle {
    display: none; /* Hidden on Desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    position: relative;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--dark);
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }



/* FAQ */
.faq { padding: 80px 15%; background: var(--dark); color: white; }
details { background: rgba(255,255,255,0.05); padding: 15px; border-radius: 8px; margin-bottom: 10px; cursor: pointer; }
summary { font-weight: bold; font-size: 1.1rem; }

/* Pricing Footer */
.cta-final { padding: 100px 10%; text-align: center; background: var(--grass); color: white; }
.pricing-container { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 30px 0 50px; }
.price-card { background: rgba(255,255,255,0.1); padding: 30px; border-radius: 15px; min-width: 250px; flex: 1; max-width: 350px; }
.price-card.best-value { background: rgba(255,255,255,0.2); border: 2px solid white; transform: scale(1.05); }
.price-card span { font-size: 2.5rem; font-weight: 800; display: block; margin: 10px 0; }

.catalog-bg {
    background: linear-gradient(135deg, #f9f9f9 0%, #e8f5e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.catalog-icon {
    font-size: 6rem;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

/* Modals */
.catalog-modal-content {
    background: #ffffff; padding: 30px; border-radius: 20px; width: 95%; max-width: 850px; max-height: 85vh;
    position: relative; color: var(--dark); display: flex; flex-direction: column; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); animation: modalSlideUp 0.3s ease-out;}
#catalog-table { width: 100%; border-collapse: collapse; background: white; }
#catalog-table th {
    background-color: #f8f9fa !important; color: var(--grass); padding: 18px 15px; position: sticky; top: 0; z-index: 10;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid #eee; text-align: left; }
#catalog-table td { padding: 15px; border-bottom: 1px solid #f0f0f0; font-size: 0.95rem; }
#catalog-table tr:hover td { background-color: #f1f8f1; }

/* --- Image Modal Specific Formatting --- */
.screenshot-trigger {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.screenshot-trigger:hover {
    transform: scale(1.02);
}

@keyframes modalZoom {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.screenshot-trigger {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.screenshot-trigger:hover {
    transform: scale(1.02);
}

/* Ensure the Close button for the image modal is always visible */
#imageModal .close-modal-trigger {
    z-index: 10001; /* Stay above the image shadow */
}

/* Close Button Positioning */
.catalog-modal-content .close-modal-trigger {
    position: absolute;
    top: 20px;
    right: 25px;
    color: white;
    font-size: 50px;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
}

.catalog-modal-content .close-modal-trigger:hover {
    color: var(--grass);
}
.close-modal-trigger { position: absolute; top: 20px; right: 30px; color: white; font-size: 50px; cursor: pointer; }
.catalog-modal-content .close-modal-trigger { color: #999; top: 10px; right: 20px; font-size: 35px; }
@keyframes modalSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.table-scroll {
    overflow-y: auto; margin-top: 20px; border: 1px solid #eee; border-radius: 12px;
    background: #fafafa; flex-grow: 1; -webkit-overflow-scrolling: touch;
}

/* Mobile */
@media (max-width: 768px) {
    .hero, .feature-row, .feature-row:nth-child(even) { flex-direction: column !important; text-align: center; padding: 40px 5%; }
    .hero-text { padding-right: 0; margin-bottom: 40px; }
    .hero-cta { width: 100%; box-sizing: border-box; }
    
    .menu-toggle { display: block; }

    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        box-sizing: border-box;
    }

    nav.active { display: flex; }

    nav a {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        box-sizing: border-box;
    }

    /* Make the Login/Signup buttons full width on mobile */
    .btn-nav-login, .btn-nav-trial {
        margin: 10px 0 !important;
        width: 100% !important;
        display: block !important;
        box-sizing: border-box;
    }

    .price-card.best-value { transform: none; }
    .catalog-modal-content { padding: 20px; width: 100%; height: 100%; max-height: 100vh; border-radius: 0; }
    .table-scroll { max-height: 70vh; }
}