/* ============================================================
   DADDY'S AI
   PUBLIC MARKETING LANDING PAGE

   This stylesheet is intentionally isolated with landing-
   prefixed selectors so it does not interfere with the
   authenticated Daddy's AI Recipe application.
   ============================================================ */

/* Ensure each major landing section occupies its own full row.
   This overrides any inherited grid/flex behaviour from the old landing page. */

.landing-hero,
.landing-feature-strip,
.landing-demo,
.landing-install,
.landing-footer {
    width: 100%;
    grid-column: 1 / -1;
}

.landing-footer {
    display: block;
    clear: both;
    margin-top: 0;
    padding-bottom: 28px;
}

/* ------------------------------------------------------------
   LANDING PAGE BASE
   ------------------------------------------------------------ */

.landing-page {
    --landing-navy: #071321;
    --landing-text: #16233c;
    --landing-muted: #64708a;

    --landing-purple: #6238f5;
    --landing-blue: #3188ff;

    --landing-border: #e7e9f3;
    --landing-soft-purple: #f7f5ff;

    width: min(1180px, calc(100% - 40px));

    margin-inline: auto;

    color: var(--landing-text);

    background: #ffffff;
}


.landing-page *,
.landing-page *::before,
.landing-page *::after {
    box-sizing: border-box;
}

/* ============================================================
   PUBLIC LANDING HEADER
   ============================================================ */

.landing-site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding:
        28px
        0
        22px;
}


.landing-site-logo {
    display: inline-flex;
    flex-shrink: 0;
}


.landing-site-logo img {
    display: block;

    width: 220px;
    max-width: 100%;

    height: auto;
}


/* Beta invitation */

.landing-beta-header {
    display: flex;
    align-items: center;

    gap: 18px;

    padding:
        10px
        14px
        10px
        16px;

    border:
        1px solid
        #ded8ff;

    border-radius: 16px;

    background:
        linear-gradient(
            100deg,
            rgba(248, 246, 255, 0.96),
            rgba(245, 249, 255, 0.96)
        );
}


.landing-beta-header-copy {
    display: grid;

    gap: 2px;
}


.landing-beta-badge {
    color: var(--landing-purple, #6238f5);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.02em;

    text-transform: uppercase;
}


.landing-beta-message {
    color: #64708a;

    font-size: 0.82rem;
}


.landing-beta-header-link {
    flex-shrink: 0;

    padding:
        9px
        13px;

    border-radius: 10px;

    color: #ffffff;

    background: #6238f5;

    font-size: 0.8rem;

    font-weight: 700;

    text-decoration: none;
}


.landing-beta-header-link:hover {
    background: #5430ed;
}

/* ============================================================
   HERO
   ============================================================ */

.landing-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 56px;

    align-items: center;

    padding:
        10px
        0
        62px;
}



/* Hero text */

.landing-hero-copy h1 {
    max-width: 580px;

    margin: 0;

    color: var(--landing-navy);

    font-size:
        clamp(
            3rem,
            5.7vw,
            5.4rem
        );

    line-height: 1.08;

    letter-spacing: -0.055em;

    font-weight: 800;
}


.landing-gradient-text {
    display: block;

    margin-top: 10px;

    background:
        linear-gradient(
            90deg,
            var(--landing-purple),
            var(--landing-blue)
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}


.landing-hero-description {
    max-width: 510px;

    margin:
        28px
        0
        0;

    color: var(--landing-muted);

    font-size: 1.18rem;

    line-height: 1.8;
}



/* Benefit row */

.landing-benefits {
    display: flex;

    flex-wrap: wrap;

    gap:
        18px
        28px;

    margin:
        26px
        0;

    padding: 0;

    list-style: none;

    color: var(--landing-muted);

    font-size: 0.92rem;
}


.landing-benefits li {
    display: inline-flex;

    align-items: center;

    gap: 8px;
}


.landing-benefits li span {
    color: var(--landing-purple);

    font-size: 1.15rem;
}



/* CTA button */

.landing-primary-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 22px;

    min-height: 54px;

    padding:
        0
        27px;

    border-radius: 13px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--landing-purple),
            #5430ed
        );

    text-decoration: none;

    font-weight: 700;

    box-shadow:
        0
        10px
        26px
        rgba(98, 56, 245, 0.20);

    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}


