/* ==========================================================================
   Softzia - Modern Light Glassmorphism Design System (Pure Vanilla CSS)
   Crisp Slate Typography & Vibrant Multi-Spectral Liquid Glass Ergonomics
   ========================================================================== */

:root {
    /* Brand Identity - Vibrant Iris / Royal Indigo */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: rgba(79, 70, 229, 0.08);
    --primary-subtle: rgba(79, 70, 229, 0.16);
    --primary-glow: rgba(79, 70, 229, 0.25);

    /* High-Converting Vibrant Accent Channels (Eliminating Monotone Blueishness) */
    --accent-emerald: #059669;
    /* Cyber Mint Emerald (Downloads & Clean Trust Badges) */
    --accent-emerald-hover: #047857;
    --accent-emerald-glow: rgba(16, 185, 129, 0.40);

    --accent-cyan: #0284c7;
    /* Precision Ocean Sky (Accent & Technical Links) */
    --accent-cyan-hover: #0369a1;
    --accent-cyan-glow: rgba(14, 165, 233, 0.30);

    --accent-violet: #7c3aed;
    /* Commercial Badges & Feature Highlights */
    --accent-violet-glow: rgba(124, 58, 237, 0.30);
    --accent-amber: #d97706;
    /* Review Stars & Warnings */
    --accent-pink: #db2777;

    /* Neutral Palette & Crisp Light Typography (Zero Muddy Gray, Zero Murky Brown) */
    --dark: #0f172a;
    /* Deep Slate Navy for Crisp Primary Headlines */
    --dark-surface: #ffffff;
    --text-main: #334155;
    /* Legible Slate Charcoal Body */
    --text-heading: #0f172a;
    /* High-Contrast Bold Slate Headings */
    --text-body: #334155;
    --text-muted: #64748b;
    /* Clean Cool Slate (Subtitles, Meta, Dates) */
    --text-light: #94a3b8;
    /* Soft Placeholder & Disabled */

    /* Backgrounds & Borders - Pure Light Glass Canvas */
    --bg-page: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --bg-subtle: rgba(241, 245, 249, 0.85);
    --border-color: #c7d2fe;
    --border-hover: #818cf8;

    /* Semantic Feedback */
    --success: #10b981;
    --success-light: #ecfdf5;
    --success-border: #a7f3d0;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --warning-border: #fde68a;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --danger-border: #fecaca;

    /* Light Elevation Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.07), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.09), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 24px var(--primary-glow);
    --shadow-glow-emerald: 0 0 24px var(--accent-emerald-glow);

    /* Radii */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Light Glassmorphism Tokens */
    --glass-bg: #ffffff;
    --glass-bg-subtle: #f8fafc;
    --glass-border: #c7d2fe;
    --glass-border-accent: #818cf8;
    --glass-border-hover: #6366f1;
    --glass-blur: 16px;
    --glass-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    --glass-hover-shadow: 0 8px 24px rgba(79, 70, 229, 0.10);

    /* Transitions & Motion */
    --ease-out-fluid: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.22s var(--ease-out-fluid);
    --transition-fast: all 0.15s var(--ease-out-fluid);
}

/* ==========================================================================
   Smooth View Transitions API (Modern Cross-Document Page & State Motion)
   ========================================================================== */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 160ms cubic-bezier(0.4, 0, 1, 1) both softzia-fade-out;
}

::view-transition-new(root) {
    animation: 220ms cubic-bezier(0, 0, 0.2, 1) both softzia-fade-in;
}

@keyframes softzia-fade-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-2px);
    }
}

