:root {
    --primary: #8FB996;
    --secondary: #C1D4BB;
    --dark: #2D3A30;
    --light: #F7FAF8;
    --accent: #FF9F1C;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .pantry-font {
    font-family: 'Fredoka', sans-serif;
}

.pantry-gradient {
    background: linear-gradient(to right, var(--primary), #4A7C59);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* NAVBAR */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

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

.btn-download {
    padding: 10px 24px;
    background: var(--primary);
    color: white !important;
    border-radius: 50px;
    opacity: 1 !important;
    box-shadow: 0 4px 15px rgba(143, 185, 150, 0.3);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 60px;
    background: radial-gradient(circle at top right, #E8F5E9, transparent 50%),
                radial-gradient(circle at bottom left, #F1F8E9, transparent 50%);
}

.hero-card {
    width: 100%;
    max-width: 1100px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 18px;
    opacity: 0.7;
    margin-bottom: 40px;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(143, 185, 150, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(143, 185, 150, 0.5);
}

/* LANG SELECTOR */
.lang-balloon-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1100;
}

.lang-trigger {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.lang-dropdown {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 200px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 5px;
}

.lang-item {
    padding: 12px 15px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    transition: background 0.3s;
}

.lang-item:hover, .lang-item.active {
    background: rgba(143, 185, 150, 0.1);
    color: var(--primary);
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 400px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
    transition: all 0.5s ease;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.btn-cookie {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-settings {
    background: rgba(0,0,0,0.05);
}

.btn-accept {
    background: var(--primary);
    color: white;
}

/* LEGAL PAGES */
.legal-content {
    max-width: 900px;
    margin: 150px auto 100px;
    padding: 40px;
}

.legal-card {
    padding: 60px;
}

.legal-card h1 {
    margin-bottom: 20px;
}

.legal-card h2 {
    margin: 40px 0 20px;
}

.legal-card p {
    margin-bottom: 20px;
    opacity: 0.8;
}

/* MODAL */
#cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    width: 90%;
    max-width: 450px;
    padding: 40px;
}

@media (max-width: 768px) {
    .hero-card {
        grid-template-columns: 1fr;
        padding: 40px;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 42px;
    }
    .nav-links {
        display: none;
    }
    #cookie-banner {
        left: 5%;
        width: 90%;
        bottom: 110px;
    }
}
