html {
    overflow-x: hidden;
}

:root {
    --bg-dark: #05060a;
    --text-main: #e5e7ff;
    --text-muted: #a3aed0;
    --glass: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.15);
    --accent-blue: #4aa8ff;
    --accent-pink: #ff6bd6;
    --accent-purple: #7f5dff;
    --accent-green: #50f0b6;
    --accent-yellow: #f7d86d;
    --transition: all 0.35s ease;
    --shadow: 0 25px 60px rgba(3, 5, 32, 0.45);
    --radius: 22px;
    --body-bg: radial-gradient(circle at top, #1b1f3a, #07070e 60%);
    font-family: 'Poppins', 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

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

body {
    min-height: 100vh;
    background: var(--body-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

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

body.theme-light {
    --text-main: #111827;
    --text-muted: #4b5563;
    --glass: rgba(255, 255, 255, 0.95);
    --border: rgba(15,23,42,0.15);
    --shadow: 0 18px 36px rgba(15,23,42,0.15);
    --body-bg: radial-gradient(circle at top, #f8fbff, #f2f4fb 70%);
}

body.theme-light .navbar {
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid rgba(15,23,42,0.1);
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}

body.theme-light .nav-link {
    color: var(--text-muted);
}

body.theme-light .nav-link.active,
body.theme-light .nav-link:hover {
    background: rgba(15,23,42,0.05);
    color: var(--text-main);
}

body.theme-light .hero-text {
    background: rgba(255,255,255,0.95);
    border-color: rgba(15,23,42,0.1);
}

body.theme-light .feature-card,
body.theme-light .feature-detail-card,
body.theme-light .highlight-card,
body.theme-light .download-card,
body.theme-light .version-timeline,
body.theme-light .docs-panel,
body.theme-light .timeline-item {
    background: rgba(255,255,255,0.95);
    border-color: rgba(15,23,42,0.1);
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}

body.theme-light .highlight-list li::before,
body.theme-light .timeline-dot {
    color: var(--accent-purple);
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

body.theme-light .footer {
    background: rgba(255,255,255,0.95);
    border-top: 1px solid rgba(15,23,42,0.1);
    color: var(--text-main);
}

body.theme-light .lang-trigger,
body.theme-light .theme-toggle {
    background: rgba(15,23,42,0.05);
    color: var(--text-main);
    border-color: rgba(15,23,42,0.12);
}

body.theme-light .lang-menu {
    background: rgba(255,255,255,0.98);
    border-color: rgba(15,23,42,0.15);
    box-shadow: 0 10px 30px rgba(15,23,42,0.15);
}

body.theme-light .faq-item,
body.theme-light .spec-card,
body.theme-light .requirements-grid div {
    background: rgba(255,255,255,0.95);
    border-color: rgba(15,23,42,0.1);
    color: var(--text-main);
}

body.theme-light .feature-card:hover,
body.theme-light .highlight-card:hover,
body.theme-light .download-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(74,168,255,0.15);
}

body.theme-light .btn-ghost {
    border-color: rgba(15,23,42,0.2);
    color: var(--text-main);
}

body.theme-light .btn-ghost:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

body.theme-light .btn-secondary {
    background: rgba(15,23,42,0.05);
    color: var(--text-main);
    border-color: rgba(15,23,42,0.15);
}

body.theme-light .btn-secondary:hover {
    background: rgba(15,23,42,0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

body.theme-light .tip-card {
    background: rgba(74,168,255,0.1);
    color: var(--text-main);
    border-left-color: var(--accent-blue);
}

body.theme-light .docs-tab {
    color: var(--text-muted);
}

body.theme-light .docs-tab:hover {
    background: rgba(15,23,42,0.05);
    color: var(--text-main);
}

body.theme-light .docs-tab.active {
    background: rgba(74,168,255,0.15);
    border-left-color: var(--accent-blue);
    color: var(--accent-blue);
}

body.theme-light .download-card.warning {
    background: rgba(245,158,11,0.05);
    border-color: rgba(245,158,11,0.3);
}

body.theme-light .download-card.warning ul {
    color: var(--text-main);
}

body.theme-light .flow-grid article {
    background: rgba(255,255,255,0.95);
    border-color: rgba(15,23,42,0.1);
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}

body.theme-light .hero-stats article {
    background: rgba(255,255,255,0.95);
    border-color: rgba(15,23,42,0.1);
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(15,23,42,0.05);
}

body.theme-light .floating-card {
    background: rgba(255,255,255,0.95);
    border-color: rgba(15,23,42,0.1);
    color: var(--text-main);
    box-shadow: 0 8px 25px rgba(15,23,42,0.15);
}

body.theme-light .lang-option {
    color: var(--text-main);
}

body.theme-light .lang-option:hover {
    background: rgba(74,168,255,0.1);
    color: var(--accent-blue);
}

body.theme-light .lang-option.active {
    background: rgba(74,168,255,0.15);
    color: var(--accent-blue);
}

.color-field {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.color-field .blob {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.65;
    animation: float 12s ease-in-out infinite;
}

.blob-one { background: var(--accent-purple); top: -80px; left: -120px; }
.blob-two { background: var(--accent-pink); top: 30vh; right: -120px; animation-delay: -4s; }
.blob-three { background: var(--accent-blue); bottom: -60px; left: 20vw; animation-delay: -8s; }

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(5, 5, 10, 0.75);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    padding: 4px;
}

.brand p {
    font-size: 12px;
    color: var(--text-muted);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    position: relative;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    color: var(--text-main);
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    min-width: 130px;
    justify-content: space-between;
    flex-shrink: 0;
}

.lang-icon {
    font-size: 0.7rem;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: rgba(5, 5, 10, 0.9);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 6px;
    min-width: 130px;
    z-index: 30;
    box-shadow: var(--shadow);
}

.lang-switch.open .lang-menu {
    display: flex;
}

.lang-option {
    background: transparent;
    border: none;
    text-align: left;
    color: var(--text-main);
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
}

.lang-option:hover {
    background: rgba(255,255,255,0.1);
}

.lang-option.active {
    background: rgba(255,255,255,0.15);
    font-weight: 600;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.08);
    color: var(--text-main);
    cursor: pointer;
    font-size: 1rem;
}

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

.nav-link {
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link.active,
.nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-main);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 120px;
}

.view {
    display: none;
    animation: fadeIn 0.7s ease;
}

.view.active {
    display: block;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-text {
        padding: 24px;
    }
    
    .hero {
        gap: 20px;
    }
}

.floating-pill {
    display: inline-flex;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: var(--accent-green);
    font-size: 13px;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

.hero-text h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 18px;
    line-height: 1.2;
}

.hero-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn {
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.35s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: all 0.35s ease;
    opacity: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    color: white;
    box-shadow: 0 20px 40px rgba(74, 168, 255, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 25px 50px rgba(74, 168, 255, 0.5);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink), var(--accent-purple));
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-ghost {
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: var(--text-main);
    background: transparent;
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(74, 168, 255, 0.1);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(74, 168, 255, 0.2);
}

.btn-ghost:active {
    transform: translateY(0) scale(1.01);
}

body.theme-light .btn-ghost {
    border-color: rgba(15, 23, 42, 0.25);
    color: var(--text-main);
}

body.theme-light .btn-ghost:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(74, 168, 255, 0.1);
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .hero-actions {
        gap: 14px;
        justify-content: center;
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.btn-secondary:active {
    transform: translateY(0) scale(1.01);
}

body.theme-light .btn-secondary {
    background: rgba(15, 23, 42, 0.08);
    color: var(--text-main);
    border-color: rgba(15, 23, 42, 0.15);
}

body.theme-light .btn-secondary:hover {
    background: rgba(15, 23, 42, 0.12);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 10px 25px rgba(74, 168, 255, 0.15);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 600px;
}

.hero-stats article {
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
}

.hero-stats h3 {
    font-size: 28px;
}

.hero-media {
    position: relative;
}

.screenshot-slider {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 500px;
    aspect-ratio: 16/9;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow);
    background: rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .screenshot-slider {
        max-height: 300px;
        aspect-ratio: 16/9;
        border-radius: 20px;
    }
}

.preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    transform: scale(1.02);
}

.preview-img.active {
    opacity: 1;
}

.slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 18px 0;
}

.dot {
    width: 32px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: linear-gradient(120deg, var(--accent-pink), var(--accent-yellow));
}

.floating-card {
    position: absolute;
    top: -24px;
    right: 10%;
    padding: 16px 24px;
    border-radius: 18px;
    background: rgba(34, 39, 68, 0.9);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: var(--shadow);
    text-align: right;
}

.version-badge {
    font-size: 28px;
    background: linear-gradient(120deg, var(--accent-purple), var(--accent-blue));
    -webkit-background-clip: text;
    color: transparent;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 50px;
}

.flow-grid article {
    padding: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
}

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

.section-header p {
    letter-spacing: 0.4em;
    font-size: 12px;
    color: var(--accent-blue);
}

.section-header h2 {
    font-size: 36px;
    margin: 12px 0;
}

.section-header span {
    color: var(--text-muted);
}

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

.feature-card,
.highlight-card {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.feature-card.revealed,
.highlight-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 24px;
    min-height: 260px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.feature-card span {
    font-size: 32px;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.3);
}

.feature-card ul {
    list-style: none;
    margin-top: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-detail-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-detail-card {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 26px;
    background: rgba(255,255,255,0.04);
}

.feature-detail-text h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-detail-text p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.highlight-list {
    list-style: none;
    color: var(--text-muted);
    line-height: 1.6;
}

.highlight-list li::before {
    content: '•';
    color: var(--accent-blue);
    margin-right: 8px;
}

.feature-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.spec-card {
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.08);
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.spec-card strong {
    color: var(--text-main);
}

.download-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
}

.highlight-card.secondary {
    align-items: center;
}

.badge {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    font-size: 12px;
    margin-bottom: 10px;
}

.badge.alt {
    background: rgba(255, 229, 128, 0.2);
    color: var(--accent-yellow);
}

.cta-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.version-timeline {
    margin-top: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 26px;
    padding: 24px;
}

.highlight-card ul {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.highlight-card li {
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
    color: var(--text-muted);
}

.highlight-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.4;
}

body.theme-light .highlight-card li {
    color: var(--text-muted);
}

body.theme-light .highlight-card li::before {
    color: var(--accent-blue);
}

.timeline-list {
    position: relative;
    padding-left: 32px;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-blue), transparent);
}

