* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: linear-gradient(145deg, rgb(244, 244, 246) 0%, rgb(234, 234, 238) 50%, rgb(224, 224, 230) 100%);
}

#logos-bg {
    position: fixed;
    inset: -30%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    transform: rotate(-14deg);
    transform-origin: center center;
    opacity: 0.07;
}

#logos-bg img {
    position: absolute;
    object-fit: contain;
    filter: grayscale(1);
}

.page-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.principal {
    width: 1140px;
    max-width: 100%;
    padding: 56px 52px 60px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    opacity: 0;
    transform: translateY(30px);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

#logo-icon {
    width: 68px;
    opacity: 0;
    transform: scale(0.6) rotate(-10deg);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

#logo-text {
    width: 210px;
    opacity: 0;
    transform: translateY(-12px);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.tagline {
    font-size: 13px;
    font-weight: 500;
    color: rgba(60, 60, 80, 0.5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 44px 0;
    opacity: 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.app-card:nth-child(1) { grid-column: 1 / 3; }
.app-card:nth-child(2) { grid-column: 3 / 5; }
.app-card:nth-child(3) { grid-column: 5 / 7; }
.app-card:nth-child(4) { grid-column: 2 / 4; }
.app-card:nth-child(5) { grid-column: 4 / 6; }

.app-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    padding: 28px 26px 22px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform;
    /*noinspection CssConvertColorToRgbInspection*/
    transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.app-card:hover {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.app-card img {
    height: 36px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    align-self: center;
    margin-bottom: 18px;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.08));
    transition: filter 0.22s ease;
}

.app-card:hover img {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.14));
}

.app-desc {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.48);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 18px;
}

.app-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.25);
}

.footer {
    margin-top: 32px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(60, 60, 80, 0.38);
    letter-spacing: 0.04em;
    text-align: center;
    opacity: 0;
}

@media (max-width: 860px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-card:nth-child(1),
    .app-card:nth-child(2),
    .app-card:nth-child(3),
    .app-card:nth-child(4),
    .app-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .principal {
        padding: 40px 24px 44px;
        border-radius: 22px;
    }

    #logo-text { width: 178px; }
    #logo-icon { width: 56px; }

    #logos-bg { display: none; }
}