.landing-primary-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0
        14px
        30px
        rgba(98, 56, 245, 0.26);
}


.landing-primary-button span:last-child {
    font-size: 1.25rem;
}


.landing-cta-note {
    margin:
        8px
        0
        0;

    color: var(--landing-muted);

    font-size: 0.82rem;
}



/* Hero image */

.landing-hero-image {
    overflow: hidden;

    border-radius: 28px;
}


.landing-hero-image img {
    display: block;

    width: 100%;

    height: auto;

    aspect-ratio: 1.58 / 1;

    object-fit: cover;
}



/* ============================================================
   FEATURE STRIP
   ============================================================ */

.landing-feature-strip {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-bottom: 82px;

    padding:
        32px
        16px;

    border:
        1px solid
        rgba(98, 56, 245, 0.06);

    border-radius: 26px;

    background:
        linear-gradient(
            100deg,
            rgba(248, 247, 255, 0.96),
            rgba(248, 246, 255, 0.80)
        );
}


.landing-feature {
    position: relative;

    padding:
        8px
        28px
        12px;

    text-align: center;
}


.landing-feature:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 10%;

    right: 0;

    width: 1px;

    height: 80%;

    background: #e1dff0;
}


.landing-feature-icon {
    display: grid;

    place-items: center;

    width: 62px;

    height: 62px;

    margin:
        0
        auto
        18px;

    border:
        1px solid
        #ded8ff;

    border-radius: 50%;

    background: #f0edff;

    font-size: 1.55rem;
}


.landing-feature h2 {
    margin:
        0
        0
        10px;

    color: var(--landing-navy);

    font-size: 1.05rem;

    font-weight: 700;
}


.landing-feature p {
    margin: 0;

    color: var(--landing-muted);

    font-size: 0.92rem;

    line-height: 1.55;
}



/* ============================================================
   VIDEO DEMO
   ============================================================ */

.landing-demo {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(280px, 0.7fr);

    gap: 76px;

    align-items: center;

    max-width: 930px;

    margin:
        0
        auto
        88px;
}



/* Shared section eyebrow */

.landing-eyebrow {
    margin:
        0
        0
        12px;

    color: var(--landing-purple);

    font-size: 0.76rem;

    font-weight: 800;

    letter-spacing: 0.04em;

    text-transform: uppercase;
}



/* Demo text */

.landing-demo-copy h2 {
    margin: 0;

    color: var(--landing-navy);

    font-size:
        clamp(
            2rem,
            3.3vw,
            3rem
        );

    line-height: 1.12;

    letter-spacing: -0.035em;
}


.landing-demo-description {
    margin:
        18px
        0
        24px;

    color: var(--landing-muted);

    font-size: 1rem;

    line-height: 1.7;
}



/* Demo checklist */

.landing-check-list {
    display: grid;

    gap: 15px;

    margin: 0;

    padding: 0;

    list-style: none;

    color: var(--landing-muted);
}


.landing-check-list li {
    display: flex;

    align-items: center;

    gap: 11px;
}


.landing-check-list li span {
    display: grid;

    flex:
        0
        0
        24px;

    place-items: center;

    width: 24px;

    height: 24px;

    border-radius: 50%;

    color: var(--landing-purple);

    background: #f0edff;

    font-size: 0.8rem;

    font-weight: 800;
}



/* Portrait video */

.landing-video-column {
    width:
        min(
            100%,
            350px
        );

    margin:
        0
        auto;
}


.landing-demo-video {
    display: block;

    width: 100%;

    aspect-ratio: 9 / 16;

    object-fit: cover;

    border-radius: 25px;

    background: var(--landing-navy);

    box-shadow:
        0
        18px
        44px
        rgba(7, 19, 33, 0.14);
}