@keyframes softzia-fade-in {
    from {
        opacity: 0;
        transform: translateY(2px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    max-width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.07) 0px, transparent 45%),
        radial-gradient(at 50% 35%, rgba(168, 85, 247, 0.05) 0px, transparent 50%),
        radial-gradient(at 85% 65%, rgba(14, 165, 233, 0.05) 0px, transparent 45%),
        radial-gradient(at 15% 95%, rgba(16, 185, 129, 0.06) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hyperlink Styling */
a {
    color: #4f46e5;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
    color: #4338ca;
    text-decoration: none;
}

/* ==========================================================================
   Smooth Action Transitions & Micro-Interactions Engine (Public Directory)
   ========================================================================== */
a,
button,
[role="button"],
input,
select,
textarea,
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-portal,
.nav-link,
.tag-pill,
.cat-pill,
.crumb-link,
.footer-link,
.software-card,
.glass-panel,
.glass-card {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s ease, box-shadow 0.2s ease, border-color 0.18s ease;
}

/* ==========================================================================
   Button Reset & Comprehensive Design System (Pillar 12 - Zero Native Buttons)
   ========================================================================== */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-outline:active,
.btn-outline-primary:active,
.btn-outline-secondary:active,
.btn-success:active,
.btn-danger:active {
    transform: scale(0.98);
}

.btn-primary,
.btn-secondary,
.btn-outline,
.btn-outline-primary,
.btn-outline-secondary,
.btn-success,
.btn-danger,
.btn-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn-primary {
    background: #4f46e5;
    color: #ffffff !important;
    border: 1px solid #4338ca;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.22);
}

.btn-primary:hover {
    background: #4338ca;
    border-color: #3730a3;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.30);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.btn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-outline:active,
.btn-outline-primary:active,
.btn-outline-secondary:active,
.btn-success:active,
.btn-danger:active,
.btn-warning:active {
    transform: scale(0.97) translateY(0);
    transition: transform 0.08s ease;
}

.btn-primary:active {
    background: #3730a3;
    border-color: #312e81;
}

.btn-secondary {
    background: #ffffff;
    color: #4338ca !important;
    font-weight: 600;
    border: 1px solid #c7d2fe;
    box-shadow: 0 1px 2px rgba(79, 70, 229, 0.04);
    transition: all 0.18s ease;
}

.btn-secondary:hover {
    background: #eef2ff;
    border-color: #6366f1;
    color: #3730a3 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.10);
}

.btn-secondary.active {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4f46e5 !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.btn-outline,
.btn-outline-primary {
    background: #ffffff;
    color: #4f46e5 !important;
    font-weight: 600;
    border: 1px solid #c7d2fe;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.btn-outline:hover,
.btn-outline-primary:hover {
    background: #eef2ff;
    color: #4338ca !important;
    border-color: #818cf8;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.15);
}

.btn-outline-secondary {
    background: #ffffff;
    color: #4338ca !important;
    font-weight: 600;
    border: 1px solid #c7d2fe;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.btn-outline-secondary:hover {
    background: #eef2ff;
    color: #3730a3 !important;
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.10);
}

.btn-outline-secondary.active {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
}

.btn-success {
    background: #10b981;
    color: #ffffff !important;
    border: 1px solid #059669;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.20);
}

.btn-success:hover {
    background: #059669;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-danger {
    background: #ef4444;
    color: #ffffff !important;
    border: 1px solid #dc2626;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.22);
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #b91c1c;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-warning {
    background: #f59e0b;
    color: #ffffff !important;
    border: 1px solid #d97706;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.22);
}

.btn-warning:hover {
    background: #d97706;
    border-color: #b45309;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12.5px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 13px 26px;
    font-size: 15.5px;
    border-radius: var(--radius-md);
}

.px-5 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

/* Modern Segmented Control Component (Light Frosted Glass) */
.segmented-control {
    display: inline-flex;
    align-items: center;
    background: rgba(241, 245, 249, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid #c7d2fe;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
    gap: 4px;
}

.segmented-tab {
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 9px;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    white-space: nowrap;
}

.segmented-tab:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.70);
}

.segmented-tab.active {
    background: #ffffff;
    color: #4f46e5;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   Clean, Modern Theme Download Button (Zero Green, No Over-Effects)
   ========================================================================== */
.btn-download-hero {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: #4f46e5;
    color: #ffffff !important;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #4338ca;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
}

.btn-download-hero::before {
    display: none;
}

.btn-download-hero:hover {
    transform: translateY(-2px);
    background: #4338ca;
    border-color: #3730a3;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.32);
    color: #ffffff !important;
}

.btn-download-hero:active {
    transform: translateY(0);
    background: #3730a3;
    border-color: #312e81;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.btn-download-hero .btn-hero-title {
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.2px;
    white-space: nowrap;
    width: 100%;
}

.btn-download-hero .btn-hero-title svg {
    flex-shrink: 0;
    display: block;
}

.btn-download-hero .btn-hero-sub {
    font-size: 11.5px;
    font-weight: 600;
    color: #e0e7ff !important;
    margin-top: 3px;
    letter-spacing: 0.2px;
    text-align: center;
    width: 100%;
}

/* ==========================================================================
   Pillar 12 / PILLAR 15: Zero Browser Native Controls (Custom Themed UI)
   ========================================================================== */

/* Custom Form Controls */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 11px 16px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-heading);
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    background: #ffffff;
}

.form-control::placeholder {
    color: var(--text-light);
}

/* Custom Themed Select / Combobox (Zero Native Arrow) */
select.form-control,
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 14px;
    padding: 7px 34px 7px 16px !important;
    border: 1px solid #c7d2fe;
    border-radius: var(--radius-md);
    color: var(--text-heading);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

select.form-control:hover,
select:hover {
    border-color: #818cf8;
}

select.form-control:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

select option {
    background-color: #ffffff;
    color: #0f172a;
}

/* Custom Themed Combobox & Sort Dropdown */
.custom-select-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.custom-select-wrap label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin: 0;
    user-select: none;
}

.custom-select,
select.form-select-custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    padding: 7px 36px 7px 16px !important;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    outline: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 13px 13px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-select:hover,
select.form-select-custom:hover {
    border-color: #818cf8;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
}

.custom-select:focus,
select.form-select-custom:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.custom-select option,
select.form-select-custom option {
    background-color: #ffffff;
    color: #0f172a;
    padding: 8px 12px;
}

/* Custom Themed Checkboxes */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #c7d2fe;
    border-radius: 5px;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    display: inline-grid;
    place-content: center;
    vertical-align: middle;
    margin: 0;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

input[type="checkbox"]:hover {
    border-color: var(--primary);
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    border-color: var(--primary);
}

input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

input[type="checkbox"]:checked::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* Custom Themed Radio Buttons */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #c7d2fe;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    display: inline-grid;
    place-content: center;
    vertical-align: middle;
    margin: 0;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

input[type="radio"]:hover {
    border-color: var(--primary);
}

input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    border-color: var(--primary);
}

input[type="radio"]:checked {
    border-color: var(--primary);
    background-color: #ffffff;
}

input[type="radio"]:checked::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
}

/* Custom Themed Range Slider */
input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e0e7ff;
    border-radius: var(--radius-full);
    outline: none;
    transition: var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
    transition: var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

/* Custom Themed Date Picker */
input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ==========================================================================
   Modern Breadcrumbs Component
   ========================================================================== */
.breadcrumbs {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #c7d2fe;
    border-radius: var(--radius-full);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    font-size: 13px;
    margin-bottom: 24px;
}

