/* ===================================
   瑞特良企业官网 全局样式
   =================================== */

/* 变量定义 */
:root {
    --primary-color: #0056b3;
    --primary-dark: #004494;
    --secondary-color: #17a2b8;
    --accent-color: #ffc107;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e9ecef;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
}

/* 顶部栏 */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    height: 36px;
    display: flex;
    align-items: center;
}

.top-bar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    color: #ffc107;
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.lang-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 20px;
    transition: var(--transition);
}

.lang-link:hover,
.lang-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: #fff;
    box-shadow: var(--shadow);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .logo {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
}

.navbar-brand .company-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
}

.navbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-contact .phone {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: bold;
}

.navbar-contact .lang {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.navbar-nav {
    display: flex;
    gap: 30px;
}

.navbar-nav a {
    font-size: 15px;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary-color);
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* 页面内容偏移（为固定导航栏） */
.page-content {
    padding-top: 106px;
}

/* 轮播图 */
.hero-slider {
    position: relative;
    height: calc(100vh - 106px);
    min-height: 500px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.4) 0%, rgba(26, 26, 46, 0.35) 100%);
}

.hero-slide-content {
    position: absolute;
    z-index: 2;
    max-width: 1200px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 150px;
    color: #fff;
    text-align: left;
    width: 100%;
    padding: 0 15px;
}

.hero-slide-content h1 {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-slide-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--text-dark);
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
}

.hero-slide-content .btn:hover {
    background: #e6ac00;
    transform: translateY(-2px);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* 数字统计 */
.stats-section {
    padding: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.stat-item {
    text-align: center;
    padding: 45px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
}

.stat-item:nth-child(odd) {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
}

.stat-item:nth-child(even) {
    background: linear-gradient(135deg, #0066cc 0%, #0056b3 100%);
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child::after {
    display: none;
}

.stat-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* 通用区块 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-light);
}

.section-title .en {
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 产品展示 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.product-card-content {
    padding: 20px;
}

.product-card-code {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 8px;
}

.product-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

.section-footer .btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.section-footer .btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* 新闻列表 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.news-card-image {
    height: 200px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    padding: 25px;
}

.news-card-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.4;
}

.news-card h3:hover {
    color: var(--primary-color);
}

.news-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-card .read-more {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.news-card .read-more:hover {
    text-decoration: underline;
}

/* 合作伙伴 */
.partners-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.partners-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden;
}

.partners-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 150px;
    height: 80px;
    transition: var(--transition);
}

.partner-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.partner-item span {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

/* CTA区域 */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition);
}

.cta-buttons .btn-primary {
    background: #fff;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: var(--accent-color);
    color: var(--text-dark);
}

