:root {
    --primary-color: #0066cc;
    --secondary-color: #00a0e9;
    --dark-color: #1a2b50;
    --light-color: #f8f9fa;
    --accent-color: #ff6b00;
}

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

body {
    font-family: 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
    background: linear-gradient(135deg, #e0f2ff 0%, #f8f9fa 100%);
}

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

/* 导航栏整体美化与防换行修复 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 4px 24px rgba(0,102,204,0.08);
    border-bottom: 1.5px solid #e6f0fa;
    /* 防止内容溢出 */
    overflow-x: auto;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    color: var(--primary-color);
    letter-spacing: 2px;
    font-size: 24px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,102,204,0.08);
    white-space: nowrap;
}

/* 导航栏链接美化与防换行 */
.nav-links {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
    white-space: nowrap;
    flex-wrap: nowrap;
    flex-shrink: 1;
    overflow-x: auto;
    max-width: 100vw;
    padding-left: 0;
    margin-left: 0;
    scrollbar-width: none; /* Firefox */
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links li {
    margin-left: 0;
    position: relative;
    flex-shrink: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 17px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 24px;
    transition: 
        color 0.25s,
        background 0.25s,
        box-shadow 0.25s,
        transform 0.18s;
    letter-spacing: 1px;
    background: transparent;
    box-shadow: none;
    position: relative;
    z-index: 1;
    display: inline-block;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #fff;
    background: linear-gradient(90deg, #00a0e9 0%, #0066cc 100%);
    box-shadow: 0 4px 18px rgba(0,102,204,0.13);
    transform: translateY(-2px) scale(1.06);
}

.nav-links a::after {
    content: '';
    display: block;
    margin: 0 auto;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00a0e9 0%, #ff6b00 100%);
    border-radius: 2px;
    transition: width 0.25s;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 60%;
}

/* 英雄区域 */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(120deg, #0066cc 0%, #00a0e9 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,102,204,0.10);
    margin-top: -70px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    left: -80px;
    top: 40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #fff 0%, #00a0e9 80%, transparent 100%);
    opacity: 0.12;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: 60px;
    width: 100%;
    text-align: center;
}

.hero h1 {
    font-size: 54px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-shadow: 0 6px 24px rgba(0,102,204,0.18);
}

.hero p {
    font-size: 22px;
    margin-bottom: 36px;
    color: #fff; /* 原为 #e0f2ff，改为纯白更突出 */
    text-shadow: 0 2px 8px rgba(0,102,204,0.10);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 32px;
}

.hero-buttons .btn {
    background: linear-gradient(90deg, #00a0e9 0%, #0066cc 100%);
    color: #fff;
    border: none;
    border-radius: 28px;
    padding: 14px 38px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 6px 24px rgba(0,102,204,0.15);
    transition: background 0.3s, transform 0.18s, box-shadow 0.3s;
    cursor: pointer;
    letter-spacing: 1px;
    outline: none;
    margin: 0;
    display: inline-block;
}

.hero-buttons .btn.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 16px rgba(0,160,233,0.10);
}

.hero-buttons .btn:hover,
.hero-buttons .btn:focus {
    background: linear-gradient(90deg, #ff6b00 0%, #00a0e9 100%);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0,102,204,0.18);
}

.hero-buttons .btn.btn-outline:hover,
.hero-buttons .btn.btn-outline:focus {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

/* 按钮美化 */
.btn, .product-btn {
    background: linear-gradient(90deg, #0066cc 0%, #00a0e9 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0,102,204,0.10);
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    cursor: pointer;
}

.btn:hover, .product-btn:hover {
    background: linear-gradient(90deg, #00a0e9 0%, #0066cc 100%);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 32px rgba(0,102,204,0.18);
    color: #fff;
}

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

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

/* 关于我们 */
.section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 38px;
    color: var(--primary-color);
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #0066cc 0%, #00a0e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title h2::after {
    content: '';
    display: block;
    margin: 12px auto 0;
    width: 90px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #00a0e9 0%, #ff6b00 100%);
}

.section-title p {
    color: #444;
    font-size: 18px;
    margin-top: 18px;
}

/* 产品中心 */
.products {
    background-color: var(--light-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,102,204,0.08);
    border: 1.5px solid #e6f0fa;
    transition: box-shadow 0.3s, transform 0.2s;
    overflow: hidden;
    background: #fff;
}

.product-card:hover {
    box-shadow: 0 16px 48px rgba(0,102,204,0.16);
    transform: translateY(-8px) scale(1.03);
    border-color: #00a0e9;
}

.product-image {
    height: 220px;
    background: linear-gradient(90deg, #e0f2ff 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,102,204,0.06);
    background: #fff;
}

.product-content {
    padding: 25px;
}

.product-title {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 12px;
}

.product-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.product-features li {
    color: #0066cc;
    font-size: 15px;
    margin-bottom: 10px;
    padding-left: 36px;
    position: relative;
    line-height: 1.8;
}

.product-features li::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a0e9 0%, #0066cc 100%);
    position: absolute;
    left: 0;
    top: 2px;
    box-shadow: 0 2px 8px rgba(0,160,233,0.10);
}

.product-features li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 7px;
    width: 8px;
    height: 4px;
    border-left: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
    transform: rotate(-45deg);
    border-radius: 1px;
    box-sizing: border-box;
}

.product-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
}

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

/* 联系我们 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: linear-gradient(135deg, #e0f2ff 0%, #f8f9fa 100%);
    padding: 36px 24px 28px 24px;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,102,204,0.10);
    text-align: center;
    transition: box-shadow 0.3s, transform 0.2s;
    border: 1.5px solid #e6f0fa;
    margin-bottom: 10px;
}

.contact-card:hover {
    box-shadow: 0 16px 48px rgba(0,102,204,0.18);
    transform: translateY(-6px) scale(1.03);
    border-color: #00a0e9;
    background: linear-gradient(135deg, #e0f2ff 0%, #d0eaff 100%);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00a0e9 0%, #0066cc 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 36px;
    box-shadow: 0 4px 16px rgba(0,102,204,0.10);
    position: relative;
}

.contact-icon.phone::before {
    content: "\260E";
    /* Unicode 电话图标 ☎ */
    font-size: 38px;
    display: block;
    line-height: 1;
}

.contact-icon.address::before {
    content: "\1F4CD";
    /* Unicode 地图标📍，部分系统支持 */
    font-size: 38px;
    display: block;
    line-height: 1;
}

.contact-icon.email::before {
    content: "\2709";
    /* Unicode 信封图标 ✉ */
    font-size: 38px;
    display: block;
    line-height: 1;
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.contact-card p {
    color: #444;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.8;
    word-break: break-all;
}

/* 页脚 */
footer {
    background: linear-gradient(90deg, #0066cc 0%, #1a2b50 100%);
    color: #fff;
    padding: 60px 0 18px;
    box-shadow: 0 -2px 16px rgba(0,102,204,0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 24px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

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

.footer-column p {
    margin-bottom: 15px;
    color: #bbb;
}

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

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

.footer-links a {
    color: #e0f2ff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6b00;
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00a0e9 0%, #0066cc 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,102,204,0.10);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #ff6b00;
    color: #fff;
    transform: scale(1.1);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0f2ff;
    font-size: 15px;
    letter-spacing: 1px;
}

/* 添加ICP备案链接样式 */
.copyright a {
    color: #999; /* 浅灰色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #fff; /* 鼠标悬停时变为白色 */
    text-decoration: underline;
}

/* 产品表格样式 */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px 0;
    font-size: 15px;
    background: #f8fafd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,160,233,0.06);
}
.product-table th, .product-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #e6f0fa;
    text-align: left;
}
.product-table th {
    background: #e0f2ff;
    color: #0066cc;
    font-weight: 700;
    width: 120px;
}
.product-table tr:last-child td, .product-table tr:last-child th {
    border-bottom: none;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .product-title {
        font-size: 20px;
    }
}


@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .logo {
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        overflow-x: visible;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    .nav-links a {
        display: block;
        width: 100vw;
        max-width: 100%;
        font-size: 18px;
        padding: 14px 0;
        border-radius: 0;
        margin: 0;
        border-bottom: 1px solid #e6f0fa;
        background: transparent;
        color: var(--primary-color);
        box-shadow: none;
        transition: background 0.2s, color 0.2s;
    }
    .nav-links a:hover,
    .nav-links a:focus {
        background: linear-gradient(90deg, #00a0e9 0%, #0066cc 100%);
        color: #fff;
    }
    header {
        position: static;
        box-shadow: 0 2px 8px rgba(0,102,204,0.08);
    }
}

@media (max-width: 600px) {
    .hero {
        height: auto;
        min-height: unset;
        padding: 80px 0 40px 0;
        margin-top: 0;
        display: block;
    }
    .hero-content {
        padding-top: 80px;
        padding-bottom: 30px;
    }
    header {
        position: static;
        box-shadow: 0 2px 8px rgba(0,102,204,0.08);
    }
    .section-title h2 {
        font-size: 20px;
    }
    .product-features {
        font-size: 15px;
    }
    .container {
        padding: 0 6px;
    }
    .btn, .product-btn {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 10px;
    }
    .section {
        padding: 40px 0;
    }
    /* 只对 grid 容器设置 grid 列数 */
    .product-grid,
    .footer-content,
    .contact-info {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    /* 只对 flex 容器设置方向 */
    .about-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .product-card, .about-image, .about-text {
        min-width: 0 !important;
    }
    nav .nav-links {
        flex-direction: column;
        gap: 8px;
    }
}