.crumb-link {
    color: var(--text-muted);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.crumb-link:hover {
    color: #4f46e5;
}

.crumb-sep {
    color: #818cf8;
    display: inline-flex;
    align-items: center;
    user-select: none;
}

.crumb-current {
    color: #0f172a;
    font-weight: 700;
}

/* ==========================================================================
   Layout Containers & Header Navigation
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.navbar-softzia {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid #c7d2fe;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
    box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.05);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.brand-logo:hover {
    color: #0f172a;
}

.brand-logo img {
    height: 38px;
    width: auto;
    max-height: 42px;
    display: block;
    object-fit: contain;
}

@media (max-width: 640px) {
    .brand-logo img {
        height: 32px;
        max-width: 155px;
    }
}

.brand-logo span {
    color: var(--primary);
}

.brand-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header Search Capsule */
.header-search {
    position: relative;
    flex: 1;
    max-width: 480px;
}

.search-input {
    width: 100%;
    padding: 9px 65px 9px 40px;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    background: #ffffff;
    font-family: inherit;
    font-size: 13.5px;
    color: #0f172a;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.search-input:focus {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6366f1;
    pointer-events: none;
    transition: var(--transition-fast);
}

.search-input:focus+.search-icon,
.header-search:focus-within .search-icon {
    color: #4f46e5;
}

.search-kbd-shortcut {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    color: #4338ca;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 5px;
    padding: 2.5px 7px;
    line-height: 1;
    pointer-events: none;
    transition: var(--transition-fast);
}

.header-search:focus-within .search-kbd-shortcut {
    opacity: 0;
    transform: translateY(-50%) scale(0.85);
}

/* Live Search Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.05);
    display: none;
    z-index: 1050;
    max-height: 420px;
    overflow-y: auto;
}

.search-results-dropdown.active {
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e7ff;
    color: #334155;
    transition: var(--transition-fast);
}

.search-item:hover {
    background: #eef2ff;
    color: #4f46e5;
}

.search-item img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-link {
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
    padding: 6px 14px;
    border-radius: 8px;
    position: relative;
    transition: all 0.16s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: #4f46e5;
    background: #eef2ff;
}

.nav-link.active {
    color: #4f46e5;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    font-weight: 600;
}

.btn-portal {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 9px;
    background: #ffffff;
    color: #334155 !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #c7d2fe;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 6px;
    text-decoration: none;
}

.btn-portal:hover {
    background: #eef2ff;
    border-color: #6366f1;
    color: #4338ca !important;
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.10);
    transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section (Light Frosted Glass)
   ========================================================================== */
.hero-section {
    padding: 48px 0 36px;
    background-color: transparent;
    text-align: center;
    position: relative;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    font-size: 12px;
    font-weight: 700;
    color: #4338ca;
    margin-bottom: 18px;
    box-shadow: 0 1px 4px rgba(79, 70, 229, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
}

.hero-pill:hover {
    background: #eef2ff;
    border-color: #818cf8;
    transform: translateY(-1px);
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1.2px;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.15;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 30px;
        letter-spacing: -0.6px;
    }
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Premium Hero Container */
.hero-card-premium {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 20px;
    padding: 44px 32px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.hero-card-premium::before {
    display: none;
}

.hero-card-premium h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.15;
}

.hero-card-premium .hero-subtitle {
    font-size: 16px;
    color: #475569;
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

/* Centered Search Capsule inside Hero */
.hero-search-box {
    max-width: 640px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 6px 6px 6px 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-search-box:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 8px 24px -4px rgba(79, 70, 229, 0.12);
}

.hero-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14.5px;
    font-family: inherit;
    color: #0f172a;
    padding: 8px 12px;
    background: transparent;
}

.hero-search-box input::placeholder {
    color: var(--text-light);
}

.hero-search-btn,
.hero-search-form .btn-hero-search {
    background: #4f46e5;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 8px;
    border: 1px solid #4338ca;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.22);
    transition: all 0.18s ease;
}

.hero-search-btn:hover,
.hero-search-form .btn-hero-search:hover {
    background: #4338ca;
    border-color: #3730a3;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.30);
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* Quick Search Suggestions */
.hero-quick-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: -12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    font-size: 12px;
}

.hero-quick-tags .tags-label {
    color: #64748b;
    font-weight: 600;
}

.quick-tag-pill {
    color: #4338ca;
    background: #eef2ff;
    padding: 3px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #c7d2fe;
    transition: all 0.15s ease;
}

.quick-tag-pill:hover {
    background: #e0e7ff;
    border-color: #818cf8;
    transform: translateY(-1px);
    color: #3730a3;
}

/* Trust Ticker Strip */
.trust-ticker {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #c7d2fe;
}

@media (max-width: 768px) {
    .trust-ticker {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-ticker-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: all 0.15s ease;
}

.trust-ticker-item:hover {
    background: #ffffff;
    border-color: #818cf8;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
}

.trust-ticker-item svg {
    color: #4f46e5;
    flex-shrink: 0;
}

/* ==========================================================================
   Category Grid & Filters (Light Frosted Pills)
   ========================================================================== */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.category-pill:hover {
    border-color: #818cf8;
    color: #4338ca;
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.category-pill.active {
    background: #4f46e5 !important;
    border: 1px solid #4338ca !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25) !important;
    font-weight: 700;
}

.category-pill .pill-count {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.90);
    color: #64748b;
    transition: all 0.2s ease;
}

.category-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.category-pill:hover .pill-count {
    background: #eef2ff;
    color: #4338ca;
}

.category-pill:active {
    transform: scale(0.96);
    transition: transform 0.08s ease;
}

/* Subcategory Filter Pills */
.subcategory-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.subcategory-pill {
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.subcategory-pill:hover {
    background: #eef2ff;
    border-color: #818cf8;
    color: #3730a3;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.subcategory-pill:active {
    transform: scale(0.95);
    transition: transform 0.08s ease;
}

.subcategory-pill.active {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border: 1px solid #4338ca !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25) !important;
}

/* License Filter Segmented Pills */
.license-segment-pill {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    color: #475569;
    background: transparent;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
}

.license-segment-pill:hover {
    background: rgba(79, 70, 229, 0.08);
    color: #4338ca;
}

.license-segment-pill:active {
    transform: scale(0.95);
    transition: transform 0.08s ease;
}

.license-segment-pill.active {
    background: #4f46e5 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.20);
}

/* Directory Asynchronous Option Smooth Transition States */
.directory-content-transitioning {
    opacity: 0.45 !important;
    filter: blur(0.5px);
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), filter 0.18s ease;
}

.directory-content-entering {
    animation: directorySlideIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes directorySlideIn {
    from {
        opacity: 0.5;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Homepage: Unified Docked Category Base (Zero Nested Card Syndrome)
   ========================================================================== */
.popular-cats-dock {
    margin: 28px -32px 0 -32px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 22px 32px 28px;
    text-align: left;
}

.popular-cats-dock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.popular-cats-dock-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.popular-cats-dock-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    width: 100%;
}

.popular-cats-dock-grid.grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.popular-cats-dock-grid.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.popular-cats-dock-grid.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.popular-cat-dock-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 0;
    box-sizing: border-box;
}

.popular-cat-dock-card:hover {
    background: #ffffff;
    border-color: #818cf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.08);
    color: #4338ca;
}

.popular-cat-dock-card:active {
    transform: scale(0.98);
}

.popular-cat-dock-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4338ca;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.popular-cat-dock-card:hover .popular-cat-dock-icon {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.popular-cat-dock-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    flex: 1;
}

.popular-cat-dock-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    white-space: normal;
    word-break: normal;
    transition: color 0.15s ease;
}

.popular-cat-dock-card:hover .popular-cat-dock-name {
    color: #4338ca;
}

.popular-cat-dock-count {
    font-size: 11px;
    color: #64748b;
    margin-top: 1px;
    font-weight: 500;
}

@media (max-width: 1080px) {
    .popular-cats-dock {
        margin: 24px -20px 0 -20px;
        padding: 18px 20px 24px;
    }
    .popular-cats-dock-grid,
    .popular-cats-dock-grid.grid-cols-5,
    .popular-cats-dock-grid.grid-cols-4,
    .popular-cats-dock-grid.grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 540px) {
    .popular-cats-dock-grid,
    .popular-cats-dock-grid.grid-cols-5,
    .popular-cats-dock-grid.grid-cols-4,
    .popular-cats-dock-grid.grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ==========================================================================
   Category Page Option B: Two-Column Sidebar Tree Layout
   ========================================================================== */
.category-page-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 24px;
    align-items: start;
}

.category-sidebar-tree {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c7d2fe transparent;
}

.category-sidebar-tree::-webkit-scrollbar {
    width: 5px;
}

.category-sidebar-tree::-webkit-scrollbar-thumb {
    background: #c7d2fe;
    border-radius: 999px;
}

.category-sidebar-tree::-webkit-scrollbar-thumb:hover {
    background: #818cf8;
}

.cat-tree-header {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e7ff;
}

.cat-tree-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.cat-tree-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

.cat-tree-search-wrap {
    position: relative;
    margin: 12px 0 10px;
}

.cat-tree-search-wrap svg {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #6366f1;
    pointer-events: none;
}

.cat-tree-search-input {
    width: 100%;
    padding: 7px 12px 7px 32px;
    font-size: 12.5px;
    border-radius: 999px;
    border: 1px solid #c7d2fe;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-tree-search-input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.cat-tree-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #c7d2fe;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-tree-all-link:hover {
    background: #eef2ff;
    color: #4338ca;
    border-color: #818cf8;
}

.cat-tree-all-link.active {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4338ca !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25) !important;
}

.cat-tree-all-link.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.cat-tree-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cat-tree-item {
    display: flex;
    flex-direction: column;
}

.cat-tree-parent {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #c7d2fe;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-tree-parent:hover {
    background: #eef2ff;
    color: #4338ca;
    border-color: #818cf8;
    transform: translateY(-1px);
}

.cat-tree-parent:active {
    transform: scale(0.97);
}

.cat-tree-parent.active {
    background: #eef2ff;
    color: #4338ca;
    border-color: #818cf8;
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.12);
}

.cat-tree-parent-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.cat-tree-parent-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    flex-shrink: 0;
}

