body {
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.loader {
    border-top-color: #4f46e5;
    -webkit-animation: spinner 1.5s linear infinite;
    animation: spinner 1.5s linear infinite;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.fade-in-up {
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-item.active {
    background-color: #eff6ff;
    color: #4f46e5;
    border-right: 3px solid #4f46e5;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Micro-interactions */
.hover-scale {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.hover-scale:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.btn-press {
    transition: transform 0.1s ease;
}

.btn-press:active {
    transform: scale(0.98);
}

/* Accessible focus affordances for clickable cards */
.card-clickable {
    position: relative;
}

.card-clickable:focus-within {
    outline: 3px solid #6366f1;
    outline-offset: 4px;
    border-radius: 1rem;
}

.card-link {
    position: relative;
    z-index: 1;
}

.card-link:focus-visible {
    outline: 0;
}

/* Improved Prose Readability */
.prose {
    color: #1e293b !important;
    /* Darker base text */
    line-height: 1.75;
}

.prose h2 {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.75em !important;
}

.prose h3 {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    margin-top: 1.25em !important;
    margin-bottom: 0.5em !important;
}

.prose p {
    margin-bottom: 1em !important;
    color: #334155 !important;
}

.prose strong {
    color: #0f172a !important;
    font-weight: 600 !important;
}

.prose ul {
    list-style-type: disc !important;
    margin-top: 0.75em !important;
    margin-bottom: 0.75em !important;
    padding-left: 1.5em !important;
}

.prose ul li::marker {
    color: #0f172a !important;
    /* slate-900 */
}

.prose ol {
    list-style-type: decimal !important;
    margin-top: 0.75em !important;
    margin-bottom: 0.75em !important;
    padding-left: 1.5em !important;
}

.prose ol li::marker {
    color: #0f172a !important;
    /* slate-900 */
}

.prose li {
    margin-top: 0.25em !important;
    margin-bottom: 0.25em !important;
    color: #334155 !important;
}

.prose code {
    background: #f1f5f9;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #0f172a !important;
}

/* Voice Agent Animations */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-bounce-slow {
    animation: bounce-slow 3s infinite;
}

@keyframes wave {
    0%, 100% { height: 12px; }
    50% { height: 24px; }
}
.animate-wave {
    animation: wave 1s ease-in-out infinite;
}

/* ============================================================================
   2025-2026 MODERN DESIGN PATTERNS
   ============================================================================ */

/* Button Press Effects */
.btn-primary:active, .btn-secondary:active {
    transform: scale(0.98);
}

/* Card Lift on Hover */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(99, 102, 241, 0.2);
}

/* Animated Gradient for Hero Sections */
.gradient-animate {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Subtle Icon Animation */
.icon-float {
    animation: icon-float 3s ease-in-out infinite;
}
@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Enhanced Glass Effects */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

/* Pricing Card Popular Glass Effect */
.glass-pricing {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Section Background Gradients */
.section-gradient-subtle {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(238, 242, 255, 0.3) 100%);
}

/* Enhanced Modal Shadows */
.modal-shadow {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Smooth Hover Transitions for All Interactive Elements */
.smooth-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Feature Card Enhanced Hover */
.feature-card-hover {
    transition: all 0.3s ease;
}
.feature-card-hover:hover {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ============================================================================
   AI OUTPUT STYLING - Enhanced Typography & Formatting
   ============================================================================ */

/* AI Modal Content Container */
#ai-content {
    font-family: var(--sv-font-body, 'Inter', sans-serif);
}

/* Headings in AI Output */
#ai-content h1 {
    font-family: var(--sv-font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
    line-height: 1.2;
}

#ai-content h2 {
    font-family: var(--sv-font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

#ai-content h3 {
    font-family: var(--sv-font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

#ai-content h4 {
    font-family: var(--sv-font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Paragraphs */
#ai-content p {
    margin: 1rem 0;
    line-height: 1.7;
    color: #334155;
}

#ai-content p:first-child {
    margin-top: 0;
}

#ai-content p:last-child {
    margin-bottom: 0;
}

/* Lists */
#ai-content ul,
#ai-content ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

#ai-content ul {
    list-style-type: disc;
}

#ai-content ol {
    list-style-type: decimal;
}

#ai-content li {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: #334155;
}

#ai-content li::marker {
    color: #4f46e5;
}

#ai-content ul ul,
#ai-content ol ol,
#ai-content ul ol,
#ai-content ol ul {
    margin: 0.5rem 0;
}

/* Strong/Bold text */
#ai-content strong,
#ai-content b {
    font-weight: 600;
    color: #0f172a;
}

