/* EU Digital Resilience Toolkit - Enterprise Edition Styles */

:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(to bottom, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

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

/* Hero Section WOW with Gradient */
.hero-wow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: white;
}

.hero-wow h2 {
    font-size: 2.2rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-description {
    font-size: 1.2rem;
    color: #e0e7ff;
    margin: 0;
    font-weight: 500;
}

/* 4 Feature Badges WOW */
.features-wow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-badge {
    text-align: center;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-green {
    background: #e8f5e9;
}

.feature-blue {
    background: #e3f2fd;
}

.feature-orange {
    background: #fff3e0;
}

.feature-pink {
    background: #fce4ec;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feature-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-green .feature-title {
    color: #2e7d32;
}

.feature-blue .feature-title {
    color: #1565c0;
}

.feature-orange .feature-title {
    color: #e65100;
}

.feature-pink .feature-title {
    color: #c2185b;
}

.feature-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
}

.feature-green .feature-subtitle {
    color: #558b2f;
}

.feature-blue .feature-subtitle {
    color: #1976d2;
}

.feature-orange .feature-subtitle {
    color: #ef6c00;
}

.feature-pink .feature-subtitle {
    color: #d81b60;
}

/* Original Hero - Keep for backward compatibility */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: white;
}

.hero h2 {
    margin-top: 0;
    color: white;
    font-size: 2rem;
}

.hero p, .hero ul {
    color: #e0e7ff;
}

