:root {
    --background-color: #0e0e0e;
    --foreground-color: #e0e0e0;
    --accent-color: #18D893;
    --muted-gray: #2a2a2a;
    --muted-light: #8a8a8a;
    --card-bg: #1a1a1a;
    --border-radius: 16px;
    --logo-grad-start: rgba(255, 255, 255, 1);
    --logo-grad-end: rgba(255, 255, 255, 0);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: var(--background-color);
    color: var(--foreground-color);
    line-height: 1.6;
}
/* ----------------------------------
   SVG Icon Style
---------------------------------- */
svg {
    width: var(--icon-size);
    height: var(--icon-size);
    color: var(--text-color);
    fill: none;
    flex-shrink: 0;
}


.logo-icon, #logo-icon {
    width: 8.6rem !important;
    height: 1.6rem !important;
    text-align: left;
    align-content: start;
    flex-shrink: unset;
}

#vectorCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

header, main, footer {
    position: relative;
    z-index: 1;
}

header {
    background: transparent;
    padding: 2rem 4rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--foreground-color);
    text-decoration: none;
}

.nav-right .nav-button {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-button:hover {
    background: var(--accent-color);
    color: var(--background-color);
}

.hero {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 600;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.highlight {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--muted-light);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .cta-button:hover {
        background: var(--accent-color);
        color: var(--background-color);
    }

section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features, .platform {
    margin-top: 6rem;
}

h2 {
    font-size: 2.2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 4rem;
}

.feature-grid, .platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card, .platform-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid #222;
}

    .feature-card:hover, .platform-card:hover {
        background: #222;
        transform: translateY(-5px);
    }

    .feature-card h3, .platform-card h4 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-card p, .platform-card p {
        color: var(--muted-light);
        font-size: 1rem;
    }

footer {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* ----------------------------------
   File Vault Styling
---------------------------------- */

/* File Vault Modal - Larger Size */
.file-vault-modal .modal-window {
    width: 80vw !important;
    max-width: 1200px !important;
    min-width: 800px !important;
}

.file-vault-modal.center {
    padding: 10vh 1rem 1rem 1rem !important;
}

@media (max-width: 1400px) {
    .file-vault-modal .modal-window {
        width: 85vw !important;
        min-width: 700px !important;
    }
}

@media (max-width: 768px) {
    .file-vault-modal .modal-window {
        width: 95vw !important;
        min-width: 300px !important;
    }
    
    .file-vault-modal.center {
        padding: 5vh 0.5rem 1rem 0.5rem !important;
    }
}

.file-delete-btn {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.file-delete-btn:hover {
    background-color: #dc3545 !important;
    color: white !important;
}

.file-action-btn {
    padding: 0.25rem 0.5rem;
    margin: 0 0.125rem;
    border: 1px solid #6c757d;
    background: transparent;
    color: #6c757d;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-action-btn:hover {
    background-color: #6c757d;
    color: white;
}

.modal-btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.modal-btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Modal Size Extensions */
.modal.size-extra-large .modal-dialog {
    max-width: 1200px !important;
    width: 90vw !important;
    margin: 20vh auto 2rem auto !important;
}

.modal.size-extra-large .modal-content {
    min-height: 60vh;
}

/* File Vault Modal Specific Styling */
.file-vault-container {
    min-height: 500px;
}

.file-vault-tabs {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

.file-vault-tab {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.file-vault-tab.active {
    color: var(--accent-color, #007bff);
    border-bottom-color: var(--accent-color, #007bff);
}

.file-vault-tab:hover {
    color: var(--accent-color, #007bff);
}

.file-vault-content {
    display: none;
}

.file-vault-content.active {
    display: block;
}

.files-table {
    width: 100%;
}

.files-table-header {
    display: grid;
    grid-template-columns: 40px 1fr 100px 120px 100px;
    gap: 1rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.files-table-row {
    display: grid;
    grid-template-columns: 40px 1fr 100px 120px 100px;
    gap: 1rem;
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    align-items: center;
}

.files-table-row:hover {
    background-color: #f8f9fa;
}

.file-col-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    header {
        padding: 1.5rem 2rem;
    }

    .nav-logo {
        font-size: 1.4rem;
    }

    .nav-right .nav-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
@media (max-width: 400px) {
    .nav-right {
        display: none;
    }
}

/* Question Edit Modal Styles */
.override-level-options {
    margin-top: 10px;
}

.override-level-options .form-check {
    margin-bottom: 10px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.override-level-options .form-check:hover {
    background-color: #f0f0f0;
}

.override-level-options .form-check-input:checked + .form-check-label {
    font-weight: 600;
    color: #0066cc;
}

.level-indicator {
    color: #28a745;
    font-weight: bold;
    margin-left: 8px;
}

.override-actions {
    margin-top: 15px;
    text-align: right;
}

.override-actions .btn {
    margin-left: 8px;
}

.tag-preview {
    margin-top: 8px;
}

.tag-item {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 3px;
}

.hierarchy-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}

.hierarchy-list {
    margin-top: 10px;
}

.hierarchy-item {
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: white;
}

.hierarchy-item.active {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.hierarchy-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.hierarchy-content {
    font-size: 14px;
    color: #6c757d;
}

.hierarchy-content div {
    margin-bottom: 4px;
}

/* Loading and error states */
.loading-section {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.loading-section i {
    font-size: 24px;
    margin-right: 10px;
}
