/* 全局样式 */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --secondary: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --gray: #e9ecef;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

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

ul {
    list-style: none;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* 标题样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* 头部导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero区域 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a73e8 0%, #667eea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 100px 20px 60px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 服务区域 */
.services {
    padding: 80px 0;
    background: var(--secondary);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 行业覆盖 */
.industries {
    padding: 60px 0;
    background: var(--white);
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.industry-tag {
    padding: 10px 24px;
    background: var(--secondary);
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s;
}

.industry-tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* 成功案例 */
.cases {
    padding: 80px 0;
    background: var(--secondary);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.case-company {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.case-position {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.case-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* 服务流程 */
.process {
    padding: 80px 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-num {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gray);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.process-step h3 {
    font-size: 1.3rem;
    margin: 1rem 0 0.5rem;
    position: relative;
    z-index: 1;
}

.process-step p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* 联系区域 */
.contact {
    padding: 80px 0;
    background: var(--secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.company-fullname {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--gray);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

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

.contact-form textarea {
    resize: vertical;
}

/* 页脚 */
footer {
    background: #1a1a2e;
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
    }
}

/* 企业微信弹框样式 */
.wechat-floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.wechat-trigger {
    background: linear-gradient(135deg, #07c160, #05a049);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(7, 193, 96, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.wechat-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(7, 193, 96, 0.4);
}

.wechat-icon {
    font-size: 1.2rem;
}

.wechat-text {
    font-size: 0.95rem;
}

.wechat-popup {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    overflow: hidden;
    animation: popupSlide 0.3s ease;
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wechat-popup.show {
    display: block;
}

.wechat-popup-header {
    background: linear-gradient(135deg, #07c160, #05a049);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wechat-popup-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.wechat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.wechat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wechat-popup-content {
    padding: 20px;
}

.wechat-qrcode {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.qrcode-placeholder {
    padding: 20px;
}

.qrcode-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #07c160;
}

.qrcode-placeholder p {
    margin: 5px 0;
    color: #333;
}

.qrcode-hint {
    font-size: 0.9rem;
    color: #666;
}

.wechat-contact {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.wechat-contact p {
    margin: 8px 0;
}

.wechat-phone {
    font-size: 1.2rem;
    margin: 10px 0;
}

.wechat-phone a {
    color: #07c160;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f9f4;
    border-radius: 6px;
    transition: all 0.2s;
}

.wechat-phone a:hover {
    background: #e0f3e9;
    transform: scale(1.05);
}

.wechat-tip {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.phone-link {
    color: #07c160;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.phone-link:hover {
    color: #05a049;
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .wechat-floating {
        right: 10px;
        bottom: 10px;
    }
    
    .wechat-popup {
        width: 280px;
        right: -10px;
    }
    
    .wechat-trigger {
        padding: 10px 16px;
    }
    
    .wechat-text {
        font-size: 0.85rem;
    }
}