.landing-video-caption {
    margin:
        10px
        0
        0;

    color: #8a92a7;

    font-size: 0.74rem;

    text-align: center;
}



/* ============================================================
   INSTALLATION GUIDE
   ============================================================ */

.landing-install {
    padding-bottom: 82px;
}


.landing-section-heading {
    max-width: 780px;

    margin:
        0
        auto
        32px;

    text-align: center;
}


.landing-section-heading h2 {
    margin: 0;

    color: var(--landing-navy);

    font-size:
        clamp(
            2rem,
            3.3vw,
            3rem
        );

    line-height: 1.12;

    letter-spacing: -0.035em;
}


.landing-section-heading h2 span {
    background:
        linear-gradient(
            90deg,
            var(--landing-purple),
            var(--landing-blue)
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}


.landing-section-heading > p:last-child {
    margin:
        14px
        0
        0;

    color: var(--landing-muted);

    line-height: 1.65;
}



/* Existing install guide image */

.landing-install-image {
    overflow: hidden;

    max-width: 1024px;

    margin:
        0
        auto;

    border:
        1px solid
        var(--landing-border);

    border-radius: 24px;

    background: #ffffff;
}


.landing-install-image img {
    display: block;

    width: 100%;

    height: auto;
}


/* ============================================================
   PUBLIC CONTENT PAGES
   ============================================================ */

.landing-content-page {
    width: min(820px, 100%);
    margin: 0 auto;
    padding: 64px 0 84px;
}


.landing-back-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 28px;
    color: var(--landing-purple);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}


.landing-back-link:hover,
.landing-content-page a:hover {
    color: var(--landing-blue);
}


.landing-content-heading {
    margin-bottom: 48px;
}


.landing-content-heading h1 {
    margin: 8px 0 20px;
    color: var(--landing-navy);
    font-size: clamp(2.4rem, 7vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}


.landing-content-heading > p:last-child {
    max-width: 720px;
    margin: 0;
    color: var(--landing-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}


.landing-policy-date {
    margin: -8px 0 22px;
    color: #7d869b;
    font-size: 0.84rem;
    font-weight: 650;
}


.landing-content-section {
    padding: 30px 0;
    border-top: 1px solid var(--landing-border);
}


.landing-content-section h2 {
    margin: 0 0 14px;
    color: var(--landing-navy);
    font-size: 1.35rem;
    line-height: 1.3;
}


.landing-content-section p {
    margin: 0 0 16px;
    color: var(--landing-muted);
    font-size: 1rem;
    line-height: 1.75;
}


.landing-content-section p:last-child {
    margin-bottom: 0;
}


.landing-content-page a {
    color: var(--landing-purple);
}


.landing-content-list {
    display: grid;
    gap: 11px;
    margin: 16px 0 0;
    padding-left: 1.3rem;
    color: var(--landing-muted);
    line-height: 1.65;
}


.landing-contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding: 24px 28px;
    border: 1px solid #e4dffb;
    border-radius: 20px;
    background: var(--landing-soft-purple);
    text-decoration: none;
}


.landing-contact-card span {
    color: var(--landing-muted);
    font-size: 0.9rem;
}


.landing-contact-card strong {
    font-size: 1.05rem;
}



/* ============================================================
   FOOTER
   ============================================================ */

.landing-footer {
    width: 100%;
    grid-column: 1 / -1;
    display: block;

    margin-top: 0;
    padding: 0 0 28px;

    clear: both;
}


.landing-footer-panel {
    width: 100%;

    padding:
        42px
        48px
        24px;

    border:
        1px solid
        #eceafa;

    border-radius: 25px;

    background:
        linear-gradient(
            100deg,
            rgba(248, 246, 255, 0.94),
            rgba(249, 248, 255, 0.78)
        );
}


.landing-footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}


/* Footer brand */

.landing-footer-brand img {
    display: block;

    width: 155px;
    max-width: 100%;
    height: auto;
}


.landing-footer-brand p {
    max-width: 280px;

    margin:
        18px
        0
        0;

    color: var(--landing-muted);

    font-size: 0.9rem;

    line-height: 1.65;
}


