:root {
    /* Cores de Fundo e Texto */
    --bg-color: #ffffff;
    --text-main: #2e2a36; /* Tom bem escuro de roxo para o texto principal, quase preto */
    --text-muted: #6b637a; /* Cinza-arroxeado para texto de apoio */
    
    /* Configurações dos Cards (Clean/Soft Shadows) */
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(216, 180, 254, 0.4); /* Lilás bem suave na borda */
    --card-hover-border: rgba(192, 132, 252, 0.8);
    
    /* Cores de Destaque - Tons de Lilás/Roxo Pastel */
    /* Botão Principal */
    --primary: #a855f7;
    --primary-hover: #9333ea;
    --primary-glow: rgba(168, 85, 247, 0.3);
    
    /* Botão Secundário */
    --secondary: #c084fc;
    --secondary-hover: #a855f7;
    --secondary-glow: rgba(192, 132, 252, 0.3);
    
    /* Botão Bônus (Accent) */
    --accent: #d8b4fe;
    --accent-hover: #c084fc;
    --accent-glow: rgba(216, 180, 254, 0.4);
    
    /* Tipografia */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 2rem;
}

/* =========================================
   Elementos de Fundo (Blur/Glow)
   ========================================= */
.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

/* Orbs com tons pastéis para combinar com o fundo branco */
.orb-1 {
    top: -10%;
    left: 10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(216, 180, 254, 0.5) 0%, rgba(255,255,255,0) 70%);
}

.orb-2 {
    bottom: -10%;
    right: 5%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(233, 213, 255, 0.6) 0%, rgba(255,255,255,0) 70%);
    animation-delay: -10s;
}

/* Ícones Flutuantes do Fundo */
.bg-icon {
    position: absolute;
    color: rgba(192, 132, 252, 0.25); /* Lilás bem clarinho e quase transparente */
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 10px rgba(192, 132, 252, 0.2));
    animation: floatIcon 25s linear infinite;
    z-index: 0;
}

.icon-1 { top: 15%; left: 5%; animation-duration: 22s; animation-delay: -5s; } /* Pena */
.icon-2 { top: 60%; left: 10%; animation-duration: 28s; animation-delay: -2s; transform: scale(1.2); } /* Ampulheta */
.icon-3 { top: 20%; right: 10%; animation-duration: 20s; animation-delay: -8s; } /* Marcador de Livro */
.icon-4 { top: 75%; right: 8%; animation-duration: 26s; animation-delay: -12s; transform: scale(1.5); } /* Construção Clássica */
.icon-5 { top: 40%; left: 80%; animation-duration: 30s; animation-delay: -15s; } /* Livro Aberto */
.icon-6 { top: 85%; left: 45%; animation-duration: 24s; animation-delay: -7s; width: 60px; height: 60px; } /* Globo Reverso */

/* Novos Ícones Adicionados */
.icon-7 { top: 35%; left: 20%; animation-duration: 27s; animation-delay: -11s; width: 65px; height: 65px; } /* Documento/Pergaminho */
.icon-8 { top: 10%; left: 50%; animation-duration: 32s; animation-delay: -18s; transform: scale(0.9); } /* Bússola/Relógio */
.icon-9 { top: 50%; right: 25%; animation-duration: 25s; animation-delay: -3s; } /* Coroa/Artefato */
.icon-10 { top: 5%; right: 30%; animation-duration: 29s; animation-delay: -9s; transform: scale(1.1); } /* Escudo Clássico */

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -40px); }
}

@keyframes floatIcon {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.3; }
    33% { transform: translateY(-30px) rotate(10deg) scale(1.1); opacity: 0.6; }
    66% { transform: translateY(20px) rotate(-10deg) scale(0.9); opacity: 0.4; }
    100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.3; }
}

/* =========================================
   Container Principal
   ========================================= */
.container {
    max-width: 1100px;
    width: 100%;
    z-index: 1;
}

/* =========================================
   Cabeçalho (Hero Section)
   ========================================= */
.hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    animation: slideUpFade 0.8s ease-out forwards;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(216, 180, 254, 0.3);
    border: 1px solid rgba(192, 132, 252, 0.5);
    border-radius: 100px;
    color: #7e22ce;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(216, 180, 254, 0.4);
}

.title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6.5vw, 5.5rem); /* Aumentado o tamanho da fonte */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 10px 30px rgba(168, 85, 247, 0.15); /* Sombra suave para o texto inteiro */
}

