/* ==========================================================================
   ValidateList Theme - Modern SaaS Design
   Mobile-first responsive design
   ========================================================================== */

:root {
    /* Primary Colors - Teal */
    --vl-primary-50: #f0fdfa;
    --vl-primary-100: #ccfbf1;
    --vl-primary-200: #99f6e4;
    --vl-primary-300: #5eead4;
    --vl-primary-400: #2dd4bf;
    --vl-primary-500: #14b8a6;
    --vl-primary-600: #0d9488;
    --vl-primary-700: #0f766e;
    --vl-primary-800: #115e59;
    --vl-primary-900: #134e4a;

    /* Accent Colors - Orange/Coral */
    --vl-accent-400: #fb923c;
    --vl-accent-500: #f97316;
    --vl-accent-600: #ea580c;

    /* Status Colors */
    --vl-success-100: #d1fae5;
    --vl-success-500: #10b981;
    --vl-success-600: #059669;
    --vl-success-700: #047857;

    --vl-warning-100: #fef3c7;
    --vl-warning-500: #f59e0b;
    --vl-warning-600: #d97706;
    --vl-warning-700: #b45309;

    --vl-danger-100: #fee2e2;
    --vl-danger-500: #f43f5e;
    --vl-danger-600: #e11d48;
    --vl-danger-700: #be123c;

    /* Neutral Colors - Slate */
    --vl-neutral-50: #f8fafc;
    --vl-neutral-100: #f1f5f9;
    --vl-neutral-200: #e2e8f0;
    --vl-neutral-300: #cbd5e1;
    --vl-neutral-400: #94a3b8;
    --vl-neutral-500: #64748b;
    --vl-neutral-600: #475569;
    --vl-neutral-700: #334155;
    --vl-neutral-800: #1e293b;
    --vl-neutral-900: #0f172a;

    /* Typography */
    --vl-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Shadows */
    --vl-shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
    --vl-shadow-medium: 0 4px 20px -2px rgba(0, 0, 0, 0.08), 0 12px 30px -4px rgba(0, 0, 0, 0.06);

    /* Border Radius */
    --vl-radius-sm: 0.375rem;
    --vl-radius-md: 0.5rem;
    --vl-radius-lg: 0.75rem;
    --vl-radius-xl: 1rem;
    --vl-radius-2xl: 1.25rem;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--vl-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--vl-neutral-800);
    background: white;
}

.vl-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.vl-main {
    flex: 1;
}

.vl-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.vl-skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    padding: 1rem;
    background: var(--vl-primary-600);
    color: white;
    z-index: 100;
}

.vl-skip-link:focus {
    top: 0;
}

/* Header */
.vl-header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid var(--vl-neutral-200);
    z-index: 50;
}

.vl-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.vl-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--vl-neutral-900);
    font-weight: 700;
    font-size: 1.25rem;
}

.vl-logo-icon {
    font-size: 1.5rem;
}

.vl-nav-links {
    display: flex;
    gap: 2rem;
}

.vl-nav-link {
    color: var(--vl-neutral-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.vl-nav-link:hover {
    color: var(--vl-primary-600);
}

/* Hero Section */
.vl-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--vl-primary-50) 0%, white 50%, var(--vl-neutral-50) 100%);
}

.vl-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.vl-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--vl-success-100);
    color: var(--vl-success-700);
    border-radius: var(--vl-radius-2xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.vl-hero-headline {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: var(--vl-neutral-900);
}

.vl-hero-headline .vl-highlight {
    color: var(--vl-primary-600);
}

.vl-hero-subheadline {
    font-size: 1.125rem;
    color: var(--vl-neutral-600);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .vl-hero-headline {
        font-size: 3.5rem;
    }
}

/* Upload Zone */
.vl-upload-container {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.vl-upload-zone {
    border: 2px dashed var(--vl-neutral-300);
    border-radius: var(--vl-radius-xl);
    padding: 3rem 2rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.vl-upload-zone:hover,
.vl-upload-zone.dragover {
    border-color: var(--vl-primary-500);
    background: var(--vl-primary-50);
}

.vl-upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vl-upload-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--vl-neutral-800);
    margin: 0 0 0.5rem 0;
}

.vl-upload-subtitle {
    color: var(--vl-neutral-500);
    margin: 0 0 1rem 0;
}

.vl-upload-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--vl-neutral-400);
}