.cat-tree-subs {
    padding-left: 10px;
    margin-top: 5px;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-left: 2px solid #e0e7ff;
    margin-left: 12px;
}

.cat-tree-sub {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-tree-sub:hover {
    background: #eef2ff;
    color: #4338ca;
}

.cat-tree-sub:active {
    transform: scale(0.97);
}

.cat-tree-sub.active {
    background: #4f46e5 !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.20);
}

.cat-tree-sub.active .sub-count {
    color: rgba(255, 255, 255, 0.85);
}

.cat-tree-sub .sub-count {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

@media (max-width: 991px) {
    .category-page-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-sidebar-tree {
        position: static;
        max-height: none;
    }
}

/* ==========================================================================
   Full Category & Subcategory Directory Hub
   ========================================================================== */
.category-directory-hub {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.category-directory-hub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e7ff;
    flex-wrap: wrap;
    gap: 12px;
}

.category-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.category-directory-card {
    background: #f8fafc;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-directory-card:hover {
    background: #ffffff;
    border-color: #818cf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.08);
}

.category-directory-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e7ff;
}

.category-directory-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

.category-directory-title:hover {
    color: #4f46e5;
}

.category-sub-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Category Navigation Segmented Pills */
.category-tab-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 2px 14px;
    scrollbar-width: none;
    margin-bottom: 24px;
}

.category-tab-strip::-webkit-scrollbar {
    display: none;
}

.category-tab-pill {
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    background: #ffffff;
    color: #475569;
    border: 1px solid #c7d2fe;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.category-tab-pill:hover {
    color: #4338ca;
    border-color: #818cf8;
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.category-tab-pill.active {
    background: #4f46e5;
    color: #ffffff;
    border: 1px solid #4338ca;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    font-weight: 700;
}

/* ==========================================================================
   Software Grid & Elevated Cards (Light Frosted Glass)
   ========================================================================== */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.software-card,
.software-card-elevated {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 20px 20px 18px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 18px -2px rgba(79, 70, 229, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
    height: 100%;
}

.software-card:hover,
.software-card-elevated:hover {
    transform: translateY(-3px);
    background: #ffffff;
    border-color: #818cf8;
    box-shadow: 0 12px 28px -4px rgba(79, 70, 229, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
}

.card-top,
.software-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.card-icon,
.software-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #c7d2fe;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: var(--transition-fast);
}

.software-card:hover .card-icon,
.software-card-elevated:hover .software-card-icon {
    border-color: #4f46e5;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.20);
}

.card-icon img,
.software-card-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.card-meta,
.software-card-title-wrap {
    flex: 1;
    min-width: 0;
}

.card-meta h3,
.software-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta h3 a,
.software-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.software-card:hover .card-meta h3 a,
.software-card-elevated:hover .software-card-title a {
    color: #4f46e5;
}

.card-vendor-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.software-rating-inline {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: #475569;
    font-weight: 600;
}

.software-rating-inline .star-score {
    color: #0f172a;
    font-weight: 800;
}

.software-rating-inline .star-icon {
    color: #f59e0b;
}

.software-vendor-name {
    color: #4f46e5;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    display: inline-block;
    vertical-align: middle;
}

.card-desc,
.software-card-elevated .card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
    margin: 6px 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
}

/* Community Sentiment Box: Refined Light Frosted Track */
.software-sentiment-box {
    margin: 0 0 10px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #c7d2fe;
    border-radius: 9px;
    box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.02);
}

.sentiment-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}

.sentiment-pct-positive {
    color: #059669;
    font-weight: 800;
}

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

.sentiment-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--dark);
}

.sentiment-score-badge {
    font-size: 11.5px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 999px;
}

.sentiment-track {
    height: 7px;
    border-radius: 999px;
    background: #e0e7ff;
    display: flex;
    overflow: hidden;
    margin-bottom: 8px;
}

.sentiment-seg-pos,
.sentiment-fill-pos {
    background: #10b981;
    height: 100%;
}

.sentiment-seg-neu,
.sentiment-fill-neu {
    background: #93c5fd;
    height: 100%;
}

.sentiment-seg-neg,
.sentiment-fill-neg {
    background: #f87171;
    height: 100%;
}

.sentiment-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.sentiment-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stat-bullet {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.stat-bullet.pos {
    background: #10b981;
}

.stat-bullet.neu {
    background: #93c5fd;
}

.stat-bullet.neg {
    background: #f87171;
}

.sentiment-stats span strong {
    color: #0f172a;
    font-weight: 700;
}

/* Card Info Strip & Badges */
.card-info-strip,
.software-card-elevated .card-info-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 8px;
    padding-top: 10px;
    border-top: 1px solid #c7d2fe;
    font-size: 11.5px;
    color: var(--text-muted);
    min-height: 28px;
}

.card-badges-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.card-os-wrap {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-left: auto;
    max-width: 100%;
}

.card-os-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    color: #0284c7;
    opacity: 0.9;
    flex-shrink: 0;
}

.card-os-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

