@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: #000;
    color: #f3f3f3;
}

.top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 100000000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}

.navbar-brand {
    flex: 0 0 auto;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #5b1cf0;
    display: flex;
    gap: 1rem;
    width: 40px;
}

.navbar-cmcg {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    border-radius: 500px;
}

.navbar-user-area {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar-links {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-links li {
    display: flex;
    align-items: center;
}

.navbar-links a {
    color: #f3f3f3;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: #713bef;
}

.navbar-login .login-btn {
    background: #5b1cf0;
    color: #181a20;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.navbar-login .login-btn:hover {
    background: #0097a7;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: #f3f3f3;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 80px #5b1cf0;
}

.logout-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: #c82333;
}

.auth-links {
    display: flex;
    border: 1px solid #ffffffb4;
    border-radius: 100px;
}

.signup-btn {
    color: #f3f3f3;
    text-decoration: none;
    font-weight: 500;
    padding: 10px;
    border-radius: 100px;
}

.login-btn {
    background: #ffffffb4;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    padding: 10px;
    border-radius: 100px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    margin-right: 20px;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 8rem;

}

/* Wave color animation for each letter from left to right */
.content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-family: "Audiowide", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #5b1cf0;
    letter-spacing: 2px;
    display: inline-block;
    margin-top: 0;
}

.content h1 span {
    display: inline-block;
    animation: waveColor 4s linear infinite;
}

.content h1 span:nth-child(1) {
    animation-delay: 0s;
}

.content h1 span:nth-child(2) {
    animation-delay: 0.1s;
}

.content h1 span:nth-child(3) {
    animation-delay: 0.2s;
}

.content h1 span:nth-child(4) {
    animation-delay: 0.3s;
}

.content h1 span:nth-child(5) {
    animation-delay: 0.4s;
}

.content h1 span:nth-child(6) {
    animation-delay: 0.5s;
}

.content h1 span:nth-child(7) {
    animation-delay: 0.6s;
}

.content h1 span:nth-child(8) {
    animation-delay: 0.7s;
}

.content h1 span:nth-child(9) {
    animation-delay: 0.8s;
}

.content h1 span:nth-child(10) {
    animation-delay: 0.9s;
}

.content h1 span:nth-child(11) {
    animation-delay: 1.0s;
}

.content h1 span:nth-child(12) {
    animation-delay: 1.1s;
}

.content h1 span:nth-child(13) {
    animation-delay: 1.2s;
}

@keyframes waveColor {
    0% {
        color: #292929;
    }

    50% {
        color: #5b1cf0;
    }

    100% {
        color: #292929;
    }
}

.navbar-brand img {
    height: 40px;
    border-radius: 100px;
}

.p-brand {
    font-size: 0.9rem;
    background-color: transparent;
    padding: 5px 10px;
    border-radius: 105px;
    backdrop-filter: blur(10px);
    z-index: -1;
    text-shadow: 0px 0px 42px #fff;
}

.btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.btns button {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 2.2rem;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    outline: none;
    letter-spacing: 1px;
    background: transparent;
}

.btns button.downlaod {
    background: #ffffffb4;
    backdrop-filter: blur(10px);
    color: #000;
}

.btns button.changelog {
    color: #ffffff;
}

.btns button:hover {
    filter: brightness(1.1);
}

.info h2 {
    margin-bottom: 1rem;
}

.info p {
    max-width: 800px;
    text-align: center;
    line-height: 1.6;
    font-size: 1.1rem;
}

.download-section h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.download-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;

}

.download-list div {
    border: 2px solid #ffffffb4;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
}

.os-name {
    font-weight: 700;
    min-width: 90px;
}

.os-name.linux {
    color: #43ea7f;
}

.os-name.windows {
    color: #00bcd4;
}

.os-name.android {
    color: #ffe066;
}

.os-name.mac {
    color: #ff5e57;
}

.status {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 8px;
}

.status.soon {
    background: #23272f;
    color: #00bcd4;
}

.status.not-planned {
    background: #23272f;
    color: #ff5e57;
}

.download-link {
    background: #ffffffb4;
    color: #181a20;
    padding: 6px 18px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    font-size: 1rem;
}

.download-link:hover {
    filter: brightness(1.1);
}

.os-icon {
    width: 100px;
}

.features-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
}

.features-section h2 {
    margin-bottom: 1.2rem;
    text-align: center;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    margin-bottom: 1.1rem;
    padding: 1rem 1.2rem;
    color: #f3f3f3;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.features-list li strong {
    min-width: 180px;
    display: inline-block;
}

.features-list kbd {
    background: #292929;
    color: #ffe066;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: inherit;
    margin: 0 2px;
}

.features-list code {
    background: #292929;
    color: #43ea7f;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.95em;
    font-family: "Fira Mono", "Consolas", monospace;
}

.faq-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 700px;
}

