/* =========================================================
   首页专属样式（公共组件已移至 home.css）
   ========================================================= */

/* ---- Hero ---- */
.home-hero {
    background:
        radial-gradient(ellipse 60% 120% at 85% 50%, rgba(37,99,235,.1) 0%, transparent 70%),
        radial-gradient(ellipse 40% 80% at 95% 90%, rgba(96,165,250,.15) 0%, transparent 60%),
        linear-gradient(150deg, #F0F9FF 0%, #DBEAFE 55%, #EEF2FF 100%);
    padding: 56px 0 60px;
    overflow: hidden;
    position: relative;
}

.home-hero::after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 72px solid rgba(37,99,235,.05);
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* 首页套餐区上下内边距 */
.home-pkg-section {
    padding-top: 48px;
    padding-bottom: 60px;
}

/* 筛选区与卡片网格之间增加间距 */
.home-pkg-section .filter-tabs {
    margin-top: 4px;
    margin-bottom: 28px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ---- Hero 内容区 ---- */
.hero-layout { width: 100%; display: flex; justify-content: center; }

.hero-left { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 600px; }

.hero-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.hero-title span { color: var(--primary); }

.hero-tagline {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ---- Hero 搜索框 ---- */
.hero-search {
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37,99,235,.15), 0 1px 4px rgba(0,0,0,.05);
    border: none;
    padding: 6px 6px 6px 20px;
    margin-bottom: 0;
}

.search-icon { color: var(--text-muted); font-size: 15px; flex-shrink: 0; margin-right: 8px; }

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
    color: var(--text);
    min-width: 0;
}

.hero-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 44px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    flex-shrink: 0;
    white-space: nowrap;
}

.hero-search-btn:hover { background: var(--primary-dark); }

/* ---- 热门搜索 ---- */
.hero-hot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 520px;
}

.hero-hot-label {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-hot-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(37,99,235,.06);
    color: var(--primary);
    font-size: 12px;
    border: 1px solid rgba(37,99,235,.18);
    transition: all .15s;
    text-decoration: none;
}

.hero-hot-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}



/* ---- 查看全部按钮 ---- */
.pkg-more-wrap {
    text-align: center;
    padding-top: 32px;
}

.pkg-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: 1.5px solid var(--primary);
    border-radius: 28px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    background: #fff;
    transition: all .2s;
    text-decoration: none;
}

.pkg-more-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ---- Section 副标题 ---- */
.section-header-left { flex: 1; }
.section-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ---- AJAX 加载中 ---- */
.pkg-loading { text-align: center; padding: 60px 20px; color: var(--text-muted); }

.pkg-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: pkgSpin .7s linear infinite;
    margin: 0 auto 12px;
}

@keyframes pkgSpin { to { transform: rotate(360deg); } }

/* ---- 响应式 ---- */

@media (max-width: 768px) {
    .hero-title    { font-size: 30px; }
    .hero-tagline  { font-size: 14px; margin-bottom: 20px; }
    .hero-search   { padding: 5px 5px 5px 14px; }
    .hero-search-btn { padding: 9px 18px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .home-hero  { padding: 36px 0 40px; }
}
