/*
Theme Name: IJWE Landing
Theme URI: https://ijustwannaeat.com
Author: I Just Wanna Eat
Author URI: https://ijustwannaeat.com
Description: One-page marketing landing page for I Just Wanna Eat.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ijwe-landing
*/

/* ── Reset & Base ─────────────────────────────────────── */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    background: #FAFAF8;
    color: #1C1C1E;
    line-height: 1.6;
}

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

/* ── Shared ───────────────────────────────────────────── */

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #1C1C1E;
}

/* ── Fade-in animation ────────────────────────────────── */

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

.fade-in {
    animation: fadeInUp 0.7s ease-out both;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.25s; }
.fade-in-delay-3 { animation-delay: 0.4s; }

/* ── Scroll-reveal ────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Badge ────────────────────────────────────────────── */

.badge {
    display: inline-block;
    background: #FF6B5B;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4em 1em;
    border-radius: 999px;
}

.badge-lg {
    font-size: 0.875rem;
    padding: 0.5em 1.3em;
}

/* ── Buttons ──────────────────────────────────────────── */

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.15s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #FF6B5B;
    color: #fff;
    padding: 0.8em 1.8em;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #E55A4A;
    transform: translateY(-1px);
    outline: none;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-lg {
    font-size: 1.125rem;
    padding: 0.9em 2.2em;
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
    text-align: center;
    padding: 6rem 0 4rem;
}

.hero .container {
    max-width: 680px;
}

.emoji-accent {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #1C1C1E;
    margin-bottom: 0.35rem;
}

.hero-tagline {
    font-size: 1.25rem;
    color: #6B6B6B;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #6B6B6B;
    line-height: 1.7;
    margin-bottom: 2.25rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ── How It Works ─────────────────────────────────────── */

.how-it-works {
    padding: 4rem 0;
    background: #FFFFFF;
}

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

.step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #FFF0EE;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.step-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1C1C1E;
}

.step-text {
    font-size: 0.95rem;
    color: #6B6B6B;
    line-height: 1.6;
}

/* ── Features ─────────────────────────────────────────── */

.features-section {
    padding: 4rem 0;
}

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

.feature-card {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04),
                0 4px 12px rgba(0, 0, 0, 0.03);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #FFF0EE;
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #1C1C1E;
}

.feature-card p {
    font-size: 0.925rem;
    color: #6B6B6B;
    line-height: 1.6;
}

/* ── CTA Section ──────────────────────────────────────── */

.cta-section {
    text-align: center;
    padding: 5rem 0;
    background: #FFFFFF;
}

.cta-section .container {
    max-width: 600px;
}

.cta-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: #1C1C1E;
}

.cta-text {
    font-size: 1.05rem;
    color: #6B6B6B;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ── Footer ───────────────────────────────────────────── */

.site-footer {
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.8125rem;
    color: #9B9B9B;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.15rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .step {
        padding: 1.25rem 1rem;
    }

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

    .section-title {
        font-size: 1.5rem;
    }
}

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

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .emoji-accent {
        font-size: 2.75rem;
    }

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

    .cta-title {
        font-size: 1.4rem;
    }
}
