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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a1a;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 5%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar .logo {
    margin-right: 3rem;
}

.navbar .logo h1 {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: bold;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar .nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: #ffffff;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #9B59B6;
    transition: width 0.3s ease;
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
    width: 100%;
}

/* API 导航栏样式（与 api.html 保持一致） */
.api-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(155, 89, 182, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.api-navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.api-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
}

.api-logo img {
    height: 40px;
}

.api-nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.api-nav-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.api-nav-links a:hover,
.api-nav-links a.active {
    color: #9B59B6;
}

/* 英雄区域样式 */
.hero {
    background-color: #0a0a1a;
    padding: 10rem 5% 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px; /* 为固定导航栏留出空间 */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: #9B59B6;
    font-weight: bold;
    text-shadow: 0 2px 20px rgba(155, 89, 182, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: normal;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #cccccc;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0;
}

.hero-features li {
    margin-bottom: 0.5rem;
    list-style: none;
    position: relative;
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.hero-features li::before {
    content: '•';
    color: #9B59B6;
    font-weight: bold;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* 倒计时样式 */
.countdown-container {
    margin-top: 3rem;
    text-align: center;
}

.countdown-label {
    font-size: 1.2rem;
    color: #9B59B6;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(155, 89, 182, 0.1);
    border: 2px solid rgba(155, 89, 182, 0.3);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    min-width: 80px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(155, 89, 182, 0.2);
    border-color: rgba(155, 89, 182, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.3);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(155, 89, 182, 0.5);
}

.countdown-label-small {
    font-size: 0.9rem;
    color: #9B59B6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 2rem;
    color: #9B59B6;
    font-weight: bold;
    margin: 0 0.5rem;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.countdown-date {
    font-size: 0.95rem;
    color: #cccccc;
    margin-top: 1rem;
    opacity: 0.8;
}

/* 英雄区域波浪背景 */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    left: -50%;
    background: linear-gradient(90deg, transparent, rgba(155, 89, 182, 0.1), transparent);
    animation: wave-animation 15s ease-in-out infinite;
}

.wave-purple {
    background: linear-gradient(90deg, transparent, rgba(155, 89, 182, 0.05), transparent);
    animation-delay: 0s;
    animation-duration: 20s;
}

.wave-blue {
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.05), transparent);
    animation-delay: -5s;
    animation-duration: 30s;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0) translateY(0) scaleX(1);
    }
    50% {
        transform: translateX(25%) translateY(-10px) scaleX(1.1);
    }
    100% {
        transform: translateX(0) translateY(0) scaleX(1);
    }
}

/* 按钮样式 */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #9B59B6;
    color: #000000;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.btn-primary:hover {
    background-color: #3bb8b0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

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

.btn-secondary:hover {
    background-color: rgba(155, 89, 182, 0.1);
    transform: translateY(-2px);
}

