@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

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

:root {
    --mint-primary: #00A86B;
    --mint-light: #E8F5E9;
    --mint-dark: #00875A;
    --navy-deep: #1A237E;
    --navy-soft: #3949AB;
    --cream-bg: #FAFDF7;
    --warm-gray: #5D6B6A;
    --text-dark: #1C2826;
    --text-muted: #6B7C7B;
    --white: #FFFFFF;
    --error: #D32F2F;
    --success: #2E7D32;
    --shadow-soft: 0 4px 20px rgba(0, 168, 107, 0.12);
    --shadow-medium: 0 8px 32px rgba(26, 35, 126, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream-bg);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.budget-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 253, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 168, 107, 0.1);
}

.budget-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-deep);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo i {
    color: var(--mint-primary);
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--mint-primary);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--mint-dark);
    color: var(--white) !important;
}

.mobile-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy-deep);
    cursor: pointer;
}

.hero-budget {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem 1.5rem 3rem;
    background: linear-gradient(135deg, var(--cream-bg) 0%, var(--mint-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-budget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 168, 107, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--navy-deep);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-budget h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    color: var(--navy-deep);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--warm-gray);
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-action {
    display: inline-block;
    background: var(--mint-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.hero-action:hover {
    background: var(--mint-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.hero-visual {
    margin-top: 3rem;
}

.hero-visual img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.pain-points {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.pain-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.pain-item {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: var(--cream-bg);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pain-item:hover {
    border-color: var(--mint-primary);
    transform: translateY(-5px);
}

.pain-item i {
    font-size: 2.5rem;
    color: var(--navy-soft);
    margin-bottom: 1rem;
}

.pain-item h3 {
    font-size: 1.3rem;
    color: var(--navy-deep);
    margin-bottom: 0.75rem;
}

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

.how-it-works {
    padding: 5rem 1.5rem;
    background: var(--mint-light);
}

.how-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.how-intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--navy-deep);
    margin-bottom: 0.75rem;
}

.how-intro p {
    color: var(--warm-gray);
    font-size: 1.1rem;
}

.how-steps {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.step-flow {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-marker {
    width: 50px;
    height: 50px;
    background: var(--mint-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

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

.step-connector {
    width: 2px;
    height: 40px;
    background: var(--mint-primary);
    margin-left: 24px;
    opacity: 0.5;
}

.how-visual {
    display: block;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}

.features-budget {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.features-budget h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--navy-deep);
    margin-bottom: 3rem;
}

.features-mosaic {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.feature-tile {
    background: var(--cream-bg);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-tile:hover {
    box-shadow: var(--shadow-soft);
}

.feature-tile i {
    font-size: 2rem;
    color: var(--mint-primary);
    margin-bottom: 1rem;
}

.feature-tile h3 {
    font-size: 1.15rem;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

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

.feature-large {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.feature-large img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 35, 126, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    color: var(--white);
}

.feature-overlay h3 {
    color: var(--white);
}

.feature-overlay p {
    color: rgba(255, 255, 255, 0.85);
}

.social-proof {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-soft) 100%);
    color: var(--white);
}

.social-proof h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
}

.testimonials-flow {
    max-width: 1000px;
    margin: 0 auto 3rem;
    display: grid;
    gap: 1.5rem;
}

.testimonial-bubble {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-bubble p {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-bubble footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-bubble img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--mint-primary);
}

.testimonial-bubble cite {
    font-style: normal;
    font-weight: 500;
    color: var(--mint-light);
}

.stats-ribbon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--mint-light);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.early-access {
    padding: 5rem 1.5rem;
    background: var(--cream-bg);
}

.access-content {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.access-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--navy-deep);
    margin-bottom: 1rem;
}

.access-content > p {
    color: var(--warm-gray);
    margin-bottom: 2rem;
}

.access-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.form-field {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-field label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-field input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-field input:focus {
    outline: none;
    border-color: var(--mint-primary);
    box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.15);
}

.form-field input:valid {
    border-color: var(--success);
}

.form-field input:invalid:not(:placeholder-shown) {
    border-color: var(--error);
}

.submit-access {
    width: 100%;
    padding: 1rem;
    background: var(--mint-primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-access:hover {
    background: var(--mint-dark);
    transform: translateY(-2px);
}

.submit-access:active {
    transform: translateY(0);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.budget-footer {
    background: var(--navy-deep);
    color: var(--white);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-main {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .brand-logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact h4,
.footer-legal h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--mint-light);
}

.footer-contact a,
.footer-legal button {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-legal button:hover {
    color: var(--mint-light);
}

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

.footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-legal button {
    background: none;
    border: none;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
}

.cookie-content h3 {
    font-size: 1.1rem;
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cookie-content .modal-trigger {
    color: var(--mint-primary);
    background: none;
    border: none;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-accept {
    padding: 0.6rem 1.5rem;
    background: var(--mint-primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-accept:hover {
    background: var(--mint-dark);
}

.cookie-decline {
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-decline:hover {
    border-color: var(--text-muted);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(26, 35, 126, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal[hidden] {
    display: none;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--cream-bg);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--mint-light);
    color: var(--mint-dark);
}

.modal-content h2 {
    font-size: 1.5rem;
    color: var(--navy-deep);
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.modal-content p {
    color: var(--text-muted);
    line-height: 1.8;
}

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
    }

    .hero-budget {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
        padding: 0 3rem;
    }

    .hero-content {
        flex: 1;
    }

    .hero-visual {
        flex: 1;
        margin-top: 0;
    }

    .pain-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-large {
        grid-column: span 2;
    }

    .feature-large img {
        height: 300px;
    }

    .testimonials-flow {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-main {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .cookie-content {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .cookie-content p {
        margin-bottom: 0;
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .budget-nav {
        padding: 1rem 3rem;
    }

    .hero-budget {
        padding: 0 5rem;
    }

    .hero-budget h1 {
        font-size: 3.5rem;
    }

    .pain-points,
    .how-it-works,
    .features-budget,
    .social-proof,
    .early-access {
        padding: 6rem 3rem;
    }

    .features-mosaic {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-large {
        grid-column: span 1;
        grid-row: span 2;
    }

    .feature-large img {
        height: 100%;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}