.highlight {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 40%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 4px 15px rgba(168, 85, 247, 0.4)); /* Brilho forte na palavra em roxo */
}

/* Sublinhado dinâmico e brilhante na palavra destacada */
.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, transparent, #c084fc, transparent);
    border-radius: 10px;
    filter: blur(2px);
    z-index: -1;
    opacity: 0.8;
}

.message {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

/* =========================================
   Grade e Cards dos Arquivos
   ========================================= */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem; /* Aumentado o espaço entre os cards */
    padding: 1rem;
}

.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 240, 255, 0.8)); /* Fundo mais brilhante e levemente roxo */
    border: 3px solid rgba(192, 132, 252, 0.6); /* Borda roxa mais grossa e visível */
    border-radius: 28px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 0.7s ease-out forwards;
    animation-delay: var(--delay);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.2); /* Sombra roxa maior de base */
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%); /* Luz interna roxa um pouco mais forte */
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.card:hover {
    transform: translateY(-20px) scale(1.05); /* Levanta e cresce bem mais no hover */
    box-shadow: 0 30px 60px rgba(168, 85, 247, 0.4), 0 0 50px rgba(192, 132, 252, 0.3); /* Glow roxo gigante no hover */
    border: 3px solid var(--primary); /* Borda fica da cor primária no hover */
    background: linear-gradient(145deg, #ffffff, #f3e8ff); /* Fundo dá uma "acendida" sutil em roxo muito claro */
}

.card:hover::before {
    opacity: 1; /* Liga o farol interno */
    animation: rotateGlow 5s linear infinite; /* Fica girando um brilho no fundo */
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ícones dos Cards (Estilizados para tema claro) */
.card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #9333ea;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 20px rgba(168, 85, 247, 0.1);
}

.card-icon.icon-secondary {
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.15), rgba(192, 132, 252, 0.05));
    border-color: rgba(192, 132, 252, 0.3);
    color: #a855f7;
    box-shadow: inset 0 0 20px rgba(192, 132, 252, 0.1);
}

.card-icon.icon-accent {
    background: linear-gradient(135deg, rgba(216, 180, 254, 0.2), rgba(216, 180, 254, 0.05));
    border-color: rgba(216, 180, 254, 0.4);
    color: #b06bf3;
    box-shadow: inset 0 0 20px rgba(216, 180, 254, 0.2);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(168, 85, 247, 0.4);
}

.card-content {
    flex-grow: 1;
    margin-bottom: 2rem;
    z-index: 1;
}

.card-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700; /* Um pouco mais encorpado para fundo claro */
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   Botões de Ação
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 1.7rem; /* Botões mais gordinhos/altos */
    border-radius: 16px; /* Mais curvo */
    font-weight: 800; /* Texto mais forte */
    font-size: 1.15rem; /* Letra maior */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase; /* Letras maiúsculas chamam mais atenção */
    letter-spacing: 1px;
}

.btn svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 24px;
    height: 24px;
}

.btn:hover {
    transform: translateY(-5px) scale(1.02); /* Botão levanta e cresce junto */
}

.btn:hover svg {
    transform: translateX(5px) scale(1.1); /* Ícone vai para o lado e cresce */
}

/* Estilos Específicos dos Botões para Tema Claro/Pastel */

/* Todos os botões iguais (Roxo Pastel) com Animação de Pulso Constante */
.btn-primary {
    background: var(--primary); /* Cor sólida roxa pastel sem branco */
    color: white;
    box-shadow: 0 8px 25px var(--primary-glow); /* Sem borda de luz branca */
    border: none;
    animation: btnPulse 3s infinite; /* Pulsa sem parar para pedir o clique! */
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.5); /* Apenas sombra roxa */
    animation: none; /* Para de pulsar quando passa o mouse */
}

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(168, 85, 247, 0); }
    100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

/* Secundário (Lilás mais claro, Outline) */
.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: #9333ea;
}

.btn-secondary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 8px 25px var(--secondary-glow);
    color: white;
}

/* Accent (Lilás super pastel, Outline) */
.btn-accent {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: #a855f7;
}

.btn-accent:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 25px var(--accent-glow);
    color: white;
}

/* =========================================
   Animações Globais
   ========================================= */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Responsividade
   ========================================= */
@media (max-width: 768px) {
    body {
        padding: 1.5rem;
    }
    
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 2rem 1.5rem;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .orb-1, .orb-2 {
        width: 80vw;
        height: 80vw;
    }
}
