/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 主题色变量 */
:root {
    --primary-color: #033786;
    --secondary-color: #2371AB;
    --accent-color-1: #D9DAAF;
    --accent-color-2: #EEA433;
    --accent-color-3: #DC3528;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --text-gray: #666666;
}

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: none;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(3, 55, 134, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    height: 40px;
    width: auto;
}

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

.nav-item {
    margin: 0;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar.scrolled .nav-link:hover {
    background: rgba(3, 55, 134, 0.1);
    color: var(--primary-color);
}

/* 移动端导航 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-container {
        justify-content: center;
    }
}

/* 首屏 */
.hero {
    height: 100vh;
    background-image: url('https://qxzg-home.oss-cn-hangzhou.aliyuncs.com/assets/imgs/home.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 80px;
    height: 8px;
    background-color: #EEA433;
}

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

.cta-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 55, 134, 0.3);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 55, 134, 0.4);
}

css

/* 产品卖点 */
.selling-points {
    background: var(--light-gray);
}

.container{
    padding: 60px 20px;
}

.points-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

/* 当屏幕宽度较小时，显示1个 */
@media (max-width: 768px) {
    .points-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
    }
    
    .container {
        padding: 60px 20px;
    }
}

.point-card {
    background: var(--white);
    /* padding: 30px; */
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
    /* border: 2px solid transparent; */
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); */
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    /* border-color: var(--primary-color); */
}

.point-icon {
    margin-bottom: 20px;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.point-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.point-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.3;
}

.point-question {
    color: var(--text-gray);
    line-height: 1.5;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* 懒加载样式 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.lazy-loaded {
    opacity: 1;
}

.lazy-video {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-video.lazy-loaded {
    opacity: 1;
}

/* 为懒加载图片添加占位符效果 */
.lazy-image:not(.lazy-loaded) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.point-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 55, 134, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    border-radius: 12px;
    z-index: 10;
}

.point-card:hover .point-overlay {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    padding: 30px;
    text-align: center;
    color: white;
    max-width: 90%;
}

.overlay-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    line-height: 1.3;
}

.overlay-answer {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* 产品介绍 */
.products {
}

.product-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    padding: 60px 0;
}

.product-item.reverse {
    direction: rtl;
}

.product-item.reverse>* {
    direction: ltr;
}

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

.product-content {
    padding: 0 20px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-overview {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.product-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1rem;
}

.learn-more-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 55, 134, 0.3);
}

/* 视频介绍 */
.video-section {
    min-height: auto;
}

.section-title {
    text-align: left;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-top: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 8px;
    background-color: #EEA433;
}

.video-container {
    max-width: 1200px;
    width: 100%;
    margin: 60px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.video-container video {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        padding: 0 20px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .video-container {
        max-width: 100%;
        margin: 40px 20px;
        width: calc(100% - 40px);
    }

    .video-container video {
        width: 100%;
        height: auto;
        max-height: 60vh;
    }

    .product-item {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .product-item.reverse {
        direction: ltr;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
        margin-top: 60px;
        padding-top: 15px;
    }

    .section-title::before {
        width: 60px;
        height: 3px;
    }

    .video-section {
        padding: 60px 20px;
    }
}

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

    .hero-content {
        padding: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title::before {
        width: 60px;
        height: 3px;
        top: -10px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .point-card {
        padding: 30px 20px;
    }

    .product-content {
        padding: 0;
    }

    .container {
        padding: 0 20px;
    }
    
    .points-grid {
        padding: 0 20px;
    }
    
    .video-section {
        padding: 60px 15px;
    }
}

/* Footer样式 */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.footer-company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    line-height: 1.4;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 25px 0;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

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

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 0.9rem;
    color: #b0b0b0;
    font-weight: 500;
}

.contact-value {
    font-size: 1rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin: 0;
    line-height: 1.5;
}

.icp {
    margin-left: 10px;
}

.built-with {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    font-style: italic;
}

/* Footer响应式设计 */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }

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

    .footer-brand {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-item {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }

    .footer-company-name {
        font-size: 1.3rem;
        text-align: center;
    }

    .footer-title {
        font-size: 1.2rem;
    }

    .contact-value {
        font-size: 0.95rem;
        word-break: break-all;
    }
}

/* 动画效果 */
.point-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(3, 55, 134, 0.2);
}

/* 滚动动画 */
@media (prefers-reduced-motion: no-preference) {
    .product-item {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
    }

    .product-item.animate {
        opacity: 1;
        transform: translateY(0);
    }
}