.vl-upload-loading {
    display: none;
}

.vl-upload-zone.loading .vl-upload-default {
    display: none;
}

.vl-upload-zone.loading .vl-upload-loading {
    display: block;
}

.vl-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--vl-neutral-200);
    border-top-color: var(--vl-primary-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.vl-upload-error {
    background: var(--vl-danger-100);
    color: var(--vl-danger-700);
    padding: 1rem;
    border-radius: var(--vl-radius-md);
    margin-top: 1rem;
    display: none;
}

.vl-upload-error.show {
    display: block;
}

/* Trust Indicators */
.vl-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--vl-neutral-500);
    font-size: 0.875rem;
}

.vl-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vl-trust-icon {
    color: var(--vl-success-500);
}

/* Features Section */
.vl-features {
    padding: 4rem 0;
    background: var(--vl-neutral-50);
}

.vl-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.vl-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--vl-neutral-900);
}

.vl-section-subtitle {
    font-size: 1.125rem;
    color: var(--vl-neutral-600);
    max-width: 600px;
    margin: 0 auto;
}

.vl-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vl-feature-card {
    background: white;
    border-radius: var(--vl-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--vl-shadow-soft);
}

.vl-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--vl-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.vl-feature-icon.green {
    background: var(--vl-success-100);
}

.vl-feature-icon.blue {
    background: #dbeafe;
}

.vl-feature-icon.purple {
    background: #ede9fe;
}

.vl-feature-icon.orange {
    background: var(--vl-warning-100);
}

.vl-feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--vl-neutral-800);
}

.vl-feature-description {
    color: var(--vl-neutral-600);
    margin: 0;
    font-size: 0.9375rem;
}

/* FAQ Section */
.vl-faq {
    padding: 4rem 0;
}

.vl-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.vl-faq-item {
    border-bottom: 1px solid var(--vl-neutral-200);
}

.vl-faq-item summary {
    padding: 1.25rem 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--vl-neutral-800);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vl-faq-item summary::-webkit-details-marker {
    display: none;
}

.vl-faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--vl-neutral-400);
    transition: transform 0.2s;
}

.vl-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.vl-faq-answer {
    padding: 0 0 1.25rem 0;
    color: var(--vl-neutral-600);
}

/* CTA Section */
.vl-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--vl-primary-600) 0%, var(--vl-primary-700) 100%);
    color: white;
    text-align: center;
}

.vl-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.vl-cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0 0 2rem 0;
}

.vl-btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--vl-radius-lg);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.vl-btn-white {
    background: white;
    color: var(--vl-primary-700);
}

.vl-btn-white:hover {
    background: var(--vl-neutral-100);
    transform: translateY(-2px);
}

/* Footer */
.vl-footer {
    padding: 2rem 0;
    background: var(--vl-neutral-900);
    color: var(--vl-neutral-400);
}

.vl-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.vl-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
}

.vl-footer-text {
    font-size: 0.875rem;
}

.vl-footer-copyright {
    font-size: 0.75rem;
}

/* Task Page */
.vl-task-page {
    padding: 2rem 0;
}

