/* =======================================================
   SNAGGED LANDING PAGE POLISH
   Isolated from the dashboard/app styles.
======================================================= */

/* Keep the first hero comfortably below the fixed navbar. */
.landing-hero {
    margin-top: 0;
    padding-top: 132px;
}

.landing-hero .badge {
    margin-bottom: 14px;
}

/* Center the CTA pair as a single balanced unit. */
.landing-hero-buttons {
    width: 100%;
    justify-content: center;
    align-items: stretch;
}

.landing-hero-buttons a {
    width: 220px;
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/*
   The navbar is fixed. Without scroll-margin, clicking "See how it works"
   places the top of #how underneath the navbar and hides "Meet Snagged".
*/
#how {
    scroll-margin-top: 118px;
}

/*
   Pricing is a large card rather than a heading-only section. Give it a
   deeper anchor offset so clicking "Pricing" leaves the full card title
   comfortably visible below the fixed navbar.
*/
#pricing {
    scroll-margin-top: 240px;
}

.how-hero {
    margin-top: 72px;
}

.how-hero .badge {
    margin-bottom: 16px;
}

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

.landing-footer {
    position: relative;
    margin-top: 120px;
    padding: 0;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at 16% 10%, rgba(93, 124, 255, .14), transparent 34%),
        radial-gradient(circle at 86% 30%, rgba(139, 92, 246, .11), transparent 32%),
        rgba(7, 10, 19, .72);
    overflow: hidden;
}

.landing-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(760px, 70vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(93, 124, 255, .65),
        rgba(139, 92, 246, .65),
        transparent
    );
}

.landing-footer-shell {
    width: min(1280px, 90%);
    margin: 0 auto;
    padding: 70px 0 30px;
}

.landing-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr);
    gap: 80px;
    align-items: start;
    padding-bottom: 54px;
}

.landing-footer-brand {
    max-width: 570px;
}

.landing-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    text-decoration: none;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 850;
    letter-spacing: -.045em;
}

.landing-footer-hook {
    display: inline-flex;
    font-size: .88em;
    filter: drop-shadow(0 0 14px rgba(255, 198, 72, .15));
}

.landing-footer-brand > p {
    max-width: 520px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.75;
}

.landing-footer-motto {
    margin-top: 28px;
    color: #dce2f8;
    font-size: 1.1rem;
    font-weight: 650;
}

.landing-footer-motto strong {
    background: linear-gradient(135deg, #7d91ff, #a974ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
}

.landing-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.landing-footer-label {
    margin-bottom: 5px;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.landing-footer-column a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease, transform .2s ease;
}

.landing-footer-column a:hover {
    color: #fff;
    transform: translateX(3px);
}

.landing-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: #7884a2;
    font-size: .85rem;
    font-weight: 550;
}

@media (max-width: 900px) {
    .landing-hero {
        padding-top: 174px;
    }

    #how {
        scroll-margin-top: 170px;
    }

    #pricing {
        scroll-margin-top: 205px;
    }

    .landing-footer-main {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .landing-footer-nav {
        max-width: 420px;
    }
}

@media (max-width: 700px) {
    .landing-hero-buttons a {
        width: 100%;
    }

    .landing-footer {
        margin-top: 85px;
    }

    .landing-footer-shell {
        width: min(92%, 1280px);
        padding-top: 54px;
    }

    .landing-footer-main {
        padding-bottom: 40px;
    }

    .landing-footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .landing-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
