:root {
    --primary: #1d4ed8;
    --cta: #f97316;
    --accent: #10b981;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #111827;
    --text-secondary: #6b7280;

    --color-primary: #2563eb;
    --color-cta: #f59e0b;
    --color-accent: #22c55e;
    --color-bg: #0f172a;
    --color-card: #1e293b;
    --color-text: #e5e7eb;
    --color-text-secondary: #94a3b8;

    --bg-0: #05070d;
    --bg-1: #0d1322;
    --bg-2: #131a2a;
    --surface-1: rgba(20, 24, 34, 0.9);
    --surface-2: rgba(30, 35, 47, 0.82);
    --line-soft: rgba(245, 245, 245, 0.12);
    --brand-amber: #f5b301;
    --brand-cyan: #1fc8db;
    --brand-coral: #ff6b57;
    --brand-lime: #9ad84d;
    --text-main: #e8edf7;
    --text-soft: #98a2b3;
}

body {
    color: var(--text-main);
    background:
        radial-gradient(900px 380px at 7% -8%, rgba(245, 179, 1, 0.2), transparent 62%),
        radial-gradient(900px 400px at 95% 0%, rgba(31, 200, 219, 0.16), transparent 60%),
        radial-gradient(800px 420px at 50% 110%, rgba(255, 107, 87, 0.1), transparent 68%),
        linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 48%, var(--bg-0) 100%);
}

.navbar {
    background: linear-gradient(180deg, rgba(24, 28, 36, 0.94), rgba(19, 22, 30, 0.9)) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line-soft) !important;
}

.navbar .navbar-brand {
    color: #fff !important;
    letter-spacing: 0.2px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    min-width: 168px;
}

.brand-logo {
    height: 34px;
    width: auto;
    display: block;
}

.brand-text-fallback {
    display: none;
    font-weight: 800;
    color: #fff;
    font-size: 1.65rem;
    line-height: 1;
}

.navbar .nav-link {
    color: #b6bfcb !important;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #ffffff !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.38) !important;
    padding: 0.34rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.28);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    #mainNav {
        margin-top: 0.55rem;
        padding-top: 0.55rem;
        border-top: 1px solid var(--line-soft);
    }

    #mainNav .d-flex {
        margin-top: 0.45rem;
        flex-wrap: wrap;
        gap: 0.45rem !important;
    }
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(13, 18, 30, 0.92), rgba(10, 14, 24, 0.9));
    border-bottom: 1px solid var(--line-soft);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(550px 250px at 12% 14%, rgba(245, 179, 1, 0.16), transparent 64%),
        radial-gradient(500px 260px at 86% 22%, rgba(31, 200, 219, 0.13), transparent 62%);
    pointer-events: none;
}

.card-link {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid var(--line-soft);
    background: linear-gradient(155deg, var(--surface-1), var(--surface-2));
}

.card-link:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
    border-color: rgba(245, 179, 1, 0.32);
}

.btn-primary {
    border: none;
    background: linear-gradient(135deg, var(--brand-coral), var(--brand-amber)) !important;
    color: #1d1f24 !important;
    font-weight: 700;
}

.btn-primary:hover {
    filter: brightness(1.03);
}

.btn-outline-light.btn-sm {
    border-color: rgba(255, 255, 255, 0.35);
}

.text-bg-primary {
    background: linear-gradient(120deg, var(--brand-cyan), #4f86ff) !important;
    color: #071118 !important;
    font-weight: 700;
}

.category-modern {
    background: linear-gradient(145deg, rgba(18, 24, 37, 0.96), rgba(27, 32, 44, 0.92));
    border-color: rgba(255, 255, 255, 0.12);
    border-left: 3px solid rgba(245, 179, 1, 0.55);
}

.cat-icon {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.32), rgba(31, 200, 219, 0.24));
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.category-title {
    font-size: 1.02rem;
    line-height: 1.2;
    color: #f3f6fe;
}

.category-count {
    font-size: 0.9rem;
    color: var(--text-soft) !important;
}

section.py-4 .row.g-3 > div:nth-child(4n + 1) .category-modern {
    border-left-color: rgba(245, 179, 1, 0.65);
}

section.py-4 .row.g-3 > div:nth-child(4n + 2) .category-modern {
    border-left-color: rgba(31, 200, 219, 0.65);
}

section.py-4 .row.g-3 > div:nth-child(4n + 3) .category-modern {
    border-left-color: rgba(255, 107, 87, 0.65);
}

section.py-4 .row.g-3 > div:nth-child(4n + 4) .category-modern {
    border-left-color: rgba(154, 216, 77, 0.65);
}

.thumb-cover {
    object-fit: cover;
    aspect-ratio: 16/10;
}

.icon-sm {
    width: 17px;
    height: 17px;
}

.avatar-sm {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.avatar-lg {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.avatar-round {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    flex-shrink: 0;
}

.provider-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 88px;
}

.provider-compact-info {
    min-width: 0;
}

.provider-compact-info h3,
.provider-compact-info p,
.provider-compact-info small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.provider-kpi-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.provider-kpi-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(20, 24, 34, 0.75);
}

.provider-kpi-icon {
    font-size: 14px;
}

.provider-kpi-text {
    font-size: 0.82rem;
    color: var(--text-main);
}

.stat-card {
    border: 1px solid var(--line-soft);
    background: linear-gradient(180deg, rgba(19, 24, 36, 0.88) 0%, rgba(27, 33, 47, 0.74) 100%);
}

.chart-shell {
    width: 100%;
    min-height: 180px;
}

.text-warning {
    color: #ffd24d !important;
}

