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

:root {
    --primary-color: #FF6B35;
    --secondary-color: #1A1A1A;
    --accent-color: #00D2FF;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --background-primary: #0A0A0A;
    --background-secondary: #1A1A1A;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    --gradient-accent: linear-gradient(135deg, #00D2FF 0%, #3A7BD5 100%);
}

body {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    background-color: var(--background-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 代码相关元素使用等宽字体 */
code, pre, .mono {
    font-family: 'JetBrains Mono', monospace;
}

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

/* 产品介绍视频部分 */
.intro-video-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
    position: relative;
}

.intro-video-content {
    text-align: center;
}

.video-wrapper {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-description {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .intro-video-section {
        padding: 60px 0;
    }
    
    .video-wrapper {
        margin-top: 30px;
    }
    
    .video-description {
        font-size: 14px;
        padding: 0 20px;
    }
}

/* 主标题部分 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #1A1A1A 0%, #0A0A0A 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="%23333333" stroke-width="1" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    z-index: -2;
    opacity: 1;
    visibility: visible;
}

/* 背景粒子动画 */
.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: floatParticle 15s linear infinite;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 40%;
    left: 80%;
    animation: floatParticle 12s linear infinite;
    animation-delay: -2s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 30%;
    animation: floatParticle 18s linear infinite;
    animation-delay: -4s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation: floatParticle 14s linear infinite;
    animation-delay: -6s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 50%;
    background: var(--accent-color);
    animation: floatParticle 16s linear infinite;
    animation-delay: -8s;
}

.particle:nth-child(6) {
    top: 70%;
    left: 20%;
    background: var(--accent-color);
    animation: floatParticle 13s linear infinite;
    animation-delay: -10s;
}

.particle:nth-child(7) {
    top: 30%;
    left: 90%;
    width: 3px;
    height: 3px;
    animation: floatParticle 17s linear infinite;
    animation-delay: -12s;
}

.particle:nth-child(8) {
    top: 90%;
    left: 40%;
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    animation: floatParticle 11s linear infinite;
    animation-delay: -14s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 大型蜡笔画超人背景 */
.hero-crayon-bg {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    z-index: -1;
    opacity: 0.4;
    animation: slowFloat 15s ease-in-out infinite;
    visibility: visible;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

/* Logo和品牌区域 */
.brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.logo-container {
    position: relative;
    z-index: 3;
}

.main-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.3));
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

.main-logo:hover {
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.5));
    transform: scale(1.05);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* 像素风格标题 */
.pixel-title {
    margin-bottom: 1rem;
}

.pixel-text {
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.pixel-text .letter {
    display: inline-block;
    position: relative;
    color: var(--primary-color);
    text-shadow: 
        0 0 20px rgba(255, 107, 53, 0.5),
        0 0 40px rgba(255, 107, 53, 0.3),
        0 0 60px rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    animation: pixelGlow 2s ease-in-out infinite alternate;
}

.pixel-text .letter:hover {
    transform: scale(1.1) rotateY(15deg);
    text-shadow: 
        0 0 30px rgba(255, 107, 53, 0.8),
        0 0 60px rgba(255, 107, 53, 0.5),
        0 0 90px rgba(255, 107, 53, 0.3);
}

.title-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-main {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    position: relative;
}

.title-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.title-logo {
    display: flex;
    align-items: center;
}

.title-side-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.3));
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

.title-side-logo:hover {
    filter: drop-shadow(0 0 25px rgba(255, 107, 53, 0.5));
    transform: scale(1.05);
}

.word-space {
    width: 1em;
    display: inline-block;
}

.word-space-small {
    width: 0.3em;
    display: inline-block;
}

.beta-tag {
    font-size: 0.7rem;
    color: var(--accent-color);
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--accent-color);
    padding: 0.2em 0.6em;
    border-radius: 0.4em;
    animation: pulse 2s infinite;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* 动画效果 */
