/* 手机号查定位找人网模板样式 */
:root {
    --primary-color: #ff6b6b;
    --primary-dark: #ee5a52;
    --secondary-color: #4ecdc4;
    --accent-color: #ffd93d;
    --dark-bg: #2d3436;
    --darker-bg: #1e272e;
    --text-color: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #dfe6e9;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(45, 52, 54, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--white);
}

.logo i {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
}

/* ==================== Hero区域 ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 60px 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 .highlight {
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ==================== 通用区块样式 ==================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 服务特色 ==================== */
.features {
    background: var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== 查询流程 ==================== */
.process {
    background: var(--white);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.step-item {
    position: relative;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 30px;
    background: var(--gray-light);
    border-radius: 15px;
    transition: all 0.3s;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 30px 0 20px;
}

.step-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ==================== 分站导航 ==================== */
.sites-section {
    background: var(--white);
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.site-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--gray-light);
    border-radius: 10px;
    color: var(--text-color);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.site-card:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.site-card i:first-child {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.site-name {
    flex: 1;
    font-weight: 500;
}

.site-card i:last-child {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.site-card:hover i:last-child {
    transform: translateX(5px);
}

.empty-sites {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-sites i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-sites p {
    font-size: 1.1rem;
}

/* ==================== 应用场景 ==================== */
.scenarios {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.scenarios .section-header h2,
.scenarios .section-header p {
    color: var(--white);
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.scenario-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scenario-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.scenario-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.scenario-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.scenario-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ==================== 最新资讯 ==================== */
.news {
    background: var(--gray-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-content {
    padding: 30px;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-card h3 a {
    color: var(--text-color);
    transition: color 0.3s;
}

.news-card h3 a:hover {
    color: var(--primary-color);
}

.news-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s;
}

.read-more:hover {
    gap: 8px;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ==================== FAQ ==================== */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gray-light);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--gray-medium);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand i {
    color: var(--primary-color);
}

.footer-brand p {
    line-height: 1.8;
    opacity: 0.8;
}

.footer-links h4,
.footer-service h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links ul,
.footer-service ul {
    list-style: none;
}

.footer-links li,
.footer-service li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-service li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-service i {
    color: var(--primary-color);
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-keywords {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-keywords a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-keywords a:hover {
    color: var(--primary-color);
}

/* ==================== 文章详情页 ==================== */
.article-detail {
    padding-top: 100px;
    min-height: 100vh;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-light);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.article-main {
    background: var(--white);
    border-radius: 15px;
    padding: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.article-header {
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 25px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-color);
}

.article-body h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.article-body p {
    margin-bottom: 20px;
}

.article-footer {
    border-top: 2px solid var(--gray-light);
    padding-top: 25px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--gray-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-share a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    color: var(--text-color);
    transition: all 0.3s;
}

.article-share a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.back-btn,
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.back-btn {
    background: var(--gray-light);
    color: var(--text-color);
}

.back-btn:hover {
    background: var(--gray-medium);
}

.cta-btn {
    background: var(--primary-color);
    color: var(--white);
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.related-section {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 15px;
}

.related-section h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.related-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.related-links a {
    padding: 12px 20px;
    background: var(--white);
    border-radius: 8px;
    color: var(--text-color);
    transition: all 0.3s;
    font-size: 0.95rem;
}

.related-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

/* ==================== 文章列表页 ==================== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.article-list-section {
    padding: 60px 0;
}

.article-list {
    max-width: 900px;
    margin: 0 auto;
}

.article-item {
    background: var(--white);
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.article-item h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.article-item h2 a {
    color: var(--text-color);
    transition: color 0.3s;
}

.article-item h2 a:hover {
    color: var(--primary-color);
}

.article-item .summary {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-item .article-meta {
    margin-bottom: 15px;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 20px;
        margin: 30px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 auto;
        min-width: 80px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .process-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .article-main {
        padding: 30px 20px;
    }

    .article-header h1 {
        font-size: 1.6rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .article-nav {
        flex-direction: column;
    }

    .related-links {
        grid-template-columns: 1fr;
    }

    .sites-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .site-card {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}
