html {
    scroll-behavior: smooth;
}

a, a:link, a:visited, a:hover, a:active {
    text-decoration: none;
}

.nav-section {
    margin-top: 20px;
}

.nav-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.nav-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-section-header:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.nav-arrow {
    transition: transform 0.3s ease;
}

.nav-section-header.collapsed .nav-arrow {
    transform: rotate(-90deg);
}

.nav-section-content {
    margin-top: 8px;
    padding-left: 16px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 300px;
}

.nav-section-content.collapsed {
    max-height: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    margin-bottom: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.nav-item img {
    border-radius: 4px;
    flex-shrink: 0;
}

.apps-link, .footer-link, .software-modal-download-btn {
    text-decoration: none;
}

.footer-powered {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 8px;
    text-align: left;
}

.contact-banner {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.contact-banner-content {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.contact-banner-text {
    flex: 1;
}

.contact-banner-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.contact-banner-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.contact-banner-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .contact-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .contact-banner-title {
        font-size: 24px;
    }

    .contact-banner-description {
        font-size: 14px;
    }

    .contact-banner-icon {
        width: 80px;
        height: 80px;
    }
}

.software-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.software-modal.active {
    display: flex;
}

.software-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.software-modal-content {
    position: relative;
    background: #262626;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.software-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: #505050;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    color: white;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.software-modal-close:hover {
    background: #606060;
}

.software-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.software-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.software-modal-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-modal-info {
    flex: 1;
}

.software-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1.2;
}

.software-modal-version {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 4px;
}

.software-modal-category {
    font-size: 12px;
    color: #999999;
}

.software-modal-body {
    margin-bottom: 30px;
}

.software-modal-description-title {
    font-size: 16px;
    font-weight: 600;
    color: #cccccc;
    margin-bottom: 12px;
}

.software-modal-description {
    font-size: 14px;
    color: #999999;
    line-height: 1.6;
}

.software-modal-footer {
    text-align: center;
}

.software-modal-download-btn {
    display: inline-block;
    background: #0066cc;
    color: white;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: background 0.3s ease;
}

.software-modal-download-btn:hover {
    background: #0052a3;
}

@media (max-width: 768px) {
    .software-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .software-modal-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .software-modal-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }

    .software-modal-title {
        font-size: 20px;
    }
}
