/* 基础变量 */
:root {
    --primary-cyan: #00D9FF;
    --primary-green: #00FF88;
    --gradient-primary: linear-gradient(135deg, #00D9FF 0%, #00FF88 100%);
    --gradient-btn: linear-gradient(135deg, #00D9FF 0%, #00FF88 100%);
    --gradient-text: linear-gradient(135deg, #00D9FF 0%, #00FF88 100%);
    --bg-dark: #0d1117;
    --bg-darker: #010409;
    --bg-card: #161b22;
    --bg-card-hover: #1c2128;
    --bg-tertiary: #21262d;
    --border-color: #30363d;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 217, 255, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:"微软雅黑", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-btn);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-cyan);
    border: 1px solid var(--primary-cyan);
}

.btn-secondary:hover {
    background-color: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
	padding:15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
	width:56px;
	height:56px;
}
.logo-icon img {
	width:100%;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background-color: var(--bg-card);
}

.nav-link.active {
    color: var(--primary-cyan);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary-cyan);
}

.lang-btn .arrow {
    font-size: 10px;
    transition: var(--transition);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 140px;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan);
}

.language-selector:hover .lang-dropdown,
.language-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.lang-item:hover,
.lang-item.active {
    background-color: var(--bg-tertiary);
    color: var(--primary-cyan);
}

.lang-item:first-child {
    border-radius: 8px 8px 0 0;
}

.lang-item:last-child {
    border-radius: 0 0 8px 8px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
    position: absolute;
}

.mobile-menu-btn span:nth-child(1) {
    top: 12px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 19px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 26px;
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mobile-nav-link {
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background-color: var(--bg-card);
    color: var(--primary-cyan);
}

.mobile-language-selector {
    margin-top: 20px;
    position: relative;
}

.mobile-lang-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-lang-btn:hover {
    border-color: var(--primary-cyan);
}

.mobile-lang-current {
    font-size: 15px;
    color: var(--text-primary);
}

.mobile-lang-arrow {
    font-size: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-lang-btn.active .mobile-lang-arrow {
    transform: rotate(180deg);
}

.mobile-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 10;
}

.mobile-lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.mobile-lang-dropdown::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.mobile-lang-dropdown::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.mobile-lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan);
}

.mobile-lang-item {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-lang-item:hover,
.mobile-lang-item.active {
    background-color: var(--bg-tertiary);
    color: var(--primary-cyan);
}

.mobile-lang-item:first-child {
    border-radius: 8px 8px 0 0;
}

.mobile-lang-item:last-child {
    border-radius: 0 0 8px 8px;
}

/* Hero区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--bg-darker);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.glow-1 {
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
}

.glow-2 {
    bottom: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-left {
    flex: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-cyan);
    margin-bottom: 30px;
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.hero-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 50px;
}

.hero-description strong {
    color: var(--primary-cyan);
}

.hero-buttons {
    display: flex;
    gap: 30px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
	justify-content: center;
    gap: 5px;
	text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 16px;
    color: var(--text-muted);
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 550px;
}

.code-window {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 16px;
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.window-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27ca40; }

.window-title {
    margin-right: auto;
    font-size: 17px;
    color: var(--primary-cyan);
}

.window-content {
    padding:30px  22px;
    font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
    font-size: 16px;
    line-height: 2.0;
}

.code-line {
    min-height: 24px;
}

.code-keyword { color: #ff7b72; }
.code-var { color: #79c0ff; }
.code-func { color: #d2a8ff; }
.code-num { color: #a5d6ff; }
.code-comment { color: var(--text-muted); font-style: italic; }
.code-string { color: #a5d6ff; }

.cursor-line {
    display: inline;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary-cyan);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.card-icon {
    font-size: 20px;
}

.card-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.card-1 {
    top: -45px;
    right: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 80px;
    left: -60px;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: -30px;
    right: 20px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
}

.mouse-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--primary-cyan);
    border-radius: 13px;
    position: relative;
    background: rgba(0, 217, 255, 0.05);
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scroll-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-cyan);
    border-bottom: 2px solid var(--primary-cyan);
    transform: rotate(45deg);
    animation: scroll-arrow 1.5s infinite;
    opacity: 0;
}

.scroll-arrow:nth-child(1) { animation-delay: 0s; }
.scroll-arrow:nth-child(2) { animation-delay: 0.15s; }
.scroll-arrow:nth-child(3) { animation-delay: 0.3s; }

@keyframes scroll-arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* 区块通用样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-cyan);
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-description {
    font-size: 16px;
    color: var(--text-muted);
}

/* 工具集 */
.tools {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.tool-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--primary-cyan);
}