/* Vibrant Semantic License Badges (No Muddy Colors, Distinct Palette) */
.badge-license {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    letter-spacing: 0.2px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-license.free {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.badge-license.opensource {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.badge-license.paid,
.badge-license.commercial {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.badge-license.trial {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-trust-signed {
    background: #eef2ff;
    color: #4338ca;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2.5px 7px;
    border-radius: 5px;
    border: 1px solid #c7d2fe;
    white-space: nowrap;
}

.badge-trust-clean {
    background: #ecfdf5;
    color: #047857;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2.5px 7px;
    border-radius: 5px;
    border: 1px solid #a7f3d0;
    white-space: nowrap;
}

/* Card Actions Split */
.software-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.software-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.btn-card-details {
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #4338ca !important;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(79, 70, 229, 0.04);
}

.btn-card-details:hover {
    background: #eef2ff;
    border-color: #818cf8;
    color: #3730a3 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.12);
}

/* Clean, Modern Theme Card Download Button */
.btn-card-download {
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff !important;
    background: #4f46e5 !important;
    border: 1px solid #4338ca !important;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.22) !important;
    text-shadow: none !important;
}

.btn-card-download::before {
    display: none !important;
}

.btn-card-download:hover {
    background: #4338ca !important;
    border-color: #3730a3 !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.28) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}

.btn-card-download:active {
    background: #3730a3 !important;
    border-color: #312e81 !important;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.25) !important;
    transform: translateY(0);
}

.btn-download-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
    background: #4f46e5;
    color: #ffffff !important;
    border: 1px solid #4338ca;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.22);
    transition: all 0.18s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-download-sm:hover {
    background: #4338ca;
    border-color: #3730a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.28);
    color: #ffffff !important;
}

/* ==========================================================================
   Product Detail Page Layout (Split View & Sticky Subnav)
   ========================================================================== */
.product-layout-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
    margin-top: 24px;
}

.product-main-col {
    min-width: 0;
}

.product-sticky-col {
    position: sticky;
    top: 125px;
}

.software-hero-card {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 24px 28px 22px;
    margin-bottom: 0;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    position: relative;
    border-bottom: none;
}

.software-hero-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.software-hero-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
}

.software-hero-main {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.software-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.software-hero-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.software-hero-content {
    flex: 1;
    min-width: 0;
}

.software-hero-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.software-hero-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.hero-version-pill {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    padding: 2.5px 9px;
    border-radius: var(--radius-full);
}

.hero-portable-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 2.5px 8px;
    border-radius: var(--radius-full);
}

.hero-meta-row {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-meta-row strong {
    color: #0f172a;
}

.hero-publisher-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.hero-publisher-link strong {
    color: #4338ca;
    text-decoration: underline;
    text-decoration-color: #c7d2fe;
    text-underline-offset: 3px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.hero-publisher-link:hover strong {
    color: #3730a3;
    text-decoration-color: #4338ca;
}

.hero-meta-dot {
    color: #818cf8;
    font-size: 11px;
}

.hero-dev-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.hero-official-link {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.hero-official-link:hover {
    color: #0369a1;
    text-decoration: underline;
}

.software-hero-desc {
    font-size: 14px;
    color: #475569;
    max-width: 720px;
    line-height: 1.55;
    margin: 0 0 10px 0;
}

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

.software-tag-pill {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #475569;
    border: 1px solid #c7d2fe;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.software-tag-pill:hover {
    background: #eef2ff;
    color: #4338ca;
    border-color: #818cf8;
    transform: translateY(-1px);
}

.software-hero-actions {
    width: 260px;
    min-width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.hero-btn-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.hero-btn-compare:hover {
    background: #eef2ff;
    color: #4338ca;
    border-color: #818cf8;
}

.hero-btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
}

.hero-btn-share:hover {
    background: #eff6ff;
    color: #2563eb;
    border-color: #818cf8;
}

.hero-telemetry-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
    text-align: center;
}

.hero-telemetry-compact .hero-stat-downloads {
    font-size: 11.5px;
    color: var(--text-muted);
}

.hero-telemetry-compact .hero-stat-rating {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #334155;
}

.hero-telemetry-compact .hero-stat-rating strong {
    color: #d97706;
}

/* Compact 8-Box Technical Specification Strip */
.software-specs-strip-compact {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #c7d2fe;
}

.spec-box-compact {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 52px;
    box-sizing: border-box;
    transition: var(--transition-fast);
}

.spec-box-compact:hover {
    background: #ffffff;
    border-color: #818cf8;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.spec-box-compact .spec-box-label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.4px;
    line-height: 1.2;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spec-box-compact .spec-box-val {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Sticky Secondary Nav Tab Strip (Unified Integrated Card Bottom) */
.product-sticky-subnav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-top: 1px solid #f1f5f9;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-top: 0;
    margin-bottom: 24px;
    padding: 8px 18px;
    position: sticky;
    top: 72px;
    z-index: 900;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05);
    transition: border-radius 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, margin-top 0.2s ease;
}

.product-sticky-subnav.is-stuck {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    border-top: 1px solid #c7d2fe;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.12);
    margin-top: 8px;
}

.product-sticky-subnav::-webkit-scrollbar {
    display: none;
}

.product-sticky-subnav a,
.product-subnav-link {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
}

.product-sticky-subnav a:hover,
.product-subnav-link:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.product-sticky-subnav a.active,
.product-subnav-link.active {
    color: #4338ca;
    background: #eef2ff;
    border-color: #c7d2fe;
    font-weight: 700;
}

/* Product Main Column Glass Panels & Spacing */
.product-main-col .glass-panel {
    padding: 28px;
    margin-bottom: 28px;
    border-radius: 16px;
    box-sizing: border-box;
}

/* Release Specifications Metadata Strip (Download Mirrors Card) */
.software-release-specs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 18px;
    box-sizing: border-box;
}

.software-release-specs .spec-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 2px 14px;
    border-right: 1px solid #e2e8f0;
    box-sizing: border-box;
}

.software-release-specs .spec-item:first-child {
    padding-left: 0;
}

.software-release-specs .spec-item:nth-of-type(5) {
    border-right: none;
    padding-right: 0;
}

.software-release-specs .spec-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.software-release-specs .spec-value {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.software-release-specs .spec-value.version-val {
    color: #4338ca;
}

@media (max-width: 900px) {
    .software-release-specs {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 10px;
        padding: 12px 14px;
    }

    .software-release-specs .spec-item {
        border-right: none;
        padding: 0;
    }
}

@media (max-width: 580px) {
    .software-release-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 10px;
        padding: 12px 14px;
    }

    .software-release-specs .spec-item {
        border-right: none;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .software-hero-card {
        padding: 20px 16px 16px;
    }

    .product-sticky-subnav {
        padding: 6px 12px;
    }

    .product-main-col .glass-panel {
        padding: 20px 16px;
        margin-bottom: 20px;
    }

    .download-product-hero {
        padding: 16px 16px;
    }

    .download-product-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .download-product-action {
        width: 100%;
    }

    .download-product-action .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Anchor offset for sticky navbar + subnav */
.product-main-col .glass-panel,
#overview,
#mirrors,
#features,
#screenshots,
#specs,
#alternatives,
#history,
#reviews {
    scroll-margin-top: 135px;
}

/* Product Detailed Overview Rich Content */
.software-overview-content {
    font-size: 15px;
    color: #334155;
    line-height: 1.75;
}

.software-overview-content p {
    margin: 0 0 16px 0;
    color: #334155;
    line-height: 1.75;
}

.software-overview-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 28px 0 12px 0;
    letter-spacing: -0.2px;
}

.software-overview-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 22px 0 10px 0;
}

.software-overview-content ul,
.software-overview-content ol {
    margin: 10px 0 18px 0;
    padding-left: 22px;
    color: #334155;
}

.software-overview-content li {
    margin-bottom: 8px;
    line-height: 1.65;
    font-size: 14.5px;
}

.software-overview-content strong {
    font-weight: 700;
    color: #0f172a;
}

.software-overview-content code {
    background: #eef2ff;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.software-overview-content blockquote {
    border-left: 3px solid #4f46e5;
    margin: 18px 0;
    padding: 12px 18px;
    background: #eef2ff;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #1e1b4b;
}

/* Screenshots Showcase */
.product-media-preview {
    border-radius: 12px;
    border: 1px solid #c7d2fe;
    background: #f8fafc;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    margin-bottom: 28px;
}

.product-media-preview img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    display: block;
    cursor: zoom-in;
}



/* Pros and Cons Matrix (Light Clean Themed) */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.pro-card,
.pros-box {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 20px 22px;
}

.con-card,
.cons-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 20px 22px;
}

.pro-card h4,
.pros-title {
    font-size: 15px;
    font-weight: 800;
    color: #065f46;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.con-card h4,
.cons-title {
    font-size: 15px;
    font-weight: 800;
    color: #92400e;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pro-card ul,
.con-card ul,
.pros-list,
.cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13.5px;
}

.pro-card li,
.pros-list li {
    color: #064e3b;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.pro-card li::before,
.pros-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 800;
}

.con-card li,
.cons-list li {
    color: #78350f;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.con-card li::before,
.cons-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #d97706;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.2;
}

/* Sidebar Quick Download Hub */
.quick-download-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.06);
    margin-bottom: 20px;
}

