/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    /* Brevo-Inspired Palette */
    --bg-white: #FFFFFF;
    --bg-off-white: #F5F5F7;
    /* Light grey for alternating sections */

    --brand-mint: #AEE67F;
    /* The "Pop" color (Buttons/Accents) */
    --brand-forest: #002D2D;
    /* Primary Text / Dark Backgrounds */
    --brand-green-dark: #0F4C3A;

    --text-primary: #002D2D;
    --text-secondary: #4A5568;

    --border-radius-lg: 32px;
    /* Extreme rounding (Brevo style) */
    --border-radius-md: 16px;

    --shadow-soft: 0 10px 40px rgba(0, 45, 45, 0.08);

    /* Spacing */
    --section-spacing: 6rem;
    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.headline {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    /* Tight tracking for modern look */
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-mint {
    color: var(--brand-green-dark);
    /* Mint is too light for text, use dark green */
}

.text-center {
    text-align: center;
}

/* Navigation */
.sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Removed sticky from here as wrapper handles it */
    /* top: 0; */
    /* z-index: 100; */
    border-radius: 0 0 32px 32px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-logo {
    font-family: 'Inter';
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--brand-forest);
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Components */

/* Soft Card (Replaces Glass Card) */
.glass-card,
.soft-card,
.bento-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: var(--text-primary);
    /* Nearly black */
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--brand-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 45, 45, 0.2);
}

/* Secondary Button (Mint) */
.btn-secondary {
    background: #E6FFD1;
    color: var(--brand-forest);
}

.btn-secondary:hover {
    background: #D4F5B0;
}

/* Badge (Small Pill) */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #E6FFD1;
    /* Light Mint */
    color: var(--brand-green-dark);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Section Styling */
section {
    padding: var(--section-spacing) 0;
    position: relative;
}

/* Hero Section (Split Layout) */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
}

/* Remove old glow */

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--brand-forest);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-image-container {
    height: 500px;
    background: #E8F5E9;
    /* Very light mint */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Problem Section */
.problem {
    background: var(--bg-off-white);
    border-radius: 40px 40px 0 0;
    /* Top rounding */
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Value Stack (Bento Grid) */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.bonus-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.bonus-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-mint);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bonus-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--brand-green-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.original-price {
    text-decoration: line-through;
    color: #CBD5E0;
    font-size: 1rem;
    font-weight: 400;
}

.total-value-box {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--brand-forest);
    /* Invert for emphasis */
    color: white;
    border-radius: 50px;
}

.total-value-box h3,
.total-value-box h2 {
    color: white;
}

/* Guarantee */
.guarantee-section {
    background: #FFF;
}

.guarantee-box {
    border: 2px dashed var(--brand-mint);
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: #F0FFF4;
    border-radius: var(--border-radius-lg);
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem;
}

.price-tag {
    font-size: 3rem;
    font-weight: 700;
    margin: 1.5rem 0;
    letter-spacing: -2px;
}

.pricing-card li::before {
    content: '✓';
    color: var(--brand-forest);
    margin-right: 10px;
    font-weight: bold;
    background: #E6FFD1;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.pricing-card ul {
    margin-bottom: 2rem;
}

.pricing-card li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}


/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    background: var(--brand-forest);
    color: white;
    border-radius: 40px 40px 0 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image-container {
        order: -1;
        height: 300px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .problem-content {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero::before {
        display: none;
    }

    /* Global mobile type reduction */
    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.4rem;
    }

    /* Founder Case Study Mobile stack */
    .founder-card {
        grid-template-columns: 1fr !important;
    }

    /* 2 tabs per row for Free Services (Value Stack) on mobile */
    .stack-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
        /* Tighter gap */
    }

    .bonus-card {
        padding: 1rem !important;
    }

    .bonus-card h4 {
        font-size: 0.9rem;
    }

    .bonus-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .bonus-card img {
        width: 24px !important;
        height: 24px !important;
    }

    .bonus-price {
        font-size: 1.1rem;
    }

    .founder-story .soft-card>div:first-child {
        min-height: 250px !important;
    }

    .founder-story .soft-card>div:last-child {
        padding: 1.5rem !important;
    }

    .founder-story h2 {
        font-size: 1.6rem !important;
    }
}

/* Modal Styling */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 45, 45, 0.4);
    /* Dark Green Tint */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Banner Styles */
.scarcity-banner {
    background: var(--brand-forest);
    color: white;
    text-align: center;
    padding: 0.8rem;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

#countdown-timer {
    display: flex;
    gap: 0.5rem;
    color: var(--brand-mint);
    font-family: monospace;
    font-size: 1.1rem;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    margin: auto;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--brand-mint);
    text-decoration: none;
}

/* Blog Styles */
.blog-header {
    background: var(--bg-off-white);
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.blog-card .blog-image {
    height: 200px;
    background: #eee;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-green-dark);
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.blog-title a:hover {
    color: var(--brand-mint);
}

.read-more {
    color: var(--brand-forest);
    font-weight: 700;
}

/* Article Page */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.article-header h1 {
    color: var(--brand-forest);
    font-size: 3rem;
    line-height: 1.1;
    margin-top: 1rem;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.article-content {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--brand-forest);
}

.article-content ul {
    margin: 2rem 0;
    padding-left: 1rem;
}

.article-content li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.article-content li::before {
    content: '•';
    color: var(--brand-mint);
    font-size: 2rem;
    position: absolute;
    left: 0;
    top: -0.5rem;
}

.highlight-box {
    background: #F0FFF4;
    border-left: 4px solid var(--brand-mint);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 0 16px 16px 0;
    font-weight: 600;
    color: var(--brand-forest);
}

.sticky-cta {
    background: white;
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    width: 280px;
    z-index: 10;
    display: none;
}

@media (min-width: 1400px) {
    .sticky-cta {
        display: block;
    }
}

/* Backward Compatibility for Articles */
.text-gold {
    color: var(--brand-green-dark) !important;
}

.bg-gold {
    background-color: var(--brand-mint) !important;
}

/* Map legacy glass-card to soft-card if not already done */
.glass-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
}

.text-muted {
    color: var(--text-secondary) !important;
}