/* Emphasis/Italic */
#ai-content em,
#ai-content i {
    font-style: italic;
    color: #475569;
}

/* Code blocks */
#ai-content code {
    font-family: var(--sv-font-mono, 'JetBrains Mono', monospace);
    background: #f1f5f9;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #6366f1;
    border: 1px solid #e2e8f0;
}

#ai-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
    font-family: var(--sv-font-mono, 'JetBrains Mono', monospace);
    font-size: 0.875rem;
    line-height: 1.5;
    border: 1px solid #334155;
}

#ai-content pre code {
    background: transparent;
    padding: 0;
    border: none;
    color: inherit;
    font-size: inherit;
}

/* Blockquotes */
#ai-content blockquote {
    border-left: 4px solid #6366f1;
    padding-left: 1rem;
    margin: 1rem 0;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #475569;
}

#ai-content blockquote p {
    margin: 0;
}

/* Tables */
#ai-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.875rem;
}

#ai-content th {
    background: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

#ai-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

#ai-content tr:last-child td {
    border-bottom: none;
}

#ai-content tr:hover {
    background: #f8fafc;
}

/* Horizontal rule */
#ai-content hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 1.5rem 0;
}

/* Links */
#ai-content a {
    color: #4f46e5;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#ai-content a:hover {
    color: #4338ca;
    text-decoration-thickness: 2px;
}

/* First heading should have no top margin */
#ai-content > h1:first-child,
#ai-content > h2:first-child,
#ai-content > h3:first-child {
    margin-top: 0;
}

/* Section dividers - visual separation */
#ai-content h2:not(:first-child) {
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

/* ============================================================================
   AI LOADING STATE STYLING
   ============================================================================ */

#ai-loading {
    text-align: center;
}

#ai-loading .loader {
    width: 3rem;
    height: 3rem;
}

/* ============================================================================
   AI ERROR STATE STYLING
   ============================================================================ */

#ai-content .error,
#ai-content .text-red-500 {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 1rem;
    color: #dc2626;
    font-weight: 500;
}

/* ============================================================================
   CHAT MESSAGE STYLING (AI Chat Modal)
   ============================================================================ */

#chat-messages .prose {
    font-size: 0.875rem;
}

#chat-messages .prose h1,
#chat-messages .prose h2,
#chat-messages .prose h3 {
    font-size: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

#chat-messages .prose p {
    margin: 0.5rem 0;
}

#chat-messages .prose ul,
#chat-messages .prose ol {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

#chat-messages .prose li {
    margin: 0.25rem 0;
}

/* ============================================================================
   VOICE AGENT TRANSCRIPT STYLING
   ============================================================================ */

#alex-response {
    font-family: var(--sv-font-body, 'Inter', sans-serif);
    line-height: 1.6;
    color: #334155;
}

/* ============================================================================
   RESEARCH AGENT OUTPUT STYLING
   ============================================================================ */

.research-output h1,
.research-output h2,
.research-output h3 {
    font-family: var(--sv-font-heading, 'Plus Jakarta Sans', sans-serif);
}

.research-output h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.research-output h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.research-output p {
    margin: 0.75rem 0;
    line-height: 1.6;
}

.research-output ul,
.research-output ol {
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}

.research-output li {
    margin: 0.375rem 0;
}

/* ============================================================================
   RESPONSIVE AI OUTPUT STYLES
   ============================================================================ */

@media (max-width: 640px) {
    #ai-content {
        padding: 1rem !important;
    }

    #ai-content h1 {
        font-size: 1.5rem;
    }

    #ai-content h2 {
        font-size: 1.25rem;
    }

    #ai-content h3 {
        font-size: 1rem;
    }

    #ai-content pre {
        padding: 0.75rem;
        font-size: 0.75rem;
    }

    #ai-content table {
        font-size: 0.75rem;
    }

    #ai-content th,
    #ai-content td {
        padding: 0.5rem;
    }
}

/* ============================================================================
   GUIDE PAGE STYLES
   ============================================================================ */

/* Guide page hero sections */
.guide-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #e0e7ff 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.guide-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.guide-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.guide-hero p {
    font-size: 1.125rem;
    color: #475569;
    max-width: 600px;
}

