/* Dashboard Styling Variables */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #fd7e14;
  --info-color: #0dcaf0;
  --light-bg: #f8f9fa;
  --dark-bg: #0a192f;
  --border-color: #dee2e6;
  --card-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
}

/* Veritas AI Platform Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Navbar Logo Styling */
.navbar-logo {
    height: 52px;
    width: auto;
    max-width: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* Hero section logo styling */
.hero-logo {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Large brand logo for hero sections with background */
.brand-logo-large {
    height: 120px;
    width: auto;
    max-width: 400px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo-large:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

/* Animated logo styling */
.animated-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Sidebar styling */
.sidebar {
    background-color: #343a40;
    color: #f8f9fa;
    min-height: calc(100vh - 56px);
    padding: 1.5rem 1rem;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    border-radius: 5px;
    margin-bottom: 0.25rem;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-section {
    margin-bottom: 2rem;
}

/* Main content area */
.main-content {
    padding: 2rem;
}

.dashboard-header {
    margin-bottom: 2rem;
}

/* Dashboard header actions */
.dashboard-header-actions {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.dashboard-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 0;
}

.dashboard-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.dashboard-controls .btn-group {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem;
    overflow: hidden;
}

.dashboard-controls .btn {
    border-radius: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.dashboard-controls .btn:last-child {
    border-right: none;
}

.dashboard-controls .btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

/* Make sure buttons in the dashboard are visible and properly styled */
.dashboard-actions .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* Better styling for the "Continue Discussion" button */
.final-compliance-dashboard .btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
    transition: all 0.2s;
}

.final-compliance-dashboard .btn-outline-primary:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
    transform: translateY(-2px);
}

/* Add hover effect to dashboard buttons */
.final-compliance-dashboard .btn {
    transition: all 0.2s ease;
}

.final-compliance-dashboard .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* AI Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.status-dot.idle {
    background-color: #6c757d;
    box-shadow: 0 0 5px #6c757d;
}

.status-dot.active {
    background-color: #0d6efd;
    box-shadow: 0 0 8px #0d6efd;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* Document Upload Area */
.upload-area {
    border: 2px dashed #ced4da;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    background-color: #f8f9fa;
    margin-bottom: 1.5rem;
}

/* Enhanced File Upload Area */
.file-upload-area {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    position: relative;
}

.file-upload-area:hover {
    border-color: #0d6efd;
    background-color: #f0f7ff;
}

.file-upload-area.dragover {
    border-color: #0d6efd;
    background-color: #e6f2ff;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

.file-upload-area i {
    font-size: 32px;
    color: #6c757d;
    margin-bottom: 10px;
    display: block;
}

.file-upload-area p {
    margin-bottom: 0;
    color: #495057;
}

.manual-upload-btn {
    margin-top: 15px;
    transition: all 0.2s;
}

.manual-upload-btn:hover {
    transform: translateY(-2px);
}

.hidden-file-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    z-index: -1;
}

/* Uploaded files styling */
.uploaded-files {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
}

.uploaded-file {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.uploaded-file:last-child {
    border-bottom: none;
}

.uploaded-file .file-icon {
    margin-right: 10px;
    color: #6c757d;
}

.uploaded-file .file-name {
    font-weight: 500;
    flex-grow: 1;
}

.uploaded-file .file-size {
    font-size: 12px;
    color: #6c757d;
}

/* Risk assessment styling */
.risk-visual-container {
    max-width: 500px;
    margin: 0 auto;
}

/* Placeholder content */
.placeholder-message {
    text-align: center;
    padding: 3rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

/* Card and component enhancements */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: rgba(0, 0, 0, 0.03);
    font-weight: 600;
}

/* Canvas container for charts */
canvas {
    max-width: 100%;
}

/* Agent Activity Timeline */
.agent-activity-section {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.agent-activity-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

.agent-activity-row:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.agent-name {
    width: 25%;
    font-weight: 600;
}

.activity-timeline {
    width: 50%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    position: relative;
}

.activity-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #ced4da;
    border-radius: 50%;
    top: -4px;
    transition: left 0.5s, background-color 0.3s;
}

.activity-marker.active {
    background-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.3);
}

.agent-status {
    width: 25%;
    text-align: right;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Evidence Management */
.evidence-container {
    margin: 1.5rem 0;
}

.evidence-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    transition: all 0.3s;
}

.evidence-item:hover {
    background-color: #f8f9fa;
}

.evidence-item.missing {
    border-left: 4px solid #dc3545;
}

.evidence-item.uploading {
    border-left: 4px solid #ffc107;
}

.evidence-item.validated {
    border-left: 4px solid #198754;
}

.doc-icon {
    margin-right: 1rem;
    color: #6c757d;
    font-size: 1.25rem;
}

.doc-name {
    flex-grow: 1;
}

.doc-status {
    margin: 0 1rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 1rem;
    text-transform: uppercase;
}

.missing .doc-status {
    background-color: #f8d7da;
    color: #842029;
}

.uploading .doc-status {
    background-color: #fff3cd;
    color: #664d03;
}

.validated .doc-status {
    background-color: #d1e7dd;
    color: #0f5132;
}

/* Workflow Visualization */
.workflow-visualization {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1rem;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.step-number {
    width: 36px;
    height: 36px;
    background-color: #e9ecef;
    color: #6c757d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.workflow-step.complete .step-number {
    background-color: #198754;
    color: white;
}

.workflow-step.active .step-number {
    background-color: #0d6efd;
    color: white;
    animation: pulse 1.5s infinite;
}

.workflow-step.failed .step-number {
    background-color: #dc3545;
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

.step-name {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.step-status {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: capitalize;
}

.workflow-connector {
    flex-grow: 1;
    height: 2px;
    background-color: #e9ecef;
    position: relative;
    top: -18px;
    transition: background-color 0.5s;
}

.workflow-connector.complete {
    background-color: #198754;
}

/* Document Analysis Visualization */
.document-analysis-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 1.5rem;
    margin-top: 2rem;
}

.document-preview {
    padding: 2rem;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 500px;
    overflow-y: auto;
}

.document-issues {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.document-issue {
    padding: 1rem;
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #6c757d;
    transition: transform 0.2s;
}

.document-issue:hover {
    transform: translateY(-2px);
}

.document-issue.high {
    border-left-color: #dc3545;
}

.document-issue.medium {
    border-left-color: #fd7e14;
}

.document-issue.low {
    border-left-color: #0dcaf0;
}

.issue-severity {
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.high .issue-severity {
    color: #dc3545;
}

.medium .issue-severity {
    color: #fd7e14;
}

.low .issue-severity {
    color: #0dcaf0;
}

.issue-message {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.issue-reference {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}

.highlight-high,
.highlight-medium,
.highlight-low {
    padding: 2px 0;
    border-radius: 2px;
    transition: background-color 0.2s;
}

.highlight-high {
    background-color: rgba(220, 53, 69, 0.2);
    border-bottom: 1px dotted #dc3545;
}

.highlight-medium {
    background-color: rgba(253, 126, 20, 0.2);
    border-bottom: 1px dotted #fd7e14;
}

.highlight-low {
    background-color: rgba(13, 202, 240, 0.2);
    border-bottom: 1px dotted #0dcaf0;
}

.highlight-high.active {
    background-color: rgba(220, 53, 69, 0.4);
}

.highlight-medium.active {
    background-color: rgba(253, 126, 20, 0.4);
}

.highlight-low.active {
    background-color: rgba(13, 202, 240, 0.4);
}

/* WebSocket Connection Status */
.connection-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    color: white;
    margin-left: 1rem;
}

.connection-status.connecting {
    background-color: #fd7e14;
}

.connection-status.connected {
    background-color: #198754;
}

.connection-status.disconnected {
    background-color: #dc3545;
}

/* Compliance Chat Styles */
.compliance-chat-container {
    display: flex;
    flex-direction: column;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin-bottom: 30px;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #0d6efd;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.agent-info {
    display: flex;
    align-items: center;
}

.agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    border: 2px solid #0d6efd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.agent-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    border: 1px solid #0d6efd;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 6px;
    vertical-align: middle;
}

.agent-avatar-small i {
    font-size: 12px;
}

.agent-avatar i {
    color: #0d6efd;
    font-size: 24px;
}

.agent-details h5 {
    margin: 0;
    font-size: 16px;
}

.agent-status {
    font-size: 12px;
    opacity: 0.8;
}

.chat-actions button {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f8f9fa;
}

.chat-message {
    position: relative;
    margin-bottom: 24px;
    max-width: 80%;
    animation: fadeIn 0.3s;
}

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

.chat-message.assistant {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    margin-left: auto;
}

.message-content {
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.assistant .message-content {
    background-color: #f8f9fa;
    border-top-left-radius: 4px;
}

.user .message-content {
    background-color: #0d6efd;
    color: white;
    border-top-right-radius: 4px;
}

.message-sender {
    display: flex;
    align-items: center;
    font-size: 12px;
    margin-bottom: 4px;
    color: #495057;
    font-weight: 500;
}

.message-time {
    font-size: 11px;
    color: #adb5bd;
    text-align: right;
    margin-top: 4px;
}

.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.chat-option-button {
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-option-button:hover {
    background-color: #f1f3f5;
    border-color: #adb5bd;
}

.chat-input-container {
    padding: 15px;
    border-top: 1px solid #dee2e6;
    background-color: white;
}

.chat-input-group {
    display: flex;
    gap: 10px;
}

.agent-switch {
    margin: 15px 0;
    animation: fadeInOut 0.5s;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    font-style: italic;
    color: #6c757d;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.agent-transfer {
    display: flex;
    align-items: center;
    background-color: rgba(13, 110, 253, 0.05);
    border-radius: 10px;
    padding: 10px;
    width: fit-content;
}

.transfer-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    animation: rotate 2s infinite linear;
}

.transfer-icon i {
    color: #0d6efd;
}

.transfer-message {
    color: #495057;
    font-size: 13px;
    font-style: italic;
}

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

/* Slower typing animation */
.typing-indicator {
    display: flex;
    padding: 6px 10px;
    border-radius: 15px;
    background-color: #e9ecef;
    width: fit-content;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #6c757d;
    display: inline-block;
    margin-right: 5px;
    animation: typing 1.8s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
    margin-right: 0;
}

@keyframes typing {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Agent collaboration visualization in dashboard */
.agent-collaboration-panel {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.agent-network {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px 10px;
    position: relative;
}

.agent-network::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: #dee2e6;
    z-index: 0;
}

.agent-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    z-index: 1;
    transition: all 0.3s ease;
}

.agent-node:hover {
    transform: translateY(-5px);
}

.agent-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    border: 2px solid #0d6efd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.agent-icon-container i {
    font-size: 24px;
    color: #0d6efd;
}

.agent-name {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: #495057;
}

.primary-agent .agent-icon-container {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.primary-agent::after {
    content: 'Lead';
    position: absolute;
    top: -15px;
    right: 15px;
    background-color: #0d6efd;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* Auto Demo Button */
#auto-demo-button {
    transition: all 0.3s;
}

#auto-demo-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

#auto-demo-button .fa-play,
#auto-demo-button .fa-stop {
    margin-right: 5px;
}

/* Landing Page Styles */
.landing-page {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Navbar styling */
.landing-page .navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
}

.landing-page .navbar.scrolled {
    background-color: rgba(10, 25, 47, 0.95);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.landing-page .nav-link {
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.3s;
}

.landing-page .nav-link.demo-btn {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 15px;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #0a192f 0%, #0d47a1 100%);
    color: white;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #fff;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ffffff, #90caf9);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
}

.hero-image-container {
    position: relative;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.floating-card.card1 {
    top: -30px;
    right: 30%;
    animation-delay: 0s;
}

.floating-card.card2 {
    bottom: 60px;
    right: -20px;
    animation-delay: 1s;
}

.floating-card.card3 {
    bottom: 20px;
    left: 10%;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-badges span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.trust-badges i {
    margin-right: 6px;
    color: #4fc3f7;
}

/* Section styling */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-pre-title {
    color: #0d6efd;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #6c757d;
}

/* Features section */
.features-container {
    justify-content: center;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 28px;
    color: #0d6efd;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #6c757d;
    flex-grow: 1;
}

.feature-link {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
}

.feature-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.feature-card:hover .feature-link i {
    transform: translateX(5px);
}

.highlight-card {
    border: 2px solid #0d6efd;
}

/* Learning Promo Section */
.learning-promo-section {
    padding: 100px 0;
}

.learning-promo-image {
    position: relative;
}

.floating-badge {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: float 6s ease-in-out infinite;
}

.floating-badge i {
    margin-right: 8px;
    font-size: 1rem;
    color: #0d6efd;
}

.floating-badge.badge1 {
    top: -20px;
    right: 20%;
    animation-delay: 0s;
}

.floating-badge.badge2 {
    bottom: 50px;
    right: -15px;
    animation-delay: 1s;
}

.floating-badge.badge3 {
    bottom: 15px;
    left: 15%;
    animation-delay: 2s;
}

.learning-features {
    margin-top: 20px;
}

.learning-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.learning-feature i {
    color: #198754;
    margin-right: 10px;
}

/* How it works section */
.process-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    height: calc(100% - 80px);
    width: 3px;
    background: #0d6efd;
}

.process-step {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    width: 80px;
    height: 80px;
    background: #0d6efd;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-right: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.process-content {
    padding-top: 10px;
}

.process-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.process-content p {
    font-size: 1rem;
    color: #6c757d;
}

/* AI Crew section */
.ai-agents {
    justify-content: center;
}

.agent-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.agent-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.agent-icon i {
    font-size: 24px;
    color: #0d6efd;
}

.agent-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.agent-info p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* Case studies section */
.case-studies {
    max-width: 800px;
    margin: 0 auto;
}

.case-study-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.case-study-logo {
    width: 80px;
    height: 80px;
    margin-right: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.case-study-logo img {
    max-width: 100%;
    border-radius: 8px;
}

.case-study-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.company-info {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.case-study-link {
    color: #0d6efd;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
}

.case-study-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.case-study-card:hover .case-study-link i {
    transform: translateX(5px);
}

.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.soon-tag {
    display: inline-block;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
}

/* Case Studies Section on Homepage */
.case-studies-section {
    padding: 80px 0;
    background-color: #fff;
}

.case-studies-container {
    margin-top: 40px;
}

.case-study-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-header {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}

.compliance-indicator {
    flex-shrink: 0;
    margin-right: 15px;
}

.score-circle {
    position: relative;
    width: 60px;
    height: 60px;
}

.score-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.score-circle .circle-bg {
    stroke: #f5f5f5;
}

.score-circle .circle {
    transition: stroke-dasharray 0.8s ease;
}

.score-circle .score {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.case-meta {
    flex-grow: 1;
}

.industry-tag {
    display: inline-block;
    background-color: #e9f0fd;
    color: #3b82f6;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 15px;
    margin-bottom: 5px;
    font-weight: 500;
}

.case-meta h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.case-content {
    padding: 20px;
    flex-grow: 1;
}

.case-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.regulation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.reg-tag {
    display: inline-block;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.case-footer {
    padding: 15px 20px;
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.improvements {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.improvement-item {
    font-size: 12px;
    color: #64748b;
}

.improvement-item .label {
    font-weight: 600;
    margin-right: 5px;
}

.improvement-item .value {
    color: #334155;
}

/* Responsive adjustments for case studies */
@media (max-width: 992px) {
    .case-studies-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .case-study-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .case-header {
        flex-direction: column;
        text-align: center;
    }
    
    .compliance-indicator {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .case-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .improvements {
        align-items: center;
    }
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #0a192f 0%, #0d47a1 100%);
    color: white;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #0a192f;
    color: #f8f9fa;
    padding: 80px 0 20px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #adb5bd;
    margin: 0;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #0d6efd;
    transform: translateY(-3px);
}

/* Demo start modal */
.demo-option {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 15px;
}

.demo-option:hover {
    border-color: #0d6efd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.demo-option-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.demo-option-icon i {
    font-size: 24px;
    color: #0d6efd;
}

.demo-option h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.demo-option p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.demo-option-link {
    color: #0d6efd;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.demo-option-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.demo-option:hover .demo-option-link i {
    transform: translateX(5px);
}

/* Application mode */
body.app-mode {
    background-color: #f8f9fa;
}

.back-to-landing {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-container::before {
        left: 35px;
    }
    
    .process-number {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .process-container::before {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .process-number {
        margin-bottom: 15px;
    }
    
    .agent-card, .case-study-card {
        padding: 20px;
    }
}

/* Final Compliance Dashboard Styles */
.final-compliance-dashboard {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: var(--spacing-xl);
}

.dashboard-overview {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.overview-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.compliance-score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.compliance-score-circle::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    background-color: white;
    z-index: 0;
}

.compliance-score-circle.high-score {
    background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
}

.compliance-score-circle.medium-score {
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
}

.compliance-score-circle.low-score {
    background: linear-gradient(135deg, #f44336 0%, #e57373 100%);
}

.score-number {
    font-size: 3rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.compliance-regions {
    padding: 10px;
}

.compliance-regions h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.region-score {
    margin-bottom: 15px;
}

.region-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.dashboard-section {
    margin-bottom: 40px;
}

.dashboard-section h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    color: #0a192f;
}

.compliance-gap {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #6c757d;
}

.compliance-gap.high {
    border-top-color: #dc3545;
}

.compliance-gap.medium {
    border-top-color: #fd7e14;
}

.compliance-gap.low {
    border-top-color: #0dcaf0;
}

.gap-severity {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.compliance-gap.high .gap-severity {
    color: #dc3545;
}

.compliance-gap.medium .gap-severity {
    color: #fd7e14;
}

.compliance-gap.low .gap-severity {
    color: #0dcaf0;
}

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

.gap-desc {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #6c757d;
}

.gap-reference {
    font-size: 0.8rem;
    font-style: italic;
    color: #6c757d;
    margin-bottom: 10px;
}

.gap-remedy {
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.gap-timeline {
    font-size: 0.8rem;
    color: #6c757d;
}

.compliance-roadmap {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.roadmap-phase {
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
}

.roadmap-phase:last-child {
    border-bottom: none;
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.phase-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.phase-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background-color: #6c757d;
    color: white;
}

.roadmap-phase:nth-child(1) .phase-status {
    background-color: #dc3545;
}

.roadmap-phase:nth-child(2) .phase-status {
    background-color: #fd7e14;
}

.roadmap-phase:nth-child(3) .phase-status {
    background-color: #0dcaf0;
}

.phase-tasks {
    padding-left: 25px;
}

.phase-tasks li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.phase-tasks li:last-child {
    margin-bottom: 0;
}

.resource-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

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

.resource-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.resource-icon i {
    font-size: 24px;
    color: #0d6efd;
}

.resource-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.resource-type {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.resource-action {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0d6efd;
}

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

.step-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #0d6efd;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

.step-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.step-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.document-preview {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    height: 300px;
    overflow-y: auto;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* New Immersive App Styling */
.immersive-app-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* App Header */
.app-header {
    background: linear-gradient(135deg, #0a192f 0%, #0d47a1 100%);
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.app-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.app-nav-links {
    display: flex;
    gap: 1rem;
}

.app-nav-links .nav-link {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.app-nav-links .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.app-nav-links .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

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

/* App Content */
.app-content {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

/* Chat Interface */
.chat-interface-container {
    height: calc(100vh - 61px);  /* Subtract header height */
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
}

/* Enhanced Compliance Chat Container */
.compliance-chat-container {
    height: calc(100vh - 61px);  /* Full height minus header */
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.chat-header {
    border-radius: 0;
}

.chat-body {
    background-color: #f9fafb;
    padding: 2rem;
}

/* Vertical Progress Steps */
.progress-steps.vertical {
    flex-direction: column;
    height: auto;
    margin: 0;
}

.progress-steps.vertical .progress-step {
    display: flex;
    width: 100%;
    margin-bottom: 1.5rem;
    text-align: left;
}

.progress-steps.vertical .progress-step .step-icon {
    margin-right: 1rem;
    margin-bottom: 0;
}

.progress-steps.vertical .progress-step .step-content {
    flex: 1;
}

.compliance-progress-panel {
    height: 100%;
    border-radius: 0;
    padding: 1.5rem 1rem;
    box-shadow: none;
    background-color: #f1f5f9;
    border-left: 1px solid #e5e7eb;
}

.compliance-progress-panel h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #334155;
    font-weight: 600;
}

/* Active Agent Display */
.active-agent-info {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.active-agent-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.agent-avatar-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    border: 2px solid #0d6efd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.agent-avatar-large i {
    font-size: 32px;
    color: #0d6efd;
}

.active-agent-card .agent-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.active-agent-card .agent-description {
    font-size: 0.85rem;
    color: #64748b;
}

/* Case Study Container */
.case-study-container {
    height: calc(100vh - 61px);
    overflow-y: auto;
    padding: 2rem 3rem;
}

/* Dashboard Container */
.dashboard-container {
    height: calc(100vh - 61px);
    overflow-y: auto;
    padding: 2rem;
}

/* Make messages more modern */
.chat-message {
    margin-bottom: 2rem;
    max-width: 85%;
    animation: fadeInUp 0.3s;
}

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

.message-content {
    padding: 1rem 1.25rem;
    border-radius: 1.2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.assistant .message-content {
    background-color: white;
    border: 1px solid #e5e7eb;
}

.user .message-content {
    background: linear-gradient(135deg, #0a5dc7 0%, #0d6efd 100%);
}

/* Enhanced Typing Indicator */
.typing-indicator {
    padding: 0.75rem 1rem;
    border-radius: 1.2rem;
    background-color: white;
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

/* Enhanced Agent Switch */
.agent-switch {
    margin: 1.5rem 0;
    animation: fadeIn 0.5s;
}

.agent-transfer {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    width: fit-content;
}

/* Enhanced Dashboard Styles */

/* Compliance Overview Panel */
.compliance-score-circle {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
    border: 10px solid;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.compliance-score-circle.low-score {
    border-color: #dc3545;
}

.compliance-score-circle.medium-score {
    border-color: #ffc107;
}

.compliance-score-circle.high-score {
    border-color: #198754;
}

.score-number {
    font-size: 2.5rem;
}

.score-trend {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-trend.improving {
    background-color: #198754;
    color: white;
}

.score-trend.declining {
    background-color: #dc3545;
    color: white;
}

.compliance-summary {
    font-size: 0.85rem;
    color: #6c757d;
}

.compliance-summary-stats {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
}

.compliance-stat-row {
    display: flex;
    margin-bottom: 0.75rem;
    align-items: center;
}

.compliance-stat-row:last-child {
    margin-bottom: 0;
}

.stat-label {
    flex: 0 0 150px;
    font-weight: 500;
}

.stat-value {
    flex: 1;
}

/* Regulatory Framework Coverage */
.regulatory-frameworks {
    padding: 0.5rem;
}

.framework-item {
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
}

.framework-name {
    font-weight: 500;
}

.framework-importance {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.framework-importance.high {
    background-color: #dc354522;
    color: #dc3545;
}

.framework-importance.medium {
    background-color: #ffc10722;
    color: #d39e00;
}

.framework-importance.low {
    background-color: #0d6efd22;
    color: #0d6efd;
}

.framework-score {
    font-weight: bold;
    font-size: 1.2rem;
}

.framework-detail {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Risk Severity Distribution */
.risk-distribution-chart {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-placeholder {
    width: 200px;
    height: 200px;
}

.donut-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.donut-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    background: conic-gradient(currentColor var(--segment-angle), transparent 0);
    transform: rotate(var(--segment-start));
}

.donut-segment.critical {
    color: #dc3545;
}

.donut-segment.high {
    color: #fd7e14;
}

.donut-segment.medium {
    color: #ffc107;
}

.donut-segment.low {
    color: #0dcaf0;
}

.donut-segment.info {
    color: #6c757d;
}

.risk-distribution-legend {
    display: flex;
    flex-direction: column;
}

.risk-category {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: transform 0.2s;
}

.risk-category:hover {
    transform: translateX(5px);
}

.risk-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 0.75rem;
}

.risk-category.critical .risk-color {
    background-color: #dc3545;
}

.risk-category.high .risk-color {
    background-color: #fd7e14;
}

.risk-category.medium .risk-color {
    background-color: #ffc107;
}

.risk-category.low .risk-color {
    background-color: #0dcaf0;
}

.risk-category.info .risk-color {
    background-color: #6c757d;
}

.risk-label {
    flex: 1;
    font-weight: 500;
}

.risk-count {
    font-weight: bold;
    background-color: #f8f9fa;
    border-radius: 1rem;
    padding: 0.1rem 0.5rem;
    min-width: 25px;
    text-align: center;
}

/* Action Item Prioritization */
.action-items-board {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.action-column {
    flex: 0 0 300px;
    min-width: 300px;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    overflow: hidden;
}

.action-column-header {
    padding: 0.75rem;
    font-weight: bold;
    color: white;
}

.action-column-header.critical {
    background-color: #dc3545;
}

.action-column-header.high {
    background-color: #fd7e14;
}

.action-column-header.medium {
    background-color: #ffc107;
    color: #212529;
}

.action-items {
    padding: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

.action-item {
    background-color: white;
    border-radius: 0.25rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.action-item:last-child {
    margin-bottom: 0;
}

.action-title {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.action-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.due-date.overdue {
    color: #dc3545;
    font-weight: 500;
}

/* Gap Analysis Matrix */
.gap-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.gap-matrix-container {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
}

.gap-matrix-table {
    width: 100%;
    border-collapse: collapse;
}

.gap-matrix-table th, 
.gap-matrix-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.gap-matrix-table th {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--border-color);
    text-align: left;
}

.gap-row {
    transition: background-color 0.2s;
}

.gap-row:hover {
    background-color: rgba(13, 110, 253, 0.03);
}

.requirement-cell {
    max-width: 300px;
}

.requirement-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-bg);
}

.requirement-desc {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.status-badge, .evidence-badge, .risk-level {
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    display: inline-block;
    font-weight: 500;
    white-space: nowrap;
}

.status-badge.compliant {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.status-badge.partial {
    background-color: rgba(255, 193, 7, 0.1);
    color: #d39e00;
}

.status-badge.not-compliant {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.status-badge.pending {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.status-badge.validated {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.status-badge.rejected {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.evidence-badge.complete {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.evidence-badge.incomplete {
    background-color: rgba(255, 193, 7, 0.1);
    color: #d39e00;
}

.evidence-badge.missing {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.risk-level.critical {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.risk-level.high {
    background-color: rgba(253, 126, 20, 0.1);
    color: #fd7e14;
}

.risk-level.medium {
    background-color: rgba(255, 193, 7, 0.1);
    color: #d39e00;
}

.risk-level.low {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

.risk-level.none {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Evidence Repository */
.evidence-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.evidence-category {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
}

.category-header {
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-documents {
    padding: 1rem;
    max-height: 500px;
    overflow-y: auto;
}

.category-documents.collapsed {
    display: none;
}

.evidence-document {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    margin-bottom: 0.75rem;
}

.evidence-document:last-child {
    margin-bottom: 0;
}

.document-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #6c757d;
}

.document-info {
    flex: 1;
}

.document-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.document-meta {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    gap: 1rem;
}

.document-coverage.high {
    color: #198754;
}

.document-coverage.medium {
    color: #fd7e14;
}

.document-coverage.low {
    color: #dc3545;
}

.document-status {
    margin: 0 1rem;
}

/* Remediation Roadmap */
.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.roadmap-phase {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
}

.phase-header {
    padding: 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.phase-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.phase-timeline {
    font-size: 0.9rem;
    color: #6c757d;
}

.phase-tasks {
    padding: 1rem;
}

.roadmap-task {
    display: flex;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
}

.roadmap-task:last-child {
    margin-bottom: 0;
}

.roadmap-task.critical {
    border-left: 4px solid #dc3545;
}

.roadmap-task.high {
    border-left: 4px solid #fd7e14;
}

.roadmap-task.medium {
    border-left: 4px solid #ffc107;
}

.task-info {
    flex: 1;
    margin-right: 1rem;
}

.task-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.task-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.task-effort.high,
.task-impact.critical {
    color: #dc3545;
}

.task-effort.medium,
.task-impact.high {
    color: #fd7e14;
}

.task-effort.low,
.task-impact.medium {
    color: #ffc107;
}

.task-description {
    font-size: 0.9rem;
    color: #6c757d;
}

.task-status {
    flex: 0 0 150px;
    text-align: center;
}

.status-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Report Generation Interface */
.report-generation-options {
    margin-bottom: 1rem;
}

.report-actions {
    margin-top: 1rem;
}

.report-type-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    height: 100%;
}

.report-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}

/* Make dashboard mobile responsive */
@media (max-width: 767.98px) {
    .dashboard-header-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dashboard-controls {
        margin-top: 1rem;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    
    .gap-controls,
    .evidence-controls,
    .roadmap-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .input-group {
        width: 100%;
    }
    
    .roadmap-task {
        flex-direction: column;
    }
    
    .task-status {
        margin-top: 1rem;
        width: 100%;
    }
}

/* Pricing Section Styles */
.pricing-section {
    padding: 80px 0;
}

.pricing-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.pricing-header {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 15px 0 0;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

.pricing-body {
    padding: 25px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.pricing-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.pricing-features li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.pricing-features li.disabled {
    opacity: 0.5;
}

.pricing-features li.disabled i {
    color: #999;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Pay As You Go Section */
.pay-as-you-go-container {
    margin-top: 50px;
}

.credit-visualization {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.credit-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 100px;
}

.credit-item:hover {
    transform: translateY(-5px);
    background: #e9ecef;
}

.credit-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.credit-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

.credit-price {
    font-weight: 600;
    margin-top: 5px;
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.contact-form .form-label {
    font-weight: 500;
}

.contact-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
}

.contact-details h4 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.contact-details p {
    margin: 0;
    opacity: 0.8;
}

.social-links-contact {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links-contact .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f3f5;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links-contact .social-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Knowledge Graph Section Styles */
.knowledge-graph-container {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.knowledge-graph-content {
    padding: 20px;
}

.feature-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0a192f;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.feature-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 0;
}

.relationship-list {
    list-style: none;
    padding-left: 0;
}

.relationship-list li {
    padding: 6px 0;
    display: flex;
    align-items: center;
}

.relationship {
    display: inline-block;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border-radius: 4px;
    padding: 2px 6px;
    margin-right: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Knowledge Graph Visualization */
.knowledge-graph-visual {
    position: relative;
    margin-bottom: 30px;
}

.graph-visualization {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 400px; /* Increased height for better visibility */
    background: linear-gradient(135deg, #0a192f 0%, #0d47a1 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.graph-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #0a192f;
    border-radius: 8px;
}

.graph-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
}

.graph-loading p {
    margin-top: 10px;
    font-size: 14px;
}

/* Enhanced graph visualization styling */
.links line {
    stroke-opacity: 0.6;
    filter: drop-shadow(0px 0px 1px rgba(255, 255, 255, 0.3));
}

.link-animation {
    animation: linkPulse 5s infinite;
}

@keyframes linkPulse {
    0%, 100% { stroke-opacity: 0.4; }
    50% { stroke-opacity: 0.8; }
}

.nodes circle {
    stroke: #fff;
    stroke-width: 1.5px;
    filter: drop-shadow(0px 0px 3px rgba(255, 255, 255, 0.5));
}

.node-animation {
    animation: nodePulse 4s infinite alternate;
}

@keyframes nodePulse {
    0% { stroke-opacity: 0.7; stroke-width: 1.5px; }
    100% { stroke-opacity: 1; stroke-width: 2px; }
}

.node-label {
    font-size: 8px;
    text-anchor: middle;
    pointer-events: none;
    fill: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Stagger animations for visual interest */
.links line:nth-child(3n) { animation-delay: 0s; }
.links line:nth-child(3n+1) { animation-delay: 1.7s; }
.links line:nth-child(3n+2) { animation-delay: 3.4s; }

.nodes circle:nth-child(2n) { animation-delay: 0s; }
.nodes circle:nth-child(2n+1) { animation-delay: 2s; }

/* Graph stats */
.graph-stats {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgba(248, 249, 250, 0.9);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.stat-item {
    padding: 12px;
    text-align: center;
    background-color: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #0d6efd;
}

/* Framework color legend */
.legend-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.legend-item:hover {
    transform: translateY(-3px);
}

.legend-symbol {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.legend-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

/* Framework colors for legend */
.eu-ai-act {
    background-color: #0d6efd;
}

.gdpr {
    background-color: #0dcaf0;
}

.nist {
    background-color: #198754;
}

.iso {
    background-color: #6610f2;
}

/* Responsive adjustments for knowledge graph */
@media (max-width: 992px) {
    .graph-visualization {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .graph-visualization {
        height: 300px;
    }
    
    .stat-item {
        margin-bottom: 10px;
    }
}

/* Pricing Overview on Homepage */
.pricing-overview-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.pricing-overview-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 15px;
}

.pricing-overview-section .section-description {
    font-size: 1.1rem;
    color: #495057;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

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

.pricing-card.highlighted {
    border: 2px solid #0d6efd;
}

.pricing-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #0d6efd;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.pricing-card-header {
    padding: 25px 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.pricing-card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 10px;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0d6efd;
}

.period {
    font-size: 0.9rem;
    color: #6c757d;
}

.pricing-card-body {
    padding: 25px 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.feature-list li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: #0d6efd;
    margin-right: 10px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* New styles for enhanced index page */

/* Navigation improvements */
.nav-demo-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* What's New Section */
.whats-new-section {
    position: relative;
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.whats-new-badge {
    position: absolute;
    top: 30px;
    left: 0;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    color: white;
    padding: 6px 30px 6px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.whats-new-content {
    padding: 20px 30px 20px 0;
}

.whats-new-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0a192f;
}

.feature-highlights {
    margin-top: 30px;
}

.feature-highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-highlight-item i {
    color: #0d6efd;
    font-size: 1.2rem;
    margin-right: 15px;
}

.demo-preview-image {
    position: relative;
    margin-top: 20px;
}

.demo-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background-color: #0d6efd;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.demo-badge i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Feature Tabs */
.feature-tabs {
    margin-bottom: 40px;
}

.feature-tabs .nav-link {
    color: #495057;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 30px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.feature-tabs .nav-link:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

.feature-tabs .nav-link.active {
    background-color: #0d6efd;
    color: white;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Enhanced Demo Button */
.enhanced-demo-btn {
    position: relative;
    font-weight: 500;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.enhanced-demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.4);
}

.pulse-button {
    position: relative;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0);
    }
}

/* Responsive improvements */
@media (max-width: 992px) {
    .whats-new-badge {
        position: relative;
        display: inline-block;
        top: 0;
        margin-bottom: 20px;
    }
    
    .whats-new-content {
        padding: 20px 15px;
    }
    
    .feature-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .nav-demo-btn {
        margin-top: 10px;
    }
}

/* ============================
   Enhanced Contact Form Styles
   ============================ */

/* Enhanced contact form container */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.contact-form:hover {
    box-shadow: var(--hover-shadow);
}

/* Form controls styling */
.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    background-color: white;
}

/* Validation states */
.contact-form .form-control.is-valid {
    border-color: var(--success-color);
    background-color: white;
    position: relative;
}

.contact-form .form-control.is-invalid {
    border-color: var(--danger-color);
    background-color: #fff5f5;
}

/* Form labels */
.contact-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

/* Validation feedback */
.contact-form .invalid-feedback {
    display: none;
    font-size: 0.875rem;
    margin-top: 5px;
    color: var(--danger-color);
}

/* Character counter styling */
#char-count {
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Submit button enhancements */
.contact-form .btn-primary {
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.contact-form .btn-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Message alert styling */
#form-message {
    border-radius: 8px;
    border: none;
    padding: 16px 20px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#form-message.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid var(--success-color);
}

#form-message.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid var(--danger-color);
}

#form-message.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid var(--warning-color);
}

/* CAPTCHA styling */
.contact-form input[type="number"] {
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
}

.contact-form input[type="number"]:focus {
    border-style: solid;
    border-color: var(--primary-color);
}

/* Honeypot field - completely hidden */
.d-none input {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Loading spinner */
.btn-spinner {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

/* Enhanced contact info styling */
.contact-info {
    padding-left: 2rem;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Success checkmark animation */
@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.contact-form .is-valid::after {
    content: '✓';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--success-color);
    font-weight: bold;
    animation: checkmark 0.3s ease-in-out;
}

/* Animation for form validation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.contact-form .is-invalid {
    animation: shake 0.5s ease-in-out;
}

/* Hide validation feedback by default */
.invalid-feedback {
    display: none;
}

/* Show validation feedback only when field is invalid */
.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        padding-left: 0;
    }
    
    .contact-form .btn-primary {
        width: 100%;
        padding: 14px;
    }
    
    #captcha {
        max-width: 100px !important;
    }
}