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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: #FFD700;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #FFD700;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.1);
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    color: #FFA500;
    opacity: 0.9;
}

/* Input Section */
.input-section {
    background: #1a1a1a;
    padding: 30px;
    border: 2px solid #FFD700;
    border-radius: 15px;
    margin-bottom: 30px;
}

.url-input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #FFD700;
    font-size: 1.1rem;
}

.input-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.input-wrapper input {
    flex: 1;
    padding: 15px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #000;
    color: #FFD700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.input-wrapper input::placeholder {
    color: #666;
}

.audit-button {
    padding: 15px 30px;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.audit-button:hover {
    background: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.audit-button:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.reset-button {
    padding: 15px 25px;
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reset-button:hover {
    background: #FFD700;
    color: #000;
    transform: translateY(-2px);
}

/* Audit Options */
.audit-options h3 {
    margin-bottom: 20px;
    color: #FFD700;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #FFD700;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    border-color: #FFD700;
    background: #2d2d2d;
}

.checkbox-label input {
    accent-color: #FFD700;
}

/* Progress Section */
.progress-section {
    background: #1a1a1a;
    padding: 30px;
    border: 2px solid #333;
    border-radius: 15px;
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-bottom: 20px;
    color: #FFA500;
    font-weight: bold;
    font-size: 1.1rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #333;
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    background: #000;
    padding: 10px 20px;
    border: 2px solid #333;
    border-radius: 20px;
    color: #666;
    font-weight: bold;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active {
    background: #FFD700;
    color: #000;
    border-color: #FFD700;
}

/* Results Section */
.results-section {
    background: #1a1a1a;
    padding: 30px;
    border: 2px solid #FFD700;
    border-radius: 15px;
    margin-bottom: 30px;
}

/* Score Card */
.score-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #000;
    border-radius: 15px;
    border: 2px solid #333;
}

.overall-score {
    text-align: center;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 4px solid #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.score-circle span {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
}

.score-label {
    color: #FFD700;
    font-weight: bold;
    font-size: 1.1rem;
}

.score-breakdown {
    display: flex;
    gap: 30px;
}

.breakdown-item {
    text-align: center;
}

.breakdown-label {
    display: block;
    color: #FFA500;
    margin-bottom: 5px;
    font-weight: bold;
}

.breakdown-score {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
}

/* Results Tabs */
.results-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.tab-button {
    padding: 12px 24px;
    background: #000;
    color: #FFD700;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.tab-button.active,
.tab-button:hover {
    background: #FFD700;
    color: #000;
    border-color: #FFD700;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: #000;
    padding: 30px 20px;
    border: 2px solid #333;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
}

.metric-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 5px;
}

.metric-label {
    color: #FFA500;
    font-weight: bold;
}

/* Issues and Recommendations */
.issues-list,
.recommendations-list {
    max-height: 400px;
    overflow-y: auto;
}

.issue-item,
.recommendation-item {
    background: #000;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.issue-item:hover,
.recommendation-item:hover {
    border-color: #FFD700;
    transform: translateX(5px);
}

.issue-header,
.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.issue-title,
.recommendation-title {
    color: #FFD700;
    font-weight: bold;
    font-size: 1.1rem;
}

.issue-severity {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.severity-high { background: #ff4444; color: #000; }
.severity-medium { background: #FFA500; color: #000; }
.severity-low { background: #FFD700; color: #000; }

.issue-description,
.recommendation-description {
    color: #ccc;
    margin-bottom: 10px;
}

.issue-solution,
.recommendation-steps {
    color: #FFA500;
    font-size: 0.9rem;
}

/* Detailed Report */
.detailed-report {
    background: #000;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

.report-section {
    margin-bottom: 25px;
}

.report-section h4 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

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

.report-label {
    color: #FFA500;
    font-weight: bold;
}

.report-value {
    color: #FFD700;
    font-weight: bold;
}

/* Export Section */
.export-section {
    text-align: center;
    margin-top: 30px;
}

.export-button {
    padding: 15px 30px;
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.export-button:hover {
    background: #FFD700;
    color: #000;
    transform: translateY(-2px);
}

/* Test Section */
.test-section {
    background: #1a1a1a;
    padding: 30px;
    border: 2px solid #333;
    border-radius: 15px;
    margin-bottom: 30px;
}

.test-section h3 {
    margin-bottom: 20px;
    color: #FFD700;
    text-align: center;
}

.test-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.test-button {
    padding: 12px 20px;
    background: #333;
    color: #FFD700;
    border: 2px solid #555;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-button:hover {
    background: #FFD700;
    color: #000;
    border-color: #FFD700;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    border-top: 1px solid #333;
    margin-top: 40px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFA500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .input-wrapper {
        flex-direction: column;
    }
    
    .score-card {
        flex-direction: column;
        gap: 20px;
    }
    
    .score-breakdown {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .results-tabs {
        flex-wrap: wrap;
    }
    
    .test-buttons {
        flex-direction: column;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .step {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }
}
