/* =========================================================
   McDonald's Data Analytics Landing Page
   ========================================================= */

:root {
    --red: #e00000;
    --red-dark: #bd0000;
    --yellow: #ffc72c;
    --cream: #fff8e9;
    --ink: #171717;
    --muted: #66615c;
    --line: rgba(53, 40, 22, .09);
    --white: rgba(255,255,255,.90);
}


/* =========================================================
   BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family:
        Figtree,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--ink);
    background: #fff8eb;
    -webkit-font-smoothing: antialiased;
}

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


/* =========================================================
   DESKTOP ZOOM
   Makes the page visually similar to 75% browser zoom
   ========================================================= */

@media (min-width: 1001px) {

    body {
        zoom: 1.00;
    }

}


/* =========================================================
   MAIN LANDING PAGE
   ========================================================= */

.landing-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255,199,44,.28),
            transparent 27rem
        ),
        radial-gradient(
            circle at 18% 48%,
            rgba(255,255,255,.94),
            transparent 28rem
        ),
        linear-gradient(
            180deg,
            #fffdf8 0%,
            #fff7e8 54%,
            #fffaf2 100%
        );
}


/* =========================================================
   DECORATIVE McDONALD'S-INSPIRED RIBBONS
   ========================================================= */

.decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(.2px);
    opacity: .9;
    transform: rotate(-8deg);
}


/* Yellow ribbon - left */
.decor-yellow {
    width: 900px;
    height: 210px;

    top: 115px;
    left: -410px;

    border: 55px solid rgba(255,199,44,.88);

    border-left-color: transparent;
    border-right-color: transparent;

    transform: rotate(13deg);
}


/* Red ribbon - left */
.decor-red {
    width: 820px;
    height: 155px;

    top: 270px;
    left: -400px;

    border: 38px solid rgba(224,0,0,.92);

    border-left-color: transparent;
    border-right-color: transparent;

    transform: rotate(9deg);
}


/* Yellow ribbon - bottom right */
.decor-gold {
    width: 1000px;
    height: 170px;

    right: -500px;
    bottom: 55px;

    border: 42px solid rgba(255,199,44,.55);

    border-left-color: transparent;
    border-right-color: transparent;

    transform: rotate(-18deg);
}


/* =========================================================
   SITE SHELL
   ========================================================= */

.site-shell {
    position: relative;

    z-index: 2;

    width: min(1240px, calc(100% - 40px));

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 70px;

    margin-top: 12px;

    padding: 9px 13px 9px 16px;

    background: rgba(255,255,255,.88);

    border: 1px solid rgba(255,255,255,.98);

    border-radius: 20px;

    box-shadow:
        0 14px 40px rgba(70,42,10,.10);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* Brand */
.brand {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    min-width: 0;
}


/* McDonald's logo box */
.brand-mark {
    display: grid;

    place-items: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    overflow: hidden;

    border-radius: 10px;

    background: var(--red);
}

.brand-mark img {
    width: 32px;
    height: 32px;

    object-fit: contain;
}


/* Brand text */
.brand-text {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.brand-text strong {
    font-size: 13px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -.02em;
}

.brand-text small {
    color: #777;

    font-size: 8.5px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: .13em;

    text-transform: uppercase;
}


/* Header buttons */
.header-actions {
    display: flex;

    align-items: center;

    gap: 7px;
}

.header-login,
.header-register {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 16px;

    border-radius: 11px;

    font-size: 11px;

    font-weight: 800;

    transition: .2s ease;
}

.header-login {
    color: #fff;

    background: var(--red);

    box-shadow:
        0 9px 22px rgba(224,0,0,.20);
}

.header-login:hover {
    color: #fff;

    background: var(--red-dark);

    transform: translateY(-1px);
}

.header-register {
    color: #4d4944;
}

.header-register:hover {
    color: var(--red);

    background: #fff2ee;
}


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

.hero {
    position: relative;

    display: grid;

    /*
     * LEFT  = hero text
     * RIGHT = food image
     */
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 45px;

    min-height: 470px;

    padding: 48px 0 35px;
}


/* =========================================================
   HERO TEXT / LEFT SIDE
   ========================================================= */

.hero-copy {
    position: relative;

    z-index: 3;

    grid-column: 1;

    padding-left: 6px;

    max-width: 600px;
}


/* Small eyebrow */
.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 12px;

    background: rgba(255,255,255,.84);

    border: 1px solid rgba(255,255,255,.95);

    border-radius: 999px;

    box-shadow:
        0 8px 24px rgba(60,42,16,.08);

    color: #4f4a45;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .13em;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: var(--red);

    box-shadow:
        0 0 0 4px rgba(224,0,0,.10);
}


/* Hero heading */
.hero h1 {
    margin: 20px 0 0;

    font-size: clamp(46px, 5vw, 72px);

    line-height: .94;

    letter-spacing: -.065em;

    font-weight: 800;

    color: #161616;
}

.hero h1 span {
    color: #FF0000;
    font-weight: 800;
}


/* Hero description */
.hero-copy > p {
    max-width: 530px;

    margin: 23px 0 0;

    color: #625d57;

    font-size: 14px;

    line-height: 1.65;
}


/* Hero buttons */
.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 48px;

    padding: 0 18px;

    border-radius: 12px;

    font-size: 11px;

    font-weight: 800;

    transition: .2s ease;
}


