/* 全局样式 */
:root {
    --primary: #0066cc;
    --primary-dark: #004d99;
    --secondary: #00a8e8;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* 导航栏样式 */
.navbar {
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
    
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-left: 10px;
}

.nav-links {
    display: flex;
}

.nav-item {
    position: relative;
    margin: 0 15px;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown-category {
    padding: 8px 20px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(0, 102, 204, 0.05);
    border-bottom: 1px solid var(--light-gray);
}

.dropdown-item {
    padding: 10px 20px 10px 30px;
    border-bottom: 1px solid var(--light-gray);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 关于我们页面样式 */
.about-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.about-section:hover {
    transform: translateY(-5px);
}

.about-section h3 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f7ff;
}

.about-section h3 i {
    font-size: 1.5rem;
    color: #0066cc;
    margin-right: 15px;
}

.advantage-list {
    list-style: none;
}

.advantage-list li {
    padding: 12px 15px;
    margin-bottom: 10px;
    background: #f8faff;
    border-left: 4px solid #0066cc;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.advantage-list i {
    margin-right: 10px;
    color: #0066cc;
    font-size: 1.2rem;
}

/* 页脚样式 */
.footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}


.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary);
    margin-right: 15px;
    min-width: 20px;
}

.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: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
        display: none;
    }
    
    .dropdown.active {
        display: block;
    }
    
    .mobile-toggle {
        display: block;
    }
}

/* 联系我们页面样式 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    grid-auto-rows: 1fr; /* ✅ 关键点，让所有行等高 */
}

.contact-info {
    background: transparent;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;

}

.contact-info h3 {
    display: flex;
    align-items: center;
    margin: 25px 0 15px;
    color: #212529;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info h3 i {
    margin-right: 10px;
    color: #0066cc;
}

.contact-map {
    height: 300px;
    background: #f5f5f5;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-form {
    background: rgb(221, 219, 219);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-form h3 {
    margin-bottom: 25px;
    color: #212529;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}



/* 新闻速递页面样式 */
.news-container {
    display: grid;
    gap: 20px;
}

.news-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.news-category {
    background: #0066cc;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.news-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #212529;
}

.news-excerpt {
    color: #6c757d;
    margin-bottom: 15px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.page-link {
    padding: 8px 15px;
    border-radius: 4px;
    color: #0066cc;
    border: 1px solid #dee2e6;
}

.page-link:hover, .page-link.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

/* 合作伙伴页面样式 */
.partner-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.partner-section:hover {
    transform: translateY(-5px);
}

.partner-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.partner-header p {
    color: var(--gray);
    margin-bottom: 25px;
}

.partner-content {
    display: flex;
    gap: 30px;
    margin: 25px 0;
}

.partner-column {
    flex: 1;
}

.partner-column h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    padding-bottom: 8px;
}

.partner-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.partner-list {
    list-style: none;
}

.partner-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.partner-benefits {
    list-style: none;
}

.partner-benefits li {
    padding: 10px 0 10px 25px;
    position: relative;
}

.partner-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.partner-section .btn {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .partner-content {
        flex-direction: column;
    }
}

/* 产品详情页特有样式 */
.product-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
}

.product-hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.product-hero-text {
    flex: 1;
}

.product-hero-text h1 {
    font-size: 4.2rem;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.2;
}

.product-hero-text p {
    font-size: 1.6rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.product-hero-image {
    flex: 1;
    text-align: center;
}

.product-hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-detail {
    padding: 0;
}

.product-section {
    margin-bottom: 60px;
}

.product-section h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    line-height: 1.3;
}

.product-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.highlight-stats {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    flex: 1;
    background: rgba(0, 102, 204, 0.05);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray);
    font-size: 1.1rem;
}

.scenarios-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.scenario-item {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.scenario-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.product-cta {
    text-align: center;
    margin-top: 60px;
}

.product-cta .btn {
    margin: 0 15px;
}

.contact-form {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 8px;
    display: inline-block;
}

@media (max-width: 768px) {
    .product-hero-content {
        flex-direction: column;
    }
    
    .product-hero-text h1 {
        font-size: 2.2rem;
    }
    
    .highlight-stats {
        flex-direction: column;
    }
    
    .product-cta .btn {
        display: block;
        margin: 15px auto;
        width: 100%;
        max-width: 300px;
    }
}