.vl-task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.vl-task-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.vl-status-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: var(--vl-radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.vl-status-active { background: #dbeafe; color: #1d4ed8; }
.vl-status-queued { background: #e0e7ff; color: #4338ca; }
.vl-status-processing { background: var(--vl-warning-100); color: var(--vl-warning-700); }
.vl-status-completed { background: var(--vl-success-100); color: var(--vl-success-700); }

/* Progress Bar */
.vl-progress-section {
    background: white;
    border-radius: var(--vl-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--vl-shadow-soft);
    margin-bottom: 1.5rem;
}

.vl-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.vl-progress-bar-container {
    height: 12px;
    background: var(--vl-neutral-200);
    border-radius: var(--vl-radius-md);
    overflow: hidden;
}

.vl-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--vl-primary-500), var(--vl-primary-600));
    transition: width 0.5s ease;
}

/* Stats Grid */
.vl-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vl-stat-card {
    background: white;
    border-radius: var(--vl-radius-lg);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--vl-shadow-soft);
}

.vl-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vl-neutral-800);
}

.vl-stat-label {
    font-size: 0.75rem;
    color: var(--vl-neutral-500);
    margin-top: 0.25rem;
}

.vl-stat-card.valid .vl-stat-value { color: var(--vl-success-600); }
.vl-stat-card.invalid .vl-stat-value { color: var(--vl-danger-600); }
.vl-stat-card.risky .vl-stat-value { color: var(--vl-warning-600); }

/* Results Table */
.vl-results-section {
    background: white;
    border-radius: var(--vl-radius-xl);
    box-shadow: var(--vl-shadow-soft);
    overflow: hidden;
}

.vl-tabs {
    border-bottom: 1px solid var(--vl-neutral-200);
}

.vl-tab {
    display: inline-block;
    padding: 1rem 1.5rem;
    color: var(--vl-neutral-500);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.vl-tab:hover {
    color: var(--vl-primary-600);
}

.vl-tab.active {
    color: var(--vl-primary-600);
    border-bottom-color: var(--vl-primary-600);
}

.vl-filter-buttons {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    flex-wrap: wrap;
}

.vl-filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--vl-neutral-200);
    border-radius: var(--vl-radius-md);
    background: white;
    color: var(--vl-neutral-600);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.vl-filter-btn:hover {
    background: var(--vl-neutral-50);
}

.vl-filter-btn.active {
    background: var(--vl-primary-600);
    color: white;
    border-color: var(--vl-primary-600);
}

/* Hero Section - Enhanced */
.vl-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: var(--vl-neutral-900);
}

.vl-hero-subtitle {
    font-size: 1.125rem;
    color: var(--vl-neutral-600);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .vl-hero-title {
        font-size: 3.5rem;
    }
}

/* Upload Widget */
.vl-upload-widget {
    max-width: 600px;
    margin: 0 auto;
}

.vl-dropzone {
    border: 2px dashed var(--vl-neutral-300);
    border-radius: var(--vl-radius-xl);
    padding: 3rem 2rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.vl-dropzone:hover,
.vl-dropzone.dragover {
    border-color: var(--vl-primary-500);
    background: var(--vl-primary-50);
}

.vl-dropzone-icon {
    color: var(--vl-primary-500);
    margin-bottom: 1rem;
}

.vl-dropzone-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--vl-neutral-800);
    margin: 0 0 0.5rem 0;
}

.vl-dropzone-subtext {
    color: var(--vl-neutral-500);
    margin: 0 0 1rem 0;
}

.vl-dropzone-info {
    font-size: 0.875rem;
    color: var(--vl-neutral-400);
    margin: 0;
}

.vl-upload-progress {
    padding: 2rem;
    text-align: center;
}

.vl-progress-bar {
    height: 8px;
    background: var(--vl-neutral-200);
    border-radius: var(--vl-radius-md);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.vl-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--vl-primary-500), var(--vl-primary-600));
    border-radius: var(--vl-radius-md);
    transition: width 0.3s ease;
}

.vl-progress-text {
    color: var(--vl-neutral-600);
    font-size: 0.875rem;
    margin: 0;
}

/* Features Section - Enhanced */
.vl-feature-card {
    background: white;
    border-radius: var(--vl-radius-xl);
    padding: 2rem;
    box-shadow: var(--vl-shadow-soft);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vl-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vl-shadow-medium);
}

