/* ========== 全局变量 ========== */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #06b6d4;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #2563eb, #06b6d4);
    --gradient-2: linear-gradient(135deg, #0f172a, #1e293b);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 20px rgba(37,99,235,0.3);
    --border-radius: 0.75rem;
    --border-radius-lg: 1.5rem;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== 头部导航栏 ========== */
.site-header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(37,99,235,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.site-branding .site-title a {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
}

.site-branding .site-title span {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: normal;
}

/* 导航菜单 */
.main-navigation .nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation .nav-menu a {
    text-decoration: none;
    color: var(--gray-light);
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation .nav-menu a:hover,
.main-navigation .nav-menu .current-menu-item a {
    color: var(--secondary);
}

/* CTA按钮 */
.header-cta .btn-primary {
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.header-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 4px 0;
    transition: 0.3s;
}

/* ========== 底部区域 ========== */
.site-footer {
    background: #0a0e17;
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(37,99,235,0.1);
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col p {
    color: var(--gray);
    margin: 0.5rem 0;
}

.footer-col a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* 返回顶部按钮 */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ========== Hero区域 ========== */
.hero-modern {
    padding: 5rem 0 4rem;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,99,235,0.15);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.875rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

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

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-desc .highlight {
    color: var(--secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-glow {
    background: var(--gradient-1);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid var(--gray);
    color: var(--light);
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stats div span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

/* 右侧浮动卡片 */
.hero-visual {
    position: relative;
    height: 350px;
}

.floating-card {
    position: absolute;
    background: rgba(30,41,59,0.8);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(37,99,235,0.3);
    box-shadow: var(--shadow-lg);
}

.card-1 { top: 10%; left: 0; animation: float 3s ease-in-out infinite; }
.card-2 { top: 40%; right: 0; animation: float 4s ease-in-out infinite; }
.card-3 { bottom: 10%; left: 15%; animation: float 3.5s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.gradient-orb {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.3;
}

.orb-1 { background: #2563eb; top: 0; right: 0; }
.orb-2 { background: #06b6d4; bottom: 0; left: 0; }

/* ========== 通用区块样式 ========== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(37,99,235,0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 核心业务介绍 ========== */
.business-intro {
    padding: 5rem 0;
    background: var(--dark-light);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.business-card {
    background: var(--dark);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(37,99,235,0.15);
    transition: all 0.3s;
}

.business-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.card-icon-large {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.business-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.business-card p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.business-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.business-tags span {
    background: rgba(37,99,235,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--secondary);
}

/* ========== 开发流程 ========== */
.process-section {
    padding: 5rem 0;
    background: var(--dark);
}

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

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ========== 产品矩阵 ========== */
.products-section {
    padding: 5rem 0;
    background: var(--dark-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--dark);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(37,99,235,0.15);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
}

.product-card h3 {
    margin-bottom: 0.25rem;
}

.product-sub {
    color: var(--secondary);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.product-demo-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-badge-small {
    background: rgba(6,182,212,0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    color: var(--secondary);
}

.product-link {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.85rem;
}

/* ========== 轻量演示区（标书比对+自动报价） ========== */
.featured-demos {
    padding: 2rem 0 4rem;
    background: var(--dark);
}

.demo-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    background: var(--dark-light);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
}

.demo-showcase-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 240px;
}

.demo-icon-small {
    font-size: 2rem;
}

.demo-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.demo-info p {
    font-size: 0.75rem;
    color: var(--gray);
}

.demo-btn-small {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s;
}

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

/* ========== 技术生态 ========== */
.tech-ecosystem {
    padding: 5rem 0;
    background: var(--dark-light);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1.5rem 0;
}

.tech-tags span {
    background: rgba(37,99,235,0.1);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--secondary);
}

.tech-link {
    color: var(--secondary);
    text-decoration: none;
}

.code-window {
    background: #0a0e17;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(37,99,235,0.3);
}

.code-header {
    background: #1a1f2e;
    padding: 0.75rem;
    display: flex;
    gap: 6px;
}

.code-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.code-header span:nth-child(2) { background: #ffbd2e; }
.code-header span:nth-child(3) { background: #27c93f; }

.code-body {
    padding: 1.5rem;
    font-family: 'Monaco', monospace;
    font-size: 0.75rem;
    line-height: 1.6;
}

.code-keyword { color: #c678dd; }
.code-string { color: #98c379; }
.code-function { color: #61afef; }

/* ========== 客户案例 ========== */
.cases-section {
    padding: 5rem 0;
    background: var(--dark);
}

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

.case-card {
    background: var(--dark-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s;
}

.case-card:hover {
    transform: translateY(-3px);
}

.case-badge {
    display: inline-block;
    background: rgba(37,99,235,0.2);
    color: var(--secondary);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-bottom: 1rem;
}

.case-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.case-card p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.case-result {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========== 联系方式 ========== */
.contact-section {
    padding: 5rem 0;
    background: var(--dark-light);
}

.contact-card {
    background: var(--dark);
    border-radius: var(--border-radius-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid rgba(37,99,235,0.2);
}

.contact-left {
    padding: 2.5rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.contact-left h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-left p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-methods div {
    margin: 0.75rem 0;
    color: var(--light);
}

.contact-right {
    padding: 2.5rem;
}

.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 1rem;
    background: var(--dark-light);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--light);
    font-family: inherit;
}

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

.btn-block {
    width: 100%;
    text-align: center;
}

/* ========== 响应式设计（手机端适配） ========== */
@media (max-width: 992px) {
    .hero-grid, .tech-grid, .contact-card {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    /* 移动端菜单 */
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background: var(--dark-light);
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation .nav-menu {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-glow, .btn-outline-light {
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .business-grid, .products-grid, .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-showcase {
        flex-direction: column;
        align-items: stretch;
    }
    
    .demo-showcase-item {
        justify-content: space-between;
    }
    
    .contact-left, .contact-right {
        padding: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-card {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .card-icon {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .hero-stats div span {
        font-size: 1.2rem;
    }
}
























/* ========== 侧边客服模块 ========== */
.side-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* 客服主按钮 */
.side-contact-toggle {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37,99,235,0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

.side-contact-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37,99,235,0.5);
}

.toggle-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.icon-message,
.icon-close {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 22px;
    transition: all 0.3s ease;
}

.icon-close {
    opacity: 0;
    transform: rotate(90deg);
}

.side-contact-toggle.active .icon-message {
    opacity: 0;
    transform: rotate(-90deg);
}

.side-contact-toggle.active .icon-close {
    opacity: 1;
    transform: rotate(0);
}

.toggle-text {
    font-size: 10px;
    color: white;
    margin-top: 2px;
}

/* 客服面板 */
.side-contact-panel {
    position: absolute;
    right: 70px;
    bottom: 0;
    width: 280px;
    background: var(--dark-light);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
    border: 1px solid rgba(37,99,235,0.2);
    backdrop-filter: blur(10px);
}

.side-contact-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 面板头部 */
.panel-header {
    padding: 16px;
    background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(6,182,212,0.1));
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid rgba(37,99,235,0.2);
}

.panel-header h4 {
    font-size: 16px;
    margin: 0 0 4px 0;
    color: var(--white);
}

.panel-header p {
    font-size: 11px;
    color: var(--gray);
    margin: 0;
}

/* 面板主体 */
.panel-body {
    padding: 12px;
}

/* 联系项 */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: rgba(37,99,235,0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(37,99,235,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-detail {
    flex: 1;
}

.contact-label {
    font-size: 11px;
    color: var(--gray);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
}

.contact-value:hover {
    color: var(--secondary);
}

.contact-action {
    background: rgba(37,99,235,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.contact-action:hover {
    background: var(--primary);
    color: white;
}

/* 面板底部 */
.panel-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.panel-footer p {
    font-size: 10px;
    color: var(--gray);
    margin: 0;
}

/* 微信二维码弹窗 */
.wechat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wechat-modal.open {
    opacity: 1;
    visibility: visible;
}

.wechat-modal-content {
    background: var(--dark-light);
    border-radius: 24px;
    padding: 24px;
    position: relative;
    max-width: 300px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(37,99,235,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.wechat-modal.open .wechat-modal-content {
    transform: scale(1);
}

.wechat-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.wechat-modal-close:hover {
    color: var(--white);
}

.wechat-qrcode img {
    width: 200px;
    height: 200px;
    margin: 10px 0;
    border-radius: 16px;
    background: white;
    padding: 8px;
}

.wechat-qrcode p {
    margin: 8px 0;
    color: var(--white);
}

.wechat-note {
    font-size: 12px;
    color: var(--secondary);
}

/* ========== 移动端侧边客服适配 ========== */
@media (max-width: 768px) {
    .side-contact {
        right: 12px;
        bottom: 80px;
    }
    
    .side-contact-toggle {
        width: 48px;
        height: 48px;
    }
    
    .toggle-icon .icon-message,
    .toggle-icon .icon-close {
        font-size: 20px;
    }
    
    .toggle-text {
        font-size: 9px;
    }
    
    .side-contact-panel {
        right: 60px;
        width: 260px;
    }
    
    .contact-item {
        padding: 8px 12px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .contact-value {
        font-size: 12px;
    }
    
    .wechat-modal-content {
        padding: 20px;
    }
    
    .wechat-qrcode img {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .side-contact-panel {
        position: fixed;
        right: 12px;
        left: 12px;
        bottom: 80px;
        width: auto;
    }
    
    .side-contact-panel.open {
        transform: translateX(0);
    }
}