/* Red button */
.btn-red {
    color: #fff;

    background: var(--red);

    box-shadow:
        0 13px 28px rgba(224,0,0,.22);
}

.btn-red:hover {
    color: #fff;

    background: var(--red-dark);

    transform: translateY(-2px);

    box-shadow:
        0 17px 34px rgba(224,0,0,.28);
}


/* Light button */
.btn-light {
    color: #333;

    background: rgba(255,255,255,.86);

    border: 1px solid rgba(60,40,15,.09);

    box-shadow:
        0 7px 18px rgba(50,30,10,.05);
}

.btn-light:hover {
    transform: translateY(-2px);

    background: #fff;
}


/* Button icons */
.mini-chart {
    font-size: 15px;

    line-height: 1;
}

.button-arrow {
    margin-left: 2px;

    font-size: 15px;
}

.user-plus {
    color: var(--red);

    font-size: 16px;
}


/* =========================================================
   HERO FOOD IMAGE / RIGHT SIDE
   ========================================================= */

.hero-product-wrap {
    position: relative;

    z-index: 2;

    grid-column: 2;

    width: 100%;

    min-height: 430px;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* Glow behind image */
.hero-product-shadow {
    position: absolute;

    width: 90%;
    height: 310px;

    left: 5%;
    top: 75px;

    border-radius: 50%;

    background: rgba(255,180,25,.24);

    filter: blur(40px);

    z-index: 0;
}


/* Main food image container */
.hero-product {
    position: relative;

    z-index: 1;

    width: 100%;

    max-width: 690px;

    height: 380px;

    overflow: hidden;

    border-radius: 38px;

    background: #d99b45;

    box-shadow:
        0 30px 70px rgba(70,40,10,.18);

    transform: rotate(1deg);
}


/* Image overlay */
.hero-product::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,248,230,.04),
            transparent 55%,
            rgba(224,0,0,.05)
        );

    pointer-events: none;
}


/* Actual image */
.hero-product img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


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

.hero-badge {
    position: absolute;

    z-index: 4;

    display: flex;

    flex-direction: column;

    min-width: 75px;

    padding: 10px 12px;

    background: rgba(255,255,255,.94);

    border: 1px solid rgba(255,255,255,.98);

    border-radius: 14px;

    box-shadow:
        0 14px 30px rgba(50,30,10,.14);

    backdrop-filter: blur(12px);
}

.hero-badge strong {
    color: var(--red);

    font-size: 15px;

    line-height: 1;
}

.hero-badge span {
    margin-top: 4px;

    color: #777;

    font-size: 8px;

    font-weight: 700;
}


/* DA&BI badge */
.badge-bi {
    top: 75px;

    right: -10px;
}


/* 24/7 badge */
.badge-access {
    bottom: 63px;

    left: 15px;
}


/* =========================================================
   PLATFORM SECTION
   ========================================================= */

.platform-section {
    padding: 12px 0 50px;
}


/* Section heading */
.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 20px;

    padding: 0 3px;
}

.section-kicker {
    color: var(--red);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .16em;
}

.section-heading h2 {
    margin: 6px 0 0;

    color: #171717;

    font-size: clamp(27px, 3vw, 38px);

    line-height: 1;

    letter-spacing: -.05em;
}

.section-heading > p {
    max-width: 390px;

    margin: 0;

    color: #756f69;

    font-size: 12px;

    line-height: 1.6;

    text-align: right;
}


/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns: 1.45fr 1fr 1fr;

    gap: 13px;
}

.feature-card {
    position: relative;

    min-height: 235px;

    padding: 24px;

    overflow: hidden;

    background: rgba(255,255,255,.84);

    border: 1px solid rgba(255,255,255,.97);

    border-radius: 21px;

    box-shadow:
        0 15px 35px rgba(70,40,10,.07);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.feature-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 21px 45px rgba(70,40,10,.12);

    border-color:
        rgba(224,0,0,.14);
}


/* Main feature */
.feature-main {
    background:
        linear-gradient(
            135deg,
            rgba(255,199,44,.22),
            rgba(255,255,255,.93) 55%
        );
}


/* Feature icons */
.feature-icon {
    display: grid;

    place-items: center;

    width: 46px;
    height: 46px;

    margin-bottom: 20px;

    border-radius: 14px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}


/* Red icon */
.red-icon {
    color: #fff;

    background: var(--red);

    box-shadow:
        0 8px 18px rgba(224,0,0,.18);
}


/* Yellow icon */
.yellow-icon {
    color: var(--red);

    background:
        linear-gradient(
            135deg,
            #fff1af,
            #ffe9df
        );
}


/* Pink icon */
.pink-icon {
    color: var(--red);

    background:
        linear-gradient(
            135deg,
            #ffe4df,
            #fff0f0
        );
}


