/* ==========================================================================
   Addutech Archive Studio - Master Stylesheet
   Modern, production-grade SaaS UI with dark theme, glassmorphism, & responsiveness.
   ========================================================================== */

:root {
    --bg-main: #0b0f19;
    --bg-surface: #111827;
    --bg-surface-elevated: #1e293b;
    --bg-card: #151e32;
    --border-color: #1e293b;
    --border-hover: #334155;
    --border-focus: #f59e0b; /* Addutech Brand Orange */

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --brand-primary: #f59e0b; /* Addutech Gold/Orange */
    --brand-primary-hover: #d97706;
    --brand-accent: #ea580c;
    --brand-glow: rgba(245, 158, 11, 0.28);

    --accent-blue: #3b82f6;
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --error: #ef4444;
    --error-bg: rgba(239, 68, 68, 0.12);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --------------------------------------------------------------------------
   Lucide Icons Global Styling
   -------------------------------------------------------------------------- */
.lucide {
    width: 1.15em;
    height: 1.15em;
    stroke-width: 2;
    vertical-align: -0.15em;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   Layout & Container
   -------------------------------------------------------------------------- */
.app-wrapper {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
    border-bottom: 1px solid var(--border-color);
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name small {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.15s;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.nav-badge .lucide {
    width: 0.9em;
    height: 0.9em;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    padding: 44px 0 28px;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.hero-pill-badge {
    background: var(--brand-primary);
    color: #0b0f19;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hero-pill-badge .lucide {
    width: 0.85em;
    height: 0.85em;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 660px;
    margin: 0 auto 24px;
}

.features-chip-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.chip .lucide {
    color: var(--brand-primary);
    width: 1em;
    height: 1em;
}

/* --------------------------------------------------------------------------
   Mode Switcher Tabs
   -------------------------------------------------------------------------- */
.mode-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.mode-tabs {
    display: inline-flex;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 5px;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.mode-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-tab:hover {
    color: var(--text-primary);
}

.mode-tab.active {
    background: var(--brand-primary);
    color: #0b0f19;
    box-shadow: 0 2px 10px var(--brand-glow);
}

.mode-tab .lucide {
    width: 1.1em;
    height: 1.1em;
}

/* --------------------------------------------------------------------------
   Studio Workspace Card
   -------------------------------------------------------------------------- */
.workspace-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.workspace-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
    opacity: 0.7;
}

/* Dropzone */
.dropzone {
    border: 2px dashed var(--border-hover);
    border-radius: var(--radius-md);
    padding: 44px 24px;
    text-align: center;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.4);
    transition: all 0.2s ease;
    position: relative;
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--brand-primary);
    background: rgba(245, 158, 11, 0.05);
    box-shadow: 0 0 24px var(--brand-glow);
}

.dropzone-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: inline-block;
    color: var(--brand-primary);
    filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.35));
}

.dropzone-icon .lucide {
    width: 3rem;
    height: 3rem;
    stroke-width: 1.5;
}

.dropzone-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.dropzone-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.dropzone-buttons-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.btn-upload-choice {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s;
}

.btn-upload-choice:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(245, 158, 11, 0.08);
}

.btn-upload-choice .lucide {
    width: 1.1em;
    height: 1.1em;
}

.dropzone-formats {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.format-pill {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-family: var(--font-mono);
    padding: 2px 6px;
    border-radius: 4px;
}

#fileInput, #folderInput, #multiFileInput {
    display: none;
}

/* Selected File/Folder Box */
.selected-file-box {
    margin-top: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.file-info-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-avatar {
    width: 42px;
    height: 42px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--brand-primary);
}

.file-avatar .lucide {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 1.75;
}

.file-name-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.file-meta-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
}

