:root {
    --bg-dark: #07070c;
    --bg-card: #0c0b14;
    --text-main: #e0e0e0;
    --text-muted: #a09eb1;
    --purple: #a855f7;
    --green: #c6ff3d;
    --yellow: #ffc531;
    --orange: #ff7a3d;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}
.btn-primary {
    display: inline-block;
    background: var(--purple);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}
.btn-primary:hover {
    background: #b975f8;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: bold;
    letter-spacing: -0.5px;
}
.section-title span {
    color: var(--purple);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}
header.scrolled {
    background: rgba(7, 7, 12, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}
.logo-group img {
    height: 32px;
    border-radius: 6px;
}
.nav-links {
    display: none;
    gap: 20px;
}
.nav-links a {
    color: var(--text-main);
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--purple);
}
.nav-download {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
    overflow: hidden;
}
.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
}
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.hero-text {
    text-align: center;
}
.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 800;
    color: #fff;
}
.hero-text h1 span {
    color: var(--purple);
}
.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.hero-video {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 10s infinite alternate;
}
@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: var(--purple);
}
.control-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Category */
.sec-category {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}
.cat-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.cat-tag {
    display: inline-block;
    font-size: 0.8rem;
    background: var(--orange);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Library */
.sec-library {
    padding: 80px 20px;
    background: var(--bg-card);
}
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.drama-card {
    perspective: 1000px;
    height: 400px;
}
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.drama-card:hover .card-inner {
    transform: rotateY(180deg);
}
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}
.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-front-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 60px 15px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    font-weight: bold;
}
.card-back {
    background: var(--glass);
    border: 1px solid var(--purple);
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.card-back h4 {
    color: var(--yellow);
    margin-bottom: 10px;
}
.card-back p {
    font-size: 0.9rem;
    color: var(--text-main);
}

/* AI Workshop */
.sec-ai {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.ai-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}
.step-item {
    padding: 20px;
    border-radius: 12px;
    background: var(--glass);
    border-left: 4px solid var(--green);
}
.step-num {
    font-size: 2rem;
    font-weight: bold;
    color: var(--green);
    margin-bottom: 10px;
}
.demo-box {
    margin-top: 40px;
    background: #111;
    border-radius: 12px;
    padding: 20px;
}
.demo-input {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    outline: none;
}
.demo-output {
    background: rgba(168, 85, 247, 0.1);
    border: 1px dashed var(--purple);
    padding: 15px;
    border-radius: 8px;
    color: var(--purple);
}

/* Immersive */
.sec-immersive {
    padding: 80px 20px;
    background: var(--bg-card);
}
.immersive-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 122, 61, 0.2);
    color: var(--orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.app-screens {
    position: relative;
    height: 400px;
}
.screen-img {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: 2px solid var(--glass-border);
}
.screen-img:nth-child(1) {
    width: 60%;
    left: 0;
    top: 10%;
    z-index: 1;
}
.screen-img:nth-child(2) {
    width: 60%;
    right: 0;
    bottom: 10%;
    z-index: 2;
}

/* Download */
.sec-download {
    padding: 100px 20px;
    text-align: center;
    position: relative;
}
.download-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(198, 255, 61, 0.1) 0%, transparent 60%);
    z-index: -1;
}
.sec-download h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.sec-download p {
    color: var(--text-muted);
    margin-bottom: 30px;
}
.btn-large {
    font-size: 1.2rem;
    padding: 15px 40px;
}

/* Footer */
footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-muted);
}
footer p {
    margin-bottom: 10px;
}
footer a {
    color: var(--text-muted);
    transition: color 0.3s;
}
footer a:hover {
    color: var(--text-main);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .nav-download {
        display: inline-block;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content {
        flex-direction: row;
        align-items: center;
    }
    .hero-text {
        flex: 1;
        text-align: left;
    }
    .hero-video {
        flex: 1;
    }
    .ai-steps {
        flex-direction: row;
    }
    .step-item {
        flex: 1;
    }
    .immersive-content {
        flex-direction: row;
        align-items: center;
    }
    .feature-list {
        flex: 1;
    }
    .app-screens {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .hero-text h1 {
        font-size: 3.5rem;
    }
}