.timeline-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.08);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    box-shadow: 0 0 12px rgba(127,93,255,0.6);
    margin-top: 6px;
}

.timeline-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    margin-bottom: 4px;
}

.timeline-head span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.download-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 0;
    overflow-x: visible;
}

.download-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    background: var(--glass);
    flex: 1;
    max-width: none;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    min-height: 400px;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent-blue);
}

.download-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-card h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
    border-radius: 999px;
}

.download-card.warning {
    border-color: var(--accent-yellow);
    background: rgba(247, 216, 109, 0.05);
}

.download-card.warning h3::before {
    background: linear-gradient(180deg, var(--accent-yellow), var(--accent-pink));
}

@media (max-width: 1024px) {
    .download-extra {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .download-card {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .download-extra {
        flex-direction: column;
        align-items: stretch;
        overflow-x: visible;
    }
    
    .download-card {
        flex: 1;
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.requirements-grid div {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.requirements-grid h4 {
    margin-bottom: 6px;
    color: var(--text-main);
}

.step-list {
    list-style: decimal;
    padding-left: 20px;
    line-height: 1.8;
    color: var(--text-muted);
}

.warning ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--accent-yellow);
    line-height: 1.8;
}

.docs-panel {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 0;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: 600px;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.docs-sidebar {
    position: relative;
    background: rgba(0,0,0,0.1);
    border-right: 1px solid var(--border);
    overflow: hidden;
}

.docs-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: static;
    height: 100%;
    overflow-y: auto;
    padding: 24px 0;
}

.docs-tabs::-webkit-scrollbar {
    width: 4px;
}

.docs-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.docs-tabs::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 999px;
}

.docs-tabs::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

.docs-tab {
    padding: 14px 24px;
    border-radius: 0;
    border: none;
    border-left: 3px solid transparent;
    background: transparent;
    color: var(--text-muted);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
}

.docs-tab:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
}

.docs-tab.active {
    background: rgba(74, 168, 255, 0.1);
    border-left-color: var(--accent-blue);
    color: var(--accent-blue);
    font-weight: 600;
    box-shadow: inset 4px 0 0 var(--accent-blue);
}

.docs-content {
    position: relative;
    min-height: 600px;
    max-height: none;
    height: 600px;
    overflow-y: auto;
    padding: 32px 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) transparent;
}