.text-info {
    color: #50d5ff !important;
}

.text-secondary {
    color: var(--text-soft) !important;
}

.category-autocomplete-wrap {
    position: relative;
    z-index: 2500;
}

.category-autocomplete-panel {
    position: absolute;
    z-index: 2600;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    background: linear-gradient(160deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.96));
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
    padding: 6px;
}

.category-autocomplete-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    border-radius: 9px;
    padding: 8px 10px;
    margin: 0;
    background: transparent;
    color: var(--text-main);
    font-size: 0.95rem;
}

.category-autocomplete-item:hover {
    background: rgba(59, 130, 246, 0.22);
}

body[data-theme="light-pro"] .category-autocomplete-panel,
body[data-theme="platform-light"] .category-autocomplete-panel,
body[data-theme="saas-light"] .category-autocomplete-panel,
body[data-theme="minimal-light"] .category-autocomplete-panel {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

body[data-theme="light-pro"] .category-autocomplete-item,
body[data-theme="platform-light"] .category-autocomplete-item,
body[data-theme="saas-light"] .category-autocomplete-item,
body[data-theme="minimal-light"] .category-autocomplete-item {
    color: #1f2937;
}

body[data-theme="light-pro"] .category-autocomplete-item:hover,
body[data-theme="platform-light"] .category-autocomplete-item:hover,
body[data-theme="saas-light"] .category-autocomplete-item:hover,
body[data-theme="minimal-light"] .category-autocomplete-item:hover {
    background: rgba(37, 99, 235, 0.12);
}

@media (max-width: 768px) {
    .brand-logo {
        height: 30px;
    }

    .brand-text-fallback {
        font-size: 1.45rem;
    }

    .avatar-lg {
        width: 92px;
        height: 92px;
    }

    .avatar-round {
        width: 50px;
        height: 50px;
    }

    .provider-compact {
        min-height: 86px;
        gap: 10px;
    }

    .category-title {
        font-size: 0.96rem;
    }

    .category-count {
        font-size: 0.86rem;
    }
}

body[data-theme="market"] {
    --bg-0: #05070d;
    --bg-1: #0d1322;
    --bg-2: #131a2a;
    --brand-amber: #f5b301;
    --brand-cyan: #1fc8db;
    --brand-coral: #ff6b57;
    --brand-lime: #9ad84d;
}

body[data-theme="neon"] {
    --bg-0: #050510;
    --bg-1: #110a25;
    --bg-2: #0f1f2f;
    --brand-amber: #ff48c4;
    --brand-cyan: #3df6ff;
    --brand-coral: #8b5cf6;
    --brand-lime: #7dff5d;
}

body[data-theme="minimal"] {
    --bg-0: #0a0b0f;
    --bg-1: #111319;
    --bg-2: #171a22;
    --brand-amber: #d6d9df;
    --brand-cyan: #8fb3ff;
    --brand-coral: #8da2b8;
    --brand-lime: #9fb0c1;
}

body[data-theme="saas-tech"] {
    --bg-0: #0f172a;
    --bg-1: #111c33;
    --bg-2: #17233d;
    --surface-1: rgba(30, 41, 59, 0.92);
    --surface-2: rgba(37, 51, 74, 0.88);
    --line-soft: rgba(148, 163, 184, 0.2);
    --brand-amber: #f59e0b;
    --brand-cyan: #2563eb;
    --brand-coral: #1d4ed8;
    --brand-lime: #22c55e;
    --text-main: #e5e7eb;
    --text-soft: #94a3b8;
}

body[data-theme="saas-tech"] {
    background:
        radial-gradient(900px 360px at 0% -10%, rgba(37, 99, 235, 0.26), transparent 65%),
        radial-gradient(860px 360px at 100% -8%, rgba(245, 158, 11, 0.14), transparent 66%),
        linear-gradient(160deg, #0f172a 0%, #13213a 52%, #0f172a 100%);
}

body[data-theme="saas-tech"] .navbar {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(17, 28, 51, 0.94)) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
}

body[data-theme="saas-tech"] .navbar .nav-link {
    color: #cbd5e1 !important;
}

body[data-theme="saas-tech"] .navbar .nav-link:hover {
    color: #ffffff !important;
}

body[data-theme="saas-tech"] .hero-section {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(19, 33, 58, 0.95));
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

body[data-theme="saas-tech"] .card-link,
body[data-theme="saas-tech"] .card,
body[data-theme="saas-tech"] .stat-card,
body[data-theme="saas-tech"] .category-modern {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.97), rgba(24, 36, 58, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

body[data-theme="saas-tech"] .card-body {
    padding: 16px;
}

body[data-theme="saas-tech"] .category-modern {
    border-left: 3px solid rgba(37, 99, 235, 0.75);
}

body[data-theme="saas-tech"] .category-title,
body[data-theme="saas-tech"] h1,
body[data-theme="saas-tech"] h2,
body[data-theme="saas-tech"] h3,
body[data-theme="saas-tech"] h4,
body[data-theme="saas-tech"] h5,
body[data-theme="saas-tech"] h6 {
    color: #e5e7eb !important;
}

body[data-theme="saas-tech"] .category-count,
body[data-theme="saas-tech"] .text-secondary,
body[data-theme="saas-tech"] .provider-compact-info p,
body[data-theme="saas-tech"] .provider-compact-info small,
body[data-theme="saas-tech"] .card small {
    color: #94a3b8 !important;
}

body[data-theme="saas-tech"] .form-control,
body[data-theme="saas-tech"] .form-select {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.28);
    color: #e5e7eb;
    border-radius: 10px;
}

body[data-theme="saas-tech"] .form-control::placeholder {
    color: #94a3b8;
}

body[data-theme="saas-tech"] .form-control:focus,
body[data-theme="saas-tech"] .form-select:focus {
    border-color: rgba(37, 99, 235, 0.8);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2);
}

