/* ===== 智配云 zhvin.com 公共样式 ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --border: #e2e8f0;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --max-w: 1200px;
    --transition: 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style: none;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

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

.nav-cta:hover {
    background: var(--primary-dark);
    color: #fff !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* Breadcrumb */
.breadcrumb {
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 6px;
}

/* Hero */
.hero {
    padding: 60px 0 50px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #e0f2fe 100%);
}

.hero h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text);
}

.hero h1 em {
    font-style: normal;
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Section */
.section {
    padding: 60px 0;
}

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

.section-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary-light);
}

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

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

.card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.card-link:hover {
    gap: 8px;
}

/* Feature Detail */
.feature-hero {
    padding: 50px 0 40px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.feature-hero h1 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-hero h1 em {
    font-style: normal;
    color: var(--primary);
}

.feature-hero p {
    font-size: 17px;
    color: var(--text-light);
    max-width: 650px;
    margin-bottom: 24px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 2px;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

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

.benefit-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 14px;
    color: var(--text-light);
}

/* FAQ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-q {
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
}

.faq-q::after {
    content: '+';
    font-size: 20px;
    color: var(--primary);
    transition: transform var(--transition);
}

.faq-item.open .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-light);
    font-size: 15px;
}

.faq-item.open .faq-a {
    padding: 16px 20px;
    max-height: 300px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary-light);
}

.pricing-card.featured {
    border-color: var(--primary);
}

.pricing-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 2px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 6px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

.pricing-features li.disabled {
    color: var(--text-light);
}

.pricing-features li.disabled::before {
    content: '—';
    color: #cbd5e1;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    border-radius: var(--radius-lg);
    margin: 40px 0;
}

.cta-banner h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

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

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

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 50px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

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

.footer-col a {
    display: block;
    color: #94a3b8;
    font-size: 14px;
    padding: 4px 0;
}

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

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th {
    background: var(--bg-gray);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.data-table tr:hover td {
    background: var(--bg-light);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-links.show {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

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

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

    .section-title {
        font-size: 24px;
    }

    .stats-row {
        gap: 24px;
    }

    .stat-num {
        font-size: 24px;
    }

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

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

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

/* ========== 公共容器 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 导航栏 ========== */
.main-nav {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    font-size: 22px;
    font-weight: bold;
    color: #1a73e8;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: #1a73e8;
    background: #f0f7ff;
}

/* 当前页面高亮 + 下划线 */
.nav-links a.active {
    color: #1a73e8;
    font-weight: 500;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: #1a73e8;
    border-radius: 1px;
}

/* 手机端汉堡菜单按钮 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 4px 8px;
}

/* ========== 手机端响应式 ========== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 12px 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 20px;
        border-radius: 0;
        width: 100%;
    }

    .nav-links a.active::after {
        left: 20px;
        right: auto;
        width: 24px;
        bottom: 8px;
    }
}



/* ========== 页脚 ========== */
.site-footer {
    background: #1a1a2e;
    color: #ccc;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 20px 40px;
}

.footer-section h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
}

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

.footer-section a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.2s;
}

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

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

.footer-brand p {
    line-height: 1.8;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #888;
}

.footer-bottom-links {
    font-size: 14px;
}

.footer-bottom-links a {
    color: #888;
    text-decoration: none;
}

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

.footer-bottom-links span {
    margin: 0 8px;
    color: #555;
}

/* ========== 公共容器 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

    /* 手机端隐藏，后续可加汉堡菜单 */

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px 20px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
    }
}