/* Feature text */
.feature-tag {
    display: block;

    margin-bottom: 7px;

    color: #999;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .14em;
}

.feature-card h3 {
    margin: 0;

    color: #171717;

    font-size: 19px;

    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -.03em;
}

.feature-card p {
    max-width: 430px;

    margin: 11px 0 0;

    color: #716b65;

    font-size: 11px;

    line-height: 1.65;
}


/* Card links */
.card-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 17px;

    color: var(--red);

    font-size: 10px;

    font-weight: 800;
}

.card-link b {
    font-size: 14px;
}


/* =========================================================
   SUPPORT CARD
   ========================================================= */

.support-card {
    grid-column: 1 / -1;

    min-height: 105px;

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 18px 24px;

    background: rgba(255,255,255,.76);
}

.support-card .feature-icon {
    margin: 0;

    flex: 0 0 46px;
}

.support-copy {
    flex: 1;
}

.support-copy h3 {
    font-size: 18px;
}

.support-copy p {
    max-width: 690px;

    margin-top: 5px;
}


/* Support button */
.support-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    min-height: 42px;

    padding: 0 16px;

    color: var(--red);

    background: #fff;

    border: 1px solid rgba(224,0,0,.20);

    border-radius: 11px;

    font-size: 10px;

    font-weight: 800;
}

.support-button:hover {
    background: #fff6f4;
}


/* =========================================================
   CLEAN LIST
   ========================================================= */

.clean-list {
    margin: 11px 0 0;

    padding: 0;

    list-style: none;

    color: #716b65;

    font-size: 11px;

    line-height: 1.8;
}

.clean-list li::before {
    content: "✓";

    color: var(--red);

    font-weight: 900;

    margin-right: 7px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 5px 0 28px;

    text-align: center;

    color: #8a8279;

    font-size: 9px;
}

footer strong {
    color: #4a4540;
}

.footer-dot {
    padding: 0 7px;

    color: var(--yellow);
}


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

@media (max-width: 1000px) {

    /* Hero becomes vertical */
    .hero {
        grid-template-columns: 1fr;

        gap: 25px;

        min-height: auto;

        padding-top: 45px;
    }

    /* Text */
    .hero-copy {
        grid-column: 1;

        max-width: 650px;
    }

    /* Image */
    .hero-product-wrap {
        grid-column: 1;

        min-height: 350px;

        justify-content: center;
    }

    .hero-product {
        width: min(720px, 100%);

        height: 350px;
    }


    /* Feature cards */
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-main {
        grid-column: 1 / -1;
    }

    .support-card {
        grid-column: 1 / -1;
    }

}


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

@media (max-width: 640px) {

    /* Main width */
    .site-shell {
        width: min(100% - 20px, 1240px);
    }


    /* Header */
    .site-header {
        min-height: 62px;

        margin-top: 8px;

        padding: 8px 9px 8px 11px;

        border-radius: 16px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;

        flex-basis: 36px;

        border-radius: 8px;
    }

    .brand-mark img {
        width: 28px;
        height: 28px;
    }

    .brand-text strong {
        font-size: 11px;
    }

    .brand-text small {
        font-size: 7px;
    }

    .header-login,
    .header-register {
        min-height: 34px;

        padding: 0 10px;

        font-size: 9px;
    }


    /* Hero */
    .hero {
        grid-template-columns: 1fr;

        min-height: auto;

        padding: 38px 4px 25px;

        gap: 25px;
    }

    .hero-copy {
        grid-column: 1;

        padding: 0;
    }

    .eyebrow {
        font-size: 8px;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .hero-copy > p {
        font-size: 13px;

        margin-top: 18px;
    }


    /* Hero buttons */
    .hero-actions {
        display: grid;

        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }


    /* Mobile image */
    .hero-product-wrap {
        grid-column: 1;

        min-height: 285px;

        justify-content: center;
    }

    .hero-product {
        width: 100%;

        height: 275px;

        border-radius: 24px;
    }


    /* Mobile badges */
    .badge-bi {
        top: 22px;

        right: 7px;
    }

    .badge-access {
        left: 7px;

        bottom: 28px;
    }


    /* Mobile image glow */
    .hero-product-shadow {
        width: 90%;

        height: 200px;

        right: 5%;

        left: auto;

        top: 45px;
    }


    /* Section heading */
    .section-heading {
        display: block;

        margin-bottom: 16px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading > p {
        margin-top: 10px;

        text-align: left;
    }


    /* Feature cards */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-main,
    .support-card {
        grid-column: auto;
    }

    .feature-card {
        min-height: 210px;

        padding: 21px;
    }


    /* Support card */
    .support-card {
        display: block;
    }

    .support-card .feature-icon {
        margin-bottom: 15px;
    }

    .support-button {
        width: 100%;

        margin-top: 15px;

        justify-content: center;
    }


    /* Decorative ribbons */
    .decor-yellow {
        left: -570px;

        top: 220px;
    }

    .decor-red {
        left: -540px;

        top: 350px;
    }

}


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

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }

}