/* Modern Dark Theme CSS - Complete Redesign */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #e2e8f0;
    background: #0f172a;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Responsive container adjustments */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Header Styles - Glassmorphism */
.header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.logo-pd {
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    text-shadow: none;
    box-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #6366f1;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.6);
}

.btn-outline {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.btn-outline:hover {
    background: #6366f1;
    color: white;
}

.btn-yellow {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.6);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    z-index: 999;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px;
}

.mobile-nav-list li {
    margin-bottom: 16px;
}

.mobile-nav-list a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 16px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav-list a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23334155" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #f1f5f9;
}

.highlight {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 8px;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-section {
    margin-bottom: 40px;
}

.search-bar {
    display: flex;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 8px;
    backdrop-filter: blur(10px);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 20px;
    color: #e2e8f0;
    font-size: 16px;
    outline: none;
}

.search-input::placeholder {
    color: #64748b;
}

.search-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.driver-diagnostic {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

/* Cards and Sections */
.trust-section,
.browse-section,
.printer-brands-section,
.featured-section,
.brands-section {
    padding: 80px 0;
    background: #0f172a;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Trust Stats */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.trust-stat {
    text-align: center;
    padding: 40px 20px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.trust-stat:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.trust-stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.trust-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 8px;
}

.trust-stat-label {
    color: #94a3b8;
    font-weight: 500;
}

/* Hardware Cards */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.hardware-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hardware-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hardware-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.hardware-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 12px;
}

.hardware-description {
    color: #94a3b8;
    margin-bottom: 16px;
    line-height: 1.6;
}

.hardware-count {
    color: #6366f1;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Printer Brand Cards */
.printer-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.printer-brand-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.printer-brand-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.brand-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Popular Brands Section - Brand Colors */
.brand-logo.nvidia {
    background: linear-gradient(135deg, #76b900, #5a8a00);
}

.brand-logo.amd {
    background: linear-gradient(135deg, #ed1c24, #c41e3a);
}

.brand-logo.intel {
    background: linear-gradient(135deg, #0071c5, #005a9e);
}

.brand-logo.hp {
    background: linear-gradient(135deg, #0096d6, #0073a8);
}

.brand-logo.canon {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.brand-logo.epson {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.brand-logo.brother {
    background: linear-gradient(135deg, #059669, #047857);
}

.brand-logo.microsoft {
    background: linear-gradient(135deg, #00bcf2, #0078d4);
}

.printer-brand-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 12px;
}

.printer-brand-card p {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.brand-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.driver-count {
    color: #6366f1;
    font-weight: 600;
    font-size: 0.9rem;
}

.brand-status {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.brand-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.brand-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

/* Featured Drivers */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.driver-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.driver-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.driver-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.driver-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.latest-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.driver-info {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.driver-description {
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.driver-compatibility {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.os-badge {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.driver-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.driver-meta {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.verified-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 500;
}

.driver-actions {
    display: flex;
    gap: 12px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Security Section */
.security-section {
    margin-bottom: 60px;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.security-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.security-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.security-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.security-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.security-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.security-text p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.brand-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.brand-category {
    color: #94a3b8;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.brand-count {
    color: #6366f1;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Advertisement and Disclosure Sections */
.advertising-disclosure,
.review-disclosure {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 40px 0;
    text-align: center;
}

.advertising-disclosure p,
.review-disclosure p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.advertisement-placeholder,
.sponsored-content {
    background: rgba(30, 41, 59, 0.3);
    border: 2px dashed rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.advertisement-placeholder p,
.sponsored-content p {
    color: #64748b;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
}

/* Footer */
.footer {
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #6366f1;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive Design */

/* 13-inch Laptop and smaller desktop screens */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }

    .header-content {
        padding: 16px 0;
    }

    .logo-text {
        font-size: 22px;
    }

    .nav-links {
        gap: 24px;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 16px;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-content {
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .search-input {
        padding: 16px 20px;
        font-size: 15px;
    }

    .search-btn {
        padding: 16px 24px;
        font-size: 15px;
    }

    .browse-content {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }

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

    .hardware-card {
        padding: 24px;
    }

    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
    }

    .driver-card {
        padding: 24px;
    }

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

    .printer-brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

/* Tablet and small laptop screens */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 16px;
    }

    .header-content {
        padding: 14px 0;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    .browse-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .browse-sidebar {
        order: 2;
        background: rgba(30, 41, 59, 0.5);
        padding: 24px;
        border-radius: 16px;
        backdrop-filter: blur(10px);
    }

    .hardware-grid {
        order: 1;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }

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

    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 16px;
    }

    .printer-brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* Mobile and small tablet screens */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .search-bar {
        flex-direction: column;
        gap: 12px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .hardware-grid,
    .printer-brands-grid,
    .featured-grid,
    .brands-grid {
        grid-template-columns: 1fr;
    }

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

    .security-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

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

    .trust-stat,
    .hardware-card,
    .printer-brand-card,
    .driver-card,
    .brand-card {
        padding: 20px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-40 {
    margin-bottom: 40px;
}

.popular-categories {
    margin-top: 20px;
}

.popular-categories a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.popular-categories a:hover {
    color: #8b5cf6;
}

/* Browse Section Specific */
.browse-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.browse-sidebar {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 30px;
    height: fit-content;
    backdrop-filter: blur(10px);
}

.sidebar-title {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.category-list {
    list-style: none;
    margin-bottom: 30px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.category-checkbox {
    accent-color: #6366f1;
}

.category-name {
    color: #cbd5e1;
    font-weight: 500;
    flex: 1;
}

.category-count {
    color: #94a3b8;
    font-size: 0.9rem;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    display: block;
    color: #f1f5f9;
    font-weight: 500;
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.filter-select option {
    background: #1e293b;
    color: #e2e8f0;
}

@media (max-width: 1024px) {
    .browse-content {
        grid-template-columns: 1fr;
    }

    .browse-sidebar {
        order: 2;
    }
}

/*
 Footer Specific Styles */
.footer-left {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-pd {
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.footer-logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #f1f5f9;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    width: fit-content;
}

.footer-copyright {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 20px;
}

.footer-copyright p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.cookie-content p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cookie-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.cookie-link {
    color: #6366f1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.cookie-link:hover {
    color: #8b5cf6;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: rgba(71, 85, 105, 0.8);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.btn-secondary:hover {
    background: rgba(71, 85, 105, 1);
    border-color: rgba(148, 163, 184, 0.4);
}

/* Page-specific styles for printer pages */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #f1f5f9;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23334155" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(241, 245, 249, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #f1f5f9;
}

.breadcrumb span {
    color: rgba(241, 245, 249, 0.6);
}

.page-header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #cbd5e1;
}

/* Brand header for printer pages */
.brand-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.brand-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23334155" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.brand-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.brand-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.brand-info h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #f1f5f9;
    font-weight: 700;
}

.brand-info p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    max-width: 600px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

/* Search sections for printer pages */
.search-section {
    padding: 60px 0;
    background: #0f172a;
}

.search-box {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.search-box h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #f1f5f9;
    font-weight: 600;
}

.search-box p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.search-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.search-input-group {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-input::placeholder {
    color: #64748b;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-50%) translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

.filter-select {
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 1rem;
    min-width: 180px;
}

.filter-select option {
    background: #1e293b;
    color: #e2e8f0;
}

.popular-models {
    margin-top: 20px;
}

.popular-label {
    font-weight: 600;
    color: #f1f5f9;
    margin-right: 15px;
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.model-tag {
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    color: #a5b4fc;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.model-tag:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #c7d2fe;
}

/* Features sections */
.features-section {
    padding: 80px 0;
    background: #0f172a;
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-icon.verified {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-icon.latest {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.feature-icon.compatibility {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #f1f5f9;
    font-weight: 600;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Printer models sections */
.printer-models-section {
    padding: 80px 0;
    background: #0f172a;
}

.printer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.printer-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.printer-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.printer-badges {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.brand-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.official-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.printer-image {
    text-align: center;
    margin-bottom: 20px;
}

.printer-image img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.printer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #f1f5f9;
    font-weight: 600;
}

.printer-series {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.printer-desc {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.printer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    font-size: 0.8rem;
    color: #a5b4fc;
    font-weight: 500;
}

.feature-tag i {
    margin-right: 6px;
    color: #6366f1;
}

.model-id {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 20px;
    font-weight: 500;
}

.printer-actions {
    display: flex;
    gap: 12px;
}

.download-btn {
    flex: 1;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.4);
}

.details-btn {
    padding: 12px 20px;
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.details-btn:hover {
    background: #6366f1;
    color: white;
}

/* Additional drivers sections */
.additional-drivers-section {
    padding: 80px 0;
    background: #0f172a;
}

.additional-drivers-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #f1f5f9;
    text-align: center;
    font-weight: 700;
}

.drivers-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.driver-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.driver-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.driver-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.driver-info {
    flex: 1;
}

.driver-info h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #f1f5f9;
    font-weight: 600;
}

.verified-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 15px;
}

.driver-info p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.driver-details {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

.file-size,
.os-compatibility {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.driver-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.get-driver-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.get-driver-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
}

.details-btn-small {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.details-btn-small:hover {
    background: #6366f1;
    color: white;
}

/* Mobile responsiveness for printer pages */
@media (max-width: 768px) {
    .brand-header {
        padding: 120px 0 60px;
    }

    .brand-icon {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    .brand-info h1 {
        font-size: 2rem;
    }

    .search-controls {
        flex-direction: column;
    }

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

    .driver-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .driver-actions {
        flex-direction: row;
        justify-content: center;
    }

    .printer-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {

    .search-box,
    .printer-card,
    .driver-item {
        padding: 20px;
    }

    .brand-header {
        padding: 100px 0 50px;
    }

    .brand-info h1 {
        font-size: 1.8rem;
    }

    .model-tags {
        justify-content: center;
    }
}

/* Down
load button loading states */
.download-btn.loading,
.get-driver-btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.download-btn.loading::after,
.get-driver-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Redirect notification */
.redirect-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.redirect-notification.show {
    transform: translateX(0);
}

.redirect-notification .notification-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.redirect-notification .notification-icon::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.redirect-notification h4 {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f1f5f9;
}

.redirect-notification p {
    margin: 0;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* Header b
utton specific styling */
.btn-auto-detect {
    min-width: 120px;
    white-space: nowrap;
    font-size: 13px;
}

/* Remove any text effects from navigation */
.nav-link {
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.nav-link.active {
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    box-shadow: none !important;
}

/* Ensure header content doesn't wrap */
.header-content {
    flex-wrap: nowrap;
}

.header-action {
    flex-shrink: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .btn-auto-detect {
        font-size: 12px;
        padding: 10px 16px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .btn-auto-detect {
        font-size: 11px;
        padding: 8px 12px;
        min-width: 90px;
    }
}

/* B
rowse by Hardware Type Section */
.browse-section {
    padding: 80px 0;
    background: #0f172a;
    color: #e2e8f0;
}

.browse-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Browse Sidebar */
.browse-sidebar {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.sidebar-title {
    color: #f1f5f9;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.category-list {
    list-style: none;
    margin-bottom: 30px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.category-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #6366f1;
}

.category-name {
    flex: 1;
    color: #cbd5e1;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.category-name:hover {
    color: #6366f1;
}

.category-count {
    color: #64748b;
    font-size: 0.8rem;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    display: block;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.sponsored-content {
    margin-top: 30px;
    padding: 40px 20px;
    background: rgba(71, 85, 105, 0.3);
    border: 1px dashed rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Hardware Grid */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.hardware-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.hardware-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.hardware-card:hover::before {
    left: 100%;
}

.hardware-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

.hardware-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.hardware-card:hover .hardware-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.hardware-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.hardware-card:hover .hardware-title {
    color: #6366f1;
}

.hardware-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hardware-count {
    color: #6366f1;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.hardware-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

/* Popular Categories Links */
.popular-categories {
    margin-top: 15px;
    font-size: 0.9rem;
}

.popular-categories a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-categories a:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

/* Responsive Design for Browse Section */
@media (max-width: 1024px) {
    .browse-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .browse-sidebar {
        position: static;
        order: 2;
    }

    .hardware-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .browse-section {
        padding: 60px 0;
    }

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

    .browse-sidebar {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hardware-card {
        padding: 20px;
    }

    .hardware-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .card-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
}

/* Clear F
ilters Button */
.clear-filters-btn {
    width: 100%;
    padding: 12px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    color: #fca5a5;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.clear-filters-btn:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.5);
    transform: translateY(-2px);
}

.clear-filters-btn:active {
    transform: translateY(0);
}

* Browse by Hardware Type Section */ .browse-section {
    padding: 80px 0;
    background: #0f172a;
    color: #e2e8f0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.mb-40 {
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

.browse-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Browse Sidebar */
.browse-sidebar {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.sidebar-title {
    color: #f1f5f9;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.category-list {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.category-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #6366f1;
}

.category-name {
    flex: 1;
    color: #cbd5e1;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.category-name:hover {
    color: #6366f1;
}

.category-count {
    color: #64748b;
    font-size: 0.8rem;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    display: block;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.filter-select {
    width: 100%;
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.sponsored-content {
    margin-top: 30px;
    padding: 40px 20px;
    background: rgba(71, 85, 105, 0.3);
    border: 1px dashed rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Hardware Grid */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.hardware-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.hardware-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.hardware-card:hover::before {
    left: 100%;
}

.hardware-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

.hardware-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.hardware-card:hover .hardware-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.hardware-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.hardware-card:hover .hardware-title {
    color: #6366f1;
}

.hardware-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hardware-count {
    color: #6366f1;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.hardware-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

/* Popular Categories Links */
.popular-categories {
    margin-top: 15px;
    font-size: 0.9rem;
}

.popular-categories a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-categories a:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

/* Clear Filters Button */
.clear-filters-btn {
    width: 100%;
    padding: 12px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    color: #fca5a5;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.clear-filters-btn:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.5);
    transform: translateY(-2px);
}

.clear-filters-btn:active {
    transform: translateY(0);
}

/* Responsive Design for Browse Section */
@media (max-width: 1024px) {
    .browse-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .browse-sidebar {
        position: static;
        order: 2;
    }

    .hardware-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .browse-section {
        padding: 60px 0;
    }

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

    .browse-sidebar {
        padding: 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hardware-card {
        padding: 20px;
    }

    .hardware-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .card-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
}

/*
 Fix for Driver Card Content Overlap */
.drivers-grid .driver-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    overflow: hidden;
    box-sizing: border-box;
}

.drivers-grid .driver-card .driver-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    min-height: 45px;
    flex-shrink: 0;
}

.drivers-grid .driver-card .driver-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0;
    line-height: 1.2;
    flex: 1;
    margin-right: 8px;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.drivers-grid .driver-card .latest-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.drivers-grid .driver-card .driver-info {
    margin-bottom: 12px;
    flex-shrink: 0;
}

.drivers-grid .driver-card .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    font-size: 0.8rem;
    min-height: 18px;
}

.drivers-grid .driver-card .info-label {
    color: #94a3b8;
    font-weight: 500;
    flex-shrink: 0;
    margin-right: 8px;
    white-space: nowrap;
}

.drivers-grid .driver-card .info-value {
    color: #cbd5e1;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 60%;
}

.drivers-grid .driver-card .driver-description {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 12px;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.drivers-grid .driver-card .driver-compatibility {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.drivers-grid .driver-card .os-badge {
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
    white-space: nowrap;
}

.drivers-grid .driver-card .driver-footer {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.drivers-grid .driver-card .driver-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.drivers-grid .driver-card .download-count {
    color: #94a3b8;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.drivers-grid .driver-card .verified-status {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.drivers-grid .driver-card .driver-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    flex-shrink: 0;
}

.drivers-grid .driver-card .btn-small {
    padding: 8px 12px;
    font-size: 0.8rem;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 36px;
    box-sizing: border-box;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .drivers-grid .driver-card {
        min-height: 380px;
        padding: 18px;
    }

    .drivers-grid .driver-card .driver-title {
        font-size: 0.95rem;
    }

    .drivers-grid .driver-card .info-row {
        font-size: 0.75rem;
    }

    .drivers-grid .driver-card .driver-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .drivers-grid .driver-card {
        min-height: 360px;
        padding: 16px;
    }

    .drivers-grid .driver-card .driver-actions {
        flex-direction: column;
        gap: 6px;
    }

    .drivers-grid .driver-card .btn-small {
        min-height: 32px;
        font-size: 0.75rem;
    }

    .drivers-grid .driver-card .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        margin-bottom: 6px;
    }

    .drivers-grid .driver-card .info-value {
        text-align: left;
        max-width: 100%;
    }
}

/* 
URGENT FIX: Driver Card Content Overlap - High Specificity */
.category-content .drivers-grid .driver-card {
    background: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 450px !important;
    max-height: 450px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.category-content .drivers-grid .driver-card * {
    box-sizing: border-box !important;
}

.category-content .drivers-grid .driver-card .driver-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 10px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}

.category-content .drivers-grid .driver-card .driver-title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #f1f5f9 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    flex: 1 !important;
    margin-right: 8px !important;
    word-break: break-word !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.category-content .drivers-grid .driver-card .latest-badge {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 0.6rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.category-content .drivers-grid .driver-card .driver-info {
    margin-bottom: 10px !important;
    flex-shrink: 0 !important;
    max-height: 80px !important;
    overflow: hidden !important;
}

.category-content .drivers-grid .driver-card .info-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 3px !important;
    font-size: 0.75rem !important;
    min-height: 16px !important;
    max-height: 16px !important;
    overflow: hidden !important;
}

.category-content .drivers-grid .driver-card .info-label {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
    margin-right: 8px !important;
    white-space: nowrap !important;
    max-width: 40% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.category-content .drivers-grid .driver-card .info-value {
    color: #cbd5e1 !important;
    font-weight: 500 !important;
    text-align: right !important;
    max-width: 55% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.category-content .drivers-grid .driver-card .driver-description {
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
    flex-grow: 1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    max-height: 32px !important;
}

.category-content .drivers-grid .driver-card .driver-compatibility {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-bottom: 10px !important;
    flex-shrink: 0 !important;
    max-height: 30px !important;
    overflow: hidden !important;
}

.category-content .drivers-grid .driver-card .os-badge {
    background: rgba(99, 102, 241, 0.1) !important;
    color: #a5b4fc !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    white-space: nowrap !important;
}

.category-content .drivers-grid .driver-card .driver-footer {
    margin-bottom: 10px !important;
    flex-shrink: 0 !important;
    max-height: 25px !important;
    overflow: hidden !important;
}

.category-content .drivers-grid .driver-card .driver-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    overflow: hidden !important;
}

.category-content .drivers-grid .driver-card .download-count {
    color: #94a3b8 !important;
    font-size: 0.7rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 50% !important;
}

.category-content .drivers-grid .driver-card .verified-status {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    color: #10b981 !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.category-content .drivers-grid .driver-card .driver-actions {
    display: flex !important;
    gap: 6px !important;
    margin-top: auto !important;
    flex-shrink: 0 !important;
    max-height: 35px !important;
    overflow: hidden !important;
}

.category-content .drivers-grid .driver-card .btn-small {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
    flex: 1 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    min-height: 30px !important;
    max-height: 30px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Grid layout fix */
.category-content .drivers-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
}

/* Mobile fixes */
@media (max-width: 768px) {
    .category-content .drivers-grid {
        grid-template-columns: 1fr !important;
    }

    .category-content .drivers-grid .driver-card {
        max-width: 100% !important;
        min-height: 400px !important;
        max-height: 400px !important;
    }
}

@media (max-width: 480px) {
    .category-content .drivers-grid .driver-card {
        min-height: 380px !important;
        max-height: 380px !important;
        padding: 15px !important;
    }

    .category-content .drivers-grid .driver-card .driver-actions {
        flex-direction: column !important;
        gap: 4px !important;
        max-height: 65px !important;
    }

    .category-content .drivers-grid .driver-card .btn-small {
        min-height: 28px !important;
        max-height: 28px !important;
    }
}

/* TARG
ETED FIX: driver-info overlap issue */
.driver-info {
    position: relative !important;
    height: 70px !important;
    max-height: 70px !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
}

.driver-info .info-row {
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 16px !important;
    max-height: 16px !important;
    margin-bottom: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.driver-info .info-label {
    position: relative !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
    margin-right: 5px !important;
    max-width: 35% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    line-height: 16px !important;
}

.driver-info .info-value {
    position: relative !important;
    color: #cbd5e1 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-align: right !important;
    max-width: 60% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    line-height: 16px !important;
    flex-shrink: 1 !important;
}

/* Force container to not expand */
.driver-card .driver-info {
    contain: layout style size !important;
}

/* 
TARGETED FIX: driver-compatibility overlap issue */
.driver-compatibility {
    position: relative !important;
    height: 30px !important;
    max-height: 30px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
    align-items: flex-start !important;
    align-content: flex-start !important;
}

.driver-compatibility .os-badge {
    position: relative !important;
    background: rgba(99, 102, 241, 0.15) !important;
    color: #a5b4fc !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
    font-size: 9px !important;
    font-weight: 500 !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
    white-space: nowrap !important;
    line-height: 12px !important;
    height: 14px !important;
    max-height: 14px !important;
    display: inline-block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    max-width: 80px !important;
}

/* Force compatibility section to not expand beyond container */
.driver-card .driver-compatibility {
    contain: layout style size !important;
    clip-path: inset(0) !important;
}

/* Hide overflow badges if too many */
.driver-compatibility .os-badge:nth-child(n+4) {
    display: none !important;
}

/* Alternative: Show only first 3 badges and add "..." if more exist */
.driver-compatibility::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    background: linear-gradient(to right, transparent, rgba(30, 41, 59, 0.8) 70%) !important;
    width: 20px !important;
    height: 100% !important;
    pointer-events: none !important;
}

/* TARGET
ED FIX: driver-footer and download count overlap issue */
.driver-footer {
    position: relative !important;
    height: 18px !important;
    max-height: 18px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: none !important;
}

.driver-footer .driver-meta {
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 18px !important;
    max-height: 18px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.driver-footer .download-count {
    position: relative !important;
    color: #94a3b8 !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 50% !important;
    line-height: 18px !important;
    height: 18px !important;
    flex-shrink: 1 !important;
}

.driver-footer .download-count i {
    font-size: 8px !important;
    flex-shrink: 0 !important;
}

.driver-footer .verified-status {
    position: relative !important;
    color: #10b981 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    max-width: 45% !important;
    overflow: hidden !important;
    line-height: 18px !important;
    height: 18px !important;
}

.driver-footer .verified-status i {
    font-size: 8px !important;
    flex-shrink: 0 !important;
}

/* Force footer section to not expand beyond container */
.driver-card .driver-footer {
    contain: layout style size !important;
    clip-path: inset(0) !important;
}

/* Ensure download count text doesn't wrap */
.download-count span,
.verified-status span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* FIX: Make
 driver info text readable - Remove dots/ellipsis */
.driver-info {
    position: relative !important;
    height: 85px !important;
    max-height: 85px !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.driver-info .info-row {
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 20px !important;
    max-height: 20px !important;
    margin-bottom: 2px !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    box-sizing: border-box !important;
}

.driver-info .info-label {
    position: relative !important;
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
    margin-right: 8px !important;
    width: 35% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    line-height: 20px !important;
}

.driver-info .info-value {
    position: relative !important;
    color: #cbd5e1 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-align: right !important;
    width: 60% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    line-height: 20px !important;
    flex-shrink: 0 !important;
}

/* Increase card height to accommodate readable text */
.driver-card {
    height: 420px !important;
    max-height: 420px !important;
}

/* Adjust other sections to fit */
.driver-description {
    height: 45px !important;
    max-height: 45px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    -webkit-line-clamp: 3 !important;
}

.driver-compatibility {
    height: 32px !important;
    max-height: 32px !important;
}

.driver-compatibility .os-badge {
    font-size: 10px !important;
    padding: 2px 5px !important;
    height: 16px !important;
    line-height: 12px !important;
}

.driver-footer {
    height: 20px !important;
    max-height: 20px !important;
}

.driver-footer .download-count,
.driver-footer .verified-status {
    font-size: 11px !important;
    line-height: 20px !important;
    height: 20px !important;
}

/* Ensure actions stay at bottom */
.driver-actions {
    position: absolute !important;
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    height: 34px !important;
}

.btn-small {
    height: 34px !important;
    font-size: 12px !important;
    padding: 8px 10px !important;
}

/* CO
MPLETE REWRITE: Clean driver card layout - NO DOTS */
.drivers-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 25px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.drivers-grid .driver-card {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 480px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.drivers-grid .driver-card .driver-header {
    margin-bottom: 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.drivers-grid .driver-card .driver-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #f1f5f9 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    flex: 1 !important;
    word-wrap: break-word !important;
}

.drivers-grid .driver-card .latest-badge {
    background: #10b981 !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.drivers-grid .driver-card .driver-info {
    margin-bottom: 16px !important;
    background: rgba(15, 23, 42, 0.3) !important;
    padding: 12px !important;
    border-radius: 8px !important;
}

.drivers-grid .driver-card .info-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

.drivers-grid .driver-card .info-row:last-child {
    margin-bottom: 0 !important;
}

.drivers-grid .driver-card .info-label {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
    margin-right: 12px !important;
}

.drivers-grid .driver-card .info-value {
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    text-align: right !important;
    word-wrap: break-word !important;
}

.drivers-grid .driver-card .driver-description {
    color: #94a3b8 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
    word-wrap: break-word !important;
}

.drivers-grid .driver-card .driver-compatibility {
    margin-bottom: 16px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.drivers-grid .driver-card .os-badge {
    background: rgba(99, 102, 241, 0.2) !important;
    color: #c7d2fe !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    white-space: nowrap !important;
}

.drivers-grid .driver-card .driver-footer {
    margin-bottom: 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13px !important;
}

.drivers-grid .driver-card .download-count {
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.drivers-grid .driver-card .verified-status {
    color: #10b981 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-weight: 500 !important;
}

.drivers-grid .driver-card .driver-actions {
    position: absolute !important;
    bottom: 24px !important;
    left: 24px !important;
    right: 24px !important;
    display: flex !important;
    gap: 12px !important;
}

.drivers-grid .driver-card .btn-small {
    flex: 1 !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.3s ease !important;
}

.drivers-grid .driver-card .btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: white !important;
    border: none !important;
}

.drivers-grid .driver-card .btn-outline {
    background: transparent !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
}

.drivers-grid .driver-card .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4) !important;
}

.drivers-grid .driver-card .btn-outline:hover {
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #6366f1 !important;
}

/* Remove ALL ellipsis globally for driver cards */
.drivers-grid .driver-card,
.drivers-grid .driver-card * {
    text-overflow: clip !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    display: block !important;
}

.drivers-grid .driver-card .info-row,
.drivers-grid .driver-card .driver-footer,
.drivers-grid .driver-card .driver-actions,
.drivers-grid .driver-card .driver-compatibility {
    display: flex !important;
}

.drivers-grid .driver-card .btn-small {
    display: flex !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .drivers-grid {
        grid-template-columns: 1fr !important;
    }

    .drivers-grid .driver-card {
        min-height: 450px !important;
    }
}

/* C
RITICAL FIX: Drivers page overlap issues */

/* Fix filter overlay z-index */
.filter-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    z-index: 99999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.filter-overlay.active {
    display: flex !important;
}

.filter-overlay-content {
    background: #1e293b !important;
    border: 2px solid rgba(148, 163, 184, 0.3) !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 600px !important;
    max-height: 90vh !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7) !important;
    position: relative !important;
    z-index: 100000 !important;
}

/* Fix driver cards layout and text overlap */
.drivers-grid .driver-card {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 420px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    z-index: 1 !important;
}

.drivers-grid .driver-card .driver-header {
    margin-bottom: 12px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 10px !important;
    min-height: 40px !important;
}

.drivers-grid .driver-card .driver-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #f1f5f9 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    flex: 1 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

.drivers-grid .driver-card .latest-badge {
    background: #10b981 !important;
    color: white !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.drivers-grid .driver-card .driver-info {
    margin-bottom: 12px !important;
    background: rgba(15, 23, 42, 0.4) !important;
    padding: 10px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
}

.drivers-grid .driver-card .info-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 6px !important;
    font-size: 13px !important;
    min-height: 18px !important;
}

.drivers-grid .driver-card .info-row:last-child {
    margin-bottom: 0 !important;
}

.drivers-grid .driver-card .info-label {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
    margin-right: 8px !important;
    width: 35% !important;
}

.drivers-grid .driver-card .info-value {
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    text-align: right !important;
    width: 60% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.drivers-grid .driver-card .driver-description {
    color: #94a3b8 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.drivers-grid .driver-card .driver-compatibility {
    margin-bottom: 12px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}

.drivers-grid .driver-card .os-badge {
    background: rgba(99, 102, 241, 0.2) !important;
    color: #c7d2fe !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    white-space: nowrap !important;
}

.drivers-grid .driver-card .driver-footer {
    margin-bottom: 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 12px !important;
}

.drivers-grid .driver-card .download-count {
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex: 1 !important;
}

.drivers-grid .driver-card .verified-status {
    color: #10b981 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
}

.drivers-grid .driver-card .driver-actions {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    display: flex !important;
    gap: 10px !important;
}

.drivers-grid .driver-card .btn-small {
    flex: 1 !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    transition: all 0.3s ease !important;
    min-height: 36px !important;
}

.drivers-grid .driver-card .btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: white !important;
    border: none !important;
}

.drivers-grid .driver-card .btn-outline {
    background: transparent !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
}

.drivers-grid .driver-card .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4) !important;
    text-decoration: none !important;
    color: white !important;
}

.drivers-grid .driver-card .btn-outline:hover {
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #6366f1 !important;
    text-decoration: none !important;
}

/* Fix grid layout */
.drivers-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
}

/* Fix search form layout */
.search-form {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 600px !important;
}

.search-input {
    flex: 1 !important;
    padding: 12px 16px !important;
    background: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 8px !important;
    color: #e2e8f0 !important;
    font-size: 14px !important;
}

.filter-btn {
    padding: 12px 16px !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.search-btn {
    padding: 12px 16px !important;
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .drivers-grid {
        grid-template-columns: 1fr !important;
    }

    .drivers-grid .driver-card {
        min-height: 400px !important;
    }

    .search-form {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .filter-btn,
    .search-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Ensure no other elements interfere with overlay */
body.filter-open {
    overflow: hidden !important;
}

.filter-overlay * {
    z-index: inherit !important;
}

/* Fix any remaining text overflow issues */
.drivers-grid .driver-card * {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Remove any conflicting styles */
.drivers-grid .driver-card .tooltip,
.drivers-grid .driver-card .popup,
.drivers-grid .driver-card .overlay {
    display: none !important;
}

/* 
DRIVERS PAGE: Proper Left Sidebar Layout */

/* Show desktop sidebar properly */
.drivers-content .content-layout {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 40px !important;
}

.drivers-content .drivers-sidebar {
    background: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    backdrop-filter: blur(10px) !important;
    height: fit-content !important;
    position: sticky !important;
    top: 100px !important;
    display: block !important;
}

.drivers-content .filter-section h3 {
    color: #f1f5f9 !important;
    font-size: 1.2rem !important;
    margin-bottom: 25px !important;
    font-weight: 600 !important;
}

.drivers-content .filter-group {
    margin-bottom: 20px !important;
}

.drivers-content .filter-label {
    display: block !important;
    color: #cbd5e1 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}

.drivers-content .filter-select {
    width: 100% !important;
    padding: 10px 12px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 8px !important;
    color: #e2e8f0 !important;
    font-size: 0.9rem !important;
    transition: border-color 0.3s ease !important;
}

.drivers-content .filter-select:focus {
    outline: none !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.drivers-content .clear-filters-btn {
    width: 100% !important;
    padding: 12px !important;
    background: rgba(220, 38, 38, 0.1) !important;
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
    border-radius: 8px !important;
    color: #fca5a5 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.drivers-content .clear-filters-btn:hover {
    background: rgba(220, 38, 38, 0.2) !important;
    border-color: rgba(220, 38, 38, 0.5) !important;
    transform: translateY(-2px) !important;
}

.drivers-content .sidebar-ad {
    margin-top: 30px !important;
    padding: 40px 20px !important;
    background: rgba(71, 85, 105, 0.3) !important;
    border: 1px dashed rgba(148, 163, 184, 0.3) !important;
    border-radius: 12px !important;
    text-align: center !important;
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
}

/* Hide filter button on desktop */
.drivers-content .filter-btn {
    display: none !important;
}

/* Main content area */
.drivers-content .drivers-main {
    color: #e2e8f0 !important;
    min-height: 100vh !important;
}

.drivers-content .drivers-search {
    margin-bottom: 30px !important;
}

.drivers-content .search-form {
    display: flex !important;
    gap: 10px !important;
    max-width: 500px !important;
}

.drivers-content .search-input {
    flex: 1 !important;
    padding: 12px 16px !important;
    background: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 8px !important;
    color: #e2e8f0 !important;
    font-size: 14px !important;
    backdrop-filter: blur(10px) !important;
}

.drivers-content .search-input:focus {
    outline: none !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.drivers-content .search-btn {
    padding: 12px 20px !important;
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.drivers-content .search-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4) !important;
}

.drivers-content .results-info {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 30px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1) !important;
}

.drivers-content .results-count {
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
}

.drivers-content .view-toggle {
    display: flex !important;
    gap: 5px !important;
}

.drivers-content .view-btn {
    width: 40px !important;
    height: 40px !important;
    background: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 8px !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.drivers-content .view-btn.active,
.drivers-content .view-btn:hover {
    background: #6366f1 !important;
    border-color: #6366f1 !important;
    color: white !important;
}

/* Mobile responsive - hide sidebar and show filter button */
@media (max-width: 1024px) {
    .drivers-content .content-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .drivers-content .drivers-sidebar {
        display: none !important;
    }

    .drivers-content .filter-btn {
        display: flex !important;
    }

    .drivers-content .search-form {
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .drivers-content .search-form {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .drivers-content .filter-btn,
    .drivers-content .search-btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .drivers-content .results-info {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: flex-start !important;
    }
}


/* Beautiful Redirect Modal */
.redirect-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.redirect-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

.redirect-modal-content {
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.3s ease;
    position: relative;
}

.redirect-modal-header {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 30px;
    text-align: center;
    position: relative;
}

.redirect-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.redirect-modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.redirect-modal-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.redirect-modal-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.redirect-modal-body {
    padding: 30px;
    text-align: center;
}

.redirect-info {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
}

.redirect-driver-name {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.redirect-manufacturer {
    color: #6366f1;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.redirect-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.redirect-url {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    color: #a5b4fc;
    font-size: 0.8rem;
    font-family: monospace;
    word-break: break-all;
}

.redirect-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.redirect-warning-icon {
    color: #fbbf24;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.redirect-warning-text {
    color: #fcd34d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.redirect-modal-actions {
    display: flex;
    gap: 12px;
}

.redirect-cancel-btn {
    flex: 1;
    padding: 14px 20px;
    background: rgba(71, 85, 105, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    color: #cbd5e1;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.redirect-cancel-btn:hover {
    background: rgba(71, 85, 105, 0.7);
    border-color: rgba(148, 163, 184, 0.5);
    transform: translateY(-2px);
}

.redirect-confirm-btn {
    flex: 2;
    padding: 14px 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.redirect-confirm-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.redirect-confirm-btn:hover::before {
    left: 100%;
}

.redirect-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
}

.redirect-countdown {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-top: 15px;
    text-align: center;
}

.redirect-countdown-number {
    color: #6366f1;
    font-weight: 700;
    font-size: 1rem;
}

/* Security badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 500;
}

.security-badge i {
    font-size: 0.9rem;
}

/* Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

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

/* Mobile responsive */
@media (max-width: 768px) {
    .redirect-modal-content {
        max-width: 90%;
        margin: 20px;
    }

    .redirect-modal-header {
        padding: 25px 20px;
    }

    .redirect-modal-body {
        padding: 25px 20px;
    }

    .redirect-modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .redirect-modal-title {
        font-size: 1.3rem;
    }

    .redirect-modal-actions {
        flex-direction: column;
    }

    .redirect-cancel-btn,
    .redirect-confirm-btn {
        flex: none;
    }
}

/* Enha
nced Modal Responsive Design */

/* 13-inch Laptop screens - Modal improvements */
@media (max-width: 1440px) {
    .redirect-modal-content {
        max-width: 420px !important;
        margin: 20px !important;
        max-height: 70vh !important;
    }

    .redirect-modal-header {
        padding: 18px !important;
    }

    .redirect-modal-body {
        padding: 18px !important;
    }

    .redirect-modal-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }

    .redirect-modal-title {
        font-size: 1.2rem !important;
        margin-bottom: 4px !important;
    }

    .redirect-modal-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 0 !important;
    }
}

/* Tablet screens - Modal improvements */
@media (max-width: 1024px) {
    .redirect-modal-content {
        max-width: 380px !important;
        margin: 20px !important;
        max-height: 65vh !important;
    }

    .redirect-modal-header {
        padding: 16px !important;
    }

    .redirect-modal-body {
        padding: 16px !important;
    }

    .redirect-modal-actions {
        gap: 8px !important;
    }

    .redirect-cancel-btn,
    .redirect-confirm-btn {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
}

/* Enhanced Mobile Modal Styles */
@media (max-width: 768px) {
    .redirect-modal-content {
        max-width: 95% !important;
        margin: 15px !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
    }

    .redirect-modal-header {
        padding: 20px !important;
    }

    .redirect-modal-body {
        padding: 20px !important;
    }

    .redirect-modal-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }

    .redirect-modal-title {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    .redirect-modal-subtitle {
        font-size: 0.9rem !important;
    }

    .redirect-modal-actions {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .redirect-cancel-btn,
    .redirect-confirm-btn {
        width: 100% !important;
        padding: 14px !important;
        font-size: 15px !important;
        flex: none !important;
    }

    .redirect-info {
        margin-bottom: 20px !important;
    }

    .redirect-driver-name {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }

    .redirect-manufacturer {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }

    .redirect-description {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
    }

    .redirect-url {
        font-size: 0.8rem !important;
        word-break: break-all !important;
        background: rgba(30, 41, 59, 0.5) !important;
        padding: 8px !important;
        border-radius: 6px !important;
    }

    .security-badges {
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin: 16px 0 !important;
        justify-content: center !important;
    }

    .security-badge {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
        flex: 1 1 auto !important;
        min-width: 80px !important;
        text-align: center !important;
    }

    .redirect-warning {
        margin: 16px 0 !important;
        padding: 12px !important;
    }

    .redirect-warning-text {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}

/* Small mobile screens - Modal improvements */
@media (max-width: 480px) {
    .redirect-modal-content {
        margin: 10px !important;
        max-height: 95vh !important;
    }

    .redirect-modal-header {
        padding: 16px !important;
    }

    .redirect-modal-body {
        padding: 16px !important;
    }

    .redirect-modal-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }

    .redirect-modal-title {
        font-size: 1.1rem !important;
    }

    .redirect-modal-subtitle {
        font-size: 0.85rem !important;
    }

    .redirect-driver-name {
        font-size: 1rem !important;
    }

    .redirect-url {
        font-size: 0.75rem !important;
    }

    .security-badges {
        flex-direction: column !important;
        gap: 6px !important;
    }

    .security-badge {
        justify-content: center !important;
        min-width: auto !important;
    }

    .redirect-warning {
        padding: 10px !important;
    }

    .redirect-warning-text {
        font-size: 0.8rem !important;
    }
}

/* Header improvements for 13-inch laptops */
@media (max-width: 1440px) {
    .header-content {
        padding: 16px 0 !important;
    }

    .logo-text {
        font-size: 22px !important;
    }

    .nav-links {
        gap: 20px !important;
    }

    .nav-link {
        font-size: 11px !important;
        padding: 8px 13px !important;
    }

    .btn-auto-detect {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
}

/* Footer improvements for smaller screens */
@media (max-width: 1440px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr !important;
        gap: 30px !important;
    }

    .footer-left {
        max-width: none !important;
    }

    .footer-description {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }

    .footer-left {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
}

/* Content card improvements for 13-inch screens */
@media (max-width: 1440px) {
    .driver-card {
        padding: 20px !important;
        min-height: 320px !important;
    }

    .driver-title {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }

    .driver-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .hardware-card {
        padding: 20px !important;
        min-height: 200px !important;
    }

    .hardware-title {
        font-size: 1.1rem !important;
    }

    .hardware-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .brand-card {
        padding: 20px !important;
        min-height: 140px !important;
    }

    .printer-brand-card {
        padding: 24px !important;
        min-height: 280px !important;
    }
}

/* Search and form improvements */
@media (max-width: 1440px) {
    .search-input {
        padding: 14px 18px !important;
        font-size: 15px !important;
    }

    .search-btn {
        padding: 14px 20px !important;
        font-size: 15px !important;
    }

    .filter-select {
        padding: 10px 12px !important;
        font-size: 14px !important;
    }

    .btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }

    .btn-small {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }
}

/* Test
 Modal Button Responsive */
@media (max-width: 768px) {
    button[onclick="testModal()"] {
        bottom: 15px !important;
        right: 15px !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
    }
}

@media (max-width: 480px) {
    button[onclick="testModal()"] {
        bottom: 10px !important;
        right: 10px !important;
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
}

/* Ensure modal is always on top and properly centered */
.redirect-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    padding: 20px !important;
}

.redirect-modal.active {
    display: flex !important;
}

/* Improve modal content positioning */
.redirect-modal-content {
    position: relative !important;
    width: 100% !important;
    max-width: 480px !important;
    max-height: 75vh !important;
    overflow-y: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
}

/* Smooth animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

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

.redirect-modal.active .redirect-modal-content {
    animation: modalFadeIn 0.3s ease !important;
}

/* Co
mpact Modal Content Styles */
.redirect-modal-content {
    max-width: 420px !important;
    max-height: 70vh !important;
}

.redirect-modal-header {
    padding: 16px 20px !important;
}

.redirect-modal-body {
    padding: 16px 20px !important;
}

.redirect-modal-icon {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
}

.redirect-modal-title {
    font-size: 1.1rem !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
}

.redirect-modal-subtitle {
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
    line-height: 1.3 !important;
}

.redirect-info {
    margin-bottom: 16px !important;
}

.redirect-driver-name {
    font-size: 1rem !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

.redirect-manufacturer {
    font-size: 0.8rem !important;
    margin-bottom: 6px !important;
}

.redirect-description {
    font-size: 0.75rem !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
    max-height: 3.9rem !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

.redirect-url {
    font-size: 0.7rem !important;
    padding: 6px 8px !important;
    margin-bottom: 12px !important;
    border-radius: 4px !important;
    word-break: break-all !important;
    max-height: 2.5rem !important;
    overflow: hidden !important;
}

.security-badges {
    display: flex !important;
    gap: 6px !important;
    margin: 12px 0 !important;
    flex-wrap: wrap !important;
}

.security-badge {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    flex: 1 !important;
    min-width: 70px !important;
    text-align: center !important;
}

.redirect-warning {
    margin: 12px 0 !important;
    padding: 8px !important;
    border-radius: 6px !important;
}

.redirect-warning-icon {
    width: 16px !important;
    height: 16px !important;
    font-size: 0.8rem !important;
}

.redirect-warning-text {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
}

.redirect-modal-actions {
    gap: 8px !important;
    margin-top: 16px !important;
}

.redirect-cancel-btn,
.redirect-confirm-btn {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    min-height: 36px !important;
}

/* Extra compact for very small screens */
@media (max-height: 600px) {
    .redirect-modal-content {
        max-height: 85vh !important;
    }

    .redirect-modal-header {
        padding: 12px 16px !important;
    }

    .redirect-modal-body {
        padding: 12px 16px !important;
    }

    .redirect-modal-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    .redirect-modal-title {
        font-size: 1rem !important;
        margin-bottom: 2px !important;
    }

    .redirect-modal-subtitle {
        font-size: 0.75rem !important;
    }

    .redirect-description {
        -webkit-line-clamp: 2 !important;
        max-height: 2.6rem !important;
    }

    .redirect-warning {
        margin: 8px 0 !important;
        padding: 6px !important;
    }

    .security-badges {
        margin: 8px 0 !important;
    }

    .redirect-modal-actions {
        margin-top: 12px !important;
    }
}