.vl-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--vl-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: var(--vl-primary-100);
    color: var(--vl-primary-600);
}

.vl-feature-desc {
    color: var(--vl-neutral-600);
    margin: 0;
    font-size: 0.9375rem;
}

/* Validation Checks Section */
.vl-validation-checks {
    padding: 4rem 0;
}

.vl-checks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.vl-check-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--vl-radius-lg);
    border: 1px solid var(--vl-neutral-200);
}

.vl-check-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--vl-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vl-check-icon.vl-check-valid {
    background: var(--vl-success-100);
    color: var(--vl-success-600);
}

.vl-check-icon.vl-check-warning {
    background: var(--vl-warning-100);
    color: var(--vl-warning-600);
}

.vl-check-icon.vl-check-info {
    background: #dbeafe;
    color: #2563eb;
}

.vl-check-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--vl-neutral-800);
}

.vl-check-content p {
    font-size: 0.875rem;
    color: var(--vl-neutral-600);
    margin: 0;
}

/* FAQ Section - Enhanced */
.vl-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--vl-neutral-800);
    text-align: left;
}

.vl-faq-question:hover {
    color: var(--vl-primary-600);
}

.vl-faq-question svg {
    flex-shrink: 0;
    color: var(--vl-neutral-400);
    transition: transform 0.2s;
}

.vl-faq-item.active .vl-faq-question svg {
    transform: rotate(180deg);
}

.vl-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.vl-faq-item.active .vl-faq-answer {
    max-height: 500px;
}

.vl-faq-answer p {
    padding-bottom: 1.25rem;
    color: var(--vl-neutral-600);
    line-height: 1.7;
}

/* CTA Section - Enhanced */
.vl-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.vl-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.vl-cta-desc {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0 0 2rem 0;
}

.vl-btn-light {
    background: white;
    color: var(--vl-primary-700);
}

.vl-btn-light:hover {
    background: var(--vl-neutral-100);
    transform: translateY(-2px);
}

.vl-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Loading State */
.vl-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--vl-neutral-500);
}

.vl-loading .vl-spinner {
    width: 48px;
    height: 48px;
}

.vl-loading p {
    margin-top: 1rem;
}

/* Download Buttons */
.vl-download-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vl-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.vl-btn-primary {
    background: var(--vl-primary-600);
    color: white;
}

.vl-btn-primary:hover {
    background: var(--vl-primary-700);
}

.vl-btn-outline {
    background: white;
    border: 1px solid var(--vl-neutral-300);
    color: var(--vl-neutral-700);
}

.vl-btn-outline:hover {
    background: var(--vl-neutral-50);
}

/* Mobile Menu */
.vl-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--vl-neutral-700);
}

@media (max-width: 767px) {
    .vl-nav-links {
        display: none;
    }

    .vl-mobile-menu-btn {
        display: block;
    }
}

.vl-mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 40;
    padding: 1rem;
}

.vl-mobile-menu.hidden {
    display: none;
}

.vl-mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vl-mobile-menu-link {
    display: block;
    padding: 1rem;
    color: var(--vl-neutral-700);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--vl-radius-md);
}

.vl-mobile-menu-link:hover {
    background: var(--vl-neutral-50);
    color: var(--vl-primary-600);
}

.vl-mobile-menu-cta {
    display: block;
    padding: 1rem;
    margin-top: 1rem;
    background: var(--vl-primary-600);
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border-radius: var(--vl-radius-lg);
}

.vl-mobile-menu-cta:hover {
    background: var(--vl-primary-700);
}

/* Footer Grid */
.vl-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .vl-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.vl-footer-brand-col {
    max-width: 300px;
}