.btn-primary-download-lg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    color: #ffffff !important;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #4338ca !important;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28) !important;
    text-shadow: none !important;
    margin-bottom: 12px;
}

.btn-primary-download-lg:hover {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%) !important;
    border-color: #312e81 !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.42) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-primary-download-lg .btn-download-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.btn-primary-download-lg .btn-download-subtext {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

#mirrors,
#write-review,
#changelog,
#features,
#technical-details,
#reviews,
#screenshots,
#specs,
#alternatives,
#history,
#overview {
    scroll-margin-top: 130px;
}

.browse-mirrors-pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #4338ca;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    transition: all 0.18s ease;
}

.browse-mirrors-pill-link:hover {
    background: #e0e7ff !important;
    border-color: #818cf8 !important;
    color: #3730a3 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.14);
}

.trust-checklist {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    border-top: 1px solid #c7d2fe;
    padding-top: 14px;
}

.trust-checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #334155;
    margin-bottom: 8px;
}

.trust-checklist li svg {
    color: var(--accent-emerald);
    flex-shrink: 0;
}





.terminal-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    color: #f8fafc;
    text-align: left;
}

.terminal-header {
    background: #1e293b;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot-red {
    background: #ef4444;
}

.terminal-dot-yellow {
    background: #f59e0b;
}

.terminal-dot-green {
    background: #10b981;
}

.terminal-title {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
    padding: 20px;
}

.terminal-hash-block {
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #38bdf8;
    word-break: break-all;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.terminal-cmd-row {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.terminal-cmd-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    font-weight: 700;
}

.terminal-cmd-box {
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 8px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.btn-terminal-copy {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.btn-terminal-copy:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   Download Gateway & Fallback Mirrors Hub
   ========================================================================== */
.download-page-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 12px 0 60px;
}

/* 1. Master Download Hero Card (Unified Identity + Action Zone) */
.download-master-card {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

.download-hero-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
}

.download-product-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.download-product-identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.download-product-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    flex-shrink: 0;
}

.download-product-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.download-product-meta h1 {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.download-product-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
}

/* Integrated Action Zone */
.download-action-zone {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px 24px 26px;
    text-align: center;
    margin-top: 4px;
}

.download-action-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.download-action-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 12px;
    line-height: 1.5;
}

.download-progress-bar-wrap {
    width: 100%;
    max-width: 360px;
    height: 6px;
    background: #e0e7ff;
    border-radius: 999px;
    margin: 14px auto 20px;
    overflow: hidden;
    position: relative;
}

.download-progress-bar-fill {
    height: 100%;
    background: #4f46e5;
    border-radius: 999px;
    width: 0%;
    animation: downloadProgressAnim 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes downloadProgressAnim {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.download-icon-wrapper {
    position: relative;
    display: inline-block;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.15);
    animation: pulse 2s infinite var(--ease-out-fluid);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

/* 2. Consolidated Secondary Support Panel */
.download-support-panel {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    margin-bottom: 24px;
    overflow: hidden;
}

.support-panel-section {
    padding: 22px 26px;
}

.border-top-section {
    border-top: 1px solid #f1f5f9;
}

.support-panel-footer {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.mirror-row-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition-fast);
    gap: 14px;
    margin-bottom: 10px;
}

.mirror-row-card:last-child {
    margin-bottom: 0;
}

.mirror-row-card.active-mirror {
    background: #eef2ff;
    border: 1px solid #4f46e5;
    color: #4338ca;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

.mirror-row-card.inactive-mirror {
    background: #f8fafc;
    border: 1px solid #c7d2fe;
    color: #334155;
}

.mirror-row-card.inactive-mirror:hover {
    background: #ffffff;
    border-color: #818cf8;
    color: #0f172a;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}


/* ==========================================================================
   Search Portal & Directory Hubs (Light Glass)
   ========================================================================== */
.search-hero-container {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 24px 28px 20px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
    margin-bottom: 24px;
}

.search-input-pill {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 6px 8px 6px 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: all var(--transition-fast);
}

.search-input-pill:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.search-input-pill input {
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    width: 100%;
    outline: none;
    padding: 8px 12px;
}

.search-input-pill .btn-search-submit {
    background: #4f46e5;
    color: #ffffff !important;
    border: 1px solid #4338ca;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.22);
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.search-input-pill .btn-search-submit:hover {
    background: #4338ca;
    border-color: #3730a3;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.30);
    transform: translateY(-1px);
}

.search-quick-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-muted);
}

.search-chip-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all var(--transition-fast);
}

.search-chip-link:hover {
    background: #eef2ff;
    color: #4338ca;
    border-color: #818cf8;
}

.search-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #c7d2fe;
}

.category-hero-enterprise {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 22px 26px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.category-hero-content {
    max-width: 680px;
}

.category-hero-content h1 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    margin: 0 0 6px;
}

.category-hero-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.subcategory-chip-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 12px 18px;
    background: #f8fafc;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    align-items: center;
}

.filter-sort-bar-elevated {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 14px 22px;
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.highlights-hero-enterprise {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 24px 28px;
    color: #0f172a;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.highlights-hero-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
    position: relative;
    z-index: 2;
}

.highlights-hero-enterprise h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
    margin: 0 0 10px;
}

.highlights-tab-nav {
    background: #ffffff;
    padding: 4px;
    border-radius: 8px;
    display: inline-flex;
    gap: 4px;
    border: 1px solid #c7d2fe;
    flex-wrap: wrap;
}

.highlights-tab-btn {
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.highlights-tab-btn.active {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(79, 70, 229, 0.35);
}

.highlights-tab-btn:not(.active) {
    color: var(--text-muted);
}

.highlights-tab-btn:not(.active):hover {
    color: #0f172a;
    background: #f1f5f9;
}

/* ==========================================================================
   Support Hub & Knowledge Base
   ========================================================================== */
.support-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.support-channel-card {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    text-decoration: none;
    color: #0f172a;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.support-channel-card:hover {
    transform: translateY(-2px);
    border-color: #818cf8;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.12);
    color: #0f172a;
}

.support-channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 20px;
}

.support-channel-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0f172a;
}

