/* Landing Page Styles */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Standard Navigation */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px !important;
    margin: 0 auto;
    width: 100%;
    gap: 2rem;
    padding: 2rem !important;
    z-index: 100;
}

/* Scroll Progress Bar */
#scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1001;
    background: transparent;
}

#scroll-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--accent));
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--primary);
}

/* Hero Background Animations */
.hero-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: blobFloat 20s infinite alternate;
}

.glow-blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.glow-blob-2 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: 200px;
    right: -200px;
    animation-delay: -5s;
}

.glow-blob-3 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    bottom: 100px;
    left: 30%;
    animation-delay: -10s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    opacity: 0.1;
}

.landing-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
}

.menu-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-link i {
    width: 18px;
    height: 18px;
}

.menu-link svg {
    width: 18px;
    height: 18px;
}

.menu-link:hover {
    color: var(--primary);
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.menu-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.mobile-menu-toggle:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.mobile-menu-toggle i,
.mobile-menu-toggle svg {
    width: 24px !important;
    height: 24px !important;
}


.landing-hero {
    padding: 1rem 2rem 10rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero-logo img {
    height: 170px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--foreground) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.new-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
    border-radius: 2rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.new-feature-badge i {
    width: 14px;
    height: 14px;
}

.landing-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.landing-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-demo-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
    border-radius: calc(var(--radius) + 2px);
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.hero-demo-hint i {
    width: 16px;
    height: 16px;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

/* Colored project buttons */
.btn-dmcode {
    background: #ec4899;
    color: #fff;
    border: 1px solid #ec4899;
}
.btn-dmcode:hover {
    background: #db2777;
    border-color: #db2777;
    box-shadow: 0 0 20px -5px rgba(236, 72, 153, 0.6);
}

.btn-dmsh {
    background: #8b5cf6;
    color: #fff;
    border: 1px solid #8b5cf6;
}
.btn-dmsh:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    box-shadow: 0 0 20px -5px rgba(139, 92, 246, 0.6);
}

.btn-vibelinux {
    background: #10b981;
    color: #fff;
    border: 1px solid #10b981;
}
.btn-vibelinux:hover {
    background: #059669;
    border-color: #059669;
    box-shadow: 0 0 20px -5px rgba(16, 185, 129, 0.6);
}

/* dmCode: список способов установки */
.install-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.install-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem 0.5rem 1rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 1.5);
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.install-row:hover {
    border-color: #ec4899;
    background: var(--bg-tertiary);
}

.install-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    padding: 0.35rem 0;
    color: var(--foreground);
    text-decoration: none;
}

.install-link > i:first-child {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary);
}

.install-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
}

.install-meta strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.install-meta code {
    font-size: 0.75rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent;
    padding: 0;
    color: var(--muted-foreground);
}

.install-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    padding: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}

.install-copy:hover {
    border-color: #ec4899;
    color: var(--primary);
}

.install-copy i,
.install-copy svg {
    width: 16px;
    height: 16px;
}

.install-external {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--muted-foreground);
}

@media (max-width: 480px) {
    .install-meta code {
        font-size: 0.7rem;
    }
}

/* Projects Overview (Hub of 3 projects) */
.landing-projects {
    padding: 6rem 2rem;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.project-card {
    flex: 1 1 320px;
    max-width: 400px;
    min-width: 0;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 2);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5),
        0 0 20px -5px color-mix(in srgb, var(--primary) 30%, transparent);
}

.project-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    border-radius: 14px;
    margin-bottom: 1.25rem;
}

.project-icon i,
.project-icon svg {
    width: 28px !important;
    height: 28px !important;
}

.project-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.project-card>p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.project-tags li {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 1rem;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
}

.project-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.project-actions .btn {
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

/* Bento Grid Layout */
.highlights-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    grid-auto-flow: dense;
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.bento-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.bento-icon i {
    width: 22px !important;
    height: 22px !important;
}

.highlight-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.bento-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) * 2);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, var(--card) 0%, color-mix(in srgb, var(--primary) 5%, var(--card)) 100%);
}

.bento-medium {
    grid-column: span 2;
}

.bento-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5),
        0 0 20px -5px color-mix(in srgb, var(--primary) 30%, transparent);
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.25rem 0.75rem;
    background: color-mix(in srgb, var(--primary) 20%, transparent);
    color: var(--primary);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Reveal on Scroll Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Capabilities Styling */
.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.landing-features {
    padding: 6rem 2rem;
    background: var(--background);
}

