html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #090706;
    font-family: 'SF Pro Display', sans-serif;
    transition: background 0.3s;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body[data-theme="light"] {
    background: #f3ebe3;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #090706;
}

body[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f3ebe3;
}

::-webkit-scrollbar-thumb {
    background-color: #7077B3;
    border-radius: 8px;
    box-shadow: 0 0 15px #7077B3;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 0 10px #7077B3FF);
}

.topbar h1 {
    margin: 0;
    color: #f3ebe3;
    font-size: 20px;
    font-weight: 150;
    letter-spacing: -0.5px;
    transition: color 0.3s;
}

body[data-theme="light"] .topbar h1 {
    color: #1a1814;
}

.nav {
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    color: rgba(243, 235, 227, 0.45);
    text-decoration: none;
    font-size: 15px;
    font-weight: 200;
    padding: 10px 20px;
    border-radius: 15px;
    transition: 0.2s ease;
}

.nav-link:hover {
    color: #f3ebe3;
    background: rgba(255, 255, 255, 0.06);
}

body[data-theme="light"] .nav-link {
    color: rgba(26, 24, 20, 0.5);
}

body[data-theme="light"] .nav-link:hover {
    color: #1a1814;
    background: rgba(0, 0, 0, 0.06);
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn,
.register-btn {
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    padding: 10px 20px;
    border-radius: 15px;
    transition: 0.2s ease;
}

.login-btn {
    color: #f3ebe3;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

body[data-theme="light"] .login-btn {
    color: #1a1814;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

body[data-theme="light"] .login-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.register-btn {
    color: white;
    background: #7077B3;
    box-shadow: 0 0 15px rgba(112, 119, 179, 0.35);
}

.register-btn:hover {
    background: #7c84c7;
}

.theme-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-theme="light"] .theme-switcher {
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.theme-round-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: rgba(243, 235, 227, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: 0.2s ease;
}

.theme-round-btn:hover {
    color: #f3ebe3;
    background: rgba(255, 255, 255, 0.06);
}

body[data-theme="light"] .theme-round-btn {
    color: rgba(26, 24, 20, 0.5);
}

body[data-theme="light"] .theme-round-btn:hover {
    color: #1a1814;
    background: rgba(0, 0, 0, 0.06);
}

.theme-round-btn.active-option {
    color: white;
    background: #7077B3;
    box-shadow: 0 0 12px rgba(112, 119, 179, 0.4);
}

.theme-round-btn.active-option:hover {
    background: #7c84c7;
}

.content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    margin-top: 180px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.title {
    font-size: 40px;
    font-weight: 550;
    color: #f3ebe3;
    text-align: center;
    transition: color 0.3s;
}

body[data-theme="light"] .title {
    color: #1a1814;
}

.subtitle {
    color: rgba(243, 235, 227, 0.45);
    margin-top: 10px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 18px;
    transition: color 0.3s;
}

body[data-theme="light"] .subtitle {
    color: rgba(26, 24, 20, 0.5);
}

.card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 800px;
    max-width: 100%;
    margin-bottom: 60px;
    padding: 20px;
    background: rgba(15, 15, 15, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
    transition: background 0.3s, border 0.3s;
}

body[data-theme="light"] .card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card img {
    width: 45px;
    height: 45px;
    border-radius: 12px;
}

.name {
    color: #f3ebe3;
    font-size: 18px;
    transition: color 0.3s;
}

body[data-theme="light"] .name {
    color: #1a1814;
}

.desc {
    color: rgba(243, 235, 227, 0.45);
    font-size: 14px;
    transition: color 0.3s;
}

body[data-theme="light"] .desc {
    color: rgba(26, 24, 20, 0.5);
}

.card-right {
    display: flex;
    align-items: center;
}

.btn {
    padding: 10px 18px;
    border: none;
    border-radius: 14px;
    background: #7077B3;
    color: #f3ebe3;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 15px;
    font-weight: 300;
    box-shadow: 0 0 15px rgba(112, 119, 179, 0.35);
}

.btn:hover {
    background: #7c84c7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    width: 100%;
    gap: 25px;
    margin-bottom: 120px;
}

.info-card {
    background: rgba(15, 15, 15, 0.9);
    border-radius: 20px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-align: left;
    transition: background 0.3s, border 0.3s;
}

body[data-theme="light"] .info-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.info-card h3 {
    margin: 0 0 12px 0;
    color: #f3ebe3;
    font-size: 18px;
    transition: color 0.3s;
}

body[data-theme="light"] .info-card h3 {
    color: #1a1814;
}

.info-card p {
    margin: 0;
    color: rgba(243, 235, 227, 0.45);
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.3s;
}

body[data-theme="light"] .info-card p {
    color: rgba(26, 24, 20, 0.5);
}

.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.5s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    color: #878787;
    font-size: 14px;
    flex-wrap: wrap;
}

body[data-theme="light"] .site-footer {
    color: #999;
}

.footer-left {
    max-width: 70%;
}

.footer-right {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: rgba(243, 235, 227, 0.7);
    text-decoration: none;
    transition: 0.2s;
}

.footer-link:hover {
    color: #f3ebe3;
}

body[data-theme="light"] .footer-link {
    color: rgba(26, 24, 20, 0.5);
}

body[data-theme="light"] .footer-link:hover {
    color: #1a1814;
}

@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }

    .nav {
        position: relative;
        left: 0;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .actions {
        width: 100%;
        justify-content: center;
    }

    .content {
        margin-top: 60px;
    }

    .title {
        font-size: 30px;
    }

    .subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .card {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .left {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    .info-card {
        padding: 18px;
        border-radius: 18px;
    }

    .info-card h3 {
        font-size: 17px;
    }

    .info-card p {
        font-size: 14px;
    }

    .site-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .footer-left {
        max-width: 100%;
        line-height: 1.5;
    }

    .footer-right {
        justify-content: center;
        flex-wrap: wrap;
    }
}