/* 重置和基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    box-shadow: 0 2px 15px rgba(0, 102, 204, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.logo-icon {
    font-size: 28px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    background: linear-gradient(135deg, #ffffff 0%, #e6f2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0066cc);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 60px;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #e6f2ff 50%, #f0f8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 150, 200, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInDown 0.8s ease;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    animation: slideInUp 0.8s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease;
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0066cc, #00d4ff);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #003d99, #0066cc);
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    top: 50%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

/* 按钮样式 */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: white;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-secondary:hover {
    background: #f0f8ff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
}

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

/* 功能特性区域 */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f2ff 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
    background: linear-gradient(135deg, #e6f2ff 0%, #d0e8ff 100%);
    border-color: rgba(0, 102, 204, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0066cc;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 关于我们区域 */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
}

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

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0066cc;
}

.about-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
}

.stat-item h3 {
    font-size: 28px;
    color: #0066cc;
    margin-bottom: 5px;
}

.stat-item p {
    color: #999;
    margin: 0;
}

.tech-illustration {
    position: relative;
    height: 300px;
}

.illus-item {
    position: absolute;
    border-radius: 10px;
    background: linear-gradient(135deg, #0066cc, #00d4ff);
    opacity: 0.1;
}

.item-1 {
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    animation: rotate 20s linear infinite;
}

.item-2 {
    width: 100px;
    height: 100px;
    bottom: 20px;
    right: 30px;
    animation: rotate 15s linear reverse infinite;
}

.item-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    animation: rotate 25s linear infinite;
}

.item-4 {
    width: 120px;
    height: 120px;
    bottom: 0;
    left: 20%;
    animation: rotate 18s linear reverse infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

.product-card {
    background: white;
    border: 2px solid #e6f2ff;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    border-color: #0066cc;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
    transform: translateY(-5px);
}

.product-card.highlight {
    background: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.3);
}

.product-card.highlight .product-desc,
.product-card.highlight .product-features {
    color: rgba(255, 255, 255, 0.9);
}

.badge {
    display: inline-block;
    background: #e6f2ff;
    color: #0066cc;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.product-card.highlight .badge {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.badge-primary {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
}

.product-header h3 {
    color: #0066cc;
    margin-bottom: 0;
    display: inline;
}

.product-card.highlight .product-header h3 {
    color: white;
}

.product-desc {
    color: #666;
    margin: 15px 0;
}

.product-features {
    list-style: none;
    margin: 20px 0;
    color: #666;
}

.product-features li {
    padding: 8px 0;
    border-bottom: 1px solid #e6f2ff;
}

.product-features li:last-child {
    border-bottom: none;
}

/* 解决方案区域 */
.solutions {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
}

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

.solution-item {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.08);
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.solution-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
}

.solution-item h3 {
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 10px;
}

.solution-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 新闻资讯区域 */
.news {
    padding: 80px 0;
    background: white;
}

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

.news-card {
    background: white;
    border: 1px solid #e6f2ff;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00d4ff);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
}

.news-date {
    color: #0066cc;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #003d99;
    transform: translateX(5px);
}

/* 联系我们区域 */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
}

.contact-info h3 {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-label {
    color: #0066cc;
    font-weight: 600;
    min-width: 120px;
}

.info-value {
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.contact-form button {
    align-self: flex-start;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #003d99 0%, #0066cc 100%);
    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 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #00d4ff;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

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

.icp-info {
    margin-top: 10px;
}

.icp-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.icp-info a:hover {
    color: #00d4ff;
}

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

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 28px;
    }

    .features-grid,
    .products-grid,
    .solutions-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .navbar .container {
        padding: 10px 15px;
    }

    .logo {
        font-size: 20px;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .nav-menu {
        gap: 15px;
    }

    .contact-content {
        gap: 30px;
    }

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