.landing-section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.landing-section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.landing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, var(--card) 0%, color-mix(in srgb, var(--card) 95%, white) 100%);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    border-radius: calc(var(--radius) * 1.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6),
        0 0 15px -5px color-mix(in srgb, var(--primary) 20%, transparent);
}

.feature-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
    /* background: color-mix(in srgb, var(--primary) 10%, transparent); */
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.feature-icon i {
    width: 48px !important;
    height: 48px !important;
}

.feature-icon svg {
    width: 48px !important;
    height: 48px !important;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--card-foreground);
}

.feature-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.landing-download {
    padding: 6rem 2rem;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.download-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--background);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.download-card>i svg,
.download-card>i {
    width: 48px !important;
    height: 48px !important;
}

.landing-footer {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Demo Section */
.landing-demo {
    padding: 6rem 2rem;
    background: var(--background);
}

.demo-card {
    max-width: 600px;
    margin: 0 auto;
    /* background: var(--card); */
    padding: 3rem;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--border);
    text-align: center;
}

.demo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* width: 120px; */
    /* height: 120px; */
    /* background: color-mix(in srgb, var(--primary) 15%, transparent); */
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.demo-icon i {
    width: 48px !important;
    height: 48px !important;
    color: var(--primary);
}

.demo-icon svg {
    width: 48px !important;
    height: 48px !important;
}

.demo-card h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.demo-credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    text-align: left;
}

.credential-item {
    background: var(--background);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.credential-item label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.credential-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.credential-value code {
    flex: 1;
    background: var(--muted);
    padding: 0.75rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--border);
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    padding: 0.5rem;
    border-radius: calc(var(--radius) - 2px);
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.copy-btn:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.copy-btn i {
    width: 16px;
    height: 16px;
}

.demo-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: color-mix(in srgb, var(--warning) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--warning);
}

.demo-note i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Copy Notification */
.copy-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--success);
    color: var(--success-foreground);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.copy-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: color-mix(in srgb, var(--primary) 90%, black);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top i {
    width: 28px !important;
    height: 28px !important;
}

.scroll-to-top svg {
    width: 28px !important;
    height: 28px !important;
}

