/* ═══════════════════════════════════════════════
   ExodaFood Website – Stylesheet
   Farbpalette aus dem App-Icon:
     Primary Green:  #78C018
     Light Green:    #A8D830
     Dark Green:     #489000
     Accent Yellow:  #D8C820
     Surface:        #F5F9EE
   Font: Poppins (wie in der App)
   ═══════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green: #78C018;
    --green-light: #A8D830;
    --green-dark: #489000;
    --yellow: #D8C820;
    --surface: #F5F9EE;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow: 0 4px 16px rgba(0, 0, 0, .08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, .15);
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ── Buttons ───────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(120, 192, 24, .35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(120, 192, 24, .45);
}

.btn-outline {
    background: transparent;
    color: var(--green-dark);
    border: 2px solid var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: white;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* ── Navbar ────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: white;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--gray-900);
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

.nav-links a:hover,
.navbar.scrolled .nav-links a:hover {
    color: var(--green);
}

.nav-cta {
    background: var(--green) !important;
    color: white !important;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--green-dark) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-800);
}

/* ── Hero ──────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #489000 0%, #78C018 40%, #A8D830 75%, #D8C820 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .08;
    background: white;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 30%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(.95);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #D8C820 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    opacity: .9;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-buttons .btn-primary {
    background: white;
    color: var(--green-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

.hero-buttons .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

.hero-buttons .btn-outline {
    border-color: rgba(255, 255, 255, .5);
    color: white;
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, .15);
    border-color: white;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.stat-number {
    font-size: 20px;
    font-weight: 700;
}

.stat-label {
    font-size: 12px;
    opacity: .75;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, .3);
}

/* ── Phone Frame ───────────────────────────────── */
.hero-phone {
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: 280px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), inset 0 0 0 2px rgba(255, 255, 255, .1);
}

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

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    border-radius: 30px;
    display: block;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ── Section Headers ───────────────────────────── */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 4px 16px;
    background: linear-gradient(135deg, rgba(120, 192, 24, .1), rgba(168, 216, 48, .1));
    color: var(--green-dark);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ── Features ──────────────────────────────────── */
.features {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px 28px;
    border-radius: var(--radius);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(120, 192, 24, .2);
    background: white;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ── Screenshots ───────────────────────────────── */
.screenshots {
    padding: 100px 0;
    background: var(--surface);
}

.screenshots-carousel {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.screenshot-item:hover {
    transform: translateY(-8px);
}

.screenshot-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
}

/* ── How It Works ──────────────────────────────── */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
}

.step-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(120, 192, 24, .3);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.65;
}

.step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--green), transparent);
    margin-left: 27px;
}

/* ── Community Section ─────────────────────────── */
.community-section {
    padding: 100px 0;
    background: var(--surface);
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.community-content .section-tag {
    margin-bottom: 12px;
}

.community-content h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.community-content p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.community-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.community-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
}

.community-image {
    display: flex;
    justify-content: center;
}

/* ── Data Sources ──────────────────────────────── */
.data-section {
    padding: 100px 0;
    background: white;
}

.data-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.data-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.data-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.data-card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.data-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.data-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 16px;
}

.data-badge {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, rgba(120, 192, 24, .1), rgba(72, 144, 0, .1));
    color: var(--green-dark);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* ── Download CTA ──────────────────────────────── */
.download {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(160deg, #489000 0%, #78C018 50%, #A8D830 100%);
    overflow: hidden;
}

.download-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dl-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.dl-shape-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -150px;
}

.dl-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -50px;
}

.download-content {
    text-align: center;
    position: relative;
    z-index: 2;
    color: white;
}

.download-icon {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 24px;
}

.download-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
}

.download-content p {
    font-size: 17px;
    opacity: .9;
    max-width: 520px;
    margin: 0 auto 36px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    color: white;
    transition: var(--transition);
}

.store-badge:hover {
    background: rgba(0, 0, 0, .4);
    transform: translateY(-2px);
}

.store-badge small {
    display: block;
    font-size: 11px;
    opacity: .8;
}

.store-badge strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

/* ── Footer ────────────────────────────────────── */
.footer {
    padding: 60px 0 24px;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
}

.footer-attribution {
    margin-top: 6px;
    font-size: 12px;
    opacity: .6;
}

.footer-attribution a {
    color: var(--green-light);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {

    /* Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: var(--gray-700) !important;
        font-size: 16px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

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

    .hero-subtitle {
        margin: 0 auto 32px;
    }

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

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

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    /* Screenshots */
    .screenshots-carousel {
        gap: 24px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .screenshot-item {
        scroll-snap-align: center;
        min-width: 200px;
    }

    .phone-frame-sm {
        width: 200px;
    }

    /* Community */
    .community-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .community-image {
        order: -1;
    }

    /* Data */
    .data-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

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

    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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