/* 通用部分样式 */
section {
    padding: 6rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.section-header i {
    color: #9B59B6;
}

.section-header p {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* 核心功能部分样式 */
.features {
    background-color: #0f102a;
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.1);
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    height: 400px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    flex: 1;
    padding: 3rem;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #9B59B6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-content p {
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list i {
    color: #9B59B6;
    font-size: 0.8rem;
}

/* 技术优势部分样�?*/
.technology {
    background-color: #0a0a0a;
}

.tech-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.tech-number {
    font-size: 3rem;
    font-weight: bold;
    color: rgba(78, 205, 196, 0.1);
    margin-bottom: 1rem;
    line-height: 1;
}

.tech-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.tech-item p {
    color: #cccccc;
}

/* 下载部分样式 */
.download {
    background-color: #0f0f0f;
}

.download-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: #9B59B6;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.1);
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.download-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.system-requirements {
    background-color: rgba(78, 205, 196, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: left;
}

.system-requirements h4 {
    color: #9B59B6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.system-requirements ul {
    list-style: none;
    color: #cccccc;
}

.system-requirements li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.system-requirements li::before {
    content: '✓';
    color: #9B59B6;
    font-weight: bold;
}

/* 工作流部分样�?*/
.workflow {
    background-color: #0a0a0a;
}

.workflow-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.workflow-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    position: relative;
    overflow: hidden;
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #9B59B6;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.workflow-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.1);
    border-color: #9B59B6;
}

.workflow-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(78, 205, 196, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #9B59B6;
}

.workflow-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.workflow-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #9B59B6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.workflow-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.workflow-features {
    list-style: none;
    margin-top: 1.5rem;
}

.workflow-features li {
    color: #cccccc;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.workflow-features li::before {
    content: '✓';
    color: #9B59B6;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

/* 材质库与模型库部分样�?*/
.materials {
    background-color: #0f0f0f;
    padding: 6rem 5%;
    position: relative;
}

.materials-container {
    max-width: 100%;
    margin: 0 auto;
}

.materials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.materials-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.materials-header i {
    color: #9B59B6;
}

.materials-header p {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

.materials-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.materials-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.material-item {
    width: 80px;
    height: 80px;
    background-color: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
}

.material-item:hover {
    transform: scale(1.1);
    border-color: #9B59B6;
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.1);
}

.material-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.materials-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    position: relative;
}

.materials-stats h3 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.materials-stats p {
    font-size: 1.2rem;
    color: #9B59B6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.materials-stats.pbr {
    margin-top: 4rem;
}

/* 响应式设�?*/
@media (max-width: 768px) {
    .materials-header h2 {
        font-size: 2rem;
    }
    
    .materials-stats h3 {
        font-size: 2rem;
    }
    
    .material-item {
        width: 60px;
        height: 60px;
    }
    
    .materials-row {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .material-item {
        width: 50px;
        height: 50px;
    }
}

/* 作品库样式 */
.gallery {
    background: #0f102a;
    padding: 8rem 5%;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* 配置要求样式 */
.requirements {
    background: #1a1a2e;
    padding: 8rem 5%;
}

.requirements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.requirements-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.requirements-card:hover {
    border-color: #9B59B6;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.2);
}

.requirements-card h3 {
    color: #9B59B6;
    margin: 0 0 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.requirements-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-card li {
    color: #ddd;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.requirements-card li i {
    color: #9B59B6;
    position: absolute;
    left: 0;
    top: 0.3rem;
}

.requirements-card strong {
    color: #fff;
}

/* 页脚样式 */
.footer {
    background-color: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    padding: 4rem 5% 2rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #9B59B6;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: #9B59B6;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: #9B59B6;
    color: #000000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    color: #666666;
}

.footer-bottom a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #9B59B6;
}




/* 响应式设�?*/
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 5%;
    }

    .navbar .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .api-navbar-content {
        padding: 0 1rem;
    }

    .api-nav-links {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .api-logo span {
        font-size: 1rem;
    }

    .hero {
        padding: 10rem 5% 6rem;
    }

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

    .countdown-display {
        gap: 0.3rem;
    }

    .countdown-item {
        padding: 0.75rem 1rem;
        min-width: 60px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    .countdown-label-small {
        font-size: 0.75rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
        margin: 0 0.2rem;
    }

    .countdown-label {
        font-size: 1rem;
    }

    .countdown-date {
        font-size: 0.85rem;
    }

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

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 200px;
    }

    section {
        padding: 4rem 5%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-container,
    .tech-container,
    .download-container,
    .workflow-container,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .support-container .btn-primary,
    .support-container .btn-secondary {
        margin: 0.5rem 0;
        display: block;
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

@media (max-width: 480px) {
    .navbar .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

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

    .countdown-item {
        padding: 0.5rem 0.75rem;
        min-width: 50px;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-label-small {
        font-size: 0.7rem;
    }

    .countdown-separator {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .feature-card,
    .download-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* 滚动条样�?*/
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9B59B6;
}

/* 页面加载动画 */
body {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 元素进入视口时的动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
