/* Phase 8B: premium, minimal homepage hero */
.premium-home-hero {
    position: relative;
    isolation: isolate;
    padding: 4.25rem 0 4rem;
    margin-bottom: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    background:
        radial-gradient(circle at 18% 18%, rgba(79, 70, 229, 0.13), transparent 32%),
        radial-gradient(circle at 86% 8%, rgba(37, 99, 235, 0.12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 42%, #f1f5ff 100%);
}

.premium-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(79, 70, 229, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0.08));
}

.premium-home-hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -170px;
    z-index: -1;
    width: 760px;
    height: 320px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.13), transparent 68%);
    filter: blur(8px);
}

.premium-home-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.65rem;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.premium-home-hero__copy {
    max-width: 820px;
    text-align: center;
}

.premium-home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.78rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    color: #3730a3;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(79, 70, 229, 0.18);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.08);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.premium-home-hero__eyebrow i {
    color: #2563eb;
}

.premium-home-hero h1 {
    max-width: 760px;
    margin: 0 auto 0.9rem;
    color: #111827;
    font-size: clamp(2.25rem, 4.1vw, 3.7rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.premium-home-hero__copy p {
    max-width: 720px;
    margin: 0 auto;
    color: #334155;
    font-size: 1.12rem;
    line-height: 1.65;
    font-weight: 600;
}

.premium-home-hero__search-panel {
    position: relative;
    width: min(100%, 980px);
    padding: 0.95rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 24px 58px rgba(30, 41, 59, 0.14);
    backdrop-filter: blur(14px);
}

.premium-home-hero__panel-label {
    margin: 0 0 0.65rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
}

.premium-search-box.search-box-jd {
    width: 100%;
    max-width: 100% !important;
    margin: 0;
    display: grid;
    grid-template-columns: 185px 165px minmax(0, 1fr) 140px;
    align-items: stretch;
    border: 1px solid #e2e8f0;
    border-radius: 8px !important;
    overflow: visible !important;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}

.premium-search-box.search-box-jd select,
.premium-search-box.search-box-jd input,
.premium-search-box.search-box-jd button {
    min-width: 0;
    min-height: 60px;
}

.premium-search-box.search-box-jd select,
.premium-search-box.search-box-jd select.category-select {
    width: 100%;
    padding: 0 1rem;
    border-right: 1px solid #e2e8f0 !important;
    border-bottom: none;
    background-color: #fff;
    color: #1f2937;
}

.premium-search-box.search-box-jd input {
    width: 100%;
    padding: 0 1.1rem !important;
    border: none;
    color: #111827;
}

.premium-search-box.search-box-jd button {
    width: 100%;
    padding: 0 1rem;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    white-space: nowrap;
}

.premium-home-hero .popular-pills {
    justify-content: center;
    margin: 0.9rem auto 0;
    max-width: 760px;
    gap: 0.55rem;
}

.premium-home-hero .popular-pills a {
    padding: 0.42rem 0.8rem;
    background: #ffffff;
    color: #1e3a8a;
    border: 1px solid rgba(37, 99, 235, 0.18);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.07);
    font-size: 0.84rem;
}

.premium-home-hero .popular-pills a:hover {
    background: #eff6ff;
}

.premium-home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.premium-home-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.48rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #334155;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    font-size: 0.86rem;
    font-weight: 750;
}

.premium-home-hero__trust i {
    color: #4f46e5;
}

@media (max-width: 980px) {
    .premium-home-hero {
        padding: 3.6rem 0 3.25rem;
    }

    .premium-home-hero__inner {
        gap: 1.35rem;
    }

    .premium-search-box.search-box-jd {
        grid-template-columns: 1fr;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .premium-search-box.search-box-jd select,
    .premium-search-box.search-box-jd select.category-select,
    .premium-search-box.search-box-jd input {
        width: 100%;
        min-height: 56px;
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0;
    }

    .premium-search-box.search-box-jd button {
        min-height: 56px;
        border-radius: 0 0 8px 8px;
    }
}

@media (max-width: 560px) {
    .premium-home-hero {
        padding: 2.65rem 0 2.75rem;
    }

    .premium-home-hero h1 {
        font-size: clamp(2.1rem, 10vw, 2.6rem);
    }

    .premium-home-hero__copy p {
        font-size: 1rem;
        line-height: 1.58;
    }

    .premium-home-hero__search-panel {
        padding: 0.75rem;
    }

    .premium-home-hero__panel-label {
        text-align: center;
    }

    .premium-home-hero .popular-pills {
        gap: 0.45rem;
    }

    .premium-home-hero .popular-pills a {
        font-size: 0.8rem;
        padding: 0.38rem 0.68rem;
    }

    .premium-home-hero__trust {
        gap: 0.45rem;
    }

    .premium-home-hero__trust span {
        font-size: 0.8rem;
        padding: 0.42rem 0.62rem;
    }
}