.faq-section h2 {
    margin-bottom: 2rem;
    text-align: left;
    font-size: 2rem;
    color: #fff;
}

.accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accordion-item {
    border-radius: 12px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #23272f;
}

.accordion-btn {
    width: 100%;
    background: transparent;
    color: #fff;
    font-size: 1.08rem;
    text-align: left;
    padding: 1.2rem 1.5rem;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
    font-weight: 500;
}

.accordion-btn:hover,
.accordion-btn.active {
    background-color: #1c1c1c60;
}

.accordion-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    transition: background 0.2s, transform 0.2s;
}

.accordion-btn.active .accordion-icon {
    color: #fff;
    transform: rotate(180deg);
}

.accordion-panel {
    padding: 1.2rem 1.5rem 1.5rem 1.5rem;
    color: #bdbdbd;
    font-size: 1rem;
    display: none;
    border-top: 1px solid #23272f;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.accordion-btn.active+.accordion-panel {
    display: block;
}

.accordion-panel strong {
    color: #fff;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.accordion-panel ul {
    margin: 0.5rem 0 0 1.2em;
    padding: 0;
}

.accordion-panel kbd,
.accordion-panel code {
    background: #23272f;
    color: #ffe066;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.95em;
    font-family: inherit;
    margin: 0 2px;
}

.footer {
    width: 100%;
    background: #111;
    color: #f3f3f3;
    margin-top: 4rem;
    padding: 0;
    border-top: 1px solid #23272f;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.brand-col {
    gap: 1.2rem;
}

.footer-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.footer-brand-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #5b1cf0;
    margin-bottom: 0.2rem;
    font-family: 'Audiowide', sans-serif;
}

.footer-status {
    font-size: 1rem;
    color: #43ea7f;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #43ea7f;
    margin-right: 4px;
    box-shadow: 0 0 8px #43ea7f88;
}

.footer-socials {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
}

.social-icon {
    width: 28px;
    height: 28px;
    transition: filter 0.2s, transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.12);
}

.footer-cert {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.7rem;
}

.cert-icon {
    width: 32px;
    height: 32px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.cert-icon:hover {
    opacity: 1;
}

.footer-heading {
    font-size: 1.08rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #f3f3f3;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-col ul li a {
    color: #bdbdbd;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #5b1cf0;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    font-size: 0.98rem;
    color: #bdbdbd;
    padding: 1.2rem 0 0.5rem 0;
    background: #111;
    border-radius: 0 0 24px 24px;
}

.footer-bottom a {
    color: #8ecfff;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #5b1cf0;
    text-decoration: underline;
}

/* SIDEBAR STYLES */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 240px;
    background: #111;
    color: #f3f3f3;
    box-shadow: 2px 0 16px #000a;
    z-index: 120000000000000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1rem 1rem 1rem;
    transition: transform 0.3s;
    transform: translateX(-100%);
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.sidebar-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #5b1cf0;
    font-family: 'Audiowide', sans-serif;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.sidebar-links a {
    color: #f3f3f3;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.sidebar-links a:hover {
    background: #23272f;
    color: #5b1cf0;
}

.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #f3f3f3;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s;
}

.sidebar-close:hover {
    color: #ff1010;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000a;
    z-index: 1199;
    display: none;
}

.sidebar-overlay.open {
    display: block;
}

/* SIDEBAR TOGGLE BUTTON */
.sidebar-toggle {
    display: none;
    border: none;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    background: transparent;
    color: #fff;
}

.sidebar-toggle:hover {
    color: #5b1cf0;
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.9rem;
    color: #888;
    padding: 1rem 0.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* SMALL SCREEN SUPPORT */
@media (max-width: 900px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 754px) {
    .features-list li {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar {
        padding: 0.75rem 0.5rem;
    }

    .navbar .nav-user {
        display: none;
    }

    .navbar-links {
        display: none;
    }

    .sidebar-toggle {
        display: block;
    }

    .content {
        margin-left: 8px;
        margin-right: 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 2rem 0.5rem 1rem 0.5rem;
        text-align: center;
    }

    .footer-col,
    .brand-col {
        align-items: center;
    }

    .footer-logo {
        margin: 0 auto 0.5rem auto;
    }

    .footer-cert {
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .faq-section,
    .features-section,
    .download-section,
    .info {
        padding: 1.2rem 0.5rem;
        margin-top: 2rem;
        max-width: 98vw;
    }

    .content h1 {
        font-size: 2.2rem;
    }

    .btns button {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }

    .download-list div {
        min-width: 100%;
        box-sizing: border-box;
        padding: 1rem 1rem;
    }

    .navbar-cmcg {
        display: none;
    }

    .navbar-cmcg-toggle {
        margin-left: auto;
        color: #fff;
        border: none;
        width: 44px;
        height: 44px;
        font-size: 2rem;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }

    .navbar-cmcg-toggle:hover {
        color: #5b1cf0;
    }
}