.cta-buttons .btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.cta-buttons .btn-outline:hover {
    background: #fff;
    color: var(--primary-color);
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand .logo {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 10px;
}

.footer-brand .name {
    font-size: 18px;
    font-weight: bold;
}

.footer-brand .name-en {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-section ul {
    columns: 2;
    column-gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
    break-inside: avoid;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-contact {
    columns: 1 !important;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a:hover {
    color: #fff;
}

/* 关于我们页面 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 120px 0 60px;
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.about-intro {
    padding: 80px 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-intro-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #fff;
}

.about-intro-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-intro-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 产品中心页面 */
.products-page {
    padding: 80px 0;
}

.products-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 新闻动态页面 */
.news-page {
    padding: 80px 0;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 联系我们页面 */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary-dark);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination .active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow);
        display: none;
        z-index: 1000;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .navbar-nav a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-dark);
    }
    
    .navbar-nav a:hover,
    .navbar-nav a.active {
        background: #f8f9fa;
        color: var(--primary-color);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-item:last-child::after {
        display: block;
        bottom: 0;
        right: 50%;
        top: auto;
        width: 60px;
        height: 1px;
        transform: translateX(50%);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .products-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
    
    .hero-slide-content h1 {
        font-size: 32px;
    }
    
    .hero-slide-content p {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .products-grid,
    .news-grid,
    .products-list {
        grid-template-columns: 1fr;
    }
    
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    /* 顶部栏移动端 */
    .top-bar {
        padding: 6px 0;
        font-size: 12px;
    }
    
    .top-bar-right {
        gap: 10px;
    }
    
    .lang-link {
        padding: 3px 8px;
        font-size: 12px;
    }
    
    /* 导航栏移动端样式优化 */
    .navbar-container {
        padding: 10px 15px;
    }
    
    .navbar-brand .company-name {
        font-size: 14px;
    }
    
    .navbar-contact {
        display: none;
    }
    
    .navbar-nav a {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* 页面头部移动端 */
    .page-header {
        padding: 100px 0 50px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .page-header .breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    /* 轮播图移动端 */
    .hero-slider {
        height: 400px;
        min-height: 400px;
    }
    
    .hero-slide-content {
        left: 50%;
        transform: translateX(-50%);
        bottom: 80px;
        padding: 0 20px;
        width: 100%;
    }
    
    .hero-slide-content h1 {
        font-size: 28px;
    }
    
    .hero-slide-content p {
        font-size: 14px;
    }
    
    .hero-slide-content .subtitle {
        font-size: 14px;
    }
    
    .hero-slide-content .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* 统计数字移动端 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        padding: 0;
    }
    
    .stat-item {
        padding: 30px 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* 产品列表移动端 */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .product-card {
        margin-bottom: 0;
    }
    
    .product-card-image {
        height: 120px;
    }
    
    .product-card-content {
        padding: 15px;
    }
    
    .product-card-content h3 {
        font-size: 14px;
    }
    
    .product-card-content p {
        font-size: 12px;
    }
    
    /* 新闻列表移动端 */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-card-image {
        width: 100%;
        height: 180px;
    }
    
    .news-card-content {
        padding: 15px;
    }
    
    /* 关于页面移动端 */
    .about-intro-grid,
    .about-features-grid,
    .about-history-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-feature-item {
        padding: 20px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
        padding-right: 0;
    }
    
    /* 合作伙伴移动端 */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .partner-item {
        padding: 15px;
    }
    
    /* 联系页面移动端 */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .contact-info-item {
        padding: 15px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    /* Footer移动端 */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 0 15px;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-section h3 {
        font-size: 16px;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-qr-container {
        justify-content: center;
    }
    
    /* 产品详情移动端 */
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .product-detail-image {
        aspect-ratio: 4/3;
    }
    
    .product-detail-content h2 {
        font-size: 24px;
    }
    
    /* 新闻详情移动端 */
    .news-detail-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h2 {
        font-size: 20px;
    }
    
    /* 应用场景移动端 */
    .scenarios-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .scenario-card-image {
        height: 150px;
    }
    
    /* 分页移动端 */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    /* 按钮移动端 */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* 表单移动端 */
    .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* 图片弹窗移动端 */
    .modal-content {
        margin: 10px;
        max-height: 90vh;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .hero-slide-content h1 {
        font-size: 20px;
    }
    
    .hero-slide-content .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .product-card-image {
        height: 100px;
    }
    
    .product-card-content {
        padding: 10px;
    }
    
    .product-card-content h3 {
        font-size: 12px;
        font-weight: bold;
    }
    
    .page-header h1 {
        font-size: 22px;
    }
    
    .news-card-content h3 {
        font-size: 14px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
    
    /* 后台管理移动端优化 */
    .admin-sidebar {
        width: 200px;
    }
    
    .admin-content {
        margin-left: 200px;
        padding: 15px;
    }
    
    .admin-table {
        font-size: 12px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px 5px;
    }
}

/* 大屏幕优化 */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-slide-content {
        max-width: 600px;
    }
}

/* 平板横屏适配 */
@media (min-width: 768px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 40px;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--border-color);
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.empty-state p {
    font-size: 14px;
}
