/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* 顶部通知栏 */
.top-bar {
    background-color: #f5f5f5;
    padding: 8px 0;
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* 导航栏 */
.header {
    background-color: #003366;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo-icon {
    width: 48px;
    height: 40px;
    background: linear-gradient(135deg, #0066cc, #003366);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 14px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #66b3ff;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #66b3ff;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s;
}

.phone-btn:hover {
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 16px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s;
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    background-color: #003366;
    padding: 20px;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 15px;
    z-index: 1;
}

.mobile-menu a {
    color: white;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

/* Hero区域 */
.hero {
    /*background: linear-gradient(135deg, #003366 0%, #0066cc 100%);*/
    color: white;
    /*padding: 100px 0;*/
    text-align: center;
    background: url(../image/banner.png) center center / auto auto no-repeat scroll;
}

.hero-content {
    padding: 100px 0;
    background-color: rgba(33, 150, 243, 0.30);
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,102,204,0.3);
}

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

.btn-outline:hover {
    background: white;
    color: #003366;
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

/* 统计数据 */
.stats {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

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

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* 为什么选择我们 */
.why-us {
    padding: 80px 0;
}

.why-us.bg-gray {
    background-color: #f9f9f9;
}

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

.section-header h2 {
    font-size: 28px;
    color: #003366;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 14px;
    color: #666;
}

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

.why-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.why-icon.blue {
    background: linear-gradient(135deg, #0066cc, #003366);
    color: white;
}

.why-item h3 {
    font-size: 18px;
    color: #003366;
    margin-bottom: 10px;
}

.why-item p {
    font-size: 14px;
    color: #666;
}

/* 产品区域 */
.products {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.products-grid.full {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    color: #003366;
    margin-bottom: 10px;
}

.product-specs {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.view-more {
    color: #0066cc;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.view-more:hover {
    gap: 10px;
}

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

/* 关于我们区域 */
.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-top: 24px;
}

.about-content.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 28px;
    color: #003366;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 企业资质 */
.qualifications {
    padding: 80px 0;
}

.qualifications.bg-gray {
    background-color: #f9f9f9;
}

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

.qualification-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.qualification-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.qualification-info {
    padding: 15px;
}

.qualification-info h4 {
    font-size: 16px;
    color: #003366;
    margin-bottom: 5px;
}

.qualification-info p {
    font-size: 12px;
    color: #666;
}

/* 合作机构 */
.partners {
    padding: 80px 0;
    background-color: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item img {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* 页脚 */
.footer {
    background-color: #003366;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #66b3ff;
}

.footer-column p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

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

.footer-column ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: #66b3ff;
}

.icon {
    margin-right: 5px;
}

.qr-code {
    margin-top: 15px;
}

.qr-code img {
    width: 100px;
    height: 100px;
    border-radius: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.6;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 14px;
    opacity: 0.9;
}

/* 产品列表页 */
.products-list {
    padding: 60px 0;
}

/* 联系信息 */
.contact-info {
    padding: 60px 0;
}

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

.contact-card {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 18px;
    color: #003366;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.contact-note {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 询价表单 */
.inquiry-section {
    padding: 60px 0;
}

.inquiry-section.bg-gray {
    background-color: #f9f9f9;
}

.inquiry-content {
    display: flex;
    gap: 40px;
}

.inquiry-form-wrapper {
    flex: 2;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.inquiry-form-wrapper h2 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 10px;
}

.inquiry-form-wrapper > p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.inquiry-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-card h3 {
    font-size: 18px;
    color: #003366;
    margin-bottom: 15px;
}

.sidebar-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.sidebar-card .btn {
    width: 100%;
    text-align: center;
}

.sidebar-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 15px;
}

.sidebar-card.advantages ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.check-icon {
    color: #28a745;
    font-weight: bold;
}

/* 产品详情页 */
.product-detail {
    padding: 40px 0 60px;
}

.product-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-detail-header h1 {
    font-size: 28px;
    color: #003366;
}

.product-detail-content {
    display: flex;
    gap: 40px;
}

.product-main {
    flex: 2;
}

.product-image-large {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.product-image-large img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.spec-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.spec-value {
    display: block;
    font-size: 18px;
    color: #003366;
    font-weight: bold;
}

.product-description-section {
    margin-bottom: 30px;
}

.product-description-section h2 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 15px;
}

.product-description-section p {
    font-size: 14px;
    color: #666;
}

.product-features-section {
    margin-bottom: 30px;
}

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

.feature-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
}

.feature-box h3 {
    font-size: 16px;
    color: #003366;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    font-size: 20px;
}

.feature-box ul {
    list-style: none;
}

.feature-box ul li {
    padding: 5px 0;
    font-size: 14px;
    color: #666;
    position: relative;
    padding-left: 15px;
}

.feature-box ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0066cc;
}

.feature-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.download-section {
    margin-top: 30px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0066cc;
    font-size: 14px;
    font-weight: 500;
}

.download-icon {
    font-size: 20px;
}

.product-sidebar {
    flex: 1;
}

.sidebar-card.inquiry {
    background: linear-gradient(135deg, #003366, #0066cc);
    color: white;
}

.sidebar-card.inquiry h3 {
    color: white;
}

.sidebar-card.inquiry p {
    color: rgba(255,255,255,0.8);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

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

    .phone-btn {
        display: none;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .stats-grid {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 45%;
    }

    .about-content,
    .about-content.reverse {
        flex-direction: column;
    }

    .inquiry-content,
    .product-detail-content {
        flex-direction: column;
    }

    .product-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        /*padding: 60px 0;*/
    }

    .hero-content {
        padding: 36px 0;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .products-grid.full {
        grid-template-columns: 1fr;
    }

    .qualifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .form-row {
        flex-direction: column;
    }

    .product-detail-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .product-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .qualifications-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-specs-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 28px;
    }
}