.docs-content::-webkit-scrollbar {
    width: 8px;
}

.docs-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
}

.docs-content::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 999px;
    transition: var(--transition);
}

.docs-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

.docs-content::-webkit-scrollbar-corner {
    background: transparent;
}

.doc-card {
    display: none;
    flex-direction: column;
    gap: 12px;
    line-height: 1.8;
    color: var(--text-muted);
    min-height: 420px;
}

.doc-card.active {
    display: flex;
}

.doc-card ul,
.doc-card ol {
    padding-left: 18px;
}

.faq-item {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}

.tip-card {
    border-left: 4px solid var(--accent-blue);
    padding: 12px;
    background: rgba(74, 168, 255, 0.08);
    border-radius: 12px;
    color: var(--text-main);
}

.footer {
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
    backdrop-filter: blur(12px);
    padding: 40px 0 20px;
}

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

.footer-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.footer-meta > div:first-child {
    grid-column: span 1;
}

.footer-meta h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.footer-meta p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-version {
    font-size: 0.9rem;
    color: var(--accent-blue) !important;
    margin-top: 10px;
}

.footer-links {
    color: var(--text-muted);
}

.footer-links p {
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 1rem;
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.footer-link-list a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-link-list a::before {
    content: '→';
    color: var(--accent-blue);
    opacity: 0;
    transition: var(--transition);
    transform: translateX(-4px);
}

.footer-link-list a:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
}

.footer-link-list a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-note {
    margin: 0;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
    padding-top: 20px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: top center;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

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

@media (max-width: 1024px) {
    .docs-panel {
        grid-template-columns: 1fr;
    }

    .feature-detail-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        right: -120%;
        flex-direction: column;
        background: rgba(5,5,10,0.95);
        padding: 24px;
        border-radius: 16px 0 0 16px;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-actions {
        gap: 8px;
    }

    .lang-menu {
        left: 0;
        right: auto;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-media {
        order: -1;
    }

    .docs-panel {
        padding: 16px;
        grid-template-columns: 1fr;
    }

    .docs-tabs {
        position: static;
    }

    .docs-content {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .feature-detail-card {
        grid-template-columns: 1fr;
    }

    .download-extra {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}
