/* 瀚海渊智科技官网样式 - 探索知识海洋，开启智慧之旅 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #e1e5e9;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo h2 {
    color: #1565C0;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #1565C0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #1565C0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 主要内容 */
main {
    margin-top: 60px;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #4FC3F7 0%, #1565C0 100%);
    color: white;
    text-align: center;
    padding: 25px 20px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.hero-description {
    font-size: 0.85rem;
    max-width: 450px;
    margin: 0 auto;
    opacity: 0.8;
    line-height: 1.4;
}

/* 产品区域 */
.products {
    padding: 30px 0;
    background: white;
}

.products h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #333;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.product-card.tidal {
    border-left: 4px solid #4FC3F7;
}

.product-card.neura {
    border-left: 4px solid #9C27B0;
}

.product-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #333;
}

.product-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.feature-tag {
    background: #f5f5f5;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
}

.btn-primary {
    background: #1565C0;
    color: white;
}

.btn-primary:hover {
    background: #0D47A1;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #1565C0;
    border: 2px solid #1565C0;
}

.btn-secondary:hover {
    background: #1565C0;
    color: white;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.contact-info h3,
.about-values h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-item {
    margin-bottom: 12px;
    font-size: 1rem;
}

.contact-label {
    font-weight: 600;
    color: #555;
}

.contact-item a {
    color: #1565C0;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.about-values ul {
    list-style: none;
}

.about-values li {
    margin-bottom: 16px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.about-values li:before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 0;
}

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

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

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* 隐私政策页面 */
.privacy-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
}

.privacy-page h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: 1.8rem;
    color: #1565C0;
    margin-bottom: 16px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

.privacy-section h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 24px 0 12px 0;
}

.privacy-section p {
    line-height: 1.8;
    margin-bottom: 16px;
    color: #555;
}

.privacy-section ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.privacy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #555;
}

.privacy-section .contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.privacy-section .contact-info p {
    margin-bottom: 8px;
}

.privacy-section .contact-info a {
    color: #1565C0;
    text-decoration: none;
}

.privacy-section .contact-info a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-links {
        justify-content: center;
    }
    
    .privacy-page {
        padding: 20px 10px;
    }
    
    .privacy-page h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .products,
    .about {
        padding: 60px 0;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .btn {
        flex: 1;
        min-width: 100px;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .product-links {
        justify-content: center;
    }
}

/* 下载弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #4FC3F7, #1565C0);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.modal-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    transition: opacity 0.2s ease;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.download-option {
    text-align: center;
    padding: 25px 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.download-option:hover {
    border-color: #4FC3F7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.2);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.download-option h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
}

.download-option p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

.download-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.download-btn.available {
    background: linear-gradient(135deg, #4FC3F7, #1565C0);
    color: white;
}

.download-btn.available:hover {
    background: linear-gradient(135deg, #29B6F6, #0D47A1);
    transform: translateY(-1px);
}

.download-btn.unavailable {
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

/* 响应式下载弹窗 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .download-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .download-option {
        padding: 20px 15px;
    }
}