.vl-footer-desc {
    color: var(--vl-neutral-400);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.vl-footer-col {
    min-width: 120px;
}

.vl-footer-heading {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vl-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vl-footer-links li {
    margin-bottom: 0.75rem;
}

.vl-footer-links a {
    color: var(--vl-neutral-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.vl-footer-links a:hover {
    color: white;
}

.vl-footer-bottom {
    border-top: 1px solid var(--vl-neutral-700);
    padding-top: 1.5rem;
    text-align: center;
}

/* Page Hero - Enhanced */
.vl-page-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, var(--vl-primary-50) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.vl-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--vl-primary-400), var(--vl-primary-600), var(--vl-accent-500));
}

.vl-page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--vl-primary-100) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.vl-page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.vl-page-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin: 0 0 1.25rem 0;
    color: var(--vl-neutral-900);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.vl-page-hero-subtitle {
    font-size: 1.25rem;
    color: var(--vl-neutral-600);
    margin: 0;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .vl-page-hero {
        padding: 6rem 0 5rem;
    }

    .vl-page-hero-title {
        font-size: 3.5rem;
    }

    .vl-page-hero-subtitle {
        font-size: 1.375rem;
    }
}

/* Page Content */
.vl-page-content {
    padding: 4rem 0;
}

.vl-container-narrow {
    max-width: 800px;
}

/* Article Styles */
.vl-article {
    max-width: 800px;
    margin: 0 auto;
}

.vl-article h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem 0;
    color: var(--vl-neutral-900);
}

.vl-article h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem 0;
    color: var(--vl-neutral-800);
}

.vl-article h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    color: var(--vl-neutral-800);
}

.vl-article p {
    margin: 0 0 1.25rem 0;
    line-height: 1.8;
    color: var(--vl-neutral-700);
}

.vl-article ul, .vl-article ol {
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
}

.vl-article li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--vl-neutral-700);
}

.vl-article strong {
    color: var(--vl-neutral-900);
    font-weight: 600;
}

.vl-article a {
    color: var(--vl-primary-600);
    text-decoration: underline;
}

.vl-article a:hover {
    color: var(--vl-primary-700);
}

.vl-article pre {
    background: var(--vl-neutral-800);
    color: var(--vl-neutral-100);
    padding: 1rem 1.5rem;
    border-radius: var(--vl-radius-lg);
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.vl-article code {
    background: var(--vl-neutral-100);
    padding: 0.125rem 0.375rem;
    border-radius: var(--vl-radius-sm);
    font-size: 0.875em;
    color: var(--vl-primary-700);
}

.vl-article pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.vl-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.vl-article th, .vl-article td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--vl-neutral-200);
}

.vl-article th {
    background: var(--vl-neutral-50);
    font-weight: 600;
    color: var(--vl-neutral-800);
}

/* CTA Section (Global) - Enhanced */
.vl-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--vl-primary-600) 0%, var(--vl-primary-800) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vl-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.vl-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.vl-cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vl-cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.vl-cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.vl-cta-button {
    display: inline-block;
    padding: 1.125rem 2.5rem;
    background: white;
    color: var(--vl-primary-700);
    border-radius: var(--vl-radius-xl);
    font-weight: 700;
    font-size: 1.0625rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.vl-cta-button:hover {
    background: var(--vl-neutral-50);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .vl-cta-title {
        font-size: 2.75rem;
    }
}

/* Blog Hero */
.vl-blog-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(180deg, var(--vl-primary-50) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.vl-blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--vl-primary-400), var(--vl-primary-600), var(--vl-accent-500));
}

.vl-blog-hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.vl-blog-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 1.25rem 0;
    color: var(--vl-neutral-900);
    letter-spacing: -0.02em;
}

.vl-blog-hero-subtitle {
    font-size: 1.25rem;
    color: var(--vl-neutral-600);
    margin: 0;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .vl-blog-hero-title {
        font-size: 3.5rem;
    }
}

/* Blog Section */
.vl-blog-section {
    padding: 4rem 0 5rem;
    background: white;
}

