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;
    width: 100%;
}

.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;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu-divider {
    height: 32px;
    width: 1px;
    background: var(--border);
    margin: 0 8px;
    display: none;
}

.nav-menu-lang,
.nav-menu-theme {
    display: none;
    align-items: center;
}

.nav-menu-lang .lang-switch {
    position: static;
}

.nav-menu-lang .lang-trigger {
    min-width: auto;
    padding: 6px 12px;
    font-size: 0.9rem;
}

.nav-menu-theme .theme-toggle {
    margin: 0;
}

.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;
    z-index: 101;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* Add animation for toggle button */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0.2);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Add backdrop for navigation menu */
@media (max-width: 768px) {
    .navbar::after {
        content: '';
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .navbar.active::after {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .page {
        padding: 40px 0 80px;
    }
    
    .section-header {
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 10px;
        letter-spacing: 0.3em;
    }
}

.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;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    padding: 30px 0px 30px 0px;
}

.hero-text {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px);
    transition: var(--transition);
}

.hero-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 70px rgba(3, 5, 32, 0.55);
}

@media (max-width: 768px) {
    .hero {
        gap: 24px;
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    
    .hero-text {
        padding: 24px 20px;
        margin-bottom: 24px;
        border-radius: 20px;
    }
    
    .hero-media {
        order: -1;
        padding: 0;
    }
    
    .hero-text h1 {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 14px;
        line-height: 1.3;
    }
    
    .floating-pill {
        padding: 6px 14px;
        font-size: 11px;
        margin-bottom: 14px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 20px;
        max-width: 100%;
    }
    
    .hero-stats article {
        padding: 16px 12px;
        border-radius: 16px;
    }
    
    .hero-stats h3 {
        font-size: 22px;
    }
    
    .hero-stats p {
        font-size: 12px;
        margin-top: 4px;
    }
    
    .screenshot-slider {
        max-height: 280px;
        min-height: 200px;
        border-radius: 18px;
        margin: 0;
    }
    
    .slider-dots {
        gap: 6px;
        margin-top: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dot {
        width: 24px;
        height: 6px;
        flex-shrink: 0;
    }
    
    .floating-card {
        position: relative;
        top: auto;
        right: auto;
        margin: 16px auto 0;
        padding: 12px 20px;
        border-radius: 14px;
        text-align: center;
        width: fit-content;
    }
    
    .version-badge {
        font-size: 20px;
    }
    
    .flow-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
        padding: 0 16px;
    }
    
    .flow-grid article {
        padding: 20px;
        border-radius: 16px;
    }
}

.floating-pill {
    display: inline-flex;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(74,168,255,0.2), rgba(127,93,255,0.2));
    color: var(--accent-green);
    font-size: 14px;
    letter-spacing: 0.02em;
    margin-bottom: 22px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(74,168,255,0.15);
    transition: var(--transition);
}

.floating-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 35px rgba(74,168,255,0.25);
}

.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: 18px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    align-items: center;
}

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

.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);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 30px 60px rgba(74, 168, 255, 0.6);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink), var(--accent-purple));
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.03);
}

.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.15);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 15px 35px rgba(74, 168, 255, 0.25);
}

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

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: 20px;
    max-width: 600px;
    margin-top: 32px;
}

.hero-stats article {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.hero-stats article:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(3, 5, 32, 0.35);
    border-color: var(--accent-blue);
}

.hero-stats h3 {
    font-size: 32px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.hero-stats p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 6px;
}

.hero-media {
    position: relative;
    height: 100%;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-media {
        width: 100%;
        margin: 0 auto;
    }
}

.screenshot-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 600px;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, rgba(74,168,255,0.1), rgba(127,93,255,0.1));
    align-self: stretch;
    transition: var(--transition);
}

.screenshot-slider:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 70px rgba(3, 5, 32, 0.55);
}

@media (max-width: 768px) {
    .screenshot-slider {
        max-height: 280px;
        min-height: 200px;
        border-radius: 18px;
    }
    
    .preview-img {
        object-fit: contain;
        padding: 8px;
    }
}

.preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    /* transform: scale(1.02); */
    background: rgba(0, 0, 0, 0.15);
}

.preview-img.active {
    opacity: 1;
    transform: scale(1);
}

.slider-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 24px 0 0;
    padding: 0;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.dot {
    width: 36px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(120deg, var(--accent-pink), var(--accent-yellow));
    transition: width 0.6s ease;
}

.dot.active {
    background: transparent;
}

.dot.active::before {
    width: 100%;
}

.dot:hover {
    background: rgba(255,255,255,0.3);
}

.floating-card {
    position: absolute;
    top: -24px;
    right: 10%;
    padding: 16px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(34, 39, 68, 0.9), rgba(127,93,255,0.2));
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: var(--shadow);
    text-align: right;
    backdrop-filter: blur(18px);
    transition: var(--transition);
}

.floating-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(3, 5, 32, 0.45);
}

.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(240px, 1fr));
    gap: 24px;
    margin-top: 60px;
    padding: 0 20px;
}

.flow-grid article {
    padding: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(3, 5, 32, 0.15);
}

.flow-grid article:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(3, 5, 32, 0.3);
    border-color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(74,168,255,0.1), rgba(127,93,255,0.1));
}

.flow-grid h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.flow-grid p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.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: auto;
}