@keyframes pixelGlow {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

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

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out 0.5s both;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-slide {
    animation: slideIn 1.2s ease-out 0.8s both;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 副标题和描述 */
.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 主视觉展示区域 */
.hero-visual {
    position: relative;
    height: 200px;
    margin: 2rem 0;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    visibility: visible;
    z-index: 1;
}

.ai-icon, .code-blocks, .neural-network, .data-flow, .robot-avatar, .terminal, .magic-wand, .chip {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
    visibility: visible;
    z-index: 1;
}

.ai-icon {
    top: 20%;
    left: 20%;
    animation: float 3s ease-in-out infinite;
}

.ai-icon:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.code-blocks {
    top: 60%;
    right: 20%;
    color: var(--accent-color);
    animation: float 3s ease-in-out infinite 0.5s;
}

.code-blocks:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.neural-network {
    top: 10%;
    right: 40%;
    color: #00D2FF;
    animation: float 3s ease-in-out infinite 1s;
}

.neural-network:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.data-flow {
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 107, 53, 0.6);
    animation: float 4s ease-in-out infinite 1.5s;
}

.robot-avatar {
    top: 70%;
    left: 15%;
    color: var(--accent-color);
    animation: pulse 2s ease-in-out infinite;
}

.robot-avatar:hover {
    color: var(--primary-color);
    transform: scale(1.1) rotateY(10deg);
}

.terminal {
    top: 5%;
    left: 70%;
    color: #4ECDC4;
    animation: float 3.5s ease-in-out infinite 0.8s;
}

.terminal:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.magic-wand {
    top: 80%;
    right: 15%;
    color: #FFE66D;
    animation: float 2.8s ease-in-out infinite 2s;
}

.magic-wand:hover {
    color: var(--primary-color);
    transform: scale(1.2) rotate(15deg);
}

.chip {
    top: 25%;
    right: 10%;
    color: #9B59B6;
    animation: pulse 1.8s ease-in-out infinite 1.2s;
}

.chip:hover {
    color: var(--accent-color);
    transform: scale(1.15);
}

/* 产品特性部分 */
.product-section {
    padding: 5rem 0;
    background: var(--background-secondary);
    position: relative;
    overflow: hidden;
}

/* 产品部分背景装饰 */
.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.big-hero-bg {
    position: absolute;
    top: 10%;
    right: -50px;
    color: rgba(255, 107, 53, 0.08);
    animation: slowFloat 10s ease-in-out infinite;
}

.tech-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-element {
    position: absolute;
    opacity: 0.15;
}

.tech-1 {
    top: 20%;
    left: 10%;
    color: var(--accent-color);
    animation: float 6s ease-in-out infinite 0.5s;
}

.tech-2 {
    bottom: 20%;
    left: 15%;
    color: #4ECDC4;
    animation: float 7s ease-in-out infinite 1.5s;
}

.tech-3 {
    top: 60%;
    right: 15%;
    color: #9B59B6;
    animation: float 5s ease-in-out infinite 2.5s;
}

@keyframes slowFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: left;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 500;
}

.product-intro {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

.feature-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    min-width: 50px;
    text-align: center;
    font-weight: 600;
}

.feature-content h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.intro-visual {
    position: relative;
    height: 400px;
}

.floating-demo {
    position: relative;
    width: 100%;
    height: 100%;
}

.demo-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.demo-element:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.chat-bubble {
    top: 20px;
    right: 20px;
    width: 200px;
    animation: float 3s ease-in-out infinite;
}