.support-channel-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 16px;
    padding: 38px 32px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.legal-content {
    background: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: var(--radius-lg);
    padding: 38px 42px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    line-height: 1.75;
    color: #334155;
    font-size: 15px;
    margin-bottom: 36px;
    width: 100%;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   Footer Layout
   ========================================================================== */
.footer-softzia {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid #c7d2fe;
    padding: 48px 0 28px;
    margin-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
    align-items: start;
}

.footer-col-brand .brand-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-col-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 360px;
}

.footer-trust-badge {
    font-size: 12px;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-trust-badge:hover {
    background: #dcfce7;
    border-color: #86efac;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 9px;
    line-height: 1.4;
}

.footer-col li:last-child {
    margin-bottom: 0;
}

.footer-col a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: #4f46e5;
    padding-left: 2px;
}

.footer-bottom {
    border-top: 1px solid #e0e7ff;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
}

.footer-bottom-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.footer-disclaimer {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-copy {
    line-height: 1.5;
}

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--text-muted);
    font-size: 12.5px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-legal-links a:hover {
    color: #4f46e5;
}

.footer-legal-links .sep {
    color: #cbd5e1;
    font-size: 10px;
}

/* ==========================================================================
   Unified Light Glassmorphic Utility Classes
   ========================================================================== */
.glass-panel {
    background: #ffffff !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 24px -4px rgba(15, 23, 42, 0.06) !important;
    padding: 28px;
}

.glass-card {
    background: #ffffff !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05) !important;
}

.glass-surface {
    background: #f8fafc;
    border: 1px solid #c7d2fe;
    border-radius: var(--radius-md);
}

.glass-hero {
    background: #ffffff !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05) !important;
    margin-bottom: 24px !important;
    position: relative !important;
    overflow: hidden !important;
}

.glass-hero-breadcrumbs,
.publisher-hero-breadcrumbs,
.page-hero-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
}

.search-hero-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
}

.error-hero-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
}

/* Sidebar Tree Breadcrumbs for Category Left Card */
.sidebar-tree-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 11.5px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
}