@media (max-width: 768px) {
    .guide-hero {
        padding: 3rem 1rem;
    }

    .guide-hero h1 {
        font-size: 1.875rem;
    }

    .guide-hero p {
        font-size: 1rem;
    }
}

/* Stats banner */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    margin: -2rem auto 2rem;
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.stats-banner .stat-item {
    text-align: center;
}

.stats-banner .stat-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #4f46e5;
    line-height: 1.2;
}

.stats-banner .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

@media (max-width: 640px) {
    .stats-banner {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .stats-banner .stat-value {
        font-size: 1.5rem;
    }
}

/* Checklist cards */
.checklist-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.checklist-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

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

.checklist-card .checklist-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
}

.checklist-card .checklist-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: #0f172a;
}

.checklist-card .checklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-card .checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.checklist-card .checklist-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #cbd5e1;
    border-radius: 0.25rem;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checklist-card .checklist-checkbox.checked {
    background: #4f46e5;
    border-color: #4f46e5;
}

.checklist-card .checklist-checkbox.checked::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.checklist-card .checklist-text {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.5;
}

.checklist-card .checklist-item.completed .checklist-text {
    text-decoration: line-through;
    color: #94a3b8;
}

/* ============================================================================
   RISK ASSESSMENT STYLES
   ============================================================================ */

