/* ===================================
   首页专属样式 - 科技感现代设计
   =================================== */

/* Hero Banner */
.hero-banner {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #0066cc 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 102, 204, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 160, 233, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 15s infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    top: 60%;
    animation-delay: 2s;
    animation-duration: 14s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(3) {
    left: 60%;
    top: 30%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.particle:nth-child(4) {
    left: 80%;
    top: 70%;
    animation-delay: 1s;
    animation-duration: 13s;
    width: 3px;
    height: 3px;
}

.particle:nth-child(5) {
    left: 90%;
    top: 40%;
    animation-delay: 3s;
    animation-duration: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: #fff;
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 102, 204, 0.3);
    border: 1px solid rgba(0, 160, 233, 0.5);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    animation: slideDown 0.8s ease-out;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #00a0e9, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #0066cc, #00a0e9);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.5);
}

.hero-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-stats {
    display: flex;
    gap: 50px;
    animation: slideUp 0.8s ease-out 0.8s both;
}

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

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #00a0e9, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    margin-top: 8px;
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Common Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00a0e9);
    border-radius: 2px;
}

.section-desc {
    font-size: 16px;
    color: #666;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #fff;
}

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

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00a0e9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e6f2ff, #f0f9ff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: #0066cc;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 15px;
}

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

/* Products Section */
.products-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f5f7fa, #fff);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.product-card-large {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.product-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a365d, #0066cc);
    transition: all 0.5s ease;
}

.product-card-large:nth-child(1) .product-bg {
    background: linear-gradient(135deg, #1a365d 0%, #0066cc 100%);
}

.product-card-large:nth-child(2) .product-bg {
    background: linear-gradient(135deg, #0066cc 0%, #00a0e9 100%);
}

.product-card-large:nth-child(3) .product-bg {
    background: linear-gradient(135deg, #00a0e9 0%, #00ff88 100%);
}

.product-card-large:nth-child(4) .product-bg {
    background: linear-gradient(135deg, #1a365d 0%, #00ff88 100%);
}

.product-card-large:hover .product-bg {
    transform: scale(1.1);
}

/* 全屏背景视频 */
.video-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85), rgba(0, 102, 204, 0.7));
    z-index: 2;
}

.video-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

.video-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-content p {
    font-size: 20px;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .video-banner {
        height: 350px;
    }
    .video-content h2 {
        font-size: 26px;
    }
    .video-content p {
        font-size: 14px;
    }
}

.product-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 30px;
}

.product-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.product-link {
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card-large:hover .product-link {
    opacity: 1;
    transform: translateY(0);
}

.product-link .arrow {
    transition: transform 0.3s ease;
}

.product-card-large:hover .arrow {
    transform: translateX(5px);
}

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

.btn-secondary {
    display: inline-block;
    padding: 14px 40px;
    background: #1a365d;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #0066cc;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

/* Applications Section */
.applications-section {
    padding: 80px 0;
    background: #fff;
}

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

.application-item {
    text-align: center;
    padding: 30px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.application-item:hover {
    background: linear-gradient(135deg, #e6f2ff, #f0f9ff);
    transform: translateY(-5px);
}

.app-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #00a0e9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.app-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

.application-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a365d;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f5f7fa, #fff);
}

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

.news-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.1);
    border-color: transparent;
}

.news-date {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #00a0e9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.news-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content h4 a {
    color: #1a365d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h4 a:hover {
    color: #0066cc;
}

.news-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a365d, #0066cc);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 160, 233, 0.3), transparent 70%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2), transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: #0066cc;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-stats {
        gap: 30px;
    }

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

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

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

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

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

@media screen and (max-width: 768px) {
    .hero-banner {
        min-height: 500px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

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

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

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

    .product-card-large {
        height: 200px;
    }

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

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

    .news-card {
        flex-direction: column;
        text-align: center;
    }

    .news-date {
        margin: 0 auto;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 15px;
    }

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

    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .app-icon {
        width: 50px;
        height: 50px;
    }

    .app-icon svg {
        width: 24px;
        height: 24px;
    }

    .application-item h4 {
        font-size: 12px;
    }
}