body[data-theme="saas-tech"] .btn-primary {
    background: #f59e0b !important;
    color: #111827 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 18px !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

body[data-theme="saas-tech"] .btn-primary:hover {
    transform: scale(1.03);
    filter: brightness(1.04);
}

body[data-theme="saas-tech"] .btn-outline-light {
    color: #e5e7eb !important;
    border-color: rgba(148, 163, 184, 0.36) !important;
    border-radius: 10px !important;
}

body[data-theme="saas-tech"] .btn-outline-light:hover {
    border-color: rgba(37, 99, 235, 0.8) !important;
    color: #ffffff !important;
    background: rgba(37, 99, 235, 0.18) !important;
}

body[data-theme="saas-tech"] .text-bg-primary {
    background: linear-gradient(120deg, #2563eb, #1d4ed8) !important;
    color: #f8fafc !important;
}

body[data-theme="saas-tech"] .cat-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(34, 197, 94, 0.2));
    border: 1px solid rgba(148, 163, 184, 0.28);
}

body[data-theme="saas-tech"] .trust-item {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.93), rgba(24, 36, 58, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.2);
}

body[data-theme="saas-tech"] .trust-item strong {
    color: #e5e7eb;
}

body[data-theme="saas-tech"] .trust-item span {
    color: #94a3b8;
}

body[data-theme="saas-tech"] .table {
    --bs-table-bg: rgba(30, 41, 59, 0.45);
    --bs-table-color: #e5e7eb;
    --bs-table-border-color: rgba(148, 163, 184, 0.18);
}

body[data-theme="saas-tech"] .alert-success {
    background: rgba(34, 197, 94, 0.15) !important;
    border-color: rgba(34, 197, 94, 0.35) !important;
    color: #bbf7d0 !important;
}

body[data-theme="clean-pro"] {
    --primary: #1d4ed8;
    --cta: #f97316;
    --accent: #10b981;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #111827;
    --text-secondary: #6b7280;
    --bg-0: #f8fafc;
    --bg-1: #f3f6fc;
    --bg-2: #eef3fb;
    --surface-1: #ffffff;
    --surface-2: #ffffff;
    --line-soft: rgba(17, 24, 39, 0.1);
    --brand-amber: #f97316;
    --brand-cyan: #1d4ed8;
    --brand-coral: #1d4ed8;
    --brand-lime: #10b981;
    --text-main: #111827;
    --text-soft: #6b7280;
}

body[data-theme="clean-pro"] {
    background:
        radial-gradient(760px 300px at 0% -10%, rgba(29, 78, 216, 0.12), transparent 64%),
        radial-gradient(700px 280px at 100% -5%, rgba(16, 185, 129, 0.08), transparent 60%),
        linear-gradient(170deg, #f8fafc 0%, #f3f7fd 54%, #eef3fb 100%);
}

body[data-theme="clean-pro"] .navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(17, 24, 39, 0.09) !important;
    backdrop-filter: blur(8px);
}

body[data-theme="clean-pro"] .navbar .navbar-brand,
body[data-theme="clean-pro"] .navbar .nav-link,
body[data-theme="clean-pro"] .text-light,
body[data-theme="clean-pro"] .brand-text-fallback {
    color: #111827 !important;
}

body[data-theme="clean-pro"] .navbar .nav-link:hover {
    color: #1d4ed8 !important;
}

body[data-theme="clean-pro"] .hero-section {
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.92));
    border-bottom: 1px solid rgba(17, 24, 39, 0.09);
}