.landing-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 28px;
}


.landing-footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--landing-muted);

    font-size: 0.88rem;

    line-height: 1.4;

    text-decoration: none;
}


.landing-footer-links a:hover {
    color: var(--landing-purple);
}


/* Copyright */

.landing-footer-bottom {
    width: 100%;

    margin-top: 38px;

    padding-top: 20px;

    border-top:
        1px solid
        #e6e3f2;

    color: #8a92a7;

    font-size: 0.78rem;

    text-align: left;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

    .landing-hero {
        grid-template-columns: 1fr;

        gap: 40px;

        padding-top: 42px;
    }


    .landing-hero-copy {
        max-width: 680px;
    }


    .landing-feature-strip {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .landing-feature:nth-child(2)::after {
        display: none;
    }


    .landing-feature:nth-child(-n + 2) {
        padding-bottom: 32px;
    }


    .landing-demo {
        grid-template-columns: 1fr;

        gap: 42px;

        max-width: 650px;
    }


    .landing-demo-copy {
        text-align: center;
    }


    .landing-check-list {
        width: fit-content;

        margin:
            0
            auto;

        text-align: left;
    }


    .landing-footer-main {
        align-items: flex-start;
    }

}



/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .landing-page {
        width:
            min(
                calc(100% - 28px),
                1180px
            );
    }


    /* Hero */

    .landing-hero {
        padding:
            30px
            0
            48px;
    }


    .landing-hero-copy h1 {
        font-size:
            clamp(
                2.75rem,
                14vw,
                4rem
            );
    }


    .landing-hero-description {
        font-size: 1rem;

        line-height: 1.7;
    }


    .landing-benefits {
        display: grid;

        gap: 10px;
    }


    .landing-primary-button {
        width: 100%;
    }


    .landing-hero-image {
        border-radius: 20px;
    }



    /* Features */

    .landing-feature-strip {
        grid-template-columns: 1fr;

        margin-bottom: 58px;

        padding:
            12px
            20px;
    }


    .landing-feature {
        padding:
            25px
            12px;
    }


    .landing-feature:not(:last-child)::after {
        top: auto;

        right: 10%;

        bottom: 0;

        width: 80%;

        height: 1px;
    }


    .landing-feature:nth-child(2)::after {
        display: block;
    }


    .landing-feature:nth-child(-n + 2) {
        padding-bottom: 25px;
    }



    /* Video */

    .landing-demo {
        margin-bottom: 62px;
    }


    .landing-video-column {
        width:
            min(
                88%,
                330px
            );
    }



    /* Install guide */

    .landing-install {
        padding-bottom: 60px;
    }


    .landing-install-image {
        border-radius: 16px;
    }


    /* Public content pages */

    .landing-content-page {
        padding: 38px 0 58px;
    }


    .landing-content-heading {
        margin-bottom: 36px;
    }


    .landing-content-heading h1 {
        font-size: clamp(2.3rem, 12vw, 3.4rem);
    }


    .landing-content-section {
        padding: 25px 0;
    }


    .landing-contact-card {
        display: block;
        padding: 22px;
    }


    .landing-contact-card strong {
        display: block;
        margin-top: 8px;
        overflow-wrap: anywhere;
    }



    /* Footer */

    .landing-footer-panel {
        padding:
            32px
            25px
            20px;
    }


    .landing-footer-main {
        display: block;
    }


    .landing-footer-links {
        justify-content: flex-start;
        gap: 4px 22px;
        margin-top: 24px;
    }

}

/* ============================================================
   HERO TYPOGRAPHY + SPACING POLISH
   ============================================================ */

/* Match hero heading typography to the rest of Daddy's AI */
.landing-hero-copy h1 {
    font-family: inherit;
    font-weight: 700;
}

/* Gradient line should use the same typography */
.landing-gradient-text {
    font-family: inherit;
    font-weight: 700;
}

/* Add more breathing room below the hero section */
.landing-hero {
    padding-bottom: 90px;
}
