:root {
    --primary: #4a6741;
    --primary-light: #6b8e5d;
    --accent: #d9e2d5;
    --bg: #f9f8f4;
    --text: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    line-height: 1.2;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Nav */
nav {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

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

.nav-links a:hover {
    opacity: 0.7;
}

/* Hero */
.hero {
    padding: 12rem 0 6rem;
    background: radial-gradient(circle at top right, var(--accent), transparent 40%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 103, 65, 0.2);
}

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

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 1.2rem 4rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 10rem 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding: 0 1rem;
}

/* Social Proof */
.social-proof {
    padding: 3rem 0;
    background: var(--white);
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.social-proof p {
    font-weight: 600;
    color: var(--primary);
    opacity: 0.8;
}

/* Product Demo */
.product-demo {
    background: var(--white);
}

.demo-viz {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg);
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
}

.demo-viz img {
    width: 100%;
    border-radius: 1rem;
}

/* Pain Points */
.pain-points .card {
    background: var(--accent);
    padding: 3rem 1.5rem;
    border-radius: 2rem;
    text-align: center;
    max-width: 100%;
}

.pain-points h2 {
    margin-bottom: 1.5rem;
}

.pain-points p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.testimonial-card {
    background: var(--glass);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.testimonial-card span {
    font-weight: 600;
    color: var(--primary);
}

/* FAQ */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 3rem;
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Articles */
.articles h2 {
    margin-bottom: 4rem;
}

.article-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-links a {
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    box-shadow: var(--shadow);
}

/* CTA Repeat */
.cta-repeat {
    text-align: center;
    background: var(--accent);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    background: var(--white);
    min-width: 120px;
    box-shadow: var(--shadow);
    border-radius: 0.5rem;
    z-index: 1001;
    overflow: hidden;
}

.lang-switcher:hover .lang-dropdown {
    display: block;
}

.lang-dropdown button {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
}

.lang-dropdown button:hover {
    background: var(--accent);
}

/* Mobile & Utility */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.qr-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 0.5rem;
}

.qr-text {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1100;
    text-align: center;
}

.mobile-sticky-cta .btn {
    width: 100%;
}

.credit-badge {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    opacity: 0.8;
}

/* Floating Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Resp */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    body {
        padding-bottom: 80px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero p {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }

    .hero-actions {
        align-items: center;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .feature-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 4rem 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-actions .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        display: none;
        /* Hide in header on mobile */
    }

    /* Keep it visible on larger mobile/tablet if needed, but for now hide it for space */
    @media (min-width: 600px) {
        .nav-actions .btn {
            display: inline-block;
        }
    }

    .hero .btn-primary {
        display: none;
    }

    .hero-image {
        order: -1;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .hero-image img {
        width: 100%;
        height: auto;
    }

    .nav-actions {
        gap: 0.4rem;
    }

    .lang-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

    .logo span {
        font-size: 1.1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(100%);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 2000;
        gap: 3rem;
        display: flex;
    }

    .nav-links.active {
        transform: translateX(0);
    }
}

/* Long Form Articles */
.long-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 6rem 4rem;
    border-radius: 3rem;
    box-shadow: var(--shadow);
}

.long-form h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.long-form h2 {
    font-size: 2rem;
    text-align: left;
    margin: 4rem 0 1.5rem;
}

.long-form p {
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    color: var(--text);
    opacity: 0.9;
}

.long-form a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

@media (max-width: 768px) {
    .long-form {
        padding: 4rem 2rem;
        border-radius: 2rem;
    }

    .long-form h1 {
        font-size: 2.2rem;
    }

    .long-form h2 {
        font-size: 1.6rem;
        margin: 3rem 0 1.2rem;
    }

    .long-form p {
        font-size: 1.1rem;
    }
}


footer {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg);
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    margin: 0 1rem;
    text-decoration: none;
    color: var(--text-muted);
}