:root {
    --forest-deep: #16392F;
    --forest-light: #34603D;
    --cream: #FDF8F3;
    --cream-dark: #F5EDE4;
    --accent-warm: #E8A87C;
    --accent-coral: #E27D60;
    --text-dark: #1a1a1a;
    --text-muted: #5a6a65;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(253, 248, 243, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(22, 57, 47, 0.08);
    z-index: 10000;
}

.logo {
    font-family: 'Fraunces', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--forest-deep);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--forest-deep), var(--forest-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

#logo-icon {
    width: 160px;
}

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

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

.nav-links a:hover {
    color: var(--forest-deep);
}

.nav-cta {
    background: var(--forest-deep) !important;
    color: var(--cream) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--forest-light) !important;
    transform: translateY(-2px);
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 0;
}

.burger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #16392F;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu span:nth-child(1) {
    margin-bottom: 6px;
}

.burger-menu span:nth-child(3) {
    margin-top: 6px;
}

/* Burger animation when open */
.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 248, 243, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    text-decoration: none;
    color: #16392F;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.25s; }

.mobile-menu a:hover {
    color: #34603D;
}

.mobile-menu .mobile-cta {
    background: #16392F;
    color: #FDF8F3 !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-top: 1rem;
}

.mobile-menu .mobile-cta:hover {
    background: #34603D;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .burger-menu {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    max-width: 600px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(22, 57, 47, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--forest-deep);
    margin-bottom: 2rem;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background: var(--accent-coral);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--forest-deep);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--forest-light);
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--forest-deep);
    color: var(--cream);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--forest-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(22, 57, 47, 0.2);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--forest-deep);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(22, 57, 47, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--forest-deep);
    background: rgba(22, 57, 47, 0.05);
}

.hero-phones {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: -30px;
    z-index: 1;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: var(--forest-deep);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(22, 57, 47, 0.25);
    animation: float 6s ease-in-out infinite;
}

.phone-mockup:nth-child(2) {
    animation-delay: -2s;
    transform: translateY(40px) rotate(5deg);
    margin-left: -60px;
}

.phone-mockup:nth-child(3) {
    animation-delay: -4s;
    transform: translateY(-20px) rotate(-3deg);
    margin-left: -60px;
}

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

.phone-mockup:nth-child(2) {
    animation: float2 6s ease-in-out infinite;
    animation-delay: -2s;
}

@keyframes float2 {
    0%, 100% { transform: translateY(40px) rotate(5deg); }
    50% { transform: translateY(20px) rotate(5deg); }
}

.phone-mockup:nth-child(3) {
    animation: float3 6s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes float3 {
    0%, 100% { transform: translateY(-20px) rotate(-3deg); }
    50% { transform: translateY(-40px) rotate(-3deg); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screen-header {
    padding: 1.5rem;
    text-align: center;
}

.screen-header h3 {
    font-family: 'Fraunces', serif;
    color: var(--forest-deep);
    font-size: 1.1rem;
}

.screen-content {
    flex: 1;
    padding: 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recipe-card {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.recipe-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.recipe-info h4 {
    font-size: 0.85rem;
    color: var(--forest-deep);
    margin-bottom: 0.2rem;
}

.recipe-info span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Features Section */
.features {
    padding: 8rem 5%;
    background: white;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(22, 57, 47, 0.1), transparent);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.section-tag {
    font-size: 0.85rem;
    color: var(--forest-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.section-header h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--forest-deep);
    margin-bottom: 1rem;
    line-height: 1;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--cream);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--forest-deep), var(--forest-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(22, 57, 47, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--forest-deep), var(--forest-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    color: var(--forest-deep);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Screenshots Section */
.screenshots {
    padding: 8rem 5%;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.screenshots-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.screenshot-item {
    position: relative;
}

.screenshot-phone {
    width: 260px;
    height: 520px;
    background: var(--forest-deep);
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 30px 80px rgba(22, 57, 47, 0.2);
    transition: all 0.4s ease;
}

.screenshot-phone:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 40px 100px rgba(22, 57, 47, 0.25);
}

.screenshot-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8f5f0 0%, #f0ebe4 100%);
    border-radius: 28px;
    overflow: hidden;
}

.screenshot-label {
    text-align: center;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--forest-deep);
}

/* Screen Content Variations */
.screen-recipes {
    padding: 1rem;
}

.screen-recipes .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.screen-recipes .header h4 {
    font-family: 'Fraunces', serif;
    color: var(--forest-deep);
}

.screen-recipes .search-bar {
    background: white;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.mini-card {
    background: white;
    border-radius: 12px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.mini-card .emoji {
    font-size: 1.5rem;
}

.mini-card .text h5 {
    font-size: 0.75rem;
    color: var(--forest-deep);
}

.mini-card .text span {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.screen-shopping {
    padding: 1rem;
}

.screen-shopping .header {
    text-align: center;
    padding: 1rem 0;
}

.screen-shopping .header h4 {
    font-family: 'Fraunces', serif;
    color: var(--forest-deep);
    margin-bottom: 0.25rem;
}

.screen-shopping .header span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.shopping-item {
    background: white;
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.shopping-item .check {
    width: 18px;
    height: 18px;
    border: 2px solid var(--forest-light);
    border-radius: 5px;
}

.shopping-item.checked .check {
    background: var(--forest-light);
}

.screen-planning {
    padding: 1rem;
}

.screen-planning .header {
    text-align: center;
    padding: 0.5rem 0 1rem;
}

.screen-planning .header h4 {
    font-family: 'Fraunces', serif;
    color: var(--forest-deep);
}

.day-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    align-items: center;
}

.day-label {
    width: 35px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--forest-deep);
}

.day-meals {
    flex: 1;
    display: flex;
    gap: 0.3rem;
}

.meal-slot {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 0.4rem;
    text-align: center;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 8rem 5%;
    background: var(--forest-deep);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.cta p {
    color: rgba(253, 248, 243, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--cream);
    color: var(--forest-deep);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--cream);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(253, 248, 243, 0.3);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--cream);
    background: rgba(253, 248, 243, 0.1);
}

/* Footer */
footer {
    background: var(--forest-deep);
    padding: 3rem 5%;
    border-top: 1px solid rgba(253, 248, 243, 0.1);
}

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

.footer-logo {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    color: var(--cream);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(253, 248, 243, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-copy {
    color: rgba(253, 248, 243, 0.5);
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-phones {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero p {
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 100px;
}