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

:root {
    --primary: #2d7d46;
    --primary-dark: #1a472a;
    --primary-light: #3da35d;
    --secondary: #f4a261;
    --accent: #e76f51;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gradient: linear-gradient(135deg, #1a472a 0%, #2d7d46 100%);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 125, 70, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 125, 70, 0.6);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45,125,70,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero .highlight {
    color: var(--primary-light);
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    max-width: 500px;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1a2e1a, #243524);
    border: 1px solid #3d6b3d;
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #a8d4a8;
}

.hero-note .note-icon {
    font-size: 1.4rem;
}

.hero-note strong {
    color: #fff;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

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

/* Hero Image */
.hero-image {
    position: relative;
    width: 400px;
    height: 400px;
}

.food-card {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--dark-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 3s ease-in-out infinite;
}

.food-card:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.food-card:nth-child(2) { top: 20%; right: 0; animation-delay: 0.5s; }
.food-card:nth-child(3) { bottom: 30%; right: 10%; animation-delay: 1s; }
.food-card:nth-child(4) { bottom: 10%; left: 20%; animation-delay: 1.5s; }
.food-card:nth-child(5) { top: 30%; left: 0; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-15px) translateX(-50%); }
}

.food-card:nth-child(2),
.food-card:nth-child(3),
.food-card:nth-child(4),
.food-card:nth-child(5) {
    animation-name: float-alt;
}

@keyframes float-alt {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--dark-light);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-light);
}

.feature-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* How it works */
.how-it-works {
    padding: 5rem 2rem;
    background: var(--dark-light);
}

.how-it-works h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 220px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 20px rgba(45, 125, 70, 0.4);
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--primary);
    margin-top: 30px;
    opacity: 0.5;
}

/* Testimonials */
.testimonials {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial {
    background: linear-gradient(145deg, var(--dark-light), rgba(45,125,70,0.1));
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.testimonial-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonial h3 {
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.testimonial p {
    color: rgba(255,255,255,0.7);
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
}

.cta .btn-primary {
    position: relative;
    background: var(--white);
    color: var(--primary-dark);
}

.cta .btn-primary:hover {
    background: var(--secondary);
    color: var(--white);
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer p {
    color: rgba(255,255,255,0.6);
}

.footer-info {
    font-size: 12px;
    color: #666;
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-divider { color: #444; }

body.splash-screen {
    background: linear-gradient(180deg, #1a472a 0%, #0d1f14 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

body.splash-screen::before {
    content: "🥗";
    font-size: 80px;
    animation: pulse 2s infinite;
}

body.splash-screen::after {
    content: "OpenCode";
    color: #90EE90;
    font-size: 18px;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-desc {
        margin: 0 auto 1rem;
    }

    .hero-note {
        margin: 0 auto 2rem;
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        width: 280px;
        height: 280px;
    }

    .food-card {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}