:root {
    --primary-bg: #0a0a0a;
    --accent-blue: #00d2ff;
    --accent-purple: #9d50bb;
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --neon-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Header & Nav */
header {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* Search Box */
.search-container {
    padding: 10px 0;
    background: rgba(20, 20, 20, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 80px;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 25px;
    color: #fff;
    outline: none;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    padding: 0 20px;
    background: var(--neon-gradient);
    border: none;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
}

/* Banner */
.banner {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/banner-future.webp') no-repeat center center/cover;
    position: relative;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.banner p {
    font-size: 20px;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #161616;
    border: 1px solid #222;
    border-radius: 15px;
    padding: 30px;
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Video Cards */
.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.video-card img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.video-card:hover img {
    transform: scale(1.1);
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--neon-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
    background: #161616;
    border-radius: 10px;
    padding: 20px;
}

.faq-question {
    font-weight: bold;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #050505;
    padding: 60px 0 30px;
    border-top: 1px solid #222;
}

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

.footer-bottom {
    text-align: center;
    color: var(--text-dim);
    font-size: 14px;
    border-top: 1px solid #222;
    padding-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .banner h1 {
        font-size: 32px;
    }
}