.vl-blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .vl-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .vl-blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* Blog Post Card - Enhanced */
.vl-blog-card {
    background: white;
    border-radius: var(--vl-radius-2xl);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--vl-neutral-100);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.vl-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: var(--vl-primary-100);
}

.vl-blog-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--vl-primary-100) 0%, var(--vl-primary-50) 50%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.vl-blog-card-image > div {
    transition: transform 0.3s ease;
}

.vl-blog-card:hover .vl-blog-card-image > div {
    transform: scale(1.05);
}

.vl-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vl-blog-card:hover .vl-blog-card-image img {
    transform: scale(1.05);
}

.vl-blog-card-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vl-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--vl-neutral-500);
    margin-bottom: 1rem;
}

.vl-blog-card-category {
    color: var(--vl-primary-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    background: var(--vl-primary-50);
    padding: 0.25rem 0.75rem;
    border-radius: var(--vl-radius-2xl);
}

.vl-blog-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--vl-neutral-900);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.vl-blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.vl-blog-card-title a:hover {
    color: var(--vl-primary-600);
}

.vl-blog-card-excerpt {
    font-size: 0.9375rem;
    color: var(--vl-neutral-600);
    margin: 0;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vl-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--vl-neutral-100);
}

.vl-blog-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--vl-neutral-600);
}

.vl-blog-card-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--vl-primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-blog-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--vl-primary-600);
    text-decoration: none;
    transition: gap 0.2s;
}

.vl-blog-card-read-more:hover {
    gap: 0.625rem;
}

/* Blog Post Article */
.vl-article-page {
    background: white;
}

.vl-article-header {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, var(--vl-primary-50) 0%, white 100%);
}

.vl-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--vl-neutral-500);
    margin-bottom: 1rem;
}

.vl-article-category {
    color: var(--vl-primary-600);
    font-weight: 500;
}

.vl-article-divider {
    color: var(--vl-neutral-300);
}

.vl-article-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 0 0 1.5rem 0;
    color: var(--vl-neutral-900);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .vl-article-title {
        font-size: 3rem;
    }
}

.vl-article-excerpt {
    font-size: 1.25rem;
    color: var(--vl-neutral-600);
    text-align: center;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.vl-article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.vl-article-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--vl-primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-article-author-name {
    font-weight: 600;
    color: var(--vl-neutral-800);
}

.vl-article-featured-image {
    padding: 2rem 0;
}

.vl-article-image {
    width: 100%;
    border-radius: var(--vl-radius-xl);
}

.vl-article-body {
    padding: 2rem 0 4rem;
}

.vl-article-content {
    font-size: 1.125rem;
}

.vl-article-content h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
}

.vl-article-content h3 {
    font-size: 1.375rem;
    margin-top: 2.5rem;
}

.vl-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--vl-neutral-200);
}

.vl-article-tags-label {
    font-weight: 500;
    color: var(--vl-neutral-600);
    margin-right: 0.5rem;
}

.vl-article-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--vl-neutral-100);
    color: var(--vl-neutral-600);
    border-radius: var(--vl-radius-2xl);
    font-size: 0.8125rem;
}

/* Back to Blog Link */
.vl-back-to-blog {
    padding: 2rem 0;
    background: var(--vl-neutral-50);
}

.vl-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vl-neutral-600);
    text-decoration: none;
    font-weight: 500;
}

.vl-back-link:hover {
    color: var(--vl-primary-600);
}

/* Feature Cards for Features Page - Enhanced */
.vl-feature-section {
    padding: 4rem 0;
    position: relative;
}

.vl-feature-section:nth-child(even) {
    background: linear-gradient(180deg, var(--vl-neutral-50) 0%, white 100%);
}

.vl-feature-section > .vl-container {
    max-width: 900px;
}

.vl-feature-section-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--vl-neutral-200);
}

.vl-feature-section-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--vl-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.vl-feature-section:hover .vl-feature-section-icon {
    transform: scale(1.05);
}

