/* ============================================
   公司官网 - 核心样式表
   现代化、响应式设计
   ============================================ */

/* CSS 变量 - 全局配色 */
:root {
    --primary-color: #2563eb;      /* 主色：专业蓝 */
    --primary-dark: #1d4ed8;       /* 深蓝 */
    --primary-light: #dbeafe;      /* 浅蓝 */
    --secondary-color: #0f172a;    /* 深色：文字、导航 */
    --accent-color: #10b981;       /* 强调色：绿色 */
    --text-dark: #1e293b;          /* 深色文字 */
    --text-light: #64748b;         /* 浅色文字 */
    --text-muted: #94a3b8;         /* 灰色文字 */
    --bg-white: #ffffff;           /* 白色背景 */
    --bg-light: #f8fafc;           /* 浅灰背景 */
    --bg-gray: #f1f5f9;            /* 灰色背景 */
    --border-color: #e2e8f0;       /* 边框色 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* 重置 & 基础 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ============================================
   通用组件
   ============================================ */

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

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

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
}

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

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

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

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

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

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 36px;
    font-size: 1.1rem;
}

/* ============================================
   导航栏
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 4px 0;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   Hero 区域（首页横幅）
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.04) 0%, transparent 30%);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-content h1 .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-content .hero-desc {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image .image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--primary-color);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.hero-image .image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15) 0%, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.1) 0%, transparent 30%);
}

.hero-stats {
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-around;
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

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

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ============================================
   通用内容区块
   ============================================ */

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-light);
}

/* ============================================
   服务/产品卡片
   ============================================ */

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

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

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

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.card-icon.blue {
    background: var(--primary-light);
    color: var(--primary-color);
}

.card-icon.green {
    background: #d1fae5;
    color: var(--accent-color);
}

.card-icon.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.card-icon.orange {
    background: #ffedd5;
    color: #f97316;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

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

/* ============================================
   特性列表
   ============================================ */

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 2px;
}

.feature-item:nth-child(1) .feature-check { background: #dbeafe; color: #2563eb; }
.feature-item:nth-child(2) .feature-check { background: #d1fae5; color: #059669; }
.feature-item:nth-child(3) .feature-check { background: #ede9fe; color: #7c3aed; }
.feature-item:nth-child(4) .feature-check { background: #ffedd5; color: #ea580c; }

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ============================================
   关于页 - 内容布局
   ============================================ */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-image {
    position: relative;
}

.content-image .image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    overflow: hidden;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    position: relative;
}

.content-image .image-placeholder::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.03) 20px,
        rgba(255, 255, 255, 0.03) 40px
    );
}

.content-image .image-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
}

.content-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.content-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.content-text .lead {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================
   数据/信任区域
   ============================================ */

.stats-bar {
    background: var(--secondary-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    color: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item:nth-child(1) .number { color: #60a5fa; }
.stat-item:nth-child(2) .number { color: #34d399; }
.stat-item:nth-child(3) .number { color: #a78bfa; }
.stat-item:nth-child(4) .number { color: #fbbf24; }

.stat-item .label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   CTA 区域
   ============================================ */

.cta-section {
    background: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 50%, rgba(255,255,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 50%, rgba(255,255,255,0.06) 0%, transparent 40%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   联系页
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.contact-item-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group .hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-submit {
    width: 100%;
}

/* ============================================
   服务页 - 详情卡片
   ============================================ */

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail-card:last-child {
    margin-bottom: 0;
}

.service-detail-card.reverse {
    direction: rtl;
}

.service-detail-card.reverse > * {
    direction: ltr;
}

.service-detail-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.service-detail-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.service-detail-text ul {
    margin-bottom: 24px;
}

.service-detail-text ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 1rem;
}

.service-detail-text ul li::before {
    content: '✓';
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.service-detail-image .image-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
    overflow: hidden;
}

/* ============================================
   页脚
   ============================================ */

.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 0;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: var(--primary-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   页面标题横幅
   ============================================ */

.page-header {
    background: var(--bg-light);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

/* ============================================
   滚动动画
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   响应式设计
   ============================================ */

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-cta .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content .hero-desc {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-stats {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 30px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-grid.reverse,
    .content-grid {
        direction: ltr;
    }
    
    .stats-bar .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .service-detail-card.reverse {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.875rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .contact-form {
        padding: 24px;
    }
}

/* ============================================
   移动端菜单
   ============================================ */

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 20px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 14px 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-nav a.active {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* ============================================
   首页美化增强 - 新闻、服务、合作伙伴
   ============================================ */

/* --- 新闻卡片美化 --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.news-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
}

.news-image span {
    font-size: 0.85rem;
}

.news-card:hover .news-image {
    background: var(--primary-light);
}

.news-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    z-index: 2;
}

.news-tag.green { background: #059669; }
.news-tag.purple { background: #7c3aed; }
.news-tag.orange { background: #ea580c; }

.news-date {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 2;
}

.news-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.5;
    margin-bottom: 12px;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.news-link:hover {
    gap: 10px;
}

/* --- 服务卡片美化 --- */
.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

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

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

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

.service-card .card-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 24px;
    transition: transform 0.4s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 14px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 服务卡片颜色变体 */
.service-card.blue-top::before { background: var(--primary-color); }
.service-card.green-top::before { background: var(--accent-color); }
.service-card.purple-top::before { background: #7c3aed; }
.service-card.orange-top::before { background: #ea580c; }
.service-card.cyan-top::before { background: #06b6d4; }

/* --- 合作伙伴美化 --- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.partner-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.partner-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.partner-logo {
    width: 72px;
    height: 72px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.8rem;
    margin-bottom: 16px;
    transition: var(--transition);
}

.partner-item:hover .partner-logo {
    background: var(--primary-light);
    color: var(--primary-color);
    transform: scale(1.05);
}

.partner-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.4;
}

/* 响应式 */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .partner-item { min-height: 130px; padding: 28px 12px; }
    .partner-logo { width: 56px; height: 56px; font-size: 1.4rem; }
    .service-card { padding: 36px 24px; }
}

@media (max-width: 480px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-item { min-height: 110px; padding: 20px 10px; }
    .partner-logo { width: 48px; height: 48px; font-size: 1.2rem; }
}
