/* 全局样式 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #6c63ff;
    --secondary-color: #4a00e0;
    --background-dark: #0a0a0a;
    --background-card: rgba(20, 20, 20, 0.7);
    --text-light: #f5f5f5;
    --text-secondary: #b0b0b0;
    --accent-color: #00c9ff;
    --glass-effect: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    --text-color: #e0e0e0;
    --light-text: #ffffff;
    --domestic-tag: #ff6b6b;
    --foreign-tag: #70a1ff;
    --card-bg: rgba(40, 40, 40, 0.7);
    --gradient-start: #1a1a1a;
    --gradient-end: #2d2d3a;
    --article-card-bg: rgba(45, 45, 55, 0.7);
    --article-hover-bg: rgba(55, 55, 65, 0.8);
    --tech-category: rgba(147, 112, 255, 0.15);
    --popular-category: rgba(255, 107, 107, 0.15);
    --practice-category: rgba(107, 185, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* 隐藏默认鼠标 */
}

html, body {
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--background-dark);
}

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

/* 自定义鼠标样式 */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-light {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.cursor.hover {
    width: 40px;
    height: 40px;
    border-color: var(--accent-color);
    background-color: rgba(0, 201, 255, 0.1);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

h2.visible {
    opacity: 1;
    transform: translateY(0);
}

section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 导航栏样式 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.5s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--text-light);
}

/* 首屏区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease forwards 0.5s;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 大语言模型展示区样式 */
.models-section {
    background-color: var(--background-dark);
    position: relative;
}

.models-container {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 40px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.models-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.models-container::-webkit-scrollbar {
    display: none;
}

.model-card {
    flex: 0 0 350px;
    height: 450px;
    background: var(--background-card);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    scroll-snap-align: start;
    position: relative;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.model-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.model-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.model-tag.domestic {
    background: rgba(255, 87, 34, 0.2);
    color: #ff5722;
    border: 1px solid rgba(255, 87, 34, 0.3);
}

.model-tag.foreign {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.model-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.model-card:hover .model-logo {
    transform: scale(1.1);
}

.model-logo img {
    width: 70%;
    height: auto;
    object-fit: contain;
}

.model-card h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--text-light), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.discover-more {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.discover-more.visible {
    opacity: 1;
    transform: translateY(0);
}

.discover-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.5s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(74, 0, 224, 0.4);
    position: relative;
    overflow: hidden;
}

.discover-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.discover-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 0, 224, 0.6);
}

.discover-btn:hover::before {
    left: 100%;
}

/* 资源合集样式 */
.resources-section {
    background-color: var(--background-dark);
    position: relative;
}

.resources-module {
    background: var(--background-card);
    border-radius: 15px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.resources-module.visible {
    opacity: 1;
    transform: translateY(0);
}

.module-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.module-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    transition: transform 0.5s ease;
}

.module-icon:hover {
    transform: rotate(15deg);
}

.module-icon i {
    font-size: 1.8rem;
    color: white;
}

.module-header h3 {
    font-size: 2.2rem;
    color: var(--text-light);
    background: linear-gradient(45deg, var(--text-light), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 文章样式 */
.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.article-category h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.article-category h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.1), rgba(0, 201, 255, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.article-card:hover::before {
    opacity: 1;
}

.article-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.5s ease;
}

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

.article-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.article-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.article-info h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.article-card:hover .article-info h5 {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.article-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.article-arrow {
    margin-left: 1.5rem;
    position: relative;
    z-index: 1;
}

.article-arrow i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.article-card:hover .article-arrow i {
    transform: translateX(8px);
    color: var(--accent-color);
}

/* 博主推荐样式 */
.bloggers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 水平布局博主推荐样式 */
.bloggers-grid.horizontal {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 3rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.bloggers-grid.horizontal::-webkit-scrollbar {
    display: none;
}

.blogger-category {
    flex: 1;
    min-width: 300px;
}

.blogger-category h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.blogger-category h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.blogger-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 水平布局博主卡片样式 */
.blogger-cards.horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.5rem;
}

.blogger-profile-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.blogger-cards.horizontal .blogger-profile-card {
    width: calc(50% - 0.75rem);
    min-width: 250px;
}

.blogger-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.1), rgba(0, 201, 255, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blogger-profile-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.blogger-profile-card:hover::before {
    opacity: 1;
}

.blogger-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
    transition: transform 0.5s ease;
}

.blogger-profile-card:hover .blogger-avatar {
    transform: scale(1.1);
}

.blogger-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blogger-info {
    position: relative;
    z-index: 1;
}

.blogger-info h5 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.blogger-profile-card:hover .blogger-info h5 {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blogger-platform {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.blogger-platform i {
    margin-right: 0.5rem;
}

.blogger-reason {
    font-size: 0.9rem;
    color: var(--primary-color);
    background: rgba(108, 99, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.blogger-profile-card:hover .blogger-reason {
    background: rgba(108, 99, 255, 0.2);
    color: var(--accent-color);
}

/* 页脚样式 */
.footer {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 5rem 2rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(108, 99, 255, 0.05), transparent 70%);
    z-index: 0;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    transition: transform 0.5s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    transition: transform 0.5s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
    color: var(--accent-color);
}

.contact-item p {
    font-size: 1.1rem;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 页面过渡动画 */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-dark);
    z-index: 9997;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-transition.active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    h2 {
        font-size: 3rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .model-card {
        flex: 0 0 300px;
        height: 400px;
    }
}

@media (max-width: 992px) {
    section {
        padding: 6rem 2rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .module-header h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .resources-module {
        padding: 2rem;
    }
    
    .module-header {
        flex-direction: column;
        text-align: center;
    }
    
    .module-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .articles-container {
        grid-template-columns: 1fr;
    }
    
    .blogger-cards.horizontal .blogger-profile-card {
        width: 100%;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 4rem 1rem;
    }
    
    .model-card {
        flex: 0 0 250px;
        height: 350px;
        padding: 1.5rem;
    }
    
    .model-logo {
        width: 80px;
        height: 80px;
    }
    
    .model-card h3 {
        font-size: 1.5rem;
    }
    
    .discover-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
} 