/* ========================================
   赛博朋克风格样式表
   ======================================== */

:root {
    /* 主题色 */
    --primary-color: #00f3ff;
    --secondary-color: #ff00ff;
    --accent-color: #ffff00;
    --success-color: #00ff88;
    --danger-color: #ff0055;
    
    /* 背景色 */
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --bg-tertiary: #2a2f4a;
    --bg-card: rgba(26, 31, 58, 0.8);
    
    /* 文字色 */
    --text-primary: #ffffff;
    --text-secondary: #b0b8d4;
    --text-muted: #6b7494;
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-neon: linear-gradient(135deg, #00f3ff 0%, #ff00ff 50%, #ffff00 100%);
    
    /* 发光效果 */
    --glow-primary: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
    --glow-secondary: 0 0 10px var(--secondary-color), 0 0 20px var(--secondary-color);
    --glow-text: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    
    /* 边框 */
    --border-neon: 1px solid var(--primary-color);
    --border-secondary: 1px solid var(--secondary-color);
    
    /* 动画时间 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 字体 */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* ========================================
   基础样式
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========================================
   背景动画
   ======================================== */

.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
    animation: particleFloat 10s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

.scanline {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: var(--glow-primary);
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

/* ========================================
   导航栏
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-neon);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    z-index: 1000;
    transition: var(--transition-normal);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: var(--glow-text);
}

.logo-icon {
    font-size: 28px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.version {
    font-size: 12px;
    padding: 2px 8px;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: var(--bg-primary);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

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

.nav-link.github {
    padding: 8px 16px;
    background: rgba(0, 243, 255, 0.1);
    border: var(--border-neon);
    border-radius: 8px;
    color: var(--primary-color);
}

.nav-link.github:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    box-shadow: var(--glow-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ========================================
   Hero 区域
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 243, 255, 0.1);
    border: var(--border-neon);
    border-radius: 24px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    animation: slideInLeft 1s ease;
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease 0.2s both;
}

.glitch {
    position: relative;
    color: var(--primary-color);
    text-shadow: var(--glow-primary);
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    92% {
        transform: translate(-2px, 2px);
    }
    94% {
        transform: translate(2px, -2px);
    }
    96% {
        transform: translate(-2px, -2px);
    }
    98% {
        transform: translate(2px, 2px);
    }
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease 0.4s both;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: slideInLeft 1s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    animation: slideInLeft 1s ease 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

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

.btn-secondary:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: var(--glow-primary);
}

.hero-stats {
    display: flex;
    gap: 60px;
    animation: slideInLeft 1s ease 1s both;
}

.stat {
    text-align: left;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: var(--glow-text);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    animation: slideInRight 1s ease 0.5s both;
}

.code-window {
    background: var(--bg-card);
    border: var(--border-neon);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 243, 255, 0.3);
}

.window-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: var(--border-neon);
}

.window-buttons {
    display: flex;
    gap: 8px;
}

.window-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close {
    background: var(--danger-color);
    box-shadow: 0 0 10px var(--danger-color);
}

.btn-minimize {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.btn-maximize {
    background: var(--success-color);
    box-shadow: 0 0 10px var(--success-color);
}

.window-title {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--text-secondary);
}

.window-content {
    padding: 30px;
}

.window-content pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.window-content code {
    color: var(--text-primary);
}

.keyword {
    color: var(--secondary-color);
    font-weight: 600;
}

.class {
    color: var(--primary-color);
}

.method {
    color: var(--success-color);
}

.property {
    color: var(--accent-color);
}

.namespace {
    color: #9d7cd8;
}

.comment {
    color: var(--text-muted);
    font-style: italic;
}

/* ========================================
   通用区域样式
   ======================================== */

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
    padding: 8px 16px;
    border: var(--border-neon);
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   架构图
   ======================================== */

.architecture-diagram {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.arch-layer {
    background: var(--bg-card);
    border: var(--border-neon);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInRight 0.6s ease forwards;
}

.arch-layer[data-layer="1"] {
    animation-delay: 0.1s;
}

.arch-layer[data-layer="2"] {
    animation-delay: 0.2s;
}

.arch-layer[data-layer="3"] {
    animation-delay: 0.3s;
}

.arch-layer[data-layer="4"] {
    animation-delay: 0.4s;
}

.arch-layer[data-layer="5"] {
    animation-delay: 0.5s;
}

.arch-layer[data-layer="6"] {
    animation-delay: 0.6s;
}

.arch-layer:hover {
    transform: translateX(10px);
    box-shadow: var(--glow-primary);
    border-color: var(--secondary-color);
}

.layer-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.layer-icon {
    font-size: 48px;
    min-width: 60px;
    text-align: center;
}

.layer-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.layer-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.layer-badge {
    display: inline-block;
    font-size: 12px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: var(--bg-primary);
    font-weight: 600;
}

.layer-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.layer-modules span {
    font-size: 14px;
    padding: 6px 12px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 6px;
    color: var(--text-secondary);
}

/* ========================================
   模块网格
   ======================================== */

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.module-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.module-card:hover::before {
    opacity: 0.1;
}

.module-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.module-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.module-category {
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    background: rgba(255, 0, 255, 0.2);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

.module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.module-tag {
    font-size: 12px;
    padding: 4px 10px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    color: var(--text-muted);
}

/* ========================================
   特性网格
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: var(--border-neon);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
}

.feature-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   代码示例
   ======================================== */

.code-examples {
    background: var(--bg-card);
    border: var(--border-neon);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 243, 255, 0.2);
}

.code-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: var(--border-neon);
    overflow-x: auto;
}

.code-tab {
    padding: 20px 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: var(--font-body);
    white-space: nowrap;
}

.code-tab:hover {
    color: var(--primary-color);
    background: rgba(0, 243, 255, 0.05);
}

.code-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    text-shadow: var(--glow-text);
}

.code-content {
    position: relative;
}

.code-panel {
    display: none;
    padding: 40px;
}

.code-panel.active {
    display: block;
}

.code-panel pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    line-height: 1.8;
    overflow-x: auto;
}

.string {
    color: #98c379;
}

.number {
    color: #d19a66;
}

/* ========================================
   文档网格
   ======================================== */

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.doc-card {
    background: var(--bg-card);
    border: var(--border-neon);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
    border-color: var(--secondary-color);
}

.doc-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.doc-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.doc-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.doc-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition-normal);
}

.doc-card:hover .doc-link {
    color: var(--primary-color);
    text-shadow: var(--glow-text);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: var(--border-neon);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 243, 255, 0.1);
    border: var(--border-neon);
    border-radius: 8px;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-column a:hover {
    color: var(--primary-color);
    text-shadow: var(--glow-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-shadow: var(--glow-text);
}

/* ========================================
   返回顶部按钮
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--bg-primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.4);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

/* ========================================
   动画
   ======================================== */

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

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

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

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 1200px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .modules-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-left: var(--border-neon);
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .architecture-diagram {
        gap: 15px;
    }
    
    .arch-layer {
        padding: 20px;
    }
    
    .layer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .code-tabs {
        flex-wrap: wrap;
    }
    
    .code-tab {
        padding: 15px 20px;
    }
    
    .code-panel {
        padding: 20px;
    }
    
    .code-panel pre {
        font-size: 13px;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .window-content {
        padding: 20px;
    }
    
    .window-content pre {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
}