@media (max-width: 768px) {
    .landing-title {
        font-size: 2.5rem;
    }

    .landing-hero {
        padding: 3rem 1.5rem 4rem;
    }

    .hero-logo img {
        height: 120px;
    }

    .landing-nav {
        padding: 0.75rem 1rem;
        justify-content: space-between;
        position: relative;
    }

    /* Показываем кнопку мобильного меню */
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }

    /* Мобильное меню */
    .landing-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--background);
        flex-direction: column;
        gap: 0;
        padding: 5rem 2rem 2rem;
        z-index: 999;
        overflow-y: auto;
    }

    .landing-menu.active {
        display: flex;
        animation: slideInFromLeft 0.3s ease-out;
    }

    @keyframes slideInFromLeft {
        from {
            transform: translateX(-100%);
        }

        to {
            transform: translateX(0);
        }
    }

    .landing-menu .menu-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1.125rem;
    }

    .landing-menu .menu-link::after {
        display: none;
    }

    /* Кнопка входа на мобильных */
    .landing-nav .landing-buttons {
        order: 2;
    }

    .landing-nav .landing-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    /* Скрываем подсказку на мобильных */
    .hero-demo-hint {
        display: none;
    }

    .demo-card {
        padding: 2rem 1.5rem;
    }

    .credential-value {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-btn {
        width: 100%;
    }

    .copy-notification {
        right: 1rem;
        left: 1rem;
    }

    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 48px;
        height: 48px;
    }

    .scroll-to-top i {
        width: 22px !important;
        height: 22px !important;
    }

    .scroll-to-top svg {
        width: 22px !important;
        height: 22px !important;
    }

    .landing-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Кнопки в hero секции */
    .landing-hero .landing-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .landing-hero .btn-lg {
        width: 100%;
    }

    .landing-section-title h2 {
        font-size: 2rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .landing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .landing-projects {
        padding: 3rem 1rem;
    }

    .project-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .project-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .project-icon i,
    .project-icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    .landing-features,
    .landing-highlights,
    .landing-demo,
    .landing-download {
        padding: 3rem 1rem;
    }

    .highlights-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-large,
    .bento-medium {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-item {
        padding: 2rem 1.5rem;
    }

    .bento-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .bento-icon i {
        width: 20px !important;
        height: 20px !important;
    }

    .highlight-number {
        font-size: 1.2rem;
    }
}

/* Screenshots Slider */
.landing-screenshots {
    padding: 6rem 2rem;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.screenshots-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.slider-container {
    flex: 1;
    overflow: hidden;
    border-radius: calc(var(--radius) + 4px);
    background: var(--background);
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.slide-caption {
    padding: 2rem;
    text-align: center;
    background: var(--background);
}

.slide-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.slide-caption p {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.slider-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-btn i {
    width: 28px !important;
    height: 28px !important;
}

.slider-btn svg {
    width: 28px !important;
    height: 28px !important;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--muted);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: var(--muted-foreground);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 32px;
    border-radius: 6px;
}

/* Placeholder для скриншотов */
.slide-image:empty::before {
    content: 'Скриншот';
    font-size: 1.5rem;
    color: var(--muted-foreground);
    font-weight: 600;
}

/* Анимация появления */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slider-slide.active {
    animation: slideIn 0.5s ease;
}

/* Адаптивность */
@media (max-width: 768px) {
    .screenshots-slider {
        flex-direction: column;
        gap: 0;
        position: relative;
    }

    .slider-btn {
        width: 48px;
        height: 48px;
        position: absolute;
        top: 40%;
        transform: translateY(-50%);
        z-index: 20;
    }

    .slider-btn i,
    .slider-btn svg {
        width: 22px !important;
        height: 22px !important;
    }

    .slider-btn-prev {
        left: 0.5rem;
    }

    .slider-btn-next {
        right: 0.5rem;
    }

    .slider-container {
        width: 100%;
    }

    .slide-caption {
        padding: 1.5rem;
    }

    .slide-caption h3 {
        font-size: 1.25rem;
    }

    .slide-caption p {
        font-size: 0.875rem;
    }

    .slider-dots {
        margin-top: 1.5rem;
        gap: 0.5rem;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-dot.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .landing-screenshots {
        padding: 3rem 0.5rem;
    }

    .landing-section-title {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .landing-section-title h2 {
        font-size: 1.75rem;
    }

    .landing-section-title p {
        font-size: 0.875rem;
    }

    .slider-btn-prev {
        left: 0.25rem;
        width: 40px;
        height: 40px;
    }

    .slider-btn-next {
        right: 0.25rem;
        width: 40px;
        height: 40px;
    }

    .slider-btn i,
    .slider-btn svg {
        width: 20px !important;
        height: 20px !important;
    }

    .slider-container {
        border-radius: var(--radius);
    }

    .slide-image {
        padding: 0.5rem;
        aspect-ratio: 16 / 11;
    }

    .slide-image img {
        object-fit: contain;
        max-width: 100%;
        max-height: 100%;
    }

    .slide-caption {
        padding: 1rem;
    }

    .slide-caption h3 {
        font-size: 1.125rem;
    }

    .slide-caption p {
        font-size: 0.8125rem;
    }

    .slider-dots {
        margin-top: 1rem;
        gap: 0.375rem;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        width: 20px;
    }

    .landing-title {
        font-size: 1.75rem;
        padding: 0 1rem;
        line-height: 1.2;
    }

    .hero-logo img {
        height: 120px;
    }

    .landing-hero .landing-buttons {
        gap: 0.5rem;
    }

    .landing-hero .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }

    .highlight-item {
        padding: 1.5rem 1rem;
    }

    .highlight-number {
        font-size: 1.25rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i,
    .feature-icon svg {
        width: 36px !important;
        height: 36px !important;
    }

    .demo-card,
    .download-card {
        padding: 1.5rem 1rem;
    }

    .demo-icon i,
    .demo-icon svg {
        width: 36px !important;
        height: 36px !important;
    }
}

/* Footer Styles */
.landing-footer {
    padding: 3rem 2rem;
    background: var(--card);
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-main {
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.footer-links a:hover {
    background: var(--muted);
    color: var(--primary);
}

.footer-links a i {
    width: 16px;
    height: 16px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    overflow-y: auto;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--card);
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--border);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--foreground);
}

.modal-close {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--destructive);
    color: var(--destructive-foreground);
    border-color: var(--destructive);
}

.modal-close i {
    width: 20px;
    height: 20px;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    line-height: 1.7;
}

.modal-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.modal-body h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.modal-body p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.modal-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column-reverse;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .footer-content {
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.25rem;
    }

    .footer-links a {
        width: 100%;
        justify-content: center;
    }
}