.sidebar-tree-breadcrumbs .crumb-link {
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.sidebar-tree-breadcrumbs .crumb-link:hover {
    color: var(--primary);
}

.sidebar-tree-breadcrumbs .crumb-sep {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
}

.sidebar-tree-breadcrumbs .crumb-current {
    color: #0f172a;
    font-weight: 700;
}

/* Responsive Adaptations */
@media (max-width: 992px) {
    .product-layout-split {
        grid-template-columns: 1fr;
    }

    .product-sticky-col {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-wrap {
        flex-wrap: wrap;
    }

    .header-search {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 10px;
    }

    .footer-softzia {
        padding: 36px 0 24px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        gap: 10px;
    }

    .footer-bottom-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-title {
        font-size: 32px;
    }

    .software-grid {
        grid-template-columns: 1fr;
    }

    .software-specs-strip-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .software-hero-layout {
        flex-direction: column;
        gap: 20px;
    }

    .software-hero-actions {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .software-specs-strip-compact {
        grid-template-columns: 1fr;
    }

    .share-modal-social-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .share-modal-social-grid-3 {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* Comparison & Recent Update Reusable Cards */
.compare-shortcut-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.compare-shortcut-card:hover {
    background: #ffffff !important;
    border-color: #818cf8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08) !important;
}

.compare-card-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    object-fit: contain !important;
    background: #ffffff !important;
    border: 1px solid #c7d2fe !important;
    padding: 3px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

.recent-update-card {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 18px !important;
    background: #ffffff !important;
    border: 1px solid #c7d2fe !important;
    border-radius: 12px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.recent-update-card:hover {
    border-color: #818cf8 !important;
    background: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08) !important;
}

.compare-shortcut-card:active,
.recent-update-card:active {
    transform: scale(0.985) !important;
    transition: transform 0.08s ease !important;
}

.software-card:active,
.software-card-elevated:active {
    transform: translateY(-1px) scale(0.995);
    transition: transform 0.08s ease;
}

.mirror-row-card:active {
    transform: scale(0.985);
    transition: transform 0.08s ease;
}

.highlights-tab-btn:active {
    transform: scale(0.96);
    transition: transform 0.08s ease;
}

.nav-link:active,
.btn-portal:active,
.crumb-link:active {
    transform: scale(0.96);
    transition: transform 0.08s ease;
}

/* ==========================================================================
   Software Comparison Matrix & Scalable Combobox System (Pillar 12 Compliant)
   ========================================================================== */
.head-to-head-grid {
    display: grid;
    grid-template-columns: repeat(var(--compare-cols, 2), minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-bottom: 32px;
}

@media (max-width: 860px) {
    .head-to-head-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.head-to-head-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.head-to-head-card:hover {
    border-color: var(--glass-border-accent) !important;
    box-shadow: 0 10px 28px -4px rgba(79, 70, 229, 0.10) !important;
    transform: translateY(-2px);
}

.custom-combobox {
    position: relative;
    user-select: none;
}

.combobox-trigger {
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
    background: #ffffff;
    transition: var(--transition-fast);
}

.combobox-trigger:hover,
.combobox-trigger.is-open {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.combobox-trigger svg {
    transition: transform 0.2s ease;
    color: var(--text-muted);
}

.combobox-trigger.is-open svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.combobox-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(79, 70, 229, 0.08);
    max-height: 320px;
    overflow-y: auto;
    padding: 8px;
}

.combobox-search {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    outline: none;
    transition: var(--transition-fast);
}

.combobox-search:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.combobox-section-label {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px 6px;
}

.combobox-item {
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.combobox-item:hover,
.combobox-item.focused {
    background: #f1f5f9;
    color: var(--primary);
}

.combobox-item.is-selected {
    background: #eef2ff;
    color: var(--primary);
    font-weight: 700;
}

.combobox-item-clear {
    color: #dc2626 !important;
    font-weight: 600;
}

.combobox-item-clear:hover {
    background: #fee2e2 !important;
}

.combobox-empty {
    padding: 14px 12px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   Comparison Matrix Table & Responsive Polish
   ========================================================================== */
.compare-matrix-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    margin-bottom: 40px;
}

.compare-matrix-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-matrix-table {
    width: 100%;
    margin: 0;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
}

.compare-matrix-table thead tr {
    background: #ffffff;
}

.compare-matrix-table th {
    padding: 20px 22px;
    font-size: 14px;
    color: var(--dark);
    vertical-align: top;
    border-bottom: 2px solid var(--border-color);
    background: #ffffff;
}

.compare-matrix-table th.matrix-criteria-col {
    width: 240px;
    min-width: 220px;
    font-weight: 700;
    background: #f8fafc;
    border-right: 1px solid var(--border-color);
    padding: 22px 20px;
}

.compare-matrix-table th.matrix-app-col {
    min-width: 260px;
    background: #ffffff;
    border-right: 1px solid #f1f5f9;
    padding: 20px 22px;
}

.compare-matrix-table th.matrix-app-col:last-child {
    border-right: none;
}

.compare-app-header-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.compare-matrix-table tbody tr {
    transition: background 0.15s ease;
}

.compare-matrix-table tbody tr:nth-child(even) td {
    background: rgba(248, 250, 252, 0.6);
}

.compare-matrix-table tbody tr:nth-child(odd) td {
    background: #ffffff;
}

.compare-matrix-table tbody tr:hover td {
    background: #f1f5f9;
}

.compare-matrix-table tbody td {
    padding: 14px 20px;
    font-size: 13.5px;
    color: var(--text-main);
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.compare-matrix-table tbody td.matrix-row-title {
    font-weight: 700;
    color: var(--dark);
    background: #f8fafc !important;
    border-right: 1px solid var(--border-color);
    width: 220px;
    min-width: 200px;
}

.compare-matrix-table tbody tr.matrix-section-row td {
    background: #f1f5f9 !important;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #475569;
    padding: 10px 20px;
    border-top: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
}

/* ==========================================================================
   Standard System Error Pages (403, 404, 500)
   ========================================================================== */
.error-page-container,
.error-404-container {
    padding: 56px 36px !important;
    text-align: center;
    border-radius: 20px !important;
    margin: 0 auto;
}

.error-page-code,
.error-404-code {
    font-size: 88px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-badge-404 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.error-badge-403 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.error-badge-500 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Screenshot Slider & Interactive Slideshow (Pillar 12 Themed UI)
   ========================================================================== */
.screenshot-slider-wrap {
    position: relative;
    width: 100%;
}

.screenshot-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px 14px;
    scrollbar-width: thin;
    scrollbar-color: #c7d2fe transparent;
}

.screenshot-slider-track::-webkit-scrollbar {
    height: 6px;
}

.screenshot-slider-track::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}

.screenshot-slider-track::-webkit-scrollbar-thumb {
    background: #c7d2fe;
    border-radius: 999px;
    transition: background 0.2s;
}

.screenshot-slider-track::-webkit-scrollbar-thumb:hover {
    background: #818cf8;
}

.screenshot-slide-card {
    flex: 0 0 290px;
    width: 290px;
    scroll-snap-align: start;
    cursor: pointer;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}

.screenshot-slide-card:hover {
    transform: translateY(-4px);
    border-color: #818cf8;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.12);
}

.screenshot-card-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-slide-card:hover .screenshot-card-img-wrap img {
    transform: scale(1.03);
}

.screenshot-card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.screenshot-slide-card:hover .screenshot-card-hover-overlay {
    opacity: 1;
}

.screenshot-zoom-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #1e1b4b;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.screenshot-card-caption {
    padding: 10px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0f172a;
    border-top: 1px solid #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #ffffff;
}

/* Slider Header Controls */
.screenshot-slider-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-slider-nav {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid #c7d2fe;
    background: #ffffff;
    color: #4338ca;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

.btn-slider-nav:hover:not(:disabled) {
    background: #eef2ff;
    border-color: #818cf8;
    color: #312e81;
    transform: scale(1.05);
}

.btn-slider-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-slideshow-trigger {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff;
    border: none;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 15px;
    border-radius: 9px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    transition: all 0.2s ease;
}

.btn-slideshow-trigger:hover {
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

/* Lightbox Modal */
.screenshot-lightbox-backdrop {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    z-index: 99999;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-sizing: border-box;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshot-lightbox-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    z-index: 2;
    padding-bottom: 8px;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.screenshot-lightbox-backdrop.active .lightbox-topbar {
    transform: translateY(0);
    opacity: 1;
}

.lightbox-stage-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-height: calc(100vh - 190px);
    width: 100%;
}

.lightbox-main-img-box {
    position: relative;
    max-width: 90vw;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.screenshot-lightbox-backdrop.active .lightbox-main-img-box {
    transform: scale(1);
    opacity: 1;
}

.lightbox-main-img-box img {
    max-width: 100%;
    max-height: calc(100vh - 210px);
    object-fit: contain;
    user-select: none;
    opacity: 1;
    transition: opacity 0.22s ease-in-out;
}

.lightbox-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lightbox-nav-arrow:hover {
    background: #4f46e5;
    border-color: #818cf8;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-arrow.prev {
    left: 16px;
}

.lightbox-nav-arrow.next {
    right: 16px;
}

.lightbox-bottombar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    padding-top: 8px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.screenshot-lightbox-backdrop.active .lightbox-bottombar {
    transform: translateY(0);
    opacity: 1;
}

.lightbox-thumbnails-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 90vw;
    padding: 4px;
    scrollbar-width: none;
}

.lightbox-thumbnails-strip::-webkit-scrollbar {
    display: none;
}

.lightbox-thumb-btn {
    flex: 0 0 64px;
    height: 42px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: #000;
    cursor: pointer;
    opacity: 0.55;
    transition: all 0.2s ease;
    padding: 0;
}

.lightbox-thumb-btn:hover {
    opacity: 0.9;
    border-color: #ffffff;
}

.lightbox-thumb-btn.active {
    opacity: 1;
    border-color: #818cf8;
    box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.7);
    transform: scale(1.05);
}

.lightbox-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reviews Pagination & Controls (Pillar 12 Themed UI) */
.reviews-pagination-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.reviews-pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.review-page-btn {
    border: 1px solid #c7d2fe;
    background: #ffffff;
    color: #4338ca;
    font-weight: 700;
    font-size: 13px;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.review-page-btn:hover:not(:disabled) {
    background: #eef2ff;
    border-color: #818cf8;
    color: #312e81;
    transform: translateY(-1px);
}

.review-page-btn.active {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
    cursor: default;
}

.review-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.reviews-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.reviews-filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.reviews-control-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.reviews-select {
    padding: 7px 32px 7px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.reviews-select:hover {
    border-color: #818cf8;
    background-color: #f8fafc;
}

.reviews-select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Common Layout Utilities */
.mb-3 {
    margin-bottom: 16px !important;
}

.d-inline-block {
    display: inline-block !important;
}

/* ==========================================================================
   Global Visual Accessibility & Responsive Layout Standardization
   ========================================================================== */

/* 1. Standardized Focus-Visible Ring for Accessible Keyboard Navigation */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* 2. Glass Hero 2-Column Responsive Stacking for Legal, Compare, Highlights & Contact */
@media (max-width: 860px) {
    .glass-hero > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* 3. Download Mirror Row Cards Mobile Adaptations */
@media (max-width: 640px) {
    .mirror-row-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .mirror-row-card > div:last-child {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}

/* ==========================================================================
   Global Visual Accessibility & Responsive Layout Standardization
   ========================================================================== */

/* 1. Standardized Focus-Visible Ring for Accessible Keyboard Navigation */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* 2. Glass Hero 2-Column Responsive Stacking for Legal, Compare, Highlights & Contact */
@media (max-width: 860px) {
    .glass-hero > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* 3. Download Mirror Row Cards Mobile Adaptations */
@media (max-width: 640px) {
    .mirror-row-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .mirror-row-card > div:last-child {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}
