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

:root {
    --primary-color: #0a0e17;
    --secondary-color: #1a2332;
    --accent-color: #00d4ff;

    /* 方案一：全息数据流 */
    --accent-gradient: linear-gradient(135deg,
            #ff0080 0%,
            /* 起点粉 */
            #9d00ff 18%,
            /* 深紫 */
            #0044ff 35%,
            /* 宝蓝 */
            #00f2fe 45%,
            /* 亮青 */
            #00ff9d 55%,
            /* 亮绿 */
            #ffeb00 65%,
            /* 金黄 */
            #ff6b00 75%,
            /* 橙 */
            #ff0080 85%,
            /* 回粉 */
            #00d4ff 100%
            /* 终点青 */
        );

    /* 方案二：赛博电弧光效 */
    --accent-gradient-neon: linear-gradient(135deg,
            #ff00cc 0%,
            /* 亮粉 */
            #cc00ff 12%,
            /* 紫粉 */
            #0066ff 25%,
            /* 亮蓝 */
            #00ffff 37%,
            /* 青 */
            #00ff99 50%,
            /* 绿青 */
            #ffff00 62%,
            /* 黄 */
            #ff6600 75%,
            /* 橙 */
            #ff0066 87%,
            /* 红粉 */
            #ff00ff 100%
            /* 品红 */
        );

    /* 方案三：增强对比 */
    --accent-gradient-enhance: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --card-bg: rgba(30, 41, 59, 0.7);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.nav-logo h1 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* 首页横幅样式 - 修复版 */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0 50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 25px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    margin-bottom: 35px;
}

.hero-description p {
    margin-bottom: 15px;
    /* color: var(--text-muted); */
    /* 暂时注释期启用，引用定义的次要文字颜色，灰蓝色 */
    font-size: 1.1rem;
    line-height: 1.7;
    background: var(--accent-gradient-neon);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-list {
    list-style: none;
    margin: 20px 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-color);
}

.highlight-text {
    color: var(--accent-color) !important;
    font-weight: 600;
    font-size: 1.1rem !important;
    margin-top: 20px !important;
}

/* 按钮样式 */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    min-width: 160px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 11;
}

.btn-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-download {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.6);
}

.btn-purchase {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-purchase:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.6);
}

.btn-trial {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.btn-trial:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

/* 首页轮播样式 */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    z-index: 10;
}

.slider-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    /* 图片高度调节 */
    object-fit: cover;
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
    z-index: 12;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 13;
}

.nav-btn:hover {
    background: rgba(0, 212, 255, 0.8);
}

.nav-btn img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    z-index: 12;
    position: relative;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    z-index: 13;
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* 背景效果 - 修复交互问题 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.element {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.1;
    filter: blur(40px);
    pointer-events: none;
}

.element-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation: float 15s infinite ease-in-out;
}

.element-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation: float 12s infinite ease-in-out reverse;
}

.element-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

/* 紫色发光星星样式 */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    background-color: #9d4edd;
    border-radius: 50%;
    box-shadow: 0 0 20px 5px #9d4edd;
    animation: twinkle 3s infinite ease-in-out;
    pointer-events: none;
}

.star-1 {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.star-2 {
    width: 6px;
    height: 6px;
    top: 40%;
    left: 80%;
    animation-delay: 0.5s;
}

.star-3 {
    width: 3px;
    height: 3px;
    top: 70%;
    left: 25%;
    animation-delay: 1s;
}

.star-4 {
    width: 5px;
    height: 5px;
    top: 30%;
    left: 60%;
    animation-delay: 1.5s;
}

.star-5 {
    width: 4px;
    height: 4px;
    top: 60%;
    left: 70%;
    animation-delay: 2s;
}

.star-6 {
    width: 6px;
    height: 6px;
    top: 80%;
    left: 40%;
    animation-delay: 2.5s;
}

.star-7 {
    width: 3px;
    height: 3px;
    top: 25%;
    left: 35%;
    animation-delay: 0.2s;
}

.star-8 {
    width: 5px;
    height: 5px;
    top: 55%;
    left: 10%;
    animation-delay: 0.8s;
}

.star-9 {
    width: 4px;
    height: 4px;
    top: 75%;
    left: 85%;
    animation-delay: 1.2s;
}

.star-10 {
    width: 6px;
    height: 6px;
    top: 45%;
    left: 50%;
    animation-delay: 1.8s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* 产品中心样式 */
.products {
    padding: 100px 0;
    background: var(--secondary-color);
    position: relative;
    z-index: 5;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

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

.product-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 30px;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
}

.product-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.product-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* 功能介绍样式 */
.features {
    padding: 100px 0;
    background: var(--primary-color);
    position: relative;
    z-index: 5;
}

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

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    margin-bottom: 25px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.icon-circle img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-description {
    color: var(--text-muted);
}

/* 脚本展示样式 */
.gallery {
    padding: 100px 0;
    background: var(--secondary-color);
    position: relative;
    z-index: 5;
}

.gallery-container {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-slider {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-slider .slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slider .slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.gallery-slider .slide.active {
    opacity: 1;
}

.gallery-slider .slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.gallery-slider .slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.gallery-slider .nav-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-slider .nav-btn:hover {
    background: rgba(0, 212, 255, 0.7);
}

.gallery-slider .nav-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.gallery-slider .slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-slider .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-slider .dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* 页脚样式 */
.footer {
    background: var(--primary-color);
    padding: 60px 0 30px;
    position: relative;
    z-index: 5;
}

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

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-gradient);
    transform: translateY(-3px);
}

.social-link img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-slider {
        max-width: 400px;
    }

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

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--secondary-color);
        width: 80%;
        height: calc(100vh - 70px);
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        height: auto;
        min-height: auto;
        padding: 120px 0 80px;
    }

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

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

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        min-width: 140px;
        padding: 12px 25px;
        font-size: 1rem;
    }

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

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

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

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

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

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

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

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .product-buttons {
        flex-direction: column;
    }

    .slider-nav {
        padding: 0 10px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }


}

/* 备案信息样式 */
.beian-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.beian-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.beian-item a {
    color: #3498db;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.beian-icon {
    font-size: 16px;
}

@media (max-width: 768px) {
    header {
        padding: 40px 0;
    }

    header h1 {
        font-size: 2rem;
    }

    .content {
        padding: 25px;
    }

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

    .beian-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}