/* Main Styles */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --gray-color: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
}

header h1 {
    font-weight: 700;
    margin-bottom: 20px;
}

header .lead {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

section h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-weight: 600;
    margin-bottom: 15px;
}

/* Feature Icons */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    font-size: 1.5rem;
}

/* Domain Evaluator */
#evaluator .card {
    padding: 20px;
}

#domainInput {
    font-size: 1.1rem;
    padding: 12px 15px;
}

/* Results Section */
.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--primary-color) 0% var(--percentage, 85%), #e9ecef var(--percentage, 85%) 100%);
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: white;
}

.overall-score {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rating {
    font-weight: 600;
    color: var(--primary-color);
}

/* Category Scores */
.score-item {
    margin-bottom: 15px;
}

.score-item .progress {
    height: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

.score-item .progress-bar {
    background-color: var(--primary-color);
}

.score {
    font-weight: 600;
}

/* Analysis Tab */
.analysis-content h6 {
    margin-top: 20px;
    font-weight: 600;
}

.strengths-list li {
    color: var(--success-color);
}

.weaknesses-list li {
    color: var(--warning-color);
}

/* Multiple Results Table */
#multiResults table {
    font-size: 0.95rem;
}

#multiResults th {
    font-weight: 600;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        padding: 50px 0;
        text-align: center;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-circle::before {
        width: 100px;
        height: 100px;
    }
    
    .overall-score {
        font-size: 2rem;
    }
}

/* Domain Illustration Placeholder */
img[src="domain-illustration.svg"] {
    max-width: 100%;
    height: auto;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Detail Button */
.btn-detail {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Loading Spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
}
