/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #e8f0ff;
    --text-main: #1a1a2e;
    --text-sub: #666;
    --text-light: #999;
    --bg-white: #ffffff;
    --bg-gray: #f7f9fc;
    --border: #e8ecf2;
    --shadow: 0 4px 24px rgba(0, 102, 255, 0.08);
    --shadow-hover: 0 8px 32px rgba(0, 102, 255, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 顶部导航 ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
}

.nav-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), #00a8ff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-menu a {
    font-size: 15px;
    color: var(--text-sub);
    transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px !important;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

/* ========== Hero 首屏 ========== */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #f0f5ff 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    position: relative;
    max-width: 700px;
}

.hero-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-light);
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-item strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-item span {
    font-size: 14px;
    color: var(--text-sub);
}

/* ========== 通用 section ========== */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-sub);
}

/* ========== 服务板块 ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    padding: 36px 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    font-size: 13px;
    color: var(--text-sub);
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ========== 优势板块 ========== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-item {
    text-align: center;
    padding: 32px 20px;
}

.advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), #00a8ff);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.advantage-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.advantage-item p {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* ========== 合作运营商 ========== */
.partners {
    text-align: center;
    padding: 48px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.partners-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-sub);
    letter-spacing: 1px;
}

/* ========== CTA 底部行动 ========== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), #00a8ff);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
}

.cta-section .btn-primary:hover {
    background: #f0f5ff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ========== 底部 ========== */
.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand h3 .logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), #00a8ff);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact li span:first-child {
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== 内页通用 ========== */
.page-banner {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, #f0f5ff 0%, var(--bg-white) 100%);
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 16px;
    color: var(--text-sub);
}

/* 服务详情页 */
.service-detail {
    padding: 60px 0 80px;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.service-detail-item:last-child {
    border-bottom: none;
}

.service-detail-item.reverse .detail-content {
    order: 2;
}

.detail-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}

.detail-content > p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 24px;
}

.detail-features {
    list-style: none;
}

.detail-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.detail-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.detail-image {
    background: linear-gradient(135deg, #f0f5ff, #e0ecff);
    border-radius: 16px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

/* 关于我们页 */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.about-stat {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
}

.about-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.about-stat span {
    font-size: 13px;
    color: var(--text-sub);
}

/* 联系我们页 */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-info > p {
    font-size: 15px;
    color: var(--text-sub);
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item-content p {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
}

.contact-item-content a {
    color: var(--primary);
    font-weight: 500;
}

.contact-form {
    background: var(--bg-white);
    padding: 36px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

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

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-item strong {
        font-size: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-logos {
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .service-detail-item,
    .service-detail-item.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-detail-item.reverse .detail-content {
        order: 0;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 56px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .page-banner h1 {
        font-size: 28px;
    }
}

.icp { margin-top: 8px; font-size: 12px; }
.icp a:hover { color: #fff !important; text-decoration: underline !important; }
