/* ============================================================
 * 老宝贝陪诊 - 区县级精装模板样式
 * 说明：本文件补充 /t/default/common.css 未包含的页面级样式。
 *       加载顺序：common.css → premium-district.css
 * ============================================================ */

/* ---- 导航栏增强 ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .95);
    padding: 1rem 2rem;
    transition: all .3s;
}
.navbar.scrolled {
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e3a5f;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-link {
    text-decoration: none;
    color: #6B7280;
    transition: all .3s;
    font-size: 1.1rem;
}
.nav-link:hover,
.nav-link.active {
    color: #3B82F6;
}
.contact-btn {
    background: linear-gradient(135deg, #3B82F6, #10B981);
    color: #fff;
    padding: .75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, .3);
    font-size: 1rem;
}
.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, .4);
}
.mobile-menu-btn {
    display: none;
    background: 0 0;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #3B82F6;
}

/* ---- Hero 区域 ---- */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1a56db 70%, #7c3aed 100%);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, .3), transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(139, 92, 246, .2), transparent 50%);
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50px;
    padding: .5rem 1.25rem;
    font-size: .9rem;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .hero-desc {
    font-size: 1.1rem;
    opacity: .85;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-btn-primary {
    background: #fff;
    color: #1a56db;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: all .3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}
.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}
.hero-btn-phone {
    background: 0 0;
    color: #fff;
    padding: 1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: all .3s;
}
.hero-btn-phone:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
}

/* ---- 内容区容器 ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #1F2937;
    margin-bottom: 2.5rem;
}

/* ---- AI优势卡片 ---- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    border: 1px solid #e5e7eb;
    transition: all .3s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
    border-color: #3B82F6;
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.feature-card h3 {
    color: #1e3a5f;
    margin-bottom: .75rem;
}
.feature-card p {
    color: #6B7280;
    line-height: 1.6;
    font-size: .95rem;
}

/* ---- 服务卡片 ---- */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    border: 1px solid #e5e7eb;
    transition: all .3s;
}
.service-card:hover {
    border-color: #3B82F6;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
}
.service-card h3 {
    color: #1e3a5f;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.service-card p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: .75rem;
}
.service-card .price {
    font-weight: 700;
    color: #3B82F6;
    font-size: 1.3rem;
}
.service-card .btn {
    display: inline-block;
    margin-top: .75rem;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    color: #fff;
    padding: .6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all .3s;
    font-size: .95rem;
}
.service-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, .4);
}

/* ---- CTA 行动号召 ---- */
.cta {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fff;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, .15), transparent 70%);
}
.cta-content {
    position: relative;
    z-index: 1;
}
.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.cta p {
    opacity: .85;
    margin-bottom: 1.5rem;
}
.cta-tel {
    display: inline-block;
    background: linear-gradient(135deg, #3B82F6, #10B981);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all .3s;
    box-shadow: 0 6px 25px rgba(59, 130, 246, .5);
}
.cta-tel:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(59, 130, 246, .6);
}

/* ---- FAQ 常见问题 ---- */
.faq {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}
.faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    border: 1px solid #e5e7eb;
}
.faq-item h3 {
    font-size: 1.1rem;
    color: #1e3a5f;
    margin-bottom: .5rem;
}
.faq-item p {
    color: #6B7280;
    line-height: 1.7;
}

/* ---- 面包屑 ---- */
.breadcrumb {
    margin-bottom: 2rem;
    padding: .75rem 0;
    font-size: .9rem;
    color: #6B7280;
}
.breadcrumb a {
    color: #3B82F6;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* ---- 页脚 ---- */
.footer {
    background: #1e3a5f;
    color: #fff;
    padding: 3rem 2rem 1.5rem;
    margin-top: 2rem;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-section a,
.footer-section p {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    font-size: .9rem;
    line-height: 2;
    display: block;
}
.footer-section a:hover {
    color: #fff;
}
.footer-badges {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
}
.footer-badge {
    background: rgba(255, 255, 255, .15);
    border-radius: 3px;
    padding: .3rem .6rem;
    font-size: .75rem;
    color: #fff;
    display: inline;
}
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: .85rem;
    color: rgba(255, 255, 255, .6);
}
.footer-bottom a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
}

/* ---- 返回顶部 ---- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background: #3B82F6;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
    cursor: pointer;
}
.back-to-top.visible {
    opacity: 1;
}

/* ---- 响应式 ---- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero {
        padding: 3rem 1rem;
    }
    .features,
    .services {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}
