.seo-audit-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.seo-audit-container h2 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-size: 32px;
}

#seo-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

#seo-form input {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#seo-form input:focus {
    outline: none;
    border-color: #667eea;
}

#seo-form button {
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

#seo-form button:hover {
    transform: translateY(-2px);
}

#seo-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#results {
    margin-top: 40px;
    animation: slideUp 0.5s;
}

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

.score-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    margin-bottom: 30px;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    flex-direction: column;
}

#score {
    font-size: 48px;
    font-weight: bold;
}

.score-circle small {
    font-size: 18px;
    opacity: 0.9;
}

#grade {
    margin: 0;
    font-size: 28px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.stat h4 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.stat div {
    font-size: 36px;
    font-weight: bold;
    color: #667eea;
}

.details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.section h4 {
    margin: 0 0 15px 0;
    color: #1a1a1a;
    font-size: 18px;
}

.section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section li {
    padding: 10px;
    background: white;
    margin-bottom: 8px;
    border-radius: 6px;
}

.section table {
    width: 100%;
    background: white;
    border-radius: 6px;
    overflow: hidden;
}

.section table th,
.section table td {
    padding: 12px;
    text-align: left;
}

.section table th {
    background: #667eea;
    color: white;
    font-weight: 600;
}

.section table tr:nth-child(even) {
    background: #f8f9fa;
}

#error {
    padding: 20px;
    background: #ffebee;
    color: #c62828;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #c62828;
}

@media (max-width: 768px) {
    .seo-audit-container {
        padding: 20px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .section table {
        font-size: 14px;
    }
    
    .section table th,
    .section table td {
        padding: 8px;
    }
}