/* Header - Enterprise Grade */
header {
    text-align: center;
    padding: 50px 20px;
    background: var(--bg-gradient);
    color: white;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

header h1 {
    font-size: 2.75rem;
    margin-bottom: 10px;
    position: relative;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.05rem;
    opacity: 0.95;
    position: relative;
    font-weight: 500;
}

/* Navigation - Enhanced */
#main-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-btn {
    padding: 14px 28px;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.nav-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.nav-btn.active {
    background: var(--bg-gradient);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

/* Views */
.view {
    display: none;
}

.view.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

/* Hero Section */
.hero {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.hero h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hero ul {
    margin-left: 20px;
    margin-top: 10px;
}

.hero li {
    margin-bottom: 8px;
}

/* Features - Enhanced */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Assessment Domains */
.assessment-domains {
    margin-bottom: 40px;
}

.assessment-domains h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.domain-card {
    background: linear-gradient(to bottom right, #ffffff 0%, #f8fafc 100%);
    padding: 28px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.domain-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-xl);
    border-left-width: 8px;
}

.domain-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.15rem;
}

.domain-card ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.domain-card li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.points {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
    padding: 8px 14px;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-radius: 8px;
    display: inline-block;
}
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
}

/* Risk Levels */
.risk-levels {
    margin-bottom: 40px;
}

.risk-levels h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.risk-card {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 5px solid;
}

.risk-low {
    border-top-color: var(--success-color);
}

.risk-medium {
    border-top-color: var(--warning-color);
}

.risk-high {
    border-top-color: var(--danger-color);
}

.risk-card h3 {
    margin-bottom: 10px;
}

.risk-card .score {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

/* CTA Section - Enterprise Enhanced */
.cta {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.btn-primary {
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    padding: 14px 32px;
    background-color: var(--bg-card);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-info {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    position: relative;
}.cta-info {
    margin-top: 15px;
    color: var(--text-secondary);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #1e40af);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.progress-step {
    flex: 1;
    min-width: 150px;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.progress-step.completed {
    background-color: var(--success-color);
    color: white;
}

.progress-step.active {
    background-color: var(--primary-color);
    color: white;
}

.progress-step.pending {
    background-color: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* Assessment Form */
#assessment-content {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.phase-content h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.phase-content .phase-subtitle {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group select,
.form-group input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group select:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group-inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-label:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Assessment Navigation */
.assessment-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.assessment-nav button {
    flex: 1;
    max-width: 200px;
}

/* Results Section */
.results-summary {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    color: white;
    border-radius: 12px;
    margin-bottom: 30px;
}

.results-summary h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.score-display {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

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

.score-value {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

.score-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.results-details {
    display: grid;
    gap: 20px;
}

.result-section {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.result-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.result-section ul {
    margin-left: 20px;
}

.result-section li {
    margin-bottom: 10px;
}

.gap-item {
    background-color: #fef3c7;
    padding: 12px;
    border-left: 4px solid var(--warning-color);
    margin-bottom: 10px;
    border-radius: 4px;
}

.recommendation-item {
    background-color: #dbeafe;
    padding: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 10px;
    border-radius: 4px;
}

.priority-high {
    border-left-color: var(--danger-color);
    background-color: #fee2e2;
}

.priority-medium {
    border-left-color: var(--warning-color);
    background-color: #fef3c7;
}

.priority-low {
    border-left-color: var(--success-color);
    background-color: #d1fae5;
}

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

.export-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* About Section */
.about-content {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-content h3 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.about-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-content li {
    margin-bottom: 10px;
}

.disclaimer {
    background-color: #fef3c7;
    padding: 15px;
    border-left: 4px solid var(--warning-color);
    border-radius: 4px;
    margin: 20px 0;
}

.links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 2px solid var(--border-color);
    color: var(--text-secondary);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Real-time Feedback Styles */
.help-text {
    margin-top: 6px;
    margin-bottom: 10px;
    padding: 10px 15px;
    background-color: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #1e40af;
    line-height: 1.5;
}

.feedback-box {
    margin-top: 8px;
    display: none;
}

.feedback-box > div {
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    border-left: 4px solid;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feedback-critical {
    background-color: #fef2f2;
    border-left-color: var(--danger-color);
    color: #991b1b;
}

.feedback-warning {
    background-color: #fffbeb;
    border-left-color: var(--warning-color);
    color: #92400e;
}

.feedback-good {
    background-color: #f0fdf4;
    border-left-color: var(--success-color);
    color: #166534;
}

.feedback-neutral {
    background-color: #f8fafc;
    border-left-color: var(--secondary-color);
    color: #475569;
}

/* Enhanced Results Container */
.results-container {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.results-container h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.score-summary {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.total-score {
    text-align: center;
    margin-bottom: 30px;
}

.total-score h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.score-value {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.risk-badge {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.risk-badge.risk-low {
    background-color: #d1fae5;
    color: #065f46;
}

.risk-badge.risk-medium {
    background-color: #fef3c7;
    color: #92400e;
}

.risk-badge.risk-high {
    background-color: #fee2e2;
    color: #991b1b;
}

.area-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.area-score {
    background: white;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.area-score > div {
    flex: 1;
}

.area-score strong {
    color: var(--text-primary);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 8px;
}

.area-score span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    white-space: nowrap;
    margin-left: 15px;
}

.score-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border-radius: 4px;
    transition: width 0.5s ease-out;
}

.rec-priority {
    display: inline-block;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

.results-section {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 2px solid var(--border-color);
}

.results-section h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 1.4rem;
}

.findings-list,
.gaps-list {
    list-style: none;
    padding: 0;
}

.findings-list li,
.gaps-list li {
    padding: 12px;
    margin-bottom: 10px;
    background: #fef2f2;
    border-left: 4px solid var(--danger-color);
    border-radius: 6px;
    color: #991b1b;
}

.gaps-list li {
    background: #fffbeb;
    border-left-color: var(--warning-color);
    color: #92400e;
}

.recommendations-list {
    list-style: none;
    counter-reset: rec-counter;
    padding: 0;
}

.recommendations-list li {
    counter-increment: rec-counter;
    padding: 12px 12px 12px 45px;
    margin-bottom: 10px;
    background: #f0fdf4;
    border-left: 4px solid var(--success-color);
    border-radius: 6px;
    color: #166534;
    position: relative;
}

.recommendations-list li::before {
    content: counter(rec-counter);
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--success-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.success-message {
    background: #f0fdf4;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid var(--success-color);
    color: #166534;
    font-size: 1.1rem;
    text-align: center;
    margin: 20px 0;
}

.export-section {
    margin: 30px 0;
    padding: 25px;
    background: #f8fafc;
    border-radius: 10px;
    text-align: center;
}

.export-section h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.export-section button {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .container {
        padding: 15px;
    }

    .domains-grid,
    .risk-grid,
    .features {
        grid-template-columns: 1fr;
    }

    .assessment-nav {
        flex-direction: column;
    }

    .assessment-nav button {
        max-width: 100%;
    }

    .score-display {
        flex-direction: column;
        gap: 15px;
    }

    .form-group-inline {
        grid-template-columns: 1fr;
    }
    
    .score-value {
        font-size: 3rem;
    }
    
    .area-scores {
        grid-template-columns: 1fr;
    }
}

/* WOW Feedback Boxes - Real-Time Colored Feedback */
.feedback-optimal {
    background: #d4edda;
    border-left: 5px solid #28a745;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.feedback-acceptable {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.feedback-needs-improvement {
    background: #f8d7da;
    border-left: 5px solid #dc3545;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.feedback-critical {
    background: #f8d7da;
    border-left: 5px solid #c82333;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(200, 35, 51, 0.3);
    border: 2px solid #dc3545;
}

.feedback-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feedback-optimal .feedback-title {
    color: #155724;
}

.feedback-acceptable .feedback-title {
    color: #856404;
}

.feedback-needs-improvement .feedback-title,
.feedback-critical .feedback-title {
    color: #721c24;
}

.feedback-content {
    line-height: 1.6;
}

/* Phase Headers with Unique Gradients */
.phase-header-governance {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    color: white;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.phase-header-risk {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    color: white;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.phase-header-supply {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    color: white;
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.3);
}

.phase-header-incident {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    color: white;
    box-shadow: 0 4px 15px rgba(250, 112, 154, 0.3);
}

.phase-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.phase-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 1rem;
}

/* Progress Bars with Dynamic Colors */
.progress-bar-wow {
    background: #e0e0e0;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-fill-wow {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: width 0.3s ease;
    border-radius: 15px;
}

.progress-green {
    background: linear-gradient(90deg, #4caf50 0%, #66bb6a 100%);
}

.progress-orange {
    background: linear-gradient(90deg, #ff9800 0%, #ffa726 100%);
}

.progress-red {
    background: linear-gradient(90deg, #f44336 0%, #e57373 100%);
}

/* Scope Summary Box */
.scope-summary {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #4caf50;
    font-size: 0.95rem;
}

.scope-summary strong {
    color: #2e7d32;
}

/* Info Box for skipped sections */
.info-box {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2196f3;
    text-align: center;
    margin: 20px 0;
}

.info-box p {
    margin: 5px 0;
    color: #1565c0;
}

/* Single page assessment */
.single-page-assessment {
    max-width: 900px;
    margin: 0 auto;
}

.score-header {
    position: sticky;
    top: 0;
    background: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 100;
}

.score-header h2 {
    margin: 0 0 15px 0;
    color: #1e293b;
}

.score-bar {
    height: 30px;
    background: #f1f5f9;
    border-radius: 15px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.5s ease, background 0.3s ease;
    border-radius: 15px;
}

.assessment-section {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.assessment-section h2 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.phase-subtitle {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.final-actions {
    text-align: center;
    margin: 40px 0;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
}
