/* Custom styles for Landing Page Auditor */
:root {
    --primary-color: #007bff;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: white;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin: 0 auto 20px;
}

.score-excellent {
    background: var(--success-color);
}

.score-good {
    background: var(--warning-color);
    color: #333;
}

.score-poor {
    background: var(--danger-color);
}

.audit-category {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
}

.audit-category h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.audit-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.audit-item:last-child {
    border-bottom: none;
}

.audit-item .status {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

.status-pass {
    color: var(--success-color);
}

.status-warning {
    color: var(--warning-color);
}

.status-fail {
    color: var(--danger-color);
}

.recommendations-list {
    background: var(--light-color);
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.recommendations-list ul {
    margin: 0;
    padding-left: 20px;
}

.recommendations-list li {
    margin-bottom: 5px;
}

.loading-messages {
    text-align: center;
    padding: 20px;
}

.audit-summary {
    /* background: white; */
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.score-card {
    text-align: center;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
}

.score-card.excellent {
    border-color: var(--success-color);
}

.score-card.good {
    border-color: var(--warning-color);
}

.score-card.poor {
    border-color: var(--danger-color);
}

.score-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.score-label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #000;
}

.audit-details {
    margin-top: 30px;
}

.category-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.category-content {
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    background: #fff;
}

.audit-check {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #d4dfea;
}

.audit-check:last-child {
    border-bottom: none;
}

.audit-check-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

.audit-check-icon.pass {
    background: var(--success-color);
    color: white;
}

.audit-check-icon.warning {
    background: var(--warning-color);
    color: #333;
}

.audit-check-icon.fail {
    background: var(--danger-color);
    color: white;
}

.audit-check-content {
    flex: 1;
}

.audit-check-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
}

.audit-check-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.audit-check-recommendations {
    background: #fffcb2;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.audit-check-recommendations ul {
    margin: 0;
    padding-left: 20px;
}

.audit-check-recommendations li {
    margin-bottom: 5px;
}

.btn-audit {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-audit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* PageSpeed Section */
.pagespeed-section {
    margin-top: 2rem;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.score-card .score-label{
    color: #000;
}


.score-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.text-muted { font-size: 18px;}

.score-value {
    font-weight: bold;
    font-size: 1.1rem;
}

.score-item:last-child {
    border-bottom: none;
}

.progress-custom {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-custom {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #0056b3);
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    .score-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .audit-category {
        padding: 15px;
    }
}

/* Animation for loading */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading-text {
    animation: pulse 2s infinite;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}


.bg-light{
    background-color: #1c2333 !important;
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
}