/* Risk score gauge */
.risk-gauge {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.risk-gauge-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        from 180deg,
        #10b981 0deg,
        #f59e0b 120deg,
        #ef4444 240deg,
        #dc2626 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.risk-gauge-inner {
    width: 75%;
    height: 75%;
    border-radius: 50%;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.risk-gauge-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.risk-gauge-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.risk-gauge-needle {
    position: absolute;
    width: 4px;
    height: 80px;
    background: #1e293b;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg);
    border-radius: 2px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Risk radar chart container */
.risk-radar {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    margin: 0 auto;
    padding: 2rem;
}

.risk-radar-chart {
    width: 100%;
    height: 100%;
}

.risk-radar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.risk-radar-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
}

.risk-radar-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* Risk level indicators */
.risk-low {
    color: #10b981;
}

.risk-medium {
    color: #f59e0b;
}

.risk-high {
    color: #ef4444;
}

.risk-critical {
    color: #dc2626;
}

.risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.risk-badge.low {
    background: #ecfdf5;
    color: #059669;
}

.risk-badge.medium {
    background: #fffbeb;
    color: #d97706;
}

.risk-badge.high {
    background: #fef2f2;
    color: #dc2626;
}

.risk-badge.critical {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============================================================================
   SUGGESTION SYSTEM STYLES
   ============================================================================ */

/* Suggestion cards */
.suggestion-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.suggestion-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.suggestion-card.critical {
    border-left: 4px solid #ef4444;
    background: linear-gradient(to right, #fef2f2, white);
}

.suggestion-card.important {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(to right, #fffbeb, white);
}

.suggestion-card.info {
    border-left: 4px solid #6366f1;
    background: linear-gradient(to right, #eef2ff, white);
}

.suggestion-card.success {
    border-left: 4px solid #10b981;
    background: linear-gradient(to right, #ecfdf5, white);
}

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

.suggestion-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #0f172a;
}

.suggestion-card-priority {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    flex-shrink: 0;
}

.suggestion-card.critical .suggestion-card-priority {
    background: #fef2f2;
    color: #dc2626;
}

.suggestion-card.important .suggestion-card-priority {
    background: #fffbeb;
    color: #d97706;
}

.suggestion-card.info .suggestion-card-priority {
    background: #eef2ff;
    color: #4f46e5;
}

.suggestion-card-body {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.suggestion-card-actions {
    display: flex;
    gap: 0.5rem;
}

.suggestion-card-action {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-card-action.primary {
    background: #4f46e5;
    color: white;
}

.suggestion-card-action.primary:hover {
    background: #4338ca;
}

.suggestion-card-action.secondary {
    background: #f1f5f9;
    color: #475569;
}

.suggestion-card-action.secondary:hover {
    background: #e2e8f0;
}

/* Suggestion widgets */
.suggestions-widget {
    background: white;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.suggestions-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.suggestions-widget-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #0f172a;
}

.suggestions-widget-count {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    background: #4f46e5;
    color: white;
}

.suggestions-widget-body {
    padding: 1rem 1.25rem;
    max-height: 400px;
    overflow-y: auto;
}

.suggestions-widget-empty {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
}

.suggestions-widget-empty-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ============================================================================
   COMPARISON TABLES
   ============================================================================ */

/* Feature comparison tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background: #f8fafc;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1e293b;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table th:first-child {
    border-top-left-radius: 0.75rem;
}

.comparison-table th:last-child {
    border-top-right-radius: 0.75rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: #334155;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: #f8fafc;
}

.comparison-table .feature-name {
    font-weight: 500;
    color: #0f172a;
}

.comparison-table .checkmark {
    color: #10b981;
    font-size: 1.25rem;
}

.comparison-table .cross {
    color: #ef4444;
    font-size: 1.25rem;
}

.comparison-table .partial {
    color: #f59e0b;
    font-size: 1rem;
}

.comparison-table .highlight-column {
    background: #eef2ff;
}

.comparison-table th.highlight-column {
    background: #e0e7ff;
    color: #4338ca;
}

@media (max-width: 768px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
}

/* ============================================================================
   TIMELINE/PROGRESS STYLES
   ============================================================================ */

/* Progress indicators */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #4f46e5, #6366f1);
}

.progress-bar-fill.success {
    background: linear-gradient(90deg, #059669, #10b981);
}

.progress-bar-fill.warning {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.progress-bar-fill.danger {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.progress-bar-animated .progress-bar-fill {
    animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.progress-bar-animated .progress-bar-fill {
    background-size: 200% 100%;
    background-image: linear-gradient(
        90deg,
        #4f46e5 0%,
        #6366f1 50%,
        #4f46e5 100%
    );
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.progress-label-text {
    color: #334155;
    font-weight: 500;
}

.progress-label-value {
    color: #4f46e5;
    font-weight: 600;
}

/* Timeline component */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: white;
    border: 3px solid #cbd5e1;
    z-index: 1;
}

.timeline-item.completed .timeline-marker {
    background: #4f46e5;
    border-color: #4f46e5;
}

.timeline-item.current .timeline-marker {
    background: white;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.timeline-item.upcoming .timeline-marker {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.timeline-content {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.timeline-item.current .timeline-content {
    border-color: #c7d2fe;
    background: #fafbff;
}

.timeline-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.timeline-date {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.timeline-description {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
}

/* Horizontal timeline variant */
.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    padding: 0;
    overflow-x: auto;
}

.timeline-horizontal::before {
    display: none;
}

.timeline-horizontal .timeline-item {
    flex: 1;
    min-width: 150px;
    padding: 2rem 1rem 0;
    text-align: center;
    position: relative;
}

.timeline-horizontal .timeline-item::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
}

.timeline-horizontal .timeline-item:first-child::before {
    left: 50%;
}

.timeline-horizontal .timeline-item:last-child::before {
    right: 50%;
}

.timeline-horizontal .timeline-marker {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

/* ============================================================================
   TOOLTIP STYLES
   ============================================================================ */

/* Custom tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 1000;
    background: #1e293b;
    color: white;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tooltip:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Tooltip positions */
.tooltip-content.top {
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
}

.tooltip-content.bottom {
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
}

.tooltip-content.left {
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
}

.tooltip-content.right {
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
}

/* Tooltip arrows */
.tooltip-content::after {
    content: '';
    position: absolute;
    border: 6px solid transparent;
}

.tooltip-content.top::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #1e293b;
}

.tooltip-content.bottom::after {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: #1e293b;
}

.tooltip-content.left::after {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-left-color: #1e293b;
}

.tooltip-content.right::after {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-right-color: #1e293b;
}

/* Tooltip variants */
.tooltip-content.light {
    background: white;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.tooltip-content.light.top::after {
    border-top-color: white;
}

.tooltip-content.light.bottom::after {
    border-bottom-color: white;
}

.tooltip-content.primary {
    background: #4f46e5;
}

.tooltip-content.primary.top::after {
    border-top-color: #4f46e5;
}

.tooltip-content.primary.bottom::after {
    border-bottom-color: #4f46e5;
}

/* ============================================================================
   ADDITIONAL UTILITY STYLES
   ============================================================================ */

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0.375rem;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.empty-state-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: #334155;
    margin-bottom: 0.5rem;
}

.empty-state-description {
    font-size: 0.875rem;
    color: #64748b;
    max-width: 300px;
    margin: 0 auto;
}

/* ============================================================================
   DARK MODE SUPPORT
   ============================================================================ */

@media (prefers-color-scheme: dark) {
    /* Guide page dark mode */
    .guide-hero {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e1b4b 100%);
    }

    .guide-hero h1 {
        color: #f8fafc;
    }

    .guide-hero p {
        color: #94a3b8;
    }

    .stats-banner {
        background: #1e293b;
        border: 1px solid #334155;
    }

    .stats-banner .stat-label {
        color: #94a3b8;
    }

    /* Checklist card dark mode */
    .checklist-card {
        background: #1e293b;
        border-color: #334155;
    }

    .checklist-card .checklist-icon {
        background: #312e81;
    }

    .checklist-card .checklist-title {
        color: #f8fafc;
    }

    .checklist-card .checklist-item {
        border-color: #334155;
    }

    .checklist-card .checklist-text {
        color: #cbd5e1;
    }

    .checklist-card .checklist-checkbox {
        border-color: #475569;
    }

    /* Risk gauge dark mode */
    .risk-gauge-inner {
        background: #1e293b;
    }

    .risk-gauge-value {
        color: #f8fafc;
    }

    .risk-gauge-label {
        color: #94a3b8;
    }

    /* Suggestion cards dark mode */
    .suggestion-card {
        background: #1e293b;
        border-color: #334155;
    }

    .suggestion-card.critical {
        background: linear-gradient(to right, #1f1315, #1e293b);
    }

    .suggestion-card.important {
        background: linear-gradient(to right, #1f1a0f, #1e293b);
    }

    .suggestion-card.info {
        background: linear-gradient(to right, #1e1b4b, #1e293b);
    }

    .suggestion-card-title {
        color: #f8fafc;
    }

    .suggestion-card-body {
        color: #cbd5e1;
    }

    .suggestion-card-action.secondary {
        background: #334155;
        color: #e2e8f0;
    }

    .suggestion-card-action.secondary:hover {
        background: #475569;
    }

    /* Suggestions widget dark mode */
    .suggestions-widget {
        background: #1e293b;
        border-color: #334155;
    }

    .suggestions-widget-header {
        background: #0f172a;
        border-color: #334155;
    }

    .suggestions-widget-title {
        color: #f8fafc;
    }

    /* Comparison table dark mode */
    .comparison-table {
        background: #1e293b;
    }

    .comparison-table th {
        background: #0f172a;
        color: #f8fafc;
        border-color: #334155;
    }

    .comparison-table td {
        border-color: #334155;
        color: #cbd5e1;
    }

    .comparison-table tr:hover {
        background: #334155;
    }

    .comparison-table .feature-name {
        color: #f8fafc;
    }

    .comparison-table .highlight-column {
        background: #312e81;
    }

    .comparison-table th.highlight-column {
        background: #1e1b4b;
        color: #a5b4fc;
    }

    /* Progress bar dark mode */
    .progress-bar {
        background: #334155;
    }

    .progress-label-text {
        color: #e2e8f0;
    }

    /* Timeline dark mode */
    .timeline::before {
        background: #334155;
    }

    .timeline-marker {
        background: #1e293b;
        border-color: #475569;
    }

    .timeline-content {
        background: #1e293b;
        border-color: #334155;
    }

    .timeline-item.current .timeline-content {
        background: #1e1b4b;
        border-color: #4338ca;
    }

    .timeline-title {
        color: #f8fafc;
    }

    .timeline-date {
        color: #94a3b8;
    }

    .timeline-description {
        color: #cbd5e1;
    }

    .timeline-horizontal .timeline-item::before {
        background: #334155;
    }

    /* Tooltip dark mode */
    .tooltip-content {
        background: #f8fafc;
        color: #1e293b;
    }

    .tooltip-content.top::after {
        border-top-color: #f8fafc;
    }

    .tooltip-content.bottom::after {
        border-bottom-color: #f8fafc;
    }

    .tooltip-content.left::after {
        border-left-color: #f8fafc;
    }

    .tooltip-content.right::after {
        border-right-color: #f8fafc;
    }

    .tooltip-content.light {
        background: #334155;
        color: #f8fafc;
        border-color: #475569;
    }

    /* Empty state dark mode */
    .empty-state-icon {
        color: #475569;
    }

    .empty-state-title {
        color: #f8fafc;
    }

    .empty-state-description {
        color: #94a3b8;
    }

    /* Skeleton dark mode */
    .skeleton {
        background: linear-gradient(90deg, #334155 25%, #475569 50%, #334155 75%);
        background-size: 200% 100%;
    }
}
