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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #7b2ff7;
    --accent-color: #ff006e;
    --bg-dark: #0a0e27;
    --bg-darker: #050815;
    --text-primary: #ffffff;
    --text-secondary: #b4b9d1;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-darker);
    background-image: url('图片1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 8, 21, 0.75), rgba(10, 14, 39, 0.85));
    z-index: -1;
    pointer-events: none;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-left: 0;
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* 主要内容 */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    position: relative;
    z-index: 1;
}

.section {
    display: none;
    min-height: calc(100vh - 70px);
    padding: 4rem 0;
    animation: fadeIn 0.5s ease-in;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 首页 Hero 区域 */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 70px);
    padding: 2rem 0;
}

.hero-content {
    z-index: 1;
    padding-left: 0;
}

.hero-title {
    font-size: 5.33rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.tech-grid {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 47, 247, 0.1));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.tech-grid::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* 板块标题 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* 视频板块 */
.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    aspect-ratio: 16/9;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 100%;
}

.bilibili-iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

.product-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 47, 247, 0.1));
    animation: pulse 3s ease-in-out infinite;
}

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

.video-icon {
    font-size: 5rem;
    color: var(--primary-color);
    z-index: 1;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.video-placeholder p {
    margin-top: 1rem;
    font-size: 1.2rem;
    z-index: 1;
}

.video-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    z-index: 1;
}

/* 功能介绍板块 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 平台介绍板块 */
.platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.platform-visual {
    position: relative;
}

.platform-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.diagram-node {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    font-weight: 600;
    color: var(--primary-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.diagram-node:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.diagram-connector {
    width: 3px;
    height: 50px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.diagram-nodes {
    display: flex;
    gap: 1.5rem;
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.info-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 团队介绍板块 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--border-color);
}

.avatar-placeholder {
    color: white;
    font-weight: 600;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.team-role {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.team-bio {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 响应式设计 */
/* 响应式设计 - 大屏幕优化 */
@media (min-width: 1200px) {
    .hero-content {
        padding-left: 2rem;
    }
}

/* 响应式设计 - 平板和手机 */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .logo {
        font-size: 2rem;
        margin-left: 0;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero-container {
        gap: 2rem;
        padding: 1rem 0;
    }

    .section-container {
        padding: 0 1.5rem;
    }

    .platform-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 1rem;
        justify-content: space-between;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
        order: 2;
    }

    .logo {
        font-size: 1.2rem;
        margin-left: 0;
        flex: 1;
        min-width: 0;
        order: 1;
        padding-right: 0.5rem;
    }

    .logo-text {
        display: block;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.4;
        word-break: keep-all;
        max-width: 100%;
    }

    .nav-menu {
        order: 3;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

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

    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .main-content {
        margin-top: 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-content {
        padding-left: 0;
    }

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

    .title-line {
        display: block;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section-container {
        padding: 0 1rem;
    }

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

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

    .video-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .video-wrapper {
        border-radius: 15px;
        aspect-ratio: 16/9;
    }

    .bilibili-iframe {
        min-height: 250px;
    }

    .platform-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .diagram-nodes {
        flex-direction: column;
        gap: 1rem;
    }

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

    .feature-card {
        padding: 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card {
        padding: 1.5rem;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.75rem;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1rem;
        padding-right: 0.5rem;
    }

    .logo-text {
        line-height: 1.3;
    }

    .hamburger {
        flex-shrink: 0;
    }

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

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

    .video-wrapper {
        border-radius: 10px;
    }

    .bilibili-iframe {
        min-height: 200px;
    }

    .section-container {
        padding: 0 0.75rem;
    }

    .feature-card,
    .team-card,
    .info-item {
        padding: 1rem;
    }
}

/* 横屏手机优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-container {
        min-height: auto;
        padding: 1rem 0;
    }

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

    .bilibili-iframe {
        min-height: 300px;
    }
}

