/* ==========================================================
   MYMENU — PUBLIC HOME
   SaaS Landing Page
   ========================================================== */


/* ==========================================================
   SHARED
   ========================================================== */

.home-container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.home-section__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #e31e24;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.home-section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.home-section-heading--left {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.home-section-heading h2,
.home-about__content h2,
.home-cta h2 {
    margin: 0;
    color: #181818;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.home-section-heading p,
.home-about__content p,
.home-cta p {
    color: #686868;
    font-size: 15px;
    line-height: 1.8;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.home-button--primary {
    background: #e31e24;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(227, 30, 36, 0.18);
}

.home-button--primary:hover {
    background: #c9181d;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(227, 30, 36, 0.25);
}

.home-button--light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.home-button--light:hover {
    background: #ffffff;
    color: #222222;
    transform: translateY(-2px);
}


/* ==========================================================
   HERO
   ========================================================== */

.home-hero {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 480px;
    margin: 24px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(
            115deg,
            rgba(20, 20, 20, 0.82),
            rgba(20, 20, 20, 0.40)
        ),
        url("/static/images/defaults/hero.jpg")
        center / cover no-repeat;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(227, 30, 36, 0.25),
            transparent 35%
        );
}

.home-hero__content {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 40px));
    padding: 60px 0;
    text-align: center;
}

.home-hero__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.home-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(46px, 7vw, 78px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
}

.home-hero__title span {
    color: #ff4b50;
}

.home-hero__description {
    max-width: 610px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.8;
}

.home-hero__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}


/* ==========================================================
   ABOUT
   ========================================================== */

.home-about {
    padding: 110px 0;
    background: #ffffff;
}

.home-about__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 90px;
}

.home-about__visual {
    display: flex;
    justify-content: center;
}

.home-about__logo-card {
    width: min(380px, 100%);
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at top right,
            rgba(227, 30, 36, 0.08),
            transparent 45%
        ),
        #fafafa;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.home-about__logo-card img {
    width: min(220px, 75%);
    height: auto;
    object-fit: contain;
}

.home-about__logo-card span {
    margin-top: 22px;
    color: #888888;
    font-size: 12px;
    font-weight: 500;
}

.home-about__content h2 {
    max-width: 600px;
}

.home-about__content p {
    max-width: 620px;
    margin: 20px 0 0;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    color: #e31e24;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.home-text-link span {
    transition: transform 0.2s ease;
}

.home-text-link:hover span {
    transform: translateX(4px);
}


/* ==========================================================
   PROCESS
   ========================================================== */

.home-process {
    padding: 110px 0;
    background: #fafafa;
}

.home-process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-process-card {
    position: relative;
    padding: 32px;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.home-process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}

.home-process-card__number {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #dddddd;
    font-size: 12px;
    font-weight: 700;
}

.home-process-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 13px;
    background: #fff0f0;
    color: #e31e24;
    font-size: 10px;
    font-weight: 700;
}

.home-process-card h3 {
    margin: 0 0 10px;
    color: #202020;
    font-size: 21px;
    font-weight: 600;
}

.home-process-card p {
    margin: 0;
    color: #707070;
    font-size: 14px;
    line-height: 1.75;
}


/* ==========================================================
   FEATURES
   ========================================================== */

.home-features {
    padding: 110px 0;
    background: #ffffff;
}

.home-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-feature {
    padding: 28px;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.home-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.home-feature__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 11px;
    background: #f5f5f5;
    color: #e31e24;
    font-size: 10px;
    font-weight: 700;
}

.home-feature h3 {
    margin: 0 0 10px;
    color: #202020;
    font-size: 17px;
    font-weight: 600;
}

.home-feature p {
    margin: 0;
    color: #737373;
    font-size: 13px;
    line-height: 1.75;
}


/* ==========================================================
   CTA
   ========================================================== */

.home-cta {
    padding: 100px 0;
    background: #f8f8f8;
}

.home-cta__content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.home-cta p {
    max-width: 600px;
    margin: 20px auto 0;
}

.home-cta .home-button {
    margin-top: 28px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .home-about__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .home-about__visual {
        order: 1;
    }

    .home-about__content {
        order: 2;
        text-align: center;
    }

    .home-about__content h2,
    .home-about__content p {
        margin-right: auto;
        margin-left: auto;
    }

    .home-process__grid {
        grid-template-columns: 1fr;
    }

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


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 640px) {

    .home-container {
        width: min(100% - 24px, 1120px);
    }

    .home-hero {
        width: calc(100% - 24px);
        min-height: 420px;
        margin-top: 14px;
        border-radius: 18px;
    }

    .home-hero__content {
        width: calc(100% - 32px);
        padding: 45px 0;
    }

    .home-hero__title {
        font-size: clamp(42px, 14vw, 60px);
    }

    .home-hero__description {
        font-size: 14px;
    }

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

    .home-button {
        width: 100%;
        max-width: 300px;
    }

    .home-about,
    .home-process,
    .home-features,
    .home-cta {
        padding: 75px 0;
    }

    .home-about__logo-card {
        min-height: 280px;
    }

    .home-about__logo-card img {
        width: 190px;
    }

    .home-section-heading h2,
    .home-about__content h2,
    .home-cta h2 {
        font-size: 34px;
    }

    .home-features__grid {
        grid-template-columns: 1fr;
    }

    .home-feature {
        padding: 24px;
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .home-button,
    .home-process-card,
    .home-feature,
    .home-text-link span {
        transition: none;
    }
}