/* Interface compacta com navbar em três blocos. */
.grid-bg,
.hero-glow,
.beta-glow,
[hidden] {
    display: none !important;
}

.hero-kicker,
.hero-title-wrapper,
.hero-slogan,
.hero-actions,
.hero-details,
.reveal-on-scroll,
.reveal-on-scroll.revealed {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
}

body::after,
.home-page::after {
    background: rgba(3, 7, 15, 0.1) !important;
}

/* Marca à esquerda, abas no centro e comunidade à direita. */
.navbar,
.navbar:not(.scrolled),
.navbar.scrolled {
    top: 4px !important;
    left: 50% !important;
    right: auto !important;
    width: calc(100% - 180px) !important;
    max-width: 980px !important;
    min-height: 62px;
    padding: 8px 12px !important;
    transform: translateX(-50%) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 18px !important;
    background: rgba(10, 13, 20, 0.96) !important;
    box-shadow: none !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}
.nav-inner {
    position: relative;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 44px;
}
.navbar:not(.scrolled) .nav-logo,
.navbar.scrolled .nav-logo,
.nav-logo {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    min-width: 138px !important;
    margin: 0 !important;
    color: #f5f7fb;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    opacity: 1 !important;
    transform: none !important;
}
.nav-logo img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 0 !important;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(68, 190, 255, 0.34)) !important;
    transform: scale(1.22) !important;
}
.nav-menu {
    position: absolute !important;
    left: 50%;
    flex: 0 0 auto !important;
    margin: 0 !important;
    transform: translateX(-50%);
}
.nav-menu-dropdown {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 2px;
    width: auto;
    min-width: 0;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 13px;
    background: #14171e;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: hidden;
}
.nav-slider {
    position: absolute;
    z-index: 0;
    top: 4px;
    left: 4px;
    width: 0;
    height: 34px;
    border-radius: 10px;
    background: #222630;
    pointer-events: none;
    opacity: 1;
    transform: translateX(0);
    transition:
        transform 0.44s cubic-bezier(0.2, 0.82, 0.28, 1),
        width 0.38s cubic-bezier(0.2, 0.82, 0.28, 1),
        opacity 0.18s ease;
    will-change: transform, width;
}
.nav-menu-dropdown a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition:
        color 0.2s ease,
        background 0.2s ease !important;
}
.nav-menu-dropdown a svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: rgba(255, 255, 255, 0.82);
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nav-menu-dropdown .nav-status-signal circle {
    fill: #72e3b2;
    stroke: none;
}
.nav-menu-dropdown a.active .nav-status-signal,
.nav-menu-dropdown a:hover .nav-status-signal {
    stroke: #8be8c7;
}
.nav-menu-dropdown a:hover svg,
.nav-menu-dropdown a.active svg {
    stroke: #fff;
}
.nav-menu-dropdown a::after {
    display: none !important;
}
.nav-menu-dropdown a:hover,
.nav-menu-dropdown a.active {
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}
.nav-community {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-height: 42px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 13px;
    background: #14171e;
    color: #f4f5f8;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition:
        border-color 0.2s ease,
        background 0.2s ease !important;
}
.nav-community:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: #1a1e27;
    transform: none !important;
}
.nav-community-avatar {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(145deg, #5865f2, #3d4dcc);
    color: #fff;
}
.nav-community-avatar svg {
    width: 17px;
    height: 17px;
}

/* Cartões preenchidos novamente. */
.feature-card,
.download-card,
.beta-card,
.status-card,
.refined-status-card,
.status-overview,
.status-forecast,
.support-panel,
.redirect-card,
.modal-content {
    background: linear-gradient(145deg, rgba(11, 16, 29, 0.78), rgba(5, 9, 18, 0.66)) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}
.feature-card,
.download-card,
.beta-card {
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease !important;
}
#resource-cards {
    scroll-margin-top: 92px;
}
.feature-card:hover,
.download-card:hover,
.beta-card:hover {
    transform: none !important;
    border-color: rgba(112, 159, 255, 0.28) !important;
    box-shadow:
        0 24px 62px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
.card-icon,
.beta-icon,
.section-tag,
.support-live-badge,
.req-item {
    background: rgba(78, 123, 225, 0.09) !important;
    border-color: rgba(116, 158, 255, 0.16) !important;
    box-shadow: none !important;
}
.footer {
    background: rgba(4, 7, 14, 0.42) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Único download visível: preenchimento azul sem deslocamento vertical. */
.hero-download-btn,
.dl-btn-windows {
    position: relative;
    isolation: isolate;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    width: min(350px, 100%);
    min-height: 58px;
    padding: 0 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 14px !important;
    outline: 0 !important;
    background: #fff !important;
    background-image: none !important;
    color: #080b12 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 0 0 0 rgba(91, 139, 255, 0.22);
    animation: downloadBreath 2.8s ease-in-out infinite !important;
    transition:
        color 0.3s ease,
        box-shadow 0.25s ease !important;
}
.hero-download-btn::before,
.dl-btn-windows::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    z-index: 0 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(135deg, #2563eb, #4f86ff) !important;
    transform: scaleY(0) !important;
    transform-origin: bottom !important;
    transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.hero-download-btn:hover::before,
.dl-btn-windows:hover::before {
    transform: scaleY(1) !important;
}
.hero-download-btn:hover,
.dl-btn-windows:hover {
    color: #fff !important;
    transform: none !important;
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(107, 153, 255, 0.3) !important;
}
.hero-download-btn svg,
.hero-download-btn span,
.dl-btn-windows svg,
.dl-btn-windows span {
    position: relative;
    z-index: 2;
}
.hero-learn-btn {
    background: rgba(5, 10, 19, 0.34) !important;
    border: 1px solid rgba(255, 255, 255, 0.11) !important;
    border-radius: 10px !important;
    transition:
        background 0.22s ease,
        border-color 0.22s ease !important;
}
.hero-learn-btn:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.hero-learn-btn:hover,
.hero-learn-btn:hover svg,
.btn-primary:hover,
.btn-secondary:hover,
.beta-btn:hover,
.footer-discord-btn:hover,
.status-discord-link:hover,
.support-link:hover,
.modal-btn:hover {
    transform: none !important;
}

@keyframes downloadBreath {
    0%,
    100% {
        box-shadow:
            0 12px 32px rgba(0, 0, 0, 0.3),
            0 0 0 0 rgba(91, 139, 255, 0.2);
    }
    50% {
        box-shadow:
            0 14px 36px rgba(0, 0, 0, 0.32),
            0 0 0 7px rgba(91, 139, 255, 0);
    }
}

/* Conteúdo mais próximo, semelhante a uma densidade de 115%. */
.container {
    max-width: 1240px;
}
.hero {
    min-height: 108svh;
    padding-top: 108px;
    padding-bottom: 54px;
}
.hero-content {
    position: relative;
    top: -62px;
}
.features,
.download,
.beta {
    padding-top: 72px;
    padding-bottom: 72px;
}
.section-header {
    margin-bottom: 34px;
}
.features-grid {
    gap: 16px;
}
.feature-card {
    padding: 30px;
}
.footer {
    padding-top: 64px;
}

@media (max-width: 900px) {
    .navbar,
    .navbar:not(.scrolled),
    .navbar.scrolled {
        width: calc(100% - 24px) !important;
        min-height: 54px;
        padding: 6px 8px !important;
        border-radius: 16px !important;
    }
    .nav-logo {
        min-width: auto !important;
    }
    .nav-logo > span {
        display: none;
    }
    .nav-menu {
        position: static !important;
        margin-left: auto !important;
        transform: none;
    }
    .nav-menu-dropdown {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: auto;
        display: grid;
        width: min(260px, calc(100vw - 24px));
        padding: 8px;
        border-radius: 14px;
        background: #10131a;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
    }
    .nav-menu:hover .nav-menu-dropdown,
    .nav-menu:focus-within .nav-menu-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-menu-dropdown a {
        justify-content: flex-start;
        width: 100%;
    }
    .nav-slider {
        display: none;
    }
    .nav-menu-dropdown a:hover,
    .nav-menu-dropdown a.active {
        background: #222630 !important;
    }
    .nav-community {
        display: inline-flex !important;
        min-height: 37px;
        padding: 4px;
    }
    .nav-community-avatar {
        display: grid !important;
        flex: 0 0 33px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .nav-community-avatar svg {
        display: block !important;
    }
    .hero {
        min-height: 104svh;
        padding-top: 98px;
    }
    .hero-content {
        top: -36px;
    }
    .features {
        padding-top: 58px;
        padding-bottom: 58px;
    }
}

@media (max-width: 430px) {
    .nav-logo img {
        width: 34px !important;
        height: 34px !important;
    }
    .feature-card {
        padding: 26px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-slider {
        transition: none !important;
    }
    .hero-download-btn,
    .dl-btn-windows {
        animation: none !important;
    }
}

/* Redesign editorial inspirado em produtos modernos, mantendo a identidade Trix. */
:root {
    --trix-blue: #72a8ff;
    --trix-blue-strong: #4f86ff;
    --trix-mint: #8be8c7;
    --trix-panel: rgba(10, 14, 22, 0.72);
}

body::before {
    filter: blur(24px) brightness(0.58) saturate(1.08) !important;
    transform: scale(1.12) !important;
    opacity: 0.76 !important;
}

body::after,
.home-page::after {
    background:
        radial-gradient(circle at 50% 22%, rgba(42, 92, 170, 0.13), transparent 36%),
        linear-gradient(180deg, rgba(4, 7, 12, 0.16), #07090d 82%) !important;
}

.navbar,
.navbar:not(.scrolled),
.navbar.scrolled {
    top: 14px !important;
    max-width: 1060px !important;
    min-height: 66px;
    padding: 9px 12px !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    background: rgba(9, 12, 18, 0.73) !important;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28) !important;
    backdrop-filter: blur(24px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.2) !important;
}

.nav-menu-dropdown {
    border-color: rgba(255, 255, 255, 0.055);
    background: rgba(255, 255, 255, 0.035);
}

.nav-slider {
    background: rgba(255, 255, 255, 0.09);
}

.nav-community {
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
}

.hero {
    min-height: 106svh;
}

.hero-content {
    top: -42px;
}

.hero-title {
    font-size: clamp(62px, 9.4vw, 126px);
    letter-spacing: -0.035em;
}

.hero-kicker {
    color: rgba(255, 255, 255, 0.58);
    letter-spacing: 0.24em;
}

.hero-slogan {
    max-width: 610px;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(14px, 1.35vw, 17px);
}

.trix-flow {
    position: relative;
    z-index: 2;
    padding: 104px 24px 126px;
    background: #0d0f12;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.flow-shell {
    width: min(920px, 100%);
    margin: 0 auto;
}

.flow-heading {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    text-align: left;
}

.flow-heading-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-top: 10px;
    place-items: center;
    color: #fff;
}

.flow-heading-icon svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flow-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--trix-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.flow-heading h2 {
    margin: 0;
    color: #f7f8fb;
    font-size: clamp(40px, 5.7vw, 68px);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.flow-heading h2 em {
    color: rgba(255, 255, 255, 0.48);
    font-style: normal;
}

.flow-description {
    max-width: 590px;
    margin: 24px auto 64px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

.flow-diagram {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 1.35fr) minmax(180px, 0.72fr);
    align-items: center;
    min-height: 270px;
}

.flow-sources {
    display: grid;
    gap: 20px;
}

.flow-source {
    display: flex;
    align-items: center;
    gap: 14px;
}

.flow-source > span,
.flow-logo {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.flow-source svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.84);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flow-source div {
    display: grid;
    gap: 2px;
}

.flow-source strong,
.flow-result strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 650;
}

.flow-source small,
.flow-result small {
    color: rgba(255, 255, 255, 0.38);
    font-size: 11px;
}

.flow-lines {
    width: 100%;
    height: 240px;
    overflow: visible;
}

.flow-lines path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.23);
    stroke-width: 1.5;
    stroke-dasharray: 5 7;
}

.flow-lines .flow-arrow {
    stroke: rgba(114, 168, 255, 0.78);
    stroke-dasharray: none;
}

.flow-result {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.flow-logo {
    width: 78px;
    height: 78px;
    border-color: rgba(114, 168, 255, 0.24);
    border-radius: 23px;
    background: linear-gradient(145deg, rgba(70, 124, 232, 0.2), rgba(255, 255, 255, 0.03));
    box-shadow: 0 20px 60px rgba(38, 94, 211, 0.16);
}

.flow-logo img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    border-radius: 17px;
}

.features {
    padding-top: 118px;
    padding-bottom: 124px;
    background: linear-gradient(180deg, #090b0f, rgba(5, 8, 14, 0.82));
}

.section-tag {
    color: var(--trix-blue) !important;
    border-radius: 999px !important;
}

.section-title {
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 550;
    letter-spacing: -0.05em;
}

.features-grid {
    gap: 18px;
}

.feature-card {
    min-height: 280px;
    padding: 34px;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.025) !important;
    box-shadow: none !important;
}

.feature-card:hover {
    border-color: rgba(114, 168, 255, 0.28) !important;
    background: rgba(114, 168, 255, 0.045) !important;
    box-shadow: none !important;
}

.status-theme::before {
    filter: blur(28px) brightness(0.42) saturate(1.05) !important;
}

.status-theme .premium-status-page {
    min-height: 100svh;
    padding: 128px 24px 70px;
}

.status-theme .premium-status-shell {
    width: min(820px, 100%);
}

.status-theme .premium-status-shell h1 {
    margin-bottom: 18px;
    font-size: clamp(46px, 7vw, 78px);
    font-weight: 550;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.status-theme .premium-status-shell h1 span {
    color: rgba(255, 255, 255, 0.42);
}

.status-theme .premium-status-shell > p {
    max-width: 520px;
    margin: 0 auto 36px;
    font-size: 15px;
    line-height: 1.7;
}

.status-theme .status-overview,
.status-theme .refined-status-card,
.status-theme .status-forecast {
    background: rgba(10, 14, 22, 0.68) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
}

.status-theme .status-overview {
    padding: 20px 22px;
}

.status-theme .refined-status-card .status-row {
    padding: 19px 22px;
}

.status-theme .refined-status-card .status-row:hover {
    background: rgba(255, 255, 255, 0.035);
}

.status-theme .status-forecast {
    margin-top: 12px;
    padding: 18px 20px;
}

@media (max-width: 900px) {
    .navbar,
    .navbar:not(.scrolled),
    .navbar.scrolled {
        top: 8px !important;
    }
    .hero-content {
        top: -24px;
    }
    .trix-flow {
        padding: 78px 22px 86px;
    }
    .flow-heading {
        gap: 10px;
    }
    .flow-heading-icon {
        width: 38px;
        height: 38px;
    }
    .flow-heading-icon svg {
        width: 32px;
        height: 32px;
    }
    .flow-description {
        margin-bottom: 44px;
    }
    .flow-diagram {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .flow-lines {
        display: none;
    }
    .flow-sources {
        width: min(360px, 100%);
        margin: 0 auto;
    }
    .flow-result::before {
        content: "↓";
        margin-bottom: 2px;
        color: var(--trix-blue);
        font-size: 24px;
    }
    .features {
        padding-top: 84px;
        padding-bottom: 86px;
    }
    .status-theme .premium-status-page {
        padding-top: 112px;
    }
}

@media (max-width: 520px) {
    .flow-heading {
        display: block;
        text-align: center;
    }
    .flow-heading-icon {
        margin: 0 auto 12px;
    }
    .flow-heading h2 {
        font-size: 38px;
    }
    .flow-source > span {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
    .status-theme .premium-status-shell h1 {
        font-size: 46px;
    }
}
