/* 
 * 官网样式
 * 参考 Arco Design 企业级设计规范
 */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 企业级青绿色配色方案 - 基于 #0F8B95 优化 */
    --primary-color: #0D7A82;
    --primary-hover: #0F8B95;
    --primary-active: #0B6B73;
    --primary-light: #E0F4F6;
    
    /* 中性色 */
    --text-primary: #1D2129;
    --text-regular: #4E5969;
    --text-secondary: #86909C;
    --text-disabled: #C9CDD4;
    
    /* 边框和背景 */
    --border-color: #E5E6EB;
    --border-light: #F2F3F5;
    --fill-color: #F7F8FA;
    --bg-color: #F2F3F5;
    --bg-white: #FFFFFF;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.08);
    
    /* 圆角 */
    --radius: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    
    /* 过渡 */
    --transition: all 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5715;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo {
    height: 32px;
    width: auto;
}

.brand-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-link {
    color: var(--text-regular);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== 按钮 ==================== */
.btn {
    padding: 5px 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    line-height: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

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

/* Hero区主按钮 - 白色背景 */
.btn-white {
    background: white;
    color: var(--primary-color);
    border: 1px solid white;
    font-weight: 500;
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-outline {
    background: transparent;
    color: var(--text-regular);
    border: 1px solid var(--border-color);
}

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

/* Hero区"了解更多"按钮 - 白色样式 */
.btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-large {
    height: 40px;
    padding: 8px 24px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ==================== 首页主视觉 ==================== */
.hero {
    margin-top: 56px;
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #0D7A82 0%, #0B6B73 100%);
    color: white;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

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

.stat-number {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* 产品展示图 - SVG插画 */
.hero-illustration {
    width: 100%;
    max-width: 480px;
    height: auto;
}

/* ==================== 核心业务板块 ==================== */
.services {
    padding: 64px 0;
    background: var(--fill-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.service-card {
    padding: 32px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    color: var(--primary-color);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-regular);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-regular);
    font-size: 13px;
    border-bottom: 1px solid var(--border-light);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 400;
}

/* ==================== 成功案例 ==================== */
.cases {
    padding: 64px 0;
    background: var(--bg-white);
}

.cases-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-regular);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

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

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.case-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

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

.case-image-wrapper {
    position: relative;
    width: 100%;
    min-height: 180px;
    max-height: 300px;
    overflow: hidden;
    background: var(--fill-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.case-card:hover .case-image {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 122, 130, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.case-view-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.case-view-btn svg {
    width: 18px;
    height: 18px;
}


/* 分页样式 */
.cases-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.page-btn {
    padding: 6px 14px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-regular);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 36px;
}

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

.page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-ellipsis {
    padding: 0 8px;
    color: var(--text-secondary);
}

/* 案例详情弹窗 */
.case-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.case-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 1;
}

.case-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: start;
}

.modal-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.modal-qr {
    text-align: center;
    padding: 20px;
    background: var(--fill-color);
    border-radius: var(--radius-md);
    min-width: 180px;
}

.qr-label {
    font-size: 13px;
    color: var(--text-regular);
    margin-bottom: 12px;
    font-weight: 500;
}

.modal-qr .qr-image {
    width: 150px;
    height: 150px;
    border-radius: var(--radius);
    border: 2px solid var(--border-light);
    background: white;
}

/* ==================== 功能特性 ==================== */
.features {
    padding: 64px 0;
    background: var(--fill-color);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius);
    color: var(--primary-color);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}



/* ==================== 关于我们 ==================== */
.about {
    padding: 64px 0;
    background: var(--fill-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 14px;
    color: var(--text-regular);
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: center;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

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

.about-stat-number {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ==================== 联系我们 ==================== */
.contact {
    padding: 64px 0;
    background: var(--bg-white);
}

.contact-content {
    margin-top: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.contact-card .contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.contact-card .contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

.contact-card-wechat {
    position: relative;
}

.contact-card-wechat p {
    cursor: pointer;
}

/* 微信二维码弹窗 */
.contact-wechat-qr-popup {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.34, 0.69, 0.1, 1), 
                visibility 0.3s cubic-bezier(0.34, 0.69, 0.1, 1),
                transform 0.3s cubic-bezier(0.34, 0.69, 0.1, 1);
    pointer-events: none;
    z-index: 100;
}

.contact-card-wechat:hover .contact-wechat-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.contact-qr-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.contact-qr-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 200px;
    animation: qrFadeIn 0.3s ease-out;
}

.contact-qr-image {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-md);
    display: block;
    margin: 0 auto 10px;
    border: 2px solid var(--border-light);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-qr-tip {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ==================== 页脚 ==================== */
.footer {
    background: #1D2129;
    color: #ffffff;
    padding: 48px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-section .brand-name {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 13px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

/* 微信二维码样式 */
.wechat-qr-wrapper {
    position: relative;
    display: inline-block;
}

.wechat-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wechat-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.wechat-trigger svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.wechat-trigger span {
    font-size: 13px;
    font-weight: 400;
}

.wechat-qr-popup {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.34, 0.69, 0.1, 1), 
                visibility 0.3s cubic-bezier(0.34, 0.69, 0.1, 1),
                transform 0.3s cubic-bezier(0.34, 0.69, 0.1, 1);
    pointer-events: none;
    z-index: 100;
}

.wechat-qr-wrapper:hover .wechat-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.qr-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.qr-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 200px;
    animation: qrFadeIn 0.3s ease-out;
}

@keyframes qrFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.wechat-qr-image {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-md);
    display: block;
    margin: 0 auto 10px;
    border: 2px solid var(--border-light);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.wechat-qr-wrapper:hover .wechat-qr-image {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: scale(1.02);
}

.qr-tip {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
}

.footer-bottom, .footer-bottom a {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 20px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat-item {
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .case-image-wrapper {
        min-height: 150px;
        max-height: 250px;
    }
    
    .case-image {
        max-height: 250px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .modal-qr {
        justify-self: center;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 56px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 56px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        transition: var(--transition);
        box-shadow: var(--shadow);
        gap: 0;
    }

    .nav-menu li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        padding: 40px 0 60px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 240px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        min-width: 80px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .wechat-qr-popup {
        left: auto;
        right: 0;
        transform: translateX(0) translateY(10px);
    }
    
    .wechat-qr-wrapper:hover .wechat-qr-popup {
        transform: translateX(0) translateY(0);
    }
    
    .qr-arrow {
        left: auto;
        right: 20px;
        transform: none;
    }
    
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .case-image-wrapper {
        min-height: 150px;
        max-height: 250px;
    }
    
    .case-image {
        max-height: 250px;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .contact-wechat-qr-popup {
        left: auto;
        right: 0;
        transform: translateX(0) translateY(10px);
    }
    
    .contact-card-wechat:hover .contact-wechat-qr-popup {
        transform: translateX(0) translateY(0);
    }
    
    .contact-qr-arrow {
        left: auto;
        right: 20px;
        transform: none;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 导航栏滚动效果 */
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}
