/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f3f4f6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.header-content {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 1.5rem;
    padding: 2rem;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.header-content .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.badges {
    margin-top: 1rem;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin: 0 0.5rem;
    display: inline-block;
}

/* Download Alert */
.download-alert {
    background-color: #d1fae5;
    border: 2px solid #10b981;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.download-alert h3 {
    color: #065f46;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.download-alert p {
    color: #065f46;
    margin-bottom: 1rem;
}

.download-btn {
    background-color: #10b981;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.download-btn:hover {
    transform: scale(1.05);
    background-color: #059669;
}

.download-info {
    color: #065f46;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Actions Grid */
.actions-section {
    margin-bottom: 2rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s;
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.action-card:nth-child(1) h3 {
    color: #10b981;
}

.action-card:nth-child(2) h3 {
    color: #2563eb;
}

.action-card:nth-child(3) h3 {
    color: #7c3aed;
}

.action-btn {
    width: 100%;
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.action-btn:hover {
    transform: scale(1.05);
}

.download-btn-card {
    background-color: #10b981;
}

.download-btn-card:hover {
    background-color: #059669;
}

.features-btn {
    background-color: #3b82f6;
}

.features-btn:hover {
    background-color: #2563eb;
}

.instructions-btn {
    background-color: #8b5cf6;
}

.instructions-btn:hover {
    background-color: #7c3aed;
}

.action-card p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Info Section */
.info-section {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.info-section h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #374151;
    margin-bottom: 1rem;
}

.results-container {
    background-color: #1f2937;
    color: #10b981;
    padding: 1.5rem;
    border-radius: 0.75rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    white-space: pre-wrap;
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
    border: 2px solid #374151;
    line-height: 1.4;
}

/* Footer */
.site-footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.site-footer p:first-child {
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.site-footer p:last-child {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2rem;
    }
    
    .header-content .subtitle {
        font-size: 1rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .download-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .action-btn {
        padding: 1.25rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem 0;
    }
    
    .header-content {
        padding: 1.5rem 1rem;
    }
    
    .header-content h1 {
        font-size: 1.75rem;
    }
    
    .badge {
        display: block;
        margin: 0.25rem auto;
        width: fit-content;
    }
    
    .download-alert {
        padding: 1rem;
    }
    
    .download-alert h3 {
        font-size: 1.25rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.action-card {
    animation: fadeIn 0.6s ease-out;
}

.action-card:nth-child(1) { animation-delay: 0.1s; }
.action-card:nth-child(2) { animation-delay: 0.2s; }
.action-card:nth-child(3) { animation-delay: 0.3s; }