/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 - 专业蓝色系 */
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --primary-bg: #eff6ff;
    
    /* 辅助色 */
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    
    /* 中性色 */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* 功能色 */
    --success: #10b981;
    --white: #ffffff;
    
    /* 字体 */
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.logo-sub {
    font-size: 10px;
    color: var(--gray-600);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    transition: all 0.3s;
}

/* ========== Hero区域 ========== */
.hero {
    padding-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--white) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, var(--white) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    display: block;
    color: var(--accent-light);
}

.hero-desc {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    color: var(--accent-light);
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--accent-light);
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
}

/* ========== 通用段落样式 ========== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--primary-light);
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 500;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: var(--gray-600);
}

/* ========== 关于我们 ========== */
.about {
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-content h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
    margin-top: 30px;
}

.about-content h3:first-child {
    margin-top: 0;
}

.about-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 15px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.philosophy-item {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.philosophy-item:hover {
    transform: translateY(-5px);
}

.philosophy-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.philosophy-item h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 5px;
}

.philosophy-item p {
    font-size: 12px;
    color: var(--gray-600);
    margin: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-stat-number {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 5px;
}

.about-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ========== 核心服务 ========== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px;
}

.service-card {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.service-header {
    margin-bottom: 30px;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.service-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-header p {
    opacity: 0.8;
    font-size: 14px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-feature h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: inherit;
}

.service-feature ul {
    list-style: none;
    padding: 0;
}

.service-feature li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    opacity: 0.9;
}

.service-feature li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: bold;
}

.service-main .service-feature li::before {
    color: var(--accent-light);
}

/* ========== 我们的优势 ========== */
.advantages {
    background: var(--gray-50);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: var(--gray-100);
    line-height: 1;
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.advantage-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.advantage-list {
    list-style: none;
    padding: 0;
}

.advantage-list li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-600);
    font-size: 14px;
}

.advantage-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

/* ========== 服务流程 ========== */
.process {
    background: var(--white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
}

.step-content h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray-600);
    font-size: 14px;
}

/* ========== 联系我们 ========== */
.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 40px;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: var(--primary-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 14px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.form-tip {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 20px;
    padding: 10px 15px;
    background: var(--primary-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-light);
}

.survey-button-wrapper {
    text-align: center;
    padding: 20px 0;
}

.survey-note {
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 10px;
    text-align: center;
}

.consult-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.consult-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
    background: var(--primary-bg);
    padding: 10px 15px;
    border-radius: 8px;
}

.consult-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-family);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-group textarea {
    resize: vertical;
}

/* ========== Footer ========== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo span:first-child {
    font-size: 32px;
}

.footer-brand p {
    color: var(--gray-300);
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--gray-300);
    text-decoration: none;
    padding: 5px 0;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 20px;
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
}

/* ========== AI客服 ========== */
.ai-chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: transform 0.3s;
}

.ai-chat-button:hover {
    transform: scale(1.05);
}

.ai-chat-icon {
    font-size: 24px;
}

.ai-chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 600px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.ai-chat-window.active {
    display: flex;
}

.ai-chat-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ai-avatar {
    font-size: 32px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-chat-header-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.ai-chat-header-info p {
    font-size: 12px;
    opacity: 0.8;
}

.ai-chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.ai-chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ai-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.ai-message {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.ai-msg-avatar {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-msg-content {
    background: var(--gray-100);
    padding: 15px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
}

.ai-msg-content p {
    margin-bottom: 10px;
}

.ai-msg-content ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.ai-msg-content li {
    margin-bottom: 5px;
}

.user-message {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.user-msg-content {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 15px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 280px;
}

.ai-chat-input {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 10px;
}

.ai-chat-input input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-family);
}

.ai-chat-input input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.ai-chat-input button {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.ai-chat-input button:hover {
    background: var(--primary-dark);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .ai-chat-window {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 90px;
        height: 500px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        text-align: center;
    }
}


/* ========== 服务定价说明 ========== */
.service-pricing {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.pricing-note {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

/* ========== 流程步骤元信息 ========== */
.step-meta {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    margin-top: 8px;
}

/* ========== 多重保障体系 ========== */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.guarantee-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.guarantee-card:hover {
    transform: translateY(-5px);
}

.guarantee-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.guarantee-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.guarantee-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========== 响应式：保障体系 ========== */
@media (max-width: 1024px) {
    .guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
}
