:root {
    /* Fort Cybersecurity Color Palette - inspired by the uploaded image */
    --primary-dark: #0a1f1f;
    --primary-darker: #051414;
    --accent-teal: #2dd4bf;
    --accent-green: #86efac;
    --accent-dark-teal: #14b8a6;
    --accent-lime: #bef264;
    
    --text-light: #f0fdfa;
    --text-gray: #99f6e4;
    --text-muted: #5eead4;
    
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #22c55e;
    --info: #3b82f6;
    
    --card-bg: rgba(20, 184, 166, 0.05);
    --card-border: rgba(45, 212, 191, 0.2);
    --hover-bg: rgba(45, 212, 191, 0.1);
}

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 50%, #0d2626 100%);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
}

/* Background pattern similar to Fort website */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(45, 212, 191, 0.02) 50%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(45, 212, 191, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header / Navigation */
.header {
    background: rgba(10, 31, 31, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.7rem;
    font-weight: normal;
    color: var(--text-light);
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.shield-icon {
    width: 50px;
    height: 50px;
    position: relative;
}

.shield-icon svg {
    filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.5));
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0 3rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-light), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent-teal);
    box-shadow: 0 8px 30px rgba(45, 212, 191, 0.15);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.card h2 {
    font-size: 1.75rem;
    color: var(--text-light);
}

.card h3 {
    font-size: 1.5rem;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    transition: all 0.3s ease;
    /* transparent border keeps outlined and filled buttons the same height */
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

/* icons read heavier than the text beside them at the same colour */
.btn .lucide {
    opacity: 0.75;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-dark-teal));
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(45, 212, 191, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(45, 212, 191, 0.1);
    color: var(--accent-teal);
    border-color: var(--accent-teal);
}

.btn-secondary:hover {
    background: rgba(45, 212, 191, 0.2);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(45, 212, 191, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-green));
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
}

/* Question Styles */
.question-container {
    margin-bottom: 2rem;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-item {
    background: rgba(45, 212, 191, 0.05);
    border: 2px solid var(--card-border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.option-item:hover {
    background: var(--hover-bg);
    border-color: var(--accent-teal);
}

.option-item.selected {
    background: rgba(45, 212, 191, 0.15);
    border-color: var(--accent-teal);
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.2);
}

.option-item.multiselect {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-teal);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkbox.checked {
    background: var(--accent-teal);
}

.checkbox.checked::after {
    content: '✓';
    color: var(--primary-dark);
    font-weight: bold;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-value.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Alert Boxes */
.alert {
    padding: 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

.alert-info {
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
}

/* Gap Analysis */
.gap-analysis-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gap-item {
    border-left: 4px solid var(--card-border);
    padding-left: 1.25rem;
    padding: 1rem 0 1rem 1.25rem;
}

.gap-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.gap-status {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.gap-status.conform {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.gap-status.partial {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

.gap-status.neconform {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.gap-area {
    font-weight: 600;
    color: var(--text-light);
}

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

/* Implementation Plan */
.phase-container {
    margin-bottom: 2.5rem;
}

.phase-title {
    font-size: 1.5rem;
    color: var(--accent-teal);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--card-border);
}

.actions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-item {
    background: rgba(45, 212, 191, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 1.25rem;
}

.action-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.action-title {
    font-weight: 600;
    color: var(--text-light);
    flex: 1;
}

.action-badges {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-critical {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.badge-high {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

.badge-medium {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.badge-effort {
    background: rgba(100, 116, 139, 0.2);
    color: #cbd5e1;
}

.action-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(45, 212, 191, 0.1);
    border-top: 4px solid var(--accent-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-buttons .btn {
    flex: 1;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
    color: inherit;
}

.feature-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(45, 212, 191, 0.3);
    background: rgba(45, 212, 191, 0.08);
    cursor: pointer;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(45, 212, 191, 0.5);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    margin-top: 4rem;
    background: rgba(5, 35, 40, 0.6);
    backdrop-filter: blur(16px);
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(202, 232, 238, 0.6);
    margin-top: 1rem;
}

.footer-brand .brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand .brand-name img {
    height: 24px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(202, 232, 238, 0.5);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(202, 232, 238, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent-teal);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 0.375rem;
    background: rgba(45, 212, 191, 0.08);
    color: rgba(202, 232, 238, 0.6);
    transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
    background: rgba(45, 212, 191, 0.2);
    color: var(--accent-teal);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(202, 232, 238, 0.4);
    background: rgba(0, 22, 27, 0.3);
}

.footer-bottom a {
    color: rgba(202, 232, 238, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--accent-teal);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .action-header {
        flex-direction: column;
        align-items: start;
    }
    
    .action-badges {
        width: 100%;
        flex-wrap: wrap;
    }
}

/* Inline SVG Icons */
.lucide {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lucide-lg {
    width: 1.5em;
    height: 1.5em;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.hidden { display: none; }


@media print {
    .header, .footer, .btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .stat-value {
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
        background-clip: unset !important;
        color: black !important;
    }

    .stat-value.danger {
        background: none !important;
        -webkit-text-fill-color: unset !important;
        color: #cc0000 !important;
    }

    .stat-value.warning {
        background: none !important;
        -webkit-text-fill-color: unset !important;
        color: #cc6600 !important;
    }

    .card, .stat-card {
        background: white !important;
        border: 1px solid #cccccc !important;
        box-shadow: none !important;
    }
}