body[data-theme="clean-pro"] .card-link,
body[data-theme="clean-pro"] .card,
body[data-theme="clean-pro"] .stat-card,
body[data-theme="clean-pro"] .category-modern {
    color: #111827 !important;
    background: #ffffff !important;
    border: 1px solid rgba(17, 24, 39, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body[data-theme="clean-pro"] .card-link:hover {
    border-color: rgba(29, 78, 216, 0.28) !important;
    box-shadow: 0 8px 24px rgba(29, 78, 216, 0.12);
}

body[data-theme="clean-pro"] .category-modern {
    border-left: 3px solid rgba(29, 78, 216, 0.6);
}

body[data-theme="clean-pro"] h1,
body[data-theme="clean-pro"] h2,
body[data-theme="clean-pro"] h3,
body[data-theme="clean-pro"] h4,
body[data-theme="clean-pro"] h5,
body[data-theme="clean-pro"] h6,
body[data-theme="clean-pro"] .category-title {
    color: #111827 !important;
}

body[data-theme="clean-pro"] .category-count,
body[data-theme="clean-pro"] .text-secondary,
body[data-theme="clean-pro"] .provider-compact-info p,
body[data-theme="clean-pro"] .provider-compact-info small,
body[data-theme="clean-pro"] .card small {
    color: #6b7280 !important;
}

body[data-theme="clean-pro"] .form-control,
body[data-theme="clean-pro"] .form-select {
    background: #ffffff;
    border-color: rgba(17, 24, 39, 0.16);
    color: #111827;
    border-radius: 10px;
}

body[data-theme="clean-pro"] .form-control::placeholder {
    color: #9ca3af;
}

body[data-theme="clean-pro"] .form-control:focus,
body[data-theme="clean-pro"] .form-select:focus {
    border-color: rgba(29, 78, 216, 0.7);
    box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.15);
}

body[data-theme="clean-pro"] .btn-primary {
    background: #f97316 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 18px !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

body[data-theme="clean-pro"] .btn-primary:hover {
    transform: scale(1.03);
    filter: brightness(1.03);
}

body[data-theme="clean-pro"] .btn-outline-light {
    background: transparent !important;
    color: #1d4ed8 !important;
    border: 2px solid #1d4ed8 !important;
    border-radius: 10px !important;
}

body[data-theme="clean-pro"] .btn-outline-light:hover {
    background: rgba(29, 78, 216, 0.08) !important;
}

body[data-theme="clean-pro"] .text-bg-primary {
    background: linear-gradient(120deg, #1d4ed8, #2563eb) !important;
    color: #ffffff !important;
}

body[data-theme="clean-pro"] .cat-icon {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(17, 24, 39, 0.14);
}

body[data-theme="clean-pro"] .trust-item {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

body[data-theme="clean-pro"] .trust-item strong {
    color: #111827;
}

body[data-theme="clean-pro"] .trust-item span {
    color: #6b7280;
}

body[data-theme="clean-pro"] .alert-success {
    color: #065f46 !important;
    background: linear-gradient(120deg, rgba(209, 250, 229, 0.95), rgba(236, 253, 245, 0.95)) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

body[data-theme="saas-premium"] {
    --primary: #3b82f6;
    --cta: #fb923c;
    --accent: #a78bfa;
    --bg: #020617;
    --card: #0f172a;
    --text: #e2e8f0;
    --text-secondary: #94a3b8;
    --bg-0: #020617;
    --bg-1: #071127;
    --bg-2: #0b152b;
    --surface-1: rgba(15, 23, 42, 0.95);
    --surface-2: rgba(12, 22, 42, 0.92);
    --line-soft: rgba(148, 163, 184, 0.22);
    --brand-amber: #fb923c;
    --brand-cyan: #3b82f6;
    --brand-coral: #6366f1;
    --brand-lime: #a78bfa;
    --text-main: #e2e8f0;
    --text-soft: #94a3b8;
}

body[data-theme="saas-premium"] {
    background:
        radial-gradient(900px 380px at 4% -8%, rgba(59, 130, 246, 0.24), transparent 66%),
        radial-gradient(860px 340px at 96% -6%, rgba(167, 139, 250, 0.2), transparent 66%),
        linear-gradient(160deg, #020617 0%, #071127 50%, #020617 100%);
}

body[data-theme="saas-premium"] .navbar {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.96), rgba(7, 17, 39, 0.94)) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
}

body[data-theme="saas-premium"] .navbar .nav-link {
    color: #cbd5e1 !important;
}

body[data-theme="saas-premium"] .navbar .nav-link:hover {
    color: #ffffff !important;
}

body[data-theme="saas-premium"] .hero-section {
    background: linear-gradient(145deg, rgba(2, 6, 23, 0.98), rgba(11, 21, 43, 0.95));
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

body[data-theme="saas-premium"] .card-link,
body[data-theme="saas-premium"] .card,
body[data-theme="saas-premium"] .stat-card,
body[data-theme="saas-premium"] .category-modern {
    background: #0f172a !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

body[data-theme="saas-premium"] .category-modern {
    border-left: 3px solid rgba(59, 130, 246, 0.76);
}

body[data-theme="saas-premium"] h1,
body[data-theme="saas-premium"] h2,
body[data-theme="saas-premium"] h3,
body[data-theme="saas-premium"] h4,
body[data-theme="saas-premium"] h5,
body[data-theme="saas-premium"] h6,
body[data-theme="saas-premium"] .category-title {
    color: #e2e8f0 !important;
}

body[data-theme="saas-premium"] .category-count,
body[data-theme="saas-premium"] .text-secondary,
body[data-theme="saas-premium"] .provider-compact-info p,
body[data-theme="saas-premium"] .provider-compact-info small,
body[data-theme="saas-premium"] .card small {
    color: #94a3b8 !important;
}

body[data-theme="saas-premium"] .form-control,
body[data-theme="saas-premium"] .form-select {
    background: rgba(2, 6, 23, 0.78);
    border-color: rgba(148, 163, 184, 0.3);
    color: #e2e8f0;
    border-radius: 12px;
}

body[data-theme="saas-premium"] .form-control::placeholder {
    color: #94a3b8;
}

body[data-theme="saas-premium"] .form-control:focus,
body[data-theme="saas-premium"] .form-select:focus {
    border-color: rgba(59, 130, 246, 0.82);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.2);
}

body[data-theme="saas-premium"] .btn-primary {
    background: #fb923c !important;
    color: #111827 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

body[data-theme="saas-premium"] .btn-primary:hover {
    transform: scale(1.04);
    filter: brightness(1.03);
}

body[data-theme="saas-premium"] .btn-outline-light {
    color: #e2e8f0 !important;
    border-color: rgba(148, 163, 184, 0.36) !important;
    border-radius: 12px !important;
}

body[data-theme="saas-premium"] .btn-outline-light:hover {
    border-color: rgba(167, 139, 250, 0.7) !important;
    color: #ffffff !important;
    background: rgba(167, 139, 250, 0.16) !important;
}

body[data-theme="saas-premium"] .text-bg-primary {
    background: linear-gradient(120deg, #3b82f6, #6366f1) !important;
    color: #f8fafc !important;
}

body[data-theme="saas-premium"] .cat-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(167, 139, 250, 0.22));
    border: 1px solid rgba(148, 163, 184, 0.26);
}

body[data-theme="saas-premium"] .trust-item {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(10, 17, 35, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.2);
}

body[data-theme="saas-premium"] .trust-item strong {
    color: #e2e8f0;
}

body[data-theme="saas-premium"] .trust-item span {
    color: #94a3b8;
}

body[data-theme="saas-premium"] .alert-success {
    background: rgba(34, 197, 94, 0.12) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
    color: #bbf7d0 !important;
}

body[data-theme="platform-light"] {
    --primary: #2563eb;
    --cta: #f59e0b;
    --accent: #22c55e;
    --bg: #f9fafb;
    --card: #ffffff;
    --text: #111827;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --bg-0: #f9fafb;
    --bg-1: #f5f8fc;
    --bg-2: #eff4fb;
    --surface-1: #ffffff;
    --surface-2: #ffffff;
    --line-soft: rgba(17, 24, 39, 0.1);
    --brand-amber: #f59e0b;
    --brand-cyan: #2563eb;
    --brand-coral: #2563eb;
    --brand-lime: #22c55e;
    --text-main: #111827;
    --text-soft: #6b7280;
}

body[data-theme="platform-light"] {
    background:
        radial-gradient(820px 320px at 0% -10%, rgba(37, 99, 235, 0.12), transparent 66%),
        radial-gradient(720px 260px at 100% -8%, rgba(34, 197, 94, 0.08), transparent 62%),
        linear-gradient(170deg, #f9fafb 0%, #f3f6fb 56%, #edf2f9 100%);
}

body[data-theme="platform-light"] .navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid #e5e7eb !important;
    backdrop-filter: blur(8px);
}

body[data-theme="platform-light"] .navbar .navbar-brand,
body[data-theme="platform-light"] .navbar .nav-link,
body[data-theme="platform-light"] .text-light,
body[data-theme="platform-light"] .brand-text-fallback {
    color: #111827 !important;
}

body[data-theme="platform-light"] .navbar .nav-link:hover {
    color: #2563eb !important;
}

body[data-theme="platform-light"] .navbar-toggler,
body[data-theme="saas-light"] .navbar-toggler,
body[data-theme="minimal-light"] .navbar-toggler,
body[data-theme="light-pro"] .navbar-toggler {
    border-color: rgba(15, 23, 42, 0.24) !important;
}

body[data-theme="platform-light"] .navbar-toggler-icon,
body[data-theme="saas-light"] .navbar-toggler-icon,
body[data-theme="minimal-light"] .navbar-toggler-icon,
body[data-theme="light-pro"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815,23,42,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body[data-theme="platform-light"] .hero-section {
    background: linear-gradient(145deg, rgba(249, 250, 251, 0.96), rgba(243, 246, 251, 0.94));
    border-bottom: 1px solid #e5e7eb;
}

body[data-theme="platform-light"] .card-link,
body[data-theme="platform-light"] .card,
body[data-theme="platform-light"] .stat-card,
body[data-theme="platform-light"] .category-modern {
    color: #111827 !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body[data-theme="platform-light"] .card-link:hover {
    border-color: rgba(37, 99, 235, 0.28) !important;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.12);
}

body[data-theme="platform-light"] .category-modern {
    border-left: 3px solid rgba(37, 99, 235, 0.62);
}

body[data-theme="platform-light"] h1,
body[data-theme="platform-light"] h2,
body[data-theme="platform-light"] h3,
body[data-theme="platform-light"] h4,
body[data-theme="platform-light"] h5,
body[data-theme="platform-light"] h6,
body[data-theme="platform-light"] .category-title {
    color: #111827 !important;
}

body[data-theme="platform-light"] .category-count,
body[data-theme="platform-light"] .text-secondary,
body[data-theme="platform-light"] .provider-compact-info p,
body[data-theme="platform-light"] .provider-compact-info small,
body[data-theme="platform-light"] .card small {
    color: #6b7280 !important;
}

body[data-theme="platform-light"] .form-control,
body[data-theme="platform-light"] .form-select {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #111827;
    border-radius: 10px;
}

body[data-theme="platform-light"] .form-control::placeholder {
    color: #9ca3af;
}

body[data-theme="platform-light"] .form-control:focus,
body[data-theme="platform-light"] .form-select:focus {
    border-color: rgba(37, 99, 235, 0.7);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.14);
}

body[data-theme="platform-light"] .btn-primary {
    background: var(--cta) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

body[data-theme="platform-light"] .btn-primary:hover {
    transform: scale(1.03);
    filter: brightness(1.03);
}

body[data-theme="platform-light"] .btn-outline-light {
    background: transparent !important;
    color: #2563eb !important;
    border: 1.5px solid #2563eb !important;
    border-radius: 8px !important;
}

body[data-theme="platform-light"] .btn-outline-light:hover {
    background: rgba(37, 99, 235, 0.08) !important;
}

body[data-theme="platform-light"] .text-bg-primary {
    background: linear-gradient(120deg, #2563eb, #3b82f6) !important;
    color: #ffffff !important;
}

body[data-theme="platform-light"] .cat-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(17, 24, 39, 0.12);
}

body[data-theme="platform-light"] .trust-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

body[data-theme="platform-light"] .trust-item strong {
    color: #111827;
}

body[data-theme="platform-light"] .trust-item span {
    color: #6b7280;
}

body[data-theme="platform-light"] .alert-success {
    color: #065f46 !important;
    background: linear-gradient(120deg, rgba(209, 250, 229, 0.92), rgba(240, 253, 250, 0.9)) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

body[data-theme="saas-light"] {
    --primary: #1d4ed8;
    --cta: #f97316;
    --accent: #10b981;
    --bg: #f1f5f9;
    --card: #ffffff;
    --text: #0f172a;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --bg-0: #f1f5f9;
    --bg-1: #edf2f8;
    --bg-2: #e8eef6;
    --surface-1: #ffffff;
    --surface-2: #ffffff;
    --line-soft: rgba(15, 23, 42, 0.1);
    --brand-amber: #f97316;
    --brand-cyan: #1d4ed8;
    --brand-coral: #1d4ed8;
    --brand-lime: #10b981;
    --text-main: #0f172a;
    --text-soft: #64748b;
}

body[data-theme="saas-light"] {
    background:
        radial-gradient(780px 320px at 0% -10%, rgba(29, 78, 216, 0.12), transparent 66%),
        radial-gradient(700px 280px at 100% -10%, rgba(16, 185, 129, 0.08), transparent 62%),
        linear-gradient(170deg, #f1f5f9 0%, #edf2f8 56%, #e7edf5 100%);
}

body[data-theme="saas-light"] .navbar {
    background: rgba(255, 255, 255, 0.93) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    backdrop-filter: blur(8px);
}

body[data-theme="saas-light"] .navbar .navbar-brand,
body[data-theme="saas-light"] .navbar .nav-link,
body[data-theme="saas-light"] .text-light,
body[data-theme="saas-light"] .brand-text-fallback {
    color: #0f172a !important;
}

body[data-theme="saas-light"] .navbar .nav-link:hover {
    color: #1d4ed8 !important;
}

body[data-theme="saas-light"] .hero-section {
    background: linear-gradient(145deg, rgba(241, 245, 249, 0.96), rgba(236, 242, 248, 0.94));
    border-bottom: 1px solid #e2e8f0;
}

body[data-theme="saas-light"] .card-link,
body[data-theme="saas-light"] .card,
body[data-theme="saas-light"] .stat-card,
body[data-theme="saas-light"] .category-modern {
    color: #0f172a !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

body[data-theme="saas-light"] .card-body {
    padding: 18px;
}

body[data-theme="saas-light"] .category-modern {
    border-left: 3px solid rgba(29, 78, 216, 0.62);
}

body[data-theme="saas-light"] h1,
body[data-theme="saas-light"] h2,
body[data-theme="saas-light"] h3,
body[data-theme="saas-light"] h4,
body[data-theme="saas-light"] h5,
body[data-theme="saas-light"] h6,
body[data-theme="saas-light"] .category-title {
    color: #0f172a !important;
}

body[data-theme="saas-light"] .category-count,
body[data-theme="saas-light"] .text-secondary,
body[data-theme="saas-light"] .provider-compact-info p,
body[data-theme="saas-light"] .provider-compact-info small,
body[data-theme="saas-light"] .card small {
    color: #64748b !important;
}

body[data-theme="saas-light"] .form-control,
body[data-theme="saas-light"] .form-select {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
    border-radius: 10px;
}

body[data-theme="saas-light"] .form-control::placeholder {
    color: #94a3b8;
}

body[data-theme="saas-light"] .form-control:focus,
body[data-theme="saas-light"] .form-select:focus {
    border-color: rgba(29, 78, 216, 0.7);
    box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.14);
}

body[data-theme="saas-light"] .btn-primary {
    background: #f97316 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 18px !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

body[data-theme="saas-light"] .btn-primary:hover {
    transform: scale(1.03);
    filter: brightness(1.03);
}

body[data-theme="saas-light"] .btn-outline-light {
    background: transparent !important;
    color: #1d4ed8 !important;
    border: 2px solid #1d4ed8 !important;
    border-radius: 10px !important;
}

body[data-theme="saas-light"] .btn-outline-light:hover {
    background: rgba(29, 78, 216, 0.08) !important;
}

body[data-theme="saas-light"] .text-bg-primary {
    background: linear-gradient(120deg, #1d4ed8, #3b82f6) !important;
    color: #ffffff !important;
}

body[data-theme="saas-light"] .cat-icon {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(15, 23, 42, 0.12);
}

body[data-theme="saas-light"] .trust-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

body[data-theme="saas-light"] .trust-item strong {
    color: #0f172a;
}

body[data-theme="saas-light"] .trust-item span {
    color: #64748b;
}

body[data-theme="saas-light"] .alert-success {
    color: #065f46 !important;
    background: linear-gradient(120deg, rgba(209, 250, 229, 0.92), rgba(236, 253, 245, 0.9)) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

body[data-theme="minimal-light"] {
    --primary: #3b82f6;
    --cta: #fb923c;
    --accent: #06b6d4;
    --bg: #ffffff;
    --card: #ffffff;
    --text: #1f2937;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --bg-0: #ffffff;
    --bg-1: #fbfcfe;
    --bg-2: #f7f9fc;
    --surface-1: #ffffff;
    --surface-2: #ffffff;
    --line-soft: rgba(31, 41, 55, 0.1);
    --brand-amber: #fb923c;
    --brand-cyan: #3b82f6;
    --brand-coral: #3b82f6;
    --brand-lime: #06b6d4;
    --text-main: #1f2937;
    --text-soft: #6b7280;
}

body[data-theme="minimal-light"] {
    background:
        radial-gradient(760px 320px at 0% -12%, rgba(59, 130, 246, 0.08), transparent 68%),
        linear-gradient(170deg, #ffffff 0%, #fbfcfe 56%, #f6f8fb 100%);
}

body[data-theme="minimal-light"] .navbar {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid #e5e7eb !important;
    backdrop-filter: blur(8px);
}

body[data-theme="minimal-light"] .navbar .navbar-brand,
body[data-theme="minimal-light"] .navbar .nav-link,
body[data-theme="minimal-light"] .text-light,
body[data-theme="minimal-light"] .brand-text-fallback {
    color: #1f2937 !important;
}

body[data-theme="minimal-light"] .navbar .nav-link:hover {
    color: #3b82f6 !important;
}

body[data-theme="minimal-light"] .hero-section {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.95));
    border-bottom: 1px solid #e5e7eb;
}

body[data-theme="minimal-light"] .card-link,
body[data-theme="minimal-light"] .card,
body[data-theme="minimal-light"] .stat-card,
body[data-theme="minimal-light"] .category-modern {
    color: #1f2937 !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body[data-theme="minimal-light"] .category-modern {
    border-left: 3px solid rgba(59, 130, 246, 0.55);
}

body[data-theme="minimal-light"] h1,
body[data-theme="minimal-light"] h2,
body[data-theme="minimal-light"] h3,
body[data-theme="minimal-light"] h4,
body[data-theme="minimal-light"] h5,
body[data-theme="minimal-light"] h6,
body[data-theme="minimal-light"] .category-title {
    color: #1f2937 !important;
}

body[data-theme="minimal-light"] .category-count,
body[data-theme="minimal-light"] .text-secondary,
body[data-theme="minimal-light"] .provider-compact-info p,
body[data-theme="minimal-light"] .provider-compact-info small,
body[data-theme="minimal-light"] .card small {
    color: #6b7280 !important;
}

body[data-theme="minimal-light"] .form-control,
body[data-theme="minimal-light"] .form-select {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #1f2937;
    border-radius: 10px;
}

body[data-theme="minimal-light"] .form-control::placeholder {
    color: #9ca3af;
}

body[data-theme="minimal-light"] .form-control:focus,
body[data-theme="minimal-light"] .form-select:focus {
    border-color: rgba(59, 130, 246, 0.62);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.12);
}

body[data-theme="minimal-light"] .btn-primary {
    background: #fb923c !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    font-weight: 600 !important;
    transition: transform 0.2s ease, filter 0.2s ease;
}

body[data-theme="minimal-light"] .btn-primary:hover {
    transform: scale(1.03);
    filter: brightness(1.03);
}

body[data-theme="minimal-light"] .btn-outline-light {
    background: transparent !important;
    color: #3b82f6 !important;
    border: 1.5px solid #3b82f6 !important;
    border-radius: 10px !important;
}

body[data-theme="minimal-light"] .btn-outline-light:hover {
    background: rgba(59, 130, 246, 0.07) !important;
}

body[data-theme="minimal-light"] .text-bg-primary {
    background: linear-gradient(120deg, #3b82f6, #60a5fa) !important;
    color: #ffffff !important;
}

body[data-theme="minimal-light"] .cat-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(31, 41, 55, 0.1);
}

body[data-theme="minimal-light"] .trust-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

body[data-theme="minimal-light"] .trust-item strong {
    color: #1f2937;
}

body[data-theme="minimal-light"] .trust-item span {
    color: #6b7280;
}

body[data-theme="minimal-light"] .alert-success {
    color: #065f46 !important;
    background: linear-gradient(120deg, rgba(209, 250, 229, 0.9), rgba(240, 253, 245, 0.9)) !important;
    border-color: rgba(16, 185, 129, 0.28) !important;
}

body[data-theme="light-pro"] {
    --bg-0: #f4f8ff;
    --bg-1: #eef4ff;
    --bg-2: #e7efff;
    --surface-1: rgba(255, 255, 255, 0.94);
    --surface-2: rgba(248, 252, 255, 0.94);
    --line-soft: rgba(15, 23, 42, 0.12);
    --brand-amber: #f5b301;
    --brand-cyan: #1f7aff;
    --brand-coral: #ff8a3d;
    --brand-lime: #34c759;
    --text-main: #0f172a;
    --text-soft: #475569;
}

body[data-theme="light-pro"] {
    background:
        radial-gradient(780px 300px at 8% -10%, rgba(31, 122, 255, 0.2), transparent 62%),
        radial-gradient(760px 340px at 92% -6%, rgba(245, 179, 1, 0.16), transparent 64%),
        linear-gradient(160deg, #f8fbff 0%, #f1f7ff 52%, #edf4ff 100%);
}

body[data-theme="light-pro"] .navbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 250, 255, 0.93)) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
}

body[data-theme="light-pro"] .navbar .navbar-brand,
body[data-theme="light-pro"] .navbar .nav-link,
body[data-theme="light-pro"] .text-light,
body[data-theme="light-pro"] .brand-text-fallback {
    color: #0f172a !important;
}

body[data-theme="light-pro"] .navbar .nav-link:hover {
    color: #0b57d0 !important;
}

body[data-theme="light-pro"] .hero-section {
    background: linear-gradient(145deg, rgba(241, 247, 255, 0.96), rgba(236, 244, 255, 0.94));
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

body[data-theme="light-pro"] .card-link,
body[data-theme="light-pro"] .stat-card,
body[data-theme="light-pro"] .card {
    color: #0f172a !important;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 255, 0.97));
    border-color: rgba(15, 23, 42, 0.16) !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

body[data-theme="light-pro"] .category-modern {
    color: #0f172a !important;
    background: linear-gradient(165deg, #ffffff, #eff6ff);
    border-left-color: rgba(31, 122, 255, 0.64);
}

body[data-theme="light-pro"] .category-modern:hover {
    border-color: rgba(15, 23, 42, 0.24) !important;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

body[data-theme="light-pro"] .category-title,
body[data-theme="light-pro"] .provider-compact-info h3,
body[data-theme="light-pro"] h1,
body[data-theme="light-pro"] h2,
body[data-theme="light-pro"] h3,
body[data-theme="light-pro"] h4,
body[data-theme="light-pro"] h5,
body[data-theme="light-pro"] h6 {
    color: #0f172a !important;
}

body[data-theme="light-pro"] .category-modern .category-title {
    font-weight: 700;
    color: #0f172a !important;
}

body[data-theme="light-pro"] .category-count,
body[data-theme="light-pro"] .provider-compact-info p,
body[data-theme="light-pro"] .provider-compact-info small {
    color: #334155 !important;
}

body[data-theme="light-pro"] .cat-icon {
    background: linear-gradient(135deg, rgba(31, 122, 255, 0.18), rgba(245, 179, 1, 0.22));
    border: 1px solid rgba(15, 23, 42, 0.16);
}

body[data-theme="light-pro"] .text-bg-primary {
    background: linear-gradient(120deg, #1f7aff, #49a3ff) !important;
    color: #ffffff !important;
}

body[data-theme="light-pro"] .text-secondary {
    color: #334155 !important;
}

body[data-theme="light-pro"] .btn-outline-light {
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.28) !important;
    background: rgba(255, 255, 255, 0.72) !important;
}

body[data-theme="light-pro"] .btn-outline-light:hover {
    color: #0b57d0 !important;
    border-color: rgba(11, 87, 208, 0.45) !important;
    background: rgba(239, 246, 255, 0.92) !important;
}

body[data-theme="light-pro"] .trust-item {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(241, 248, 255, 0.88));
    border-color: rgba(15, 23, 42, 0.14);
}

body[data-theme="light-pro"] .trust-item strong {
    color: #0f172a;
}

body[data-theme="light-pro"] .trust-item span {
    color: #334155;
}

body[data-theme="light-pro"] .theme-switcher {
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.2);
}

body[data-theme="light-pro"] .stat-card small,
body[data-theme="light-pro"] .card small {
    color: #475569 !important;
}

body[data-theme="light-pro"] .stat-card .h5,
body[data-theme="light-pro"] .stat-card .h6,
body[data-theme="light-pro"] .card .h5,
body[data-theme="light-pro"] .card .h6 {
    color: #0f172a !important;
}

body[data-theme="light-pro"] .alert-success {
    color: #0f5132 !important;
    background: linear-gradient(120deg, rgba(220, 252, 231, 0.9), rgba(240, 253, 244, 0.92)) !important;
    border-color: rgba(22, 163, 74, 0.28) !important;
}

body[data-theme="light-pro"] .alert-success .btn-close {
    filter: none;
    opacity: 0.6;
}

body[data-theme="light-pro"] .provider-profile-page .provider-kpi-item {
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.92), rgba(241, 245, 249, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.32);
}

body[data-theme="light-pro"] .provider-profile-page .provider-kpi-text {
    color: #1e293b;
    font-weight: 600;
}

body[data-theme="light-pro"] .provider-profile-page .badge {
    font-size: 0.88rem;
    border-radius: 999px;
    padding: 0.38rem 0.62rem;
    border: 1px solid transparent;
}

body[data-theme="light-pro"] .provider-profile-page .badge.text-bg-dark {
    background: rgba(30, 41, 59, 0.92) !important;
    color: #f8fafc !important;
    border-color: rgba(30, 41, 59, 0.94) !important;
}

body[data-theme="light-pro"] .provider-profile-page .badge.text-bg-secondary {
    background: rgba(148, 163, 184, 0.24) !important;
    color: #1e293b !important;
    border-color: rgba(100, 116, 139, 0.28) !important;
}

body[data-theme="light-pro"] .provider-profile-page .badge.text-bg-success {
    background: rgba(34, 197, 94, 0.16) !important;
    color: #166534 !important;
    border-color: rgba(34, 197, 94, 0.32) !important;
}

body[data-theme="light-pro"] .provider-profile-page .badge.text-bg-info {
    background: rgba(6, 182, 212, 0.14) !important;
    color: #0e7490 !important;
    border-color: rgba(6, 182, 212, 0.32) !important;
}

body[data-theme="light-pro"] .provider-profile-page .btn-success {
    border-radius: 10px;
    font-weight: 600;
}

body[data-theme="light-pro"] .provider-profile-page .btn-outline-light {
    border-radius: 10px !important;
    font-weight: 600;
}

.micro-press {
    transition: transform 0.14s ease, filter 0.14s ease;
}

.micro-press:active {
    transform: scale(0.97);
    filter: brightness(0.96);
}

.fade-up {
    animation: fadeUp 0.34s ease both;
}

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

.theme-switcher {
    width: 110px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #eef2f8;
}

.theme-switcher option {
    color: #0d1117;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.trust-item {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-item strong {
    font-size: 1.05rem;
    color: #f6f8fc;
}

.trust-item span {
    font-size: 0.82rem;
    color: var(--text-soft);
}

.upload-dropzone {
    border: 1px dashed rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    font-size: 0.84rem;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.02);
}

.upload-dropzone.is-drag {
    border-color: rgba(79, 190, 255, 0.7);
    background: rgba(79, 190, 255, 0.08);
}

@media (max-width: 768px) {
    .categories-scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        gap: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .categories-scroll > div {
        width: 78%;
        min-width: 78%;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .hero-ctas .btn {
        flex: 1 1 calc(50% - 6px);
    }
}
