/*
 * Landing page styles. Ported from frontend/src/views/Landing.vue's
 * <style scoped> block. All selectors are prefixed with `.landing-page`
 * (or describe a child of it) so they cannot leak to other pages.
 *
 * Inlined `frontend/src/css/fancy-header.css` rules under .landing-page
 * to avoid an extra request.
 */

/* ---- fancy header (was @import "../css/fancy-header.css") ----------- */
.landing-page .fancy-header {
    text-align: center;
    overflow: hidden;
}
.landing-page .fancy-header span {
    display: inline-block;
    position: relative;
}
.landing-page .fancy-header span:before,
.landing-page .fancy-header span:after {
    content: "";
    position: absolute;
    height: 1px;
    top: 49%;
    width: 100%;
}
.landing-page .fancy-header span:before {
    right: 100%;
    background: linear-gradient(to left, var(--grey-3), rgba(255, 255, 255, 0));
    margin-right: 20px;
}
.landing-page .fancy-header span:after {
    left: 100%;
    background: linear-gradient(to right, var(--grey-3), rgba(255, 255, 255, 0));
    margin-left: 20px;
}

/* ---- container ----------------------------------------------------- */
.landing-page {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 2em;
    margin: 0 auto;
}

/* ---- hero band ----------------------------------------------------- */
.landing-page .hero-band {
    position: relative;
    z-index: 3;
    padding-bottom: 3.5em;
    isolation: isolate;
}
.landing-page .hero-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.18) 18%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(255, 255, 255, 0.18) 82%,
        rgba(255, 255, 255, 0) 100%
    );
    box-shadow: 0 0 26px rgba(255, 255, 255, 0.12);
}

.landing-page .bg-cont {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: 0;
}
.landing-page .bg {
    width: 100%;
    height: calc(100% + 12em);
    position: absolute;
    z-index: 0;
    top: -8em;
    left: 0;
    background: url("../img/hotel-1.jpg");
    background-size: cover;
    background-position: center;
    animation-name: landing-bg-slide;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}
.landing-page .bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.3) 55%,
            rgba(0, 0, 0, 0.18) 100%
        ),
        linear-gradient(135deg, rgba(10, 30, 20, 0.3) 0%, rgba(0, 0, 0, 0) 55%);
}
@keyframes landing-bg-slide {
    0%   { transform: translateY(100px); }
    100% { transform: translateY(-50px); }
}

.landing-page .hero {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
    padding-top: 6em;
    padding-bottom: 3.25em;
    width: 100%;
    max-width: 76rem;
    margin: 0 auto;
}

.landing-page .eyebrow,
.landing-page .section-kicker,
.landing-page .card-kicker {
    color: var(--bright-green);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
}

.landing-page #title {
    color: white;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.75);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.08;
    margin: 0;
    max-width: 18ch;
}
.landing-page .lead {
    max-width: 38rem;
    color: #e8ece8;
    font-size: 1.25rem;
    line-height: 1.6;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.7);
    margin: 0;
}

.landing-page .hero-search-wrap {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 52rem;
    margin-top: 0.5em;
}

.landing-page .trust-card,
.landing-page .cta-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(
        180deg,
        rgba(23, 23, 23, 0.92) 0%,
        rgba(10, 10, 10, 0.96) 100%
    );
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.landing-page .testimonial {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(
        180deg,
        rgba(35, 38, 45, 0.92) 0%,
        rgba(15, 17, 20, 0.96) 100%
    );
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.landing-page .section-heading .fancy-header,
.landing-page .cta-copy h2 {
    margin: 0.35em 0 0.5em 0;
}
.landing-page .section-heading .fancy-header {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}
.landing-page .cta-copy h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.landing-page .search { flex-grow: 1; }
.landing-page .resume-order { text-align: center; margin-top: 0.5em; }

.landing-page .trust-strip,
.landing-page .feature-grid,
.landing-page .step-grid,
.landing-page .info-grid,
.landing-page .testimonials,
.landing-page .faq-grid {
    display: grid;
    gap: 1.2em;
}

.landing-page .trust-strip {
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2.2em;
}

.landing-page .hero-divider {
    position: relative;
    z-index: 1;
    width: min(100%, 70rem);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
}
.landing-page .hero-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 14%,
        rgba(92, 185, 92, 0.55) 50%,
        rgba(255, 255, 255, 0.2) 86%,
        rgba(255, 255, 255, 0) 100%
    );
}
.landing-page .hero-divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 11rem;
    height: 3rem;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: radial-gradient(
        circle,
        rgba(92, 185, 92, 0.22) 0%,
        rgba(92, 185, 92, 0) 72%
    );
    filter: blur(8px);
}