.detected-badge {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--brand-primary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.detected-badge .lucide {
    width: 0.95em;
    height: 0.95em;
}

/* Form Controls */
.controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 640px) {
    .controls-grid { grid-template-columns: 1fr; }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input, .form-select {
    width: 100%;
    padding: 11px 14px;
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.input-action-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-muted);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-action-btn:hover {
    color: var(--text-primary);
}

.input-action-btn .lucide {
    width: 1.15em;
    height: 1.15em;
}

/* Button Actions */
.action-buttons-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: #0b0f19;
    border: none;
    border-radius: var(--radius-md);
    padding: 13px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 4px 14px var(--brand-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover:not(:disabled) {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--brand-glow);
}

.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-primary .lucide {
    width: 1.2em;
    height: 1.2em;
    stroke-width: 2.2;
}

.btn-secondary {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    padding: 13px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.btn-secondary .lucide {
    width: 1.1em;
    height: 1.1em;
}

/* Progress Section */
.progress-wrap {
    margin-top: 20px;
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: none;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: var(--bg-surface-elevated);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    animation: indeterminate 1.6s infinite ease-in-out;
}

@keyframes indeterminate {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Compress Success Result Card */
.compress-result-card {
    display: none;
    margin-top: 24px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    padding: 20px;
}

.compress-result-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.compress-summary-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e2e8f0;
}

/* --------------------------------------------------------------------------
   Extracted Results Dashboard
   -------------------------------------------------------------------------- */
.results-section {
    display: none;
    margin-top: 36px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; }
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-primary);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.results-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 220px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 9px 14px 9px 36px;
    background: #0f172a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
}

.search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.search-icon .lucide {
    width: 1rem;
    height: 1rem;
}

.file-list {
    list-style: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    max-height: 380px;
    overflow-y: auto;
    background: #0f172a;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.12s;
    font-size: 0.85rem;
}

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

.file-item:hover {
    background: var(--bg-surface);
}

.file-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.file-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.file-item-icon .lucide {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 1.75;
}

.file-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.file-item-name {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-primary);
}

.file-item-size {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.file-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 12px;
}

.btn-preview, .btn-download {
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-preview .lucide, .btn-download .lucide {
    width: 0.95em;
    height: 0.95em;
}

.btn-preview {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-preview:hover {
    background: var(--border-hover);
    color: var(--text-primary);
}

.btn-download {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--brand-primary);
}

.btn-download:hover {
    background: var(--brand-primary);
    color: #0b0f19;
}

.file-item-empty {
    padding: 32px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Preview Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal-window {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 0.95rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 620px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.15rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--bg-surface-elevated);
}

.modal-close .lucide {
    width: 1.25rem;
    height: 1.25rem;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.preview-image {
    max-width: 100%;
    max-height: 60vh;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.preview-code {
    background: #090d16;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.5;
    color: #e2e8f0;
    overflow-x: auto;
    white-space: pre;
}

.preview-placeholder {
    text-align: center;
    padding: 40px 20px;
}

/* --------------------------------------------------------------------------
   SEO Content Sections
   -------------------------------------------------------------------------- */
.seo-section {
    margin: 64px 0 32px;
}

.section-heading {
    text-align: center;
    margin-bottom: 36px;
}

.section-heading h2 {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.section-heading p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform 0.15s, border-color 0.15s;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--brand-primary);
}

.feature-icon .lucide {
    width: 2rem;
    height: 2rem;
    stroke-width: 1.75;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Comparison Table */
.table-wrapper {
    overflow-x: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-top: 24px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: #0f172a;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.highlight-col {
    background: rgba(245, 158, 11, 0.05);
    color: var(--brand-primary);
    font-weight: 600;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--text-muted);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 20px 16px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: #070a12;
    padding: 40px 0;
    margin-top: auto;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 16px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Toast Notifications
   -------------------------------------------------------------------------- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2000;
    pointer-events: none;
}

.toast {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.25s ease;
    pointer-events: auto;
    max-width: 380px;
}

.toast.visible {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon .lucide {
    width: 1.2rem;
    height: 1.2rem;
}

.toast-success { border-color: rgba(16, 185, 129, 0.4); color: #6ee7b7; }
.toast-error { border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }
.toast-warning { border-color: rgba(245, 158, 11, 0.4); color: #fde047; }
.toast-info { border-color: rgba(59, 130, 246, 0.4); color: #93c5fd; }