.bubble-content {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.code-snippet {
    top: 150px;
    left: 0;
    width: 180px;
    animation: float 3s ease-in-out infinite 1s;
}

.code-snippet pre {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.code-snippet code {
    font-family: 'JetBrains Mono', monospace;
}

.image-placeholder {
    bottom: 50px;
    right: 50px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite 2s;
}

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

/* 下载部分 */
.download-section {
    padding: 5rem 0;
    background: var(--background-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 下载背景装饰 */
.download-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-hero {
    position: absolute;
    top: 20%;
    right: 10%;
    color: rgba(255, 107, 53, 0.15);
    animation: float 6s ease-in-out infinite;
}

.bg-geometry {
    position: absolute;
    top: -50px;
    left: -50px;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icons .bg-icon:nth-child(1) {
    position: absolute;
    top: 30%;
    left: 15%;
    color: rgba(0, 210, 255, 0.2);
    animation: float 4s ease-in-out infinite 0.5s;
}

.floating-icons .bg-icon:nth-child(2) {
    position: absolute;
    bottom: 20%;
    right: 20%;
    color: rgba(155, 89, 182, 0.2);
    animation: float 5s ease-in-out infinite 1.5s;
}

.floating-icons .bg-icon:nth-child(3) {
    position: absolute;
    bottom: 40%;
    left: 20%;
    color: rgba(255, 230, 109, 0.2);
    animation: float 4.5s ease-in-out infinite 2s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.container {
    position: relative;
    z-index: 2;
}

.download-description {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* 统一下载按钮 */
.unified-download {
    max-width: 500px;
    margin: 0 auto;
}

.main-download-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    color: white;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    margin-bottom: 1rem;
}

.main-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.download-icon {
    color: white;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.primary-text {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
}

.secondary-text {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

.expand-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.unified-download.expanded .expand-arrow {
    transform: rotate(180deg);
}

/* 平台选项 */
.platform-options {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.unified-download.expanded .platform-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.platform-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.platform-option:last-child {
    border-bottom: none;
}

.platform-option:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.platform-icon {
    color: var(--text-primary);
}

.platform-option[data-platform="mac"] .platform-icon {
    color: #A8A8A8;
}

.platform-option[data-platform="windows"] .platform-icon {
    color: #00A1F1;
}

.platform-details {
    display: flex;
    flex-direction: column;
}

.platform-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.platform-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.file-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

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

.file-type {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* 使用指南部分 */
.guide-section {
    padding: 5rem 0;
    background: var(--background-secondary);
}

.guide-container {
    max-width: 800px;
    margin: 0 auto;
}

.platform-tabs {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 3rem;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-icon {
    color: currentColor;
}

.tab-slider {
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(50% - 8px);
    height: calc(100% - 16px);
    background: var(--gradient-primary);
    border-radius: 8px;
    transition: transform 0.3s ease;
    z-index: 1;
}

.tab-slider.windows {
    transform: translateX(100%);
}

.guide-content {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.platform-guide {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.platform-guide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.platform-guide.slide-out-left {
    transform: translateX(-100%);
}

.platform-guide.slide-out-right {
    transform: translateX(100%);
}

.guide-list {
    max-width: 700px;
    margin: 0 auto;
}

.guide-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 107, 53, 0.2);
}

.guide-section-header:first-child {
    margin-top: 0;
}

.section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.guide-section-header h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.guide-details {
    margin-bottom: 2rem;
}

.guide-details p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0.8rem 0;
    padding-left: 1rem;
    position: relative;
    transition: all 0.2s ease;
}


.guide-details p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9em;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* 指南图片样式 */
.guide-image {
    margin: 1.5rem 0;
    text-align: center;
}

/* 图片尺寸控制按钮 */
.image-size-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.size-btn {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.size-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.size-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

/* 图片尺寸类 */
.guide-screenshot {
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.guide-screenshot.size-small {
    max-width: 300px;
}

.guide-screenshot.size-large {
    max-width: 500px;
}

.guide-screenshot.size-full {
    max-width: 100%;
}

.guide-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.image-caption {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    padding-left: 0 !important;
}

.image-caption::before {
    display: none;
}

/* 更新日志部分 */
.changelog-section {
    padding: 5rem 0;
    background: var(--background-primary);
    position: relative;
    overflow: hidden;
}

/* 更新日志背景装饰 */
.changelog-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.version-bg-icon {
    position: absolute;
    top: 15%;
    left: -30px;
    color: rgba(0, 210, 255, 0.1);
    animation: rotate 30s linear infinite;
}

.update-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.update-elements .update-icon {
    position: absolute;
    top: 70%;
    right: 10%;
    color: rgba(255, 107, 53, 0.2);
    animation: float 4s ease-in-out infinite 0.8s;
}

.update-elements .code-icon {
    position: absolute;
    bottom: 10%;
    left: 5%;
    color: rgba(76, 175, 80, 0.15);
    animation: float 6s ease-in-out infinite 2s;
}

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

.changelog-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.changelog-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.version-entry {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.version-entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.version-entry:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.version-entry:hover::before {
    opacity: 1;
}

.version-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.version-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.version-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
}

.release-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.version-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.version-status.latest {
    background: var(--gradient-primary);
    color: white;
    animation: pulse 2s infinite;
}

.change-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.change-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.change-type {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.change-type.new {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.change-type.fix {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.change-type.improve {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.change-text {
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: auto;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.4));
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .main-logo {
        width: 80px;
    }
    
    .brand-section {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .pixel-text {
        font-size: 3rem;
    }
    
    .hero-visual {
        height: 150px;
    }
    
    /* 移动端图片尺寸控制 */
    .image-size-controls {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .size-btn {
        padding: 0.25rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .guide-screenshot.size-large,
    .guide-screenshot.size-full {
        max-width: 100%;
    }
    
    .guide-screenshot.size-small {
        max-width: 200px;
    }
    
    /* 隐藏部分装饰元素 */
    .magic-wand, .chip, .terminal {
        display: none;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-visual {
        height: 250px;
    }
    
    .platform-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-slider {
        display: none;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .pixel-text {
        font-size: 2rem;
    }
    
    .title-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .beta-tag {
        align-self: center;
        margin-top: 0;
    }
    
    .main-download-btn {
        min-width: 280px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .change-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* 隐藏更多装饰元素 */
    .robot-avatar, .data-flow, .hero-crayon-bg {
        display: none;
    }
    
    .big-hero-bg {
        display: none;
    }
}

/* 高分辨率屏幕优化 */
@media (min-width: 1400px) {
    .hero-visual {
        height: 300px;
    }
    
    .floating-elements > div {
        transform: scale(1.2);
    }
}

/* 代码块样式 */
.guide-code-block {
    margin: 1.5rem 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(0, 210, 255, 0.05));
    border: 1px solid rgba(255, 107, 53, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.guide-code-block:hover {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.1);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 107, 53, 0.1);
    border-bottom: 1px solid rgba(255, 107, 53, 0.15);
}

.code-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.copy-btn {
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--accent-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: rgba(255, 107, 53, 0.3);
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0);
}

.guide-code-block pre {
    margin: 0;
    padding: 1.2rem;
    background: transparent;
    overflow-x: auto;
    line-height: 1.6;
}

.guide-code-block code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: pre;
}

.guide-code-block code .comment {
    color: var(--text-secondary);
    opacity: 0.8;
}

/* 代码块滚动条样式 */
.guide-code-block pre::-webkit-scrollbar {
    height: 6px;
}

.guide-code-block pre::-webkit-scrollbar-track {
    background: rgba(255, 107, 53, 0.1);
}

.guide-code-block pre::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.3);
    border-radius: 3px;
}

.guide-code-block pre::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.5);
}

/* Tips 教程页面样式 */
.tips-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.03) 0%, 
        rgba(0, 210, 255, 0.03) 50%, 
        rgba(255, 107, 53, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.tips-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 210, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.tips-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.tips-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.tip-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tip-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.tip-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 210, 255, 0.1));
}

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

.tip-card:hover .tip-image img {
    transform: scale(1.05);
}

.tip-content {
    padding: 1.5rem;
}

.tip-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.tip-card:hover .tip-title {
    color: var(--accent-primary);
}

.tip-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.tip-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.tip-tag {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tip-duration {
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tip-card {
        min-width: unset;
    }
    
    .tips-section {
        padding: 3rem 0;
    }
    
    .tips-header {
        margin-bottom: 2.5rem;
    }
    
    .tip-content {
        padding: 1.2rem;
    }
    
    .tip-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .tip-title {
        font-size: 1.1rem;
    }
    
    .tip-description {
        font-size: 0.9rem;
    }
    
    .tip-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Tips卡片动画增强 */
@keyframes tipFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

.tip-card:nth-child(even) {
    animation: tipFloat 6s ease-in-out infinite;
    animation-delay: 1s;
}

.tip-card:nth-child(odd) {
    animation: tipFloat 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --background-primary: #0A0A0A;
        --background-secondary: #1A1A1A;
        --text-primary: #FFFFFF;
        --text-secondary: #B0B0B0;
    }
}