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

body {
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
}

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

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.5);
}
.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}
.btn-outline:hover {
    background: #667eea;
    color: #fff;
}
.btn-secondary {
    background: #fff;
    color: #667eea;
    border: 2px solid #e5e7eb;
}
.btn-secondary:hover {
    border-color: #667eea;
}
.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}
.btn-block {
    width: 100%;
}
.btn-danger {
    background: #ef4444;
    color: #fff;
    border: none;
}

/* 导航 */
.header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}
.logo span {
    font-weight: 300;
    color: #6b7280;
}
.nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}
.nav a {
    font-weight: 500;
    color: #374151;
    transition: color 0.2s;
}
.nav a:hover, .nav a.active {
    color: #667eea;
}
.btn-consult {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: 600;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #374151;
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-content h1 span {
    color: #667eea;
}
.hero-content p {
    font-size: 1.15rem;
    color: #6b7280;
    max-width: 600px;
    margin-bottom: 30px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.hero-stats div {
    text-align: center;
}
.hero-stats strong {
    display: block;
    font-size: 1.8rem;
    color: #667eea;
}
.hero-stats span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* 通用section */
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.section-title p {
    color: #6b7280;
    font-size: 1.05rem;
}

/* 案例网格 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.case-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.case-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #10b981;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.case-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.case-card p {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.case-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #374151;
}

/* 专家 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}
.expert-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.expert-card:hover {
    transform: translateY(-4px);
}
.expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
.expert-card h3 {
    font-size: 1.2rem;
}
.expert-title {
    display: block;
    color: #667eea;
    font-weight: 500;
    margin: 4px 0 12px;
}
.expert-card p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* 流程 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    text-align: center;
}
.step {
    background: #fff;
    border-radius: 20px;
    padding: 28px 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 12px;
}
.step h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.step p {
    color: #6b7280;
    font-size: 0.85rem;
}

/* 费用计算 */
.calc-card {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.calc-row {
    margin-bottom: 20px;
}
.calc-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}
.calc-row select, .calc-row input[type="checkbox"] {
    margin-right: 8px;
}
.checkbox-group label {
    display: block;
    font-weight: 400;
    margin-bottom: 6px;
}
.total-price {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

/* 评价 */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.review-stars {
    margin-bottom: 12px;
    font-size: 1.2rem;
}
.review-card p {
    color: #374151;
    font-style: italic;
    margin-bottom: 12px;
}
.review-author {
    color: #6b7280;
    font-weight: 500;
}

/* 咨询表单 */
.consult-form {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.consult-form input, .consult-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}
.consult-form input:focus, .consult-form textarea:focus {
    outline: none;
    border-color: #667eea;
}
.checkbox-row {
    margin-bottom: 16px;
    font-size: 0.9rem;
}
.checkbox-row a {
    color: #667eea;
    text-decoration: underline;
}

/* FAQ */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    overflow: hidden;
}
.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.faq-question:hover {
    background: #f9fafb;
}
.faq-toggle {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 300;
}
.faq-answer {
    padding: 0 24px 18px;
    color: #6b7280;
    display: none;
}

/* 内页通用 */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f0f4ff, #e8ecff);
    text-align: center;
}
.page-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}
.page-hero p {
    color: #6b7280;
}
.page-content {
    padding: 60px 0;
}

/* 页脚 */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    color: #fff;
    margin-bottom: 12px;
}
.footer-brand a {
    color: #667eea;
}
.footer-links h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 12px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a:hover {
    color: #667eea;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    font-size: 0.9rem;
}
.footer-contact a {
    color: #667eea;
}

/* 管理后台 */
.admin-body {
    background: #f3f4f6;
    min-height: 100vh;
}
.admin-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}
.admin-login {
    max-width: 400px;
    margin: 80px auto;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.admin-login h2 {
    text-align: center;
    margin-bottom: 24px;
}
.admin-login input {
    width: 100%;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
}
.error-msg {
    color: #ef4444;
    text-align: center;
    margin-bottom: 12px;
}
.success-msg {
    color: #10b981;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 600;
}
.admin-dashboard {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.admin-form h3 {
    margin: 24px 0 12px;
    color: #667eea;
}
.admin-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    align-items: start;
}
.admin-item input, .admin-item textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
}
.admin-item textarea {
    grid-column: span 2;
    min-height: 60px;
}

/* 响应式 */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    .nav.active {
        display: block;
    }
    .nav ul {
        flex-direction: column;
        gap: 16px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-stats {
        gap: 20px;
    }
    .hero-stats strong {
        font-size: 1.4rem;
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-item {
        grid-template-columns: 1fr;
    }
    .admin-item textarea {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}