/* Family Eats - Custom Brand Styles */
/* Brand Color: #2b622e (Forest Green) */

:root {
    --fe-primary: #2b622e;
    --fe-primary-dark: #1e4620;
    --fe-primary-light: #4a8a4d;
    --fe-secondary: #f8faf8;
    --fe-accent: #1a3d1c;
    --fe-text: #2d3748;
    --fe-text-light: #718096;
    --fe-bg-light: #f0f7f0;
    --fe-bg-dark: #1a3d1c;
    --fe-white: #ffffff;
    --fe-gradient: linear-gradient(135deg, #2b622e 0%, #4a8a4d 100%);
    --fe-gradient-dark: linear-gradient(135deg, #1a3d1c 0%, #2b622e 100%);
    --fe-gradient-light: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 100%);
}

/* Page Base */
.family-eats-page {
    background-color: var(--fe-white);
}

/* Custom Navigation */
.fe-nav {
    background: var(--fe-white);
    border-bottom: 1px solid rgba(43, 98, 46, 0.1);
}

.fe-nav .nav-link {
    color: var(--fe-text);
}

.fe-nav .nav-link:hover,
.fe-nav .nav-link.active {
    color: var(--fe-primary);
}

.fe-nav .nav-cta {
    background: var(--fe-gradient);
    color: var(--fe-white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fe-nav .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 98, 46, 0.4);
}

.fe-logo h2 {
    color: var(--fe-accent);
}

.fe-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--fe-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fe-white);
    font-size: 1.25rem;
}

/* Buttons */
.btn-fe-primary {
    background: var(--fe-gradient);
    color: var(--fe-white);
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-fe-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(43, 98, 46, 0.4);
}

.btn-fe-secondary {
    background: transparent;
    color: var(--fe-primary);
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid var(--fe-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

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

/* Hero Section */
.fe-hero {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
    background: var(--fe-gradient-light);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.fe-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 90%, rgba(43, 98, 46, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(43, 98, 46, 0.1) 0%, transparent 50%);
    z-index: 0;
}

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

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

.fe-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--fe-white);
    color: var(--fe-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(43, 98, 46, 0.1);
}

.fe-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--fe-accent);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.fe-hero-subtitle {
    font-size: 1.2rem;
    color: var(--fe-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.fe-hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.fe-hero-meta {
    display: flex;
    gap: 2rem;
}

.fe-hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--fe-text-light);
}

.fe-hero-meta i {
    color: var(--fe-primary);
}

/* Phone Mockup */
.fe-phone-mockup {
    display: flex;
    justify-content: center;
}

.fe-phone-frame {
    width: 280px;
    background: var(--fe-accent);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.fe-phone-notch {
    width: 120px;
    height: 25px;
    background: var(--fe-accent);
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    position: relative;
    top: -1px;
}

.fe-phone-screen {
    background: var(--fe-white);
    border-radius: 30px;
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.fe-app-header {
    background: var(--fe-gradient);
    color: var(--fe-white);
    padding: 1.25rem 1rem;
    text-align: center;
}

.fe-app-title {
    font-weight: 600;
    font-size: 1rem;
}

.fe-app-content {
    flex: 1;
    padding: 1rem;
    overflow: hidden;
}

.fe-meal-day {
    margin-bottom: 0.75rem;
}

.fe-day {
    font-size: 0.75rem;
    color: var(--fe-text-light);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 0.35rem;
}

.fe-meal-item {
    background: var(--fe-bg-light);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--fe-text);
}

.fe-meal-item i {
    color: var(--fe-primary);
    font-size: 1rem;
}

.fe-meal-item.placeholder {
    border: 2px dashed var(--fe-primary-light);
    background: transparent;
    color: var(--fe-primary);
}

.fe-app-nav {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.fe-nav-item {
    color: var(--fe-text-light);
    font-size: 1.25rem;
}

.fe-nav-item.active {
    color: var(--fe-primary);
}

/* Section Headers */
.fe-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.fe-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fe-accent);
    margin-bottom: 1rem;
}

.fe-section-header p {
    font-size: 1.125rem;
    color: var(--fe-text-light);
}

/* Problem Section */
.fe-problem {
    padding: 6rem 0;
    background: var(--fe-white);
}

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

.fe-problem-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.fe-problem-icon {
    width: 70px;
    height: 70px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.fe-problem-icon i {
    font-size: 1.75rem;
    color: #dc2626;
}

.fe-problem-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--fe-accent);
    margin-bottom: 0.75rem;
}

