@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* colors */
:root {
    --primary-color: #090040;
    --secondary-color: #f8f9fa;
    --accent-color: #471396;
    --text-color: #333;
    --background-color: #f0f2f5;
    --bg-filter: #090040bc;
    --br: 1rem;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    background-color: var(--primary-color);
    border-bottom: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100vw;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header .header-content {
    width: 100%;
    max-width: 1200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 0;
}

.header-logo {
    padding: 0.5rem 1rem;
    font-size: 2rem;
    color: var(--secondary-color);
}

.main {
    width: 100%;
    background-color: var(--background-color);
}


.apps-list {
    display: flex;
    gap: 2rem;
}

li {
    list-style: none;
}

.app-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 1.4rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    padding: 0.5rem 1rem;
}

.app-link:hover {
    background-color: #471396;
    color: var(--secondary-color);
}

.app-link.active {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    position: relative;
}

.app-link.active::after {
    position: absolute;
    content: "";
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--background-color);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* footer */

.footer {
    width: 100%;
    background-color: var(--bg-filter);
    color: var(--secondary-color);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-section {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    justify-content: space-around;
}

.footer .footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--background-color);
}

.footer a {
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer .download,
.footer .my-account {
    margin-bottom: 1.2rem;
}

.footer .copyright {
    width: 100%;
    flex-basis: 100%;
    text-align: center;
    font-size: 1rem;
    color: var(--secondary-color);
    border-top: 1px solid var(--secondary-color);
    padding-top: 1.2rem;
    margin-top: 1.2rem;
}

.app-icons {
    display: none;
}

.app-icons a {
    font-size: 2rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    border-radius: 1rem;
}

i {
    color: var(--secondary-color);
}

.section-title {
    text-align: center;
}


@media (max-width: 768px) {
    .apps-list {
        display: none;
    }

    .app-icons {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .hero-title {
        margin-top: 5rem;
        font-size: 2.5rem;
    }

    .hero-visual {
        display: none;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0;
    }

    .apps-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .app-card {
        padding: 1.5rem;
    }
}