.vl-feature-section-icon.green {
    background: linear-gradient(135deg, var(--vl-success-100) 0%, #a7f3d0 100%);
}
.vl-feature-section-icon.blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}
.vl-feature-section-icon.purple {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}
.vl-feature-section-icon.orange {
    background: linear-gradient(135deg, var(--vl-warning-100) 0%, #fed7aa 100%);
}
.vl-feature-section-icon.red {
    background: linear-gradient(135deg, var(--vl-danger-100) 0%, #fecaca 100%);
}
.vl-feature-section-icon.teal {
    background: linear-gradient(135deg, var(--vl-primary-100) 0%, var(--vl-primary-200) 100%);
}

.vl-feature-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: var(--vl-neutral-900);
    letter-spacing: -0.02em;
}

.vl-feature-section-subtitle {
    color: var(--vl-neutral-500);
    margin: 0;
    font-size: 1.0625rem;
}

/* Feature Section Content Styling */
.vl-feature-section p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--vl-neutral-700);
    margin-bottom: 1.5rem;
}

.vl-feature-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.vl-feature-section ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.875rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--vl-neutral-700);
}

.vl-feature-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 8px;
    height: 8px;
    background: var(--vl-primary-500);
    border-radius: 50%;
}

.vl-feature-section ul li strong {
    color: var(--vl-neutral-900);
    font-weight: 600;
}

.vl-feature-section ol {
    padding-left: 1.5rem;
    margin: 0 0 1.5rem 0;
}

.vl-feature-section ol li {
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--vl-neutral-700);
}

.vl-feature-section ol li strong {
    color: var(--vl-neutral-900);
    font-weight: 600;
}

.vl-feature-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    color: var(--vl-neutral-800);
}

/* Pagination */
.vl-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--vl-neutral-200);
}

.vl-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.375rem;
}

.vl-pagination li a,
.vl-pagination li span,
.vl-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: var(--vl-radius-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--vl-neutral-600);
    background: white;
    border: 1px solid var(--vl-neutral-200);
    transition: all 0.2s ease;
}

.vl-pagination li a:hover,
.vl-pagination .page-link:hover {
    color: var(--vl-primary-600);
    border-color: var(--vl-primary-300);
    background: var(--vl-primary-50);
}

.vl-pagination li.active a,
.vl-pagination li.active span,
.vl-pagination .page-item.active .page-link {
    color: white;
    background: var(--vl-primary-600);
    border-color: var(--vl-primary-600);
}

.vl-pagination li.disabled a,
.vl-pagination li.disabled span,
.vl-pagination .page-item.disabled .page-link {
    color: var(--vl-neutral-400);
    background: var(--vl-neutral-100);
    border-color: var(--vl-neutral-200);
    cursor: not-allowed;
    pointer-events: none;
}

/* OrchardCore default pager classes */
.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--vl-neutral-200);
}

.pager ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.375rem;
}

.pager li a,
.pager li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: var(--vl-radius-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--vl-neutral-600);
    background: white;
    border: 1px solid var(--vl-neutral-200);
    transition: all 0.2s ease;
}

.pager li a:hover {
    color: var(--vl-primary-600);
    border-color: var(--vl-primary-300);
    background: var(--vl-primary-50);
}

.pager li.active a,
.pager li.active span {
    color: white;
    background: var(--vl-primary-600);
    border-color: var(--vl-primary-600);
}

.pager li.disabled a,
.pager li.disabled span {
    color: var(--vl-neutral-400);
    background: var(--vl-neutral-100);
    border-color: var(--vl-neutral-200);
    cursor: not-allowed;
}

/* Utility Classes */
.vl-hidden { display: none !important; }
.vl-text-center { text-align: center; }
.vl-mt-1 { margin-top: 0.25rem; }
.vl-mt-2 { margin-top: 0.5rem; }
.vl-mt-4 { margin-top: 1rem; }
.vl-mb-4 { margin-bottom: 1rem; }
