/* Landing/Hero Page Styles - Final High Contrast */
:root {
    --hero-overlay-1: rgba(226, 232, 240, 0.5);
    --hero-overlay-2: rgba(219, 234, 254, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    height: 100vh;
    /* Força altura total */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Evita scroll na tela principal se possível */
    position: relative;
    background-color: #040b1a;
    /* Azul escuro condizente com a imagem de fundo */
    background-image: url('../img/login_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay mais branco para suavizar a imagem de fundo */
body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75) !important;
    /* Aumentado para 0.75 e usando branco puro */
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1100px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
    text-align: center;
}

.brand-section {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
    position: relative;
}

.brand-section h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 10px;
    color: #1e3a8a !important;
    /* Retornado para o azul original */
    text-shadow: none !important;
    /* Removido o brilho */
}

.brand-section p {
    font-size: 1.1rem;
    color: #1d4ed8 !important;
    /* Retornado para o azul original */
    font-weight: 500 !important;
    text-shadow: none !important;
}

.brand-section .highlight {
    color: #2563eb !important;
    /* Retornado para o azul original */
    font-weight: 800;
}

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.design-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
    border: none;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.35);
    color: white;
}

.design-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.45);
}

.design-card:nth-child(2):hover {
    box-shadow: 0 20px 60px rgba(5, 150, 105, 0.45);
}

.design-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: transform 0.4s;
}

.design-card:hover::before {
    transform: scale(1.4);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.design-card:hover .icon-box {
    transform: rotate(10deg);
    background: rgba(255, 255, 255, 0.25);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.card-content p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    margin-bottom: 20px;
}

.cta-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 24px;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    backdrop-filter: blur(4px);
}

.footer-wrapper {
    margin-top: 40px;
    opacity: 0.8 !important;
}

.footer-wrapper .footer {
    color: inherit !important;
    /* Remove o branco forçado */
    text-shadow: none !important;
}

.footer-wrapper .footer strong {
    color: inherit !important;
}

@media (max-width: 1024px) {
    body {
        height: auto;
        overflow-y: auto;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .cards-wrapper {
        grid-template-columns: 1fr;
    }
}