.landing-page .trust-card {
    padding: 1.35em 1.2em;
    border-radius: 18px;
    min-height: 7.5em;
}
.landing-page .trust-card strong {
    display: block;
    font-size: 1.45rem;
    color: white;
    margin-bottom: 0.35em;
}
.landing-page .trust-card span {
    color: #cfd5cf;
    line-height: 1.45;
}

.landing-page .section { margin-top: 5em; }
.landing-page .section-intro {
    position: relative;
    z-index: 0;
    margin-top: 1.5em;
}
.landing-page .section-heading {
    max-width: 48rem;
    margin-bottom: 1.6em;
}
.landing-page .section-copy {
    color: #cfd5cf;
    line-height: 1.65;
}

.landing-page .feature-grid,
.landing-page .step-grid,
.landing-page .info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.landing-page .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-page .feature-card,
.landing-page .step-card,
.landing-page .info-card,
.landing-page .faq-card {
    border-radius: 22px;
    padding: 1.5em;
}
.landing-page .feature-card h3,
.landing-page .step-card h3,
.landing-page .info-card h3,
.landing-page .faq-card h3 {
    margin-top: 0;
}
.landing-page .feature-card p,
.landing-page .step-card p,
.landing-page .info-card p,
.landing-page .faq-card p {
    margin-bottom: 0;
    color: #cfd5cf;
    line-height: 1.65;
}

.landing-page .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    margin-bottom: 1.2em;
    padding: 1em;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(92, 185, 92, 0.16), transparent);
}
.landing-page .feature-icon img {
    max-width: 100%;
    max-height: 100px;
}

.landing-page .step-number {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1em;
    background: linear-gradient(
        180deg,
        var(--primary-green),
        var(--darkened-green)
    );
    color: white;
    font-weight: 700;
}

.landing-page .testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 3.5em;
    margin-bottom: 2em;
    position: relative;
    z-index: 2;
}
.landing-page .testimonial {
    position: relative;
    border-radius: 22px;
    padding: 1.5em;
}
.landing-page .testimonial p {
    margin: 0;
    text-indent: 2em;
    line-height: 1.65;
}
.landing-page .testimonial::before {
    content: "\e81f";
    font-size: 40px;
    color: var(--primary-green);
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: "HRAIcons", sans-serif;
    transform: rotate(180deg);
    text-shadow: -1px -1px 4px rgba(0, 0, 0, 0.7);
}
.landing-page .testimonial .credit {
    color: var(--grey-4);
    text-align: right;
    margin-top: 1em;
}

.landing-page .cta-panel {
    margin-top: 5em;
    border-radius: 26px;
    padding: 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5em;
}
.landing-page .cta-copy { max-width: 40rem; }
.landing-page .cta-copy p { color: #d3d8d3; line-height: 1.65; }
.landing-page .cta-links { margin-bottom: 0; }
.landing-page .cta-actions { flex-shrink: 0; }

@media (max-width: 1100px) {
    .landing-page .trust-strip,
    .landing-page .feature-grid,
    .landing-page .step-grid,
    .landing-page .info-grid,
    .landing-page .testimonials,
    .landing-page .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .landing-page .hero-band { padding-bottom: 3em; }
    .landing-page .hero { padding-top: 4em; padding-bottom: 2.8em; }
    .landing-page .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .landing-page .hero-divider { margin-top: 0; }
    .landing-page .section-intro { margin-top: 1.25em; }
}

@media (max-width: 768px) {
    .landing-page .bg-cont { display: none; }
    .landing-page {
        padding-top: 1.2em;
        padding-left: 15px;
        padding-right: 15px;
    }
    .landing-page .hero-band { padding-bottom: 2.6em; }
    .landing-page .hero { padding-top: 3em; padding-bottom: 2.4em; }
    .landing-page #title { font-size: 2.4rem; }
    .landing-page .lead { font-size: 1.05rem; }
    .landing-page .trust-strip,
    .landing-page .feature-grid,
    .landing-page .step-grid,
    .landing-page .info-grid,
    .landing-page .testimonials,
    .landing-page .faq-grid {
        grid-template-columns: 1fr;
    }
    .landing-page .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }
    .landing-page .hero-divider { margin-top: 0; }
    .landing-page .section-intro { margin-top: 1em; }
}

@media (max-width: 576px) {
    .landing-page .feature-card,
    .landing-page .step-card,
    .landing-page .info-card,
    .landing-page .testimonial,
    .landing-page .faq-card,
    .landing-page .cta-panel {
        padding: 1.2em;
        border-radius: 18px;
    }
    .landing-page #title { font-size: 2.15rem; }
}
