* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo i {
    font-size: 2rem;
    color: #06b6d4;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5));
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.8)); }
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.logo-text span {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    display: flex;
    background: rgba(51, 65, 85, 0.8);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.lang-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #e2e8f0;
}

.lang-btn.active {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(148, 163, 184, 0.1);
}

/* Main Layout */
.main-wrapper {
    display: flex;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(148, 163, 184, 0.2);
    position: fixed;
    left: 0;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 999;
    transition: transform 0.3s ease;
}

.sidebar-content {
    padding: 2rem 0;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    color: #e2e8f0;
    background: rgba(148, 163, 184, 0.1);
    border-left-color: rgba(6, 182, 212, 0.5);
}

.nav-link.active {
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.1);
    border-left-color: #06b6d4;
}

/* Content Area */
.content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem 0;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
    font-weight: 600;
}

.content-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.content-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.content-card p {
    margin-bottom: 1rem;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: #06b6d4;
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}

.feature-item p {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0;
}

/* Feature List */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
    padding-left: 2rem;
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.125rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Code Blocks */
.code-block {
    position: relative;
    background: #0f172a;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid rgba(148, 163, 184, 0.2);
    font-family: 'Courier New', monospace;
}

.code-block code {
    color: #10b981;
    font-size: 0.875rem;
}

.code-block pre {
    margin: 0;
    overflow-x: auto;
}

.code-block pre code {
    color: #e2e8f0;
    display: block;
    white-space: pre;
}

.copy-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(6, 182, 212, 0.2);
    border: none;
    border-radius: 0.25rem;
    color: #06b6d4;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(6, 182, 212, 0.3);
}

/* Configuration Table */
.config-table {
    display: grid;
    gap: 1rem;
}

.config-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.config-param {
    font-family: 'Courier New', monospace;
    color: #fbbf24;
    font-weight: 600;
}

.config-desc {
    color: #cbd5e1;
}

/* Warning Box */
.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
}

.warning-box i {
    color: #ef4444;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.warning-box h4 {
    color: #fecaca;
    margin-bottom: 0.5rem;
}

.warning-box ul {
    margin: 0.5rem 0 0 1rem;
}

.warning-box li {
    color: #fecaca;
    margin-bottom: 0.25rem;
}

/* Command List */
.command-list {
    list-style: none;
    margin: 1rem 0;
}

.command-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.command-list code {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
}

/* Limitation Grid */
.limitation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.limitation-item {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.limitation-item i {
    font-size: 2rem;
    color: #ef4444;
    margin-bottom: 1rem;
    display: block;
}

.limitation-item h4 {
    color: #fecaca;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.limitation-item p {
    color: #fca5a5;
    margin: 0;
    font-size: 0.875rem;
}

/* Extension List */
.extension-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.extension-item {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.extension-item h4 {
    color: #6ee7b7;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.extension-item p {
    color: #a7f3d0;
    margin: 0;
}

/* Security Warnings */
.security-warnings {
    display: grid;
    gap: 1.5rem;
}

.security-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.security-warning i {
    color: #f59e0b;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.security-warning p {
    color: #fde68a;
    margin: 0;
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    text-align: center;
    padding: 1rem 0;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .content {
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .config-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .limitation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .content {
        padding: 1rem 0;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo-text h1 {
        font-size: 1.25rem;
    }
    
    .language-switcher {
        order: -1;
    }
}

@media (max-width: 480px) {
    .feature-item,
    .content-card {
        padding: 1rem;
    }
    
    .warning-box,
    .security-warning,
    .extension-item {
        padding: 1rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
}