/* ==========================================================================
   DESIGN SYSTEM - VARIÁVEIS & CONFIGURAÇÃO GLOBAL
   ========================================================================== */
:root {
    /* Paleta de Cores Premium (Modo Escuro) */
    --color-bg-dark: #090a0f;
    --color-card-bg: rgba(18, 20, 32, 0.45);
    --color-card-border: rgba(255, 255, 255, 0.07);
    --color-card-shadow: rgba(0, 0, 0, 0.4);
    
    /* Cores de Acento (Gradientes Tecnológicos) */
    --color-primary: #7c3aed; /* Violeta */
    --color-secondary: #06b6d4; /* Ciano/Neon */
    --color-accent: #ec4899; /* Rosa */
    
    --color-text-main: #f3f4f6; /* Off-White */
    --color-text-muted: #9ca3af; /* Cinza suave */
    --color-text-dark: #4b5563;
    
    /* Fontes */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Efeitos */
    --glow-violet: 0 0 20px rgba(124, 58, 237, 0.35);
    --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.35);
    --blur-card: blur(20px);
}

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

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

/* ==========================================================================
   FUNDO DINÂMICO AURORA (BLOBS ANIMADOS)
   ========================================================================== */
.aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    mix-blend-mode: screen;
    animation: float 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
    animation-delay: -5s;
    animation-duration: 30s;
}

.blob-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    animation-delay: -10s;
    animation-duration: 20s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(5%, 10%) scale(1.1) rotate(180deg);
    }
    100% {
        transform: translate(-5%, -5%) scale(0.9) rotate(360deg);
    }
}

/* ==========================================================================
   CONTEÚDO E ESTRUTURA PRINCIPAL
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    margin-bottom: 2rem;
    text-align: center;
    animation: fadeInDown 1s ease-out;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-text-main);
    text-transform: uppercase;
}

.logo-accent {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Card Principal (Glassmorphism) */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 680px;
    margin: auto 0;
    animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card {
    background: var(--color-card-bg);
    backdrop-filter: var(--blur-card);
    -webkit-backdrop-filter: var(--blur-card);
    border: 1px solid var(--color-card-border);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    width: 100%;
    box-shadow: 0 20px 50px var(--color-card-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Efeito de Reflexo no Card */
.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    pointer-events: none;
    animation: shine 8s infinite linear;
}

@keyframes shine {
    0% { transform: translate(-30%, -30%) rotate(45deg); }
    100% { transform: translate(30%, 30%) rotate(45deg); }
}

/* ==========================================================================
   ÍCONE SVG ANIMADO
   ========================================================================== */
.icon-container {
    width: 90px;
    height: 90px;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gear-icon {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.gear-center {
    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 5;
    filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.5));
}

.gear-teeth {
    fill: none;
    stroke: var(--color-text-main);
    stroke-width: 7;
    stroke-linecap: round;
    transform-origin: 50px 50px;
    animation: rotateGear 15s infinite linear;
}

.orbit-ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
    stroke-dasharray: 4 4;
}

.orbit-dot {
    fill: var(--color-accent);
    transform-origin: 50px 50px;
    animation: orbitDot 6s infinite linear;
    filter: drop-shadow(0 0 4px var(--color-accent));
}

@keyframes rotateGear {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbitDot {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   TÍTULOS E TEXTOS
   ========================================================================== */
.title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 2.2rem;
}

/* ==========================================================================
   BARRA DE PROGRESSO
   ========================================================================== */
.progress-container {
    width: 100%;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.progress-label {
    color: var(--color-text-muted);
}

.progress-percentage {
    color: var(--color-secondary);
    text-shadow: var(--glow-cyan);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 10px;
    position: relative;
    box-shadow: var(--glow-cyan);
    transition: width 1.5s ease-out-in;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; filter: brightness(1.15); }
}



/* ==========================================================================
   RODAPÉ (SOCIAL LINKS & COPYRIGHT)
   ========================================================================== */
.footer {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}



.copyright {
    font-size: 0.8rem;
    color: var(--color-text-dark);
}

/* ==========================================================================
   MICRO-ANIMAÇÕES GERAIS E TRANSICÕES
   ========================================================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
@media (max-width: 640px) {
    .container {
        padding: 2rem 1rem;
    }
    
    .card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .description {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }
    

    

}