.tool-icon img {
	width:70%;
}

.tool-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.tool-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tool-preview {
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
	display: flex;
    flex-direction: column;
	gap:10px;
	height: 120px;
}

.preview-text {
    font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
    font-size: 16px;
    color: var(--primary-green);
    word-break: break-all;    
}

.barcode-preview svg {
    width: 100%;
    height: 40px;
}

.tool-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary-cyan);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tool-btn:hover {
    background: var(--gradient-btn);
    border-color: transparent;
    color: var(--bg-dark);
}

/* 核心优势 */
.features {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border-radius: 16px;
    margin: 0 auto 20px;
    color: var(--primary-cyan);
}

.feature-icon img {
	width:66%;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* 技术特性 */
.tech {
    padding: 100px 0;
    background-color: var(--bg-darker);
}

.tech-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.tech-left {
    flex: 1;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stack-item {
    display: flex;
	flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stack-item:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
}

.stack-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.stack-icon img {
	width:64%;
}

.stack-icon.react { background: rgba(97, 218, 251, 0.15); color: #61DAFB; }
.stack-icon.typescript { background: rgba(49, 120, 198, 0.15); color: #3178C6; }
.stack-icon.wasm { background: rgba(101, 79, 240, 0.15); color: #654FF0; }
.stack-icon.pwa { background: rgba(0, 217, 255, 0.15); color: var(--primary-cyan); }

.stack-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
	text-align: center;
}

.stack-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.stack-desc {
    font-size: 16px;
    color: var(--text-muted);
}

.tech-highlight {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 1px solid rgba(0, 217, 255, 0.15);
    border-radius: var(--border-radius);
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.highlight-num {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    font-size: 16px;
    color: var(--text-muted);
}

.tech-right {
    flex: 1;
}

.code-block {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.code-header {
    padding: 15px 16px;
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.code-lang {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-cyan);
}

.code-block-content {
    padding: 20px;
    margin: 0;
    font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
    font-size: 15px;
    line-height: 1.8;
    overflow-x: auto;
}

.code-block-content code {
    color: var(--text-primary);
}

.code-block-content .code-kw { color: #ff7b72; }
.code-block-content .code-type { color: #79c0ff; }
.code-block-content .code-prop { color: #ffa657; }
.code-block-content .code-func { color: #d2a8ff; }
.code-block-content .code-class { color: #ffa657; }
.code-block-content .code-str { color: #a5d6ff; }

/* 下载区域 */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.download-content {
    display: flex;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.download-left {
    flex: 1;
}

.download-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.download-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 32px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.download-btn:hover {
    border-color: var(--primary-cyan);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.download-btn.primary {
    background: var(--gradient-btn);
    border: none;
}

.download-btn.primary:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
}

.download-btn.primary .btn-icon,
.download-btn.primary .btn-label,
.download-btn.primary .btn-size {
    color: var(--bg-dark);
}

.btn-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 12px;
    color: var(--primary-cyan);
    flex-shrink: 0;
}

.btn-icon img {
	width:70%;
}

.download-btn.primary .btn-icon {
    background: rgba(0, 0, 0, 0.2);
}

.btn-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btn-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-size {
    font-size: 15px;
    color: var(--text-muted);
}

.web-btn {
    width: 100%;
}

.download-right {
    display: flex;
    justify-content: center;
	width: 640px;
}

.download-right img {
	width:100%;
}

.download-preview {
    width: 100%;
    max-width: 420px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.preview-header {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.preview-dot:nth-child(1) { background: #ff5f56; }
.preview-dot:nth-child(2) { background: #ffbd2e; }
.preview-dot:nth-child(3) { background: #27ca40; }

.preview-content {
    padding: 0;
}

.preview-toolbar {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background-color: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.toolbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.toolbar-item:hover {
    background-color: var(--bg-card-hover);
    color: var(--text-secondary);
}

.toolbar-item.active {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(0, 255, 136, 0.15) 100%);
    color: var(--primary-cyan);
}

.preview-main {
    padding: 20px;
}

.preview-input {
    margin-bottom: 20px;
}

.preview-input label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.input-slider {
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-slider input[type="range"] {
    flex: 1;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    appearance: none;
    cursor: pointer;
}

.input-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--gradient-btn);
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-cyan);
    min-width: 24px;
    text-align: center;
}

.preview-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-cyan);
    cursor: pointer;
}

.preview-result {
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    padding: 16px;
}

.result-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.result-value {
    font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 12px;
    word-break: break-all;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

/* 名字生成器 */
.name-generator {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.name-generators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.name-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.name-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-md);
}

.name-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.name-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    border-radius: 12px;
    color: var(--primary-cyan);
}
.name-icon img {
	width:60%;
}

.name-icon.ancient {
    background: linear-gradient(135deg, rgba(255, 179, 71, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
    color: #FFB347;
}

.name-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.name-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.name-preview {
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.preview-row {
    display: flex;
	flex-direction: column;
    align-items: baseline;
    gap: 8px;
}

.preview-label {
    font-size: 14px;
    color: var(--text-muted);
}

.preview-value {
    font-size: 16px;
    color: var(--primary-green);
    font-weight: 500;
}

.name-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.option-group {
    display: flex;
    align-items: center;
    gap: 16px;
	justify-content: space-between;
}

.option-group label {
    flex-shrink: 0;
    width: 70px;
    font-size: 15px;
    color: var(--text-secondary);
}

.option-btns {
    display: flex;
    gap: 15px;
    flex: 1;
	max-width: 350px;
}

.option-btn {
    flex: 1;
    padding: 8px 12px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.option-btn:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.option-btn.active {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(0, 255, 136, 0.15) 100%);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.name-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    background: var(--gradient-btn);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--bg-dark);
    cursor: pointer;
    transition: var(--transition);
}

.name-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
}

/* 页脚 */
.footer {
    padding: 40px 0 20px;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.footer-languages {
    margin-bottom: 40px;
}

.languages-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: center;
}

.languages-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.languages-list .lang-item {
    padding: 6px 14px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
}

.languages-list .lang-item:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.show-all-languages-btn {
    display: none;
    margin: 16px auto 0;
    padding: 8px 24px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.show-all-languages-btn:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.footer-content {
    display: flex;
    justify-content:center;
    gap: 60px;
}

.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
	justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo span {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-logo img {
	width:48px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
	text-align: center;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-btn);
    border: none;
    border-radius: 50%;
    color: var(--bg-dark);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.3);
}
.back-to-top img {
	width:70%;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        gap: 60px;
    }

    .hero-left {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-content {
        flex-direction: column;
    }

    .download-content {
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .languages-list {
        max-height: 86px;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .languages-list.expanded {
        max-height: none;
    }

    .show-all-languages-btn {
        display: block;
    }
	.footer-languages {
		margin-bottom:20px;
	}
	.footer-logo {
		margin-bottom:10px;
	}
	.back-to-top {
		right:10px;
	}

    .nav-menu,
    .nav-right {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        height:100vh;
        overflow-y: auto;
		box-sizing:content-box;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .floating-card {
        display: none;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stack-item {
        padding:20px 10px;
    }

    .tech-highlight {
        flex-wrap: wrap;
    }

    .name-generators {
        grid-template-columns: 1fr;
    }

    .option-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .option-group label {
        width: auto;
    }

    .download-content {
        flex-direction: column;
        gap: 40px;
    }

    .download-left {
        text-align: center;
    }

    .download-buttons {
        align-items: center;
    }

    .download-btn {
        width: 100%;
    }

    .download-right {
        width: 100%;
    }

    .download-preview {
        max-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
	.tech-right {
		width:100%;
	}
	.navbar .container {
		padding:10px 20px;
	}
	.logo-text {
		font-size:22px;
	}
	.logo {
		gap:10px;
	}
	.tech-left {
		width:100%;
	}
	.stack-name {
		font-size:16px;
	}
	.highlight-num {
		font-size:24px;
	}
	.stack-desc, .highlight-text {
		font-size:15px;
	}
	.code-block-content {
		font-size:13px;
	}
	.tools, .tech, .name-generator, .features {
		padding:60px 0;
	}
	.option-btns {
		width:100%;
	}
	.option-btn, .option-group label {
		font-size:14px;
	}
	.download-title {
		font-size:30px;
	}
	.btn-label {
		text-align:left;
	}
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 24px;
    }

    .code-window {
        font-size: 11px;
    }
}