.fe-problem-card p {
    color: var(--fe-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Solution Section */
.fe-solution {
    padding: 6rem 0;
    background: var(--fe-bg-light);
}

.fe-solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fe-badge {
    display: inline-block;
    background: var(--fe-gradient);
    color: var(--fe-white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.fe-solution-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--fe-accent);
    margin-bottom: 1.5rem;
}

.fe-solution-text p {
    color: var(--fe-text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.fe-highlight {
    background: var(--fe-white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--fe-primary);
}

.fe-highlight strong {
    color: var(--fe-primary);
}

/* Sync Graphic */
.fe-sync-graphic {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.fe-sync-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--fe-gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--fe-white);
    box-shadow: 0 10px 40px rgba(43, 98, 46, 0.3);
    z-index: 2;
}

.fe-sync-center i {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.fe-sync-center span {
    font-size: 0.75rem;
    font-weight: 600;
}

.fe-sync-device {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--fe-white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: var(--fe-primary);
}

.fe-sync-device i {
    font-size: 1.5rem;
}

.fe-sync-device span {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--fe-text-light);
}

.fe-sync-device.device-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: float1 3s ease-in-out infinite;
}

.fe-sync-device.device-2 {
    bottom: 15%;
    left: 10%;
    animation: float2 3s ease-in-out infinite 0.5s;
}

.fe-sync-device.device-3 {
    bottom: 15%;
    right: 10%;
    animation: float3 3s ease-in-out infinite 1s;
}

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

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

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

/* Features Section */
.fe-features {
    padding: 6rem 0;
    background: var(--fe-white);
}

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

.fe-feature-card {
    background: var(--fe-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(43, 98, 46, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fe-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(43, 98, 46, 0.12);
}

.fe-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--fe-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.fe-feature-icon i {
    font-size: 1.5rem;
    color: var(--fe-white);
}

.fe-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--fe-accent);
    margin-bottom: 0.75rem;
}

.fe-feature-card p {
    color: var(--fe-text-light);
    line-height: 1.6;
}

/* How It Works Section */
.fe-how-it-works {
    padding: 6rem 0;
    background: var(--fe-bg-light);
}

.fe-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

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

.fe-step-number {
    width: 60px;
    height: 60px;
    background: var(--fe-gradient);
    color: var(--fe-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.fe-step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--fe-accent);
    margin-bottom: 0.5rem;
}

.fe-step-content p {
    font-size: 0.9rem;
    color: var(--fe-text-light);
    line-height: 1.5;
}

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

/* Use Cases Section */
.fe-use-cases {
    padding: 6rem 0;
    background: var(--fe-white);
}

.fe-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.fe-use-case {
    text-align: center;
    padding: 2rem;
    background: var(--fe-bg-light);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.fe-use-case:hover {
    transform: translateY(-5px);
}

.fe-use-case-icon {
    width: 70px;
    height: 70px;
    background: var(--fe-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.fe-use-case-icon i {
    font-size: 1.75rem;
    color: var(--fe-white);
}

.fe-use-case h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--fe-accent);
    margin-bottom: 0.75rem;
}

.fe-use-case p {
    color: var(--fe-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Value Section */
.fe-value {
    padding: 6rem 0;
    background: var(--fe-gradient);
}

.fe-value-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--fe-white);
}

.fe-value-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.fe-value-icon i {
    font-size: 2.5rem;
    color: var(--fe-white);
}

.fe-value h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.fe-value p {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.fe-value-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.fe-value-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fe-stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fe-stat-icon i {
    font-size: 1rem;
}

.fe-stat-text {
    font-weight: 600;
    font-size: 0.95rem;
}

/* CTA Section */
.fe-cta {
    padding: 6rem 0;
    background: var(--fe-bg-light);
}

.fe-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.fe-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--fe-accent);
    margin-bottom: 1rem;
}

.fe-cta p {
    font-size: 1.125rem;
    color: var(--fe-text-light);
    margin-bottom: 2rem;
}

.fe-cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--fe-text-light);
}

/* Footer */
.fe-footer {
    background: var(--fe-bg-dark);
    padding: 4rem 0 2rem;
}

.fe-footer-content {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.fe-footer-brand {
    color: rgba(255, 255, 255, 0.8);
}

.fe-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.fe-footer-logo h3 {
    color: var(--fe-white);
    font-size: 1.25rem;
    font-weight: 700;
}

.fe-footer-brand p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.fe-footer-powered a {
    color: var(--fe-primary-light);
    text-decoration: none;
}

.fe-footer-powered a:hover {
    text-decoration: underline;
}

.fe-footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.fe-footer-col h4 {
    color: var(--fe-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.fe-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fe-footer-col li {
    margin-bottom: 0.75rem;
}

.fe-footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fe-footer-col a:hover {
    color: var(--fe-primary-light);
}

.fe-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.fe-footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .fe-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fe-hero-actions {
        justify-content: center;
    }

    .fe-hero-meta {
        justify-content: center;
    }

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

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

    .fe-solution-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .fe-use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fe-footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .fe-footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fe-hero {
        padding: 5rem 0 3rem;
        min-height: auto;
    }

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

    .fe-hero-subtitle {
        font-size: 1.1rem;
    }

    .fe-hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .fe-phone-frame {
        width: 240px;
    }

    .fe-phone-screen {
        height: 420px;
    }

    .fe-section-header h2 {
        font-size: 2rem;
    }

    .fe-problem-grid,
    .fe-features-grid,
    .fe-use-cases-grid {
        grid-template-columns: 1fr;
    }

    .fe-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .fe-step {
        max-width: 100%;
    }

    .fe-step-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }

    .fe-value-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .fe-value-stat {
        justify-content: center;
    }

    .fe-cta h2 {
        font-size: 2rem;
    }

    .fe-footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .fe-section-header h2 {
        font-size: 1.75rem;
    }

    .fe-solution-text h2,
    .fe-value h2,
    .fe-cta h2 {
        font-size: 1.75rem;
    }

    .fe-footer-links {
        grid-template-columns: 1fr;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .fe-sync-graphic {
        width: 250px;
        height: 250px;
    }

    .fe-sync-center {
        width: 80px;
        height: 80px;
    }

    .fe-sync-device {
        width: 55px;
        height: 55px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fe-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fe-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
