/**
 * 浠索智能官网主样式表
 * 珠海市浠索智能科技有限公司
 * www.xisuoai.com
 * 
 * 设计风格：现代科技简约风、商务稳重、科技蓝灰色调
 */

/* ==================== CSS Variables ==================== */
:root {
    /* 主色调 - 科技蓝 */
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    
    /* 辅助色 - 科技灰 */
    --secondary-color: #475569;
    --secondary-light: #64748b;
    --secondary-dark: #334155;
    
    /* 强调色 */
    --accent-color: #0ea5e9;
    --accent-light: #38bdf8;
    
    /* 中性色 */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --black: #000000;
    
    /* 功能色 */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    
    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-mono: "SF Mono", Monaco, "Cascadia Code", Consolas, monospace;
    
    /* 字号 */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* 圆角 */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* 阴影 */
    --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 -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* 过渡 */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* 容器 */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

/* ==================== Reset & Base ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* ==================== Container ==================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--spacing-md);
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-size: var(--text-base);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--text-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
}

/* ==================== Header ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-top {
    background: var(--gray-900);
    color: var(--gray-300);
    font-size: var(--text-sm);
    padding: 0.5rem 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: var(--spacing-lg);
}

.header-contact span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.header-social a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.header-social a:hover {
    color: var(--white);
}

/* Main Navigation */
.main-nav {
    padding: 0.75rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

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

.logo-text small {
    font-size: var(--text-xs);
    color: var(--gray-500);
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-menu li a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

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

.nav-menu li a:hover::after,
.nav-menu li.active a::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-base);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-md);
}

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

.mobile-nav-menu li {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu li a {
    display: block;
    padding: var(--spacing-md);
    color: var(--gray-700);
    font-weight: 500;
}

/* ==================== Hero Section ==================== */
.hero-section {
    position: relative;
    margin-top: 98px;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-900);
}

.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 64, 175, 0.7) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--white);
    padding: 0 var(--spacing-3xl);
}

.hero-slide-content h1 {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-slide-content p {
    font-size: var(--text-xl);
    color: var(--gray-200);
    max-width: 600px;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-slide-content .btn {
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

/* Hero Slider Controls */
.hero-slider-nav {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 10;
}

.hero-slider-nav .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero-slider-nav .dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.hero-slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
    z-index: 10;
    pointer-events: none;
}

.hero-slider-arrows button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: var(--text-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: auto;
    backdrop-filter: blur(4px);
}

.hero-slider-arrows button:hover {
    background: var(--primary-color);
}

/* ==================== Section Styles ==================== */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

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

.section-header .subtitle {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

/* Dark Section */
.section-dark {
    background: var(--gradient-dark);
    color: var(--white);
}

.section-dark .section-header h2,
.section-dark .section-header p {
    color: var(--white);
}

/* Gray Section */
.section-gray {
    background: var(--gray-50);
}

/* ==================== Features/Services Grid ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-2xl);
}

.feature-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--gray-600);
    margin: 0;
}

/* ==================== Products/Solutions Grid ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 64, 175, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-image .overlay {
    opacity: 1;
}

.product-content {
    padding: var(--spacing-lg);
}

.product-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-sm);
}

.product-content p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin: 0;
}

/* ==================== News Grid ==================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.news-content {
    padding: var(--spacing-lg);
}

.news-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: var(--spacing-sm);
}

.news-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content h3 a:hover {
    color: var(--primary-color);
}

.news-content p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.news-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* ==================== About Section ==================== */
.about-section .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-content h2 {
    margin-bottom: var(--spacing-md);
}

.about-content .lead {
    font-size: var(--text-lg);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.about-feature-item .icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.about-feature-item h4 {
    font-size: var(--text-base);
    margin-bottom: 0.25rem;
}

.about-feature-item p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ==================== Stats Section ==================== */
.stats-section {
    background: var(--gradient-primary);
    padding: var(--spacing-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 700;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--text-base);
    opacity: 0.9;
}

/* ==================== CTA Section ==================== */
.cta-section {
    background: var(--gradient-dark);
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.cta-content h2 {
    color: var(--white);
    font-size: var(--text-3xl);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: var(--gray-300);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

/* ==================== Page Banner ==================== */
.page-banner {
    position: relative;
    margin-top: 98px;
    height: 300px;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/pattern.png') repeat;
    opacity: 0.1;
}

.page-banner-content {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: var(--text-4xl);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: var(--text-sm);
    color: var(--gray-300);
}

.breadcrumb a {
    color: var(--gray-300);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: var(--gray-500);
}

.breadcrumb .current {
    color: var(--white);
}

/* ==================== Article Content ==================== */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-2xl) 0;
}

.article-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.article-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--spacing-md);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    color: var(--gray-500);
    font-size: var(--text-sm);
}

.article-body {
    line-height: 1.8;
    color: var(--gray-700);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.article-body p {
    margin-bottom: var(--spacing-md);
}

.article-body img {
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) 0;
}

.article-body ul,
.article-body ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.article-body li {
    margin-bottom: var(--spacing-sm);
    list-style: disc;
}

.article-body ol li {
    list-style: decimal;
}

/* ==================== Comments ==================== */
.comments-section {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--gray-200);
}

.comments-title {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-lg);
}

.comment-form {
    margin-bottom: var(--spacing-2xl);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.comment-list {
    margin-top: var(--spacing-xl);
}

.comment-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--gray-100);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.comment-author {
    font-weight: 600;
    color: var(--gray-800);
}

.comment-date {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.comment-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ==================== Contact Page ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.contact-info {
    background: var(--gray-50);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
}

.contact-info h3 {
    margin-bottom: var(--spacing-lg);
}

.contact-list li {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-200);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list .icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-list .info h4 {
    font-size: var(--text-base);
    margin-bottom: 0.25rem;
}

.contact-list .info p {
    color: var(--gray-600);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    margin-bottom: var(--spacing-lg);
}

/* ==================== Footer ==================== */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-main {
    padding: var(--spacing-3xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--white);
}

.footer-desc {
    font-size: var(--text-sm);
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: var(--text-base);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.footer-contact li i {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: var(--spacing-md) 0;
}

.copyright {
    text-align: center;
    font-size: var(--text-sm);
}

.copyright p {
    margin: 0.25rem 0;
}

.copyright a {
    color: var(--gray-400);
}

.copyright a:hover {
    color: var(--white);
}

.copyright .divider {
    margin: 0 var(--spacing-sm);
    color: var(--gray-600);
}

/* ==================== Back to Top ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    color: var(--white);
}

/* ==================== Floating Contact ==================== */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.float-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    color: var(--white);
}

/* ==================== Pagination ==================== */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-2xl);
}

.pagination {
    display: flex;
    gap: var(--spacing-xs);
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-sm);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.pagination li a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination li.active span {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ==================== Icons (Simple CSS Icons) ==================== */
[class^="icon-"]::before {
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
}

.icon-phone::before { content: ""; }
.icon-email::before { content: ""; }
.icon-location::before { content: ""; }
.icon-globe::before { content: ""; }
.icon-wechat::before { content: ""; }
.icon-arrow-up::before { content: ""; }
.icon-message::before { content: ""; }

/* ==================== Keyframes ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================== Utility Classes ==================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.bg-gray { background: var(--gray-50); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: var(--spacing-lg); }