.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 {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        overflow-x: visible;
        justify-content: center;
    }
    
    .download-card {
        flex: 1;
        min-width: auto;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .download-extra {
        grid-template-columns: 1fr;
        overflow-x: visible;
    }
    
    .download-card {
        min-width: auto;
        max-width: 100%;
        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;
    box-sizing: border-box;
}

.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); }
}

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

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

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

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

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

    .nav-menu {
        position: fixed;
        top: 75px;
        right: 0;
        flex-direction: column;
        background: rgba(5,5,10,0.95);
        padding: 24px;
        border-radius: 16px 0 0 16px;
        z-index: 100;
        gap: 12px;
        min-width: 280px;
        max-width: 90vw;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        transform: translateX(100%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .nav-menu:not(.active) {
        animation: slideOutRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .nav-actions {
        display: none;
    }

    .nav-menu-divider {
        display: block;
        margin: 12px 0;
    }

    .nav-menu-lang,
    .nav-menu-theme {
        display: flex;
    }

    .nav-menu .lang-menu {
        position: absolute;
        left: auto;
        right: 24px;
        top: auto;
        bottom: 120px;
    }

    /* Add smooth scrolling to navigation links */
    .nav-link {
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        transform: translateX(4px);
    }

    .docs-panel {
        padding: 16px;
        grid-template-columns: 1fr;
        min-height: auto;
        height: auto;
        border-radius: 20px;
    }

    .docs-sidebar {
        background: transparent;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .docs-tabs {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding: 8px;
    }

    .docs-tab {
        white-space: nowrap;
        border-left: none;
        border-radius: 12px;
        box-shadow: none !important;
    }

    .docs-tab.active {
        box-shadow: none !important;
        background: rgba(74, 168, 255, 0.15);
    }

    .docs-content {
        max-height: none;
        height: auto;
        overflow: visible;
        padding: 24px 16px;
    }

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

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

@media (max-width: 480px) {
    .nav-menu {
        min-width: 0px;
        padding: 20px;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Make lang and theme toggle horizontal */
    .nav-menu > :last-child {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        margin-top: 8px;
    }
    
    .nav-menu-divider {
        display: none;
    }
    
    .nav-menu-lang {
        flex: 1;
    }
    
    .nav-menu-lang .lang-trigger {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu-theme {
        flex: 0 0 auto;
    }
    
    .hero {
        padding: 0 10px;
        gap: 16px;
    }
    
    .hero-text {
        padding: 18px 14px;
        border-radius: 16px;
    }
    
    .hero-text h1 {
        font-size: 20px;
        line-height: 1.25;
    }
    
    .floating-pill {
        padding: 4px 10px;
        font-size: 9px;
    }
    
    .hero-actions .btn {
        padding: 11px 20px;
        font-size: 0.9rem;
    }
    
    .hero-stats article {
        padding: 12px 10px;
    }
    
    .hero-stats h3 {
        font-size: 18px;
    }
    
    .hero-stats p {
        font-size: 10px;
    }
    
    .screenshot-slider {
        max-height: 200px;
        min-height: 160px;
        border-radius: 14px;
    }
    
    .slider-dots {
        gap: 4px;
        margin-top: 10px;
    }
    
    .dot {
        width: 18px;
        height: 4px;
    }
    
    .floating-card {
        padding: 8px 14px;
        margin-top: 10px;
        border-radius: 12px;
    }
    
    .version-badge {
        font-size: 16px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--glass);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
    animation: slideInUp 0.4s ease;
}

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

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-main);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    line-height: 1;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    transform: scale(1.1);
}

.modal-body {
    padding: 28px;
}

.modal-body p {
    margin: 0 0 20px 0;
    color: var(--text-main);
    font-size: 1rem;
}

.key-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.key-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(74, 168, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.key-input::placeholder {
    color: var(--text-muted);
}

.error-message {
    color: var(--accent-pink) !important;
    font-size: 0.85rem !important;
    margin-top: 8px !important;
    display: none;
}

.error-message.show {
    display: block;
}

.modal-footer {
    padding: 20px 28px 28px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.modal-footer .btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 24px;
    font-size: 0.95rem;
}

@media (max-width: 540px) {
    .hero {
        padding: 0 12px;
        gap: 20px;
    }
    
    .hero-text {
        padding: 20px 16px;
        border-radius: 18px;
    }
    
    .hero-text h1 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .floating-pill {
        padding: 5px 12px;
        font-size: 10px;
        margin-bottom: 12px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 20px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
        font-size: 0.95rem;
        min-width: auto;
    }

    .hero-stats {
        /* grid-template-columns: 1fr; */
        gap: 10px;
        margin-top: 18px;
    }
    
    .hero-stats article {
        padding: 14px;
    }
    
    .hero-stats h3 {
        font-size: 20px;
    }
    
    .hero-stats p {
        font-size: 11px;
    }
    
    .screenshot-slider {
        /* max-height: 240px; */
        min-height: 420px;
        border-radius: 16px;
    }
    
    .slider-dots {
        gap: 5px;
        margin-top: 12px;
    }
    
    .dot {
        width: 20px;
        height: 5px;
    }
    
    .floating-card {
        padding: 10px 16px;
        margin-top: 12px;
    }
    
    .version-badge {
        font-size: 18px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}
