        :root {
            --primary-blue: #007bff;
            --primary-rgb: 0, 123, 255;
            --secondary-teal: #17a2b8;
            --secondary-rgb: 23, 162, 184;
            --success-color: #28a745;
            --light-green: #20c997;
            --warning-color: #ffc107;
            --text-color: #333;
            --text-primary: #2d3748;
            --text-secondary: #4a5568;
            --text-light: #718096;
            --bg-light: #f8f9fa;
            --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.07);
            --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
            --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--text-primary);
            min-height: 100vh;
            color: var(--text-color);
            overflow-x: hidden;
        }

        /* Particles Background */
        .particles-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            background-image:
                radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
            background-size: 100px 100px, 80px 80px;
            animation: particlesMove 20s linear infinite;
        }

        @keyframes particlesMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(-100px, -100px); }
        }

        /* Page Container */
        .page-container {
            position: relative;
            z-index: 2;
            max-width: 1000px;
            margin: 0 auto;
            padding: 100px 1rem 2rem;
        }

        /* Header Card */
        .header-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(30px);
            border-radius: 32px;
            padding: 3rem 2rem 2.5rem;
            text-align: center;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-heavy);
            border: 1px solid rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
        }

        .header-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-blue), var(--secondary-teal), var(--success-color), var(--light-green));
            animation: headerGlow 3s ease infinite;
        }

        @keyframes headerGlow {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        .tool-icon {
            width: 90px;
            height: 90px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: white;
            box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
            animation: iconFloat 3s ease-in-out infinite;
        }

        @keyframes iconFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-8px); }
        }

        .page-title {
            font-family: 'Montserrat', sans-serif;
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.75rem;
        }

        .page-subtitle {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            max-width: 550px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Header Stats */
        .header-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            max-width: 700px;
            margin: 0 auto;
        }

        .stat-card {
            padding: 1rem;
            border-radius: 16px;
            text-align: center;
        }

        .stat-card i {
            margin-bottom: 0.25rem;
        }

        .stat-card h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            margin: 0.5rem 0 0.25rem;
        }

        .stat-card small {
            color: var(--text-light);
            font-size: 0.8rem;
        }

        .stat-blue {
            background: rgba(0, 123, 255, 0.08);
            border: 1px solid rgba(0, 123, 255, 0.15);
        }

        .stat-blue i { color: var(--primary-blue); }

        .stat-teal {
            background: rgba(23, 162, 184, 0.08);
            border: 1px solid rgba(23, 162, 184, 0.15);
        }

        .stat-teal i { color: var(--secondary-teal); }

        .stat-green {
            background: rgba(40, 167, 69, 0.08);
            border: 1px solid rgba(40, 167, 69, 0.15);
        }

        .stat-green i { color: var(--success-color); }

        /* Main Content Card */
        .main-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(30px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 32px;
            box-shadow: var(--shadow-heavy);
            overflow: hidden;
            margin-bottom: 2rem;
        }

        /* Search Section */
        .search-section {
            background: linear-gradient(135deg, var(--bg-light), #e9ecef);
            padding: 2.5rem 2rem;
        }

        .search-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .search-title {
            text-align: center;
            color: var(--primary-blue);
            font-weight: 700;
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
        }

        .search-input-group {
            position: relative;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .search-input {
            font-size: 1.3rem;
            padding: 1.25rem 1.75rem 1.25rem 3.5rem;
            border: 2px solid rgba(var(--primary-rgb), 0.2);
            border-radius: 16px;
            background: white;
            box-shadow: var(--shadow-light);
            transition: all 0.3s ease;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 1px;
            flex: 1;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.15), 0 8px 25px rgba(0,0,0,0.08);
            transform: translateY(-2px);
        }

        .search-icon {
            position: absolute;
            left: 1.25rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary-blue);
            font-size: 1.3rem;
            z-index: 5;
        }

        .search-btn {
            font-size: 1.1rem;
            padding: 1.1rem 1.75rem;
            border-radius: 16px;
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
            border: none;
            color: white;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }

        .search-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;
        }

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

        .search-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(var(--primary-rgb), 0.4);
        }

        .search-filters {
            display: flex;
            gap: 0.6rem;
            flex-wrap: wrap;
            justify-content: center;
            margin-bottom: 1.5rem;
        }

        .filter-btn {
            padding: 0.6rem 1.2rem;
            border: 2px solid rgba(var(--primary-rgb), 0.2);
            background: white;
            color: var(--primary-blue);
            border-radius: 25px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .filter-btn:hover, .filter-btn.active {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
            color: white;
            border-color: var(--primary-blue);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.25);
        }

        .search-hint {
            color: var(--text-light);
            font-size: 0.85rem;
        }

        /* Result Section */
        .result-section {
            padding: 2rem;
            display: none;
        }

        .result-card {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: var(--shadow-medium);
            position: relative;
            overflow: hidden;
        }

        .result-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-blue), var(--secondary-teal));
        }

        .code-display {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
            color: white;
            padding: 1.5rem;
            border-radius: 16px;
            text-align: center;
            margin-bottom: 2rem;
            box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.25);
        }

        .code-number {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
            font-family: 'Montserrat', sans-serif;
        }

        .code-description {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .severity-badge {
            display: inline-block;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .severity-low {
            background: rgba(40, 167, 69, 0.1);
            color: var(--success-color);
            border: 2px solid rgba(40, 167, 69, 0.3);
        }

        .severity-medium {
            background: rgba(255, 193, 7, 0.1);
            color: #d39e00;
            border: 2px solid rgba(255, 193, 7, 0.3);
        }

        .severity-high {
            background: rgba(220, 53, 69, 0.1);
            color: #dc3545;
            border: 2px solid rgba(220, 53, 69, 0.3);
        }

        .diagnosis-section, .solution-section {
            margin-bottom: 1.5rem;
        }

        .section-title {
            color: var(--primary-blue);
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .diagnosis-steps, .solution-steps {
            background: var(--bg-light);
            border-radius: 16px;
            padding: 1.5rem;
            border-left: 4px solid var(--primary-blue);
        }

        .step-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 0.75rem;
            padding: 1rem;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }

        .step-item:last-child {
            margin-bottom: 0;
        }

        .step-number {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
            color: white;
            width: 28px;
            height: 28px;
            min-width: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.85rem;
            margin-right: 1rem;
        }

        .step-content { flex: 1; }

        .step-title {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.25rem;
            font-size: 0.95rem;
        }

        .step-description {
            color: var(--text-light);
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .btn-new-search {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
            color: white;
            border: none;
            border-radius: 16px;
            padding: 0.75rem 2rem;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .btn-new-search:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
            color: white;
        }

        /* Database Section */
        .database-section {
            padding: 2.5rem 2rem;
            background: var(--bg-light);
        }

        .database-title {
            color: var(--primary-blue);
            font-weight: 700;
            font-size: 1.3rem;
        }

        .database-subtitle {
            color: var(--text-light);
            font-size: 0.95rem;
        }

        .brand-tabs {
            margin-bottom: 1.5rem;
        }

        .nav-pills .nav-link {
            border-radius: 25px;
            padding: 0.6rem 1.2rem;
            margin: 0.25rem;
            font-weight: 600;
            font-size: 0.9rem;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            color: var(--text-secondary);
        }

        .nav-pills .nav-link:hover {
            background: rgba(var(--primary-rgb), 0.08);
            border-color: rgba(var(--primary-rgb), 0.2);
        }

        .nav-pills .nav-link.active {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
            border-color: var(--primary-blue);
            color: white;
            box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
        }

        .codes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.25rem;
            margin-top: 1.5rem;
        }

        .code-card {
            background: white;
            border-radius: 16px;
            padding: 1.25rem;
            box-shadow: var(--shadow-light);
            transition: all 0.3s ease;
            cursor: pointer;
            border: 2px solid transparent;
        }

        .code-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-medium);
            border-color: var(--primary-blue);
        }

        .code-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.75rem;
        }

        .code-card-number {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary-blue);
            font-family: 'Montserrat', sans-serif;
        }

        .code-card-title {
            font-weight: 600;
            margin-bottom: 0.35rem;
            color: var(--text-primary);
            font-size: 0.95rem;
        }

        .code-card-description {
            color: var(--text-light);
            font-size: 0.85rem;
            line-height: 1.5;
        }

        /* Navigation Buttons */
        .nav-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .nav-btn {
            padding: 0.85rem 1.75rem;
            border: none;
            border-radius: 16px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.95rem;
        }

        .nav-btn-primary {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
            color: white;
            box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.25);
        }

        .nav-btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.35);
            color: white;
        }

        .nav-btn-secondary {
            background: rgba(255, 255, 255, 0.95);
            color: var(--primary-blue);
            border: 2px solid rgba(var(--primary-rgb), 0.3);
        }

        .nav-btn-secondary:hover {
            background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
            color: white;
            border-color: var(--primary-blue);
            transform: translateY(-2px);
        }

        /* Footer */
        .page-footer {
            text-align: center;
            padding: 1.5rem 0;
            background: rgba(0, 0, 0, 0.2);
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .page-container {
                padding: 80px 0.75rem 1.5rem;
            }

            .header-card {
                padding: 2rem 1.25rem 1.75rem;
                border-radius: 24px;
            }

            .page-title { font-size: 1.6rem; }

            .header-stats {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }

            .stat-card {
                display: flex;
                align-items: center;
                gap: 0.75rem;
                text-align: left;
                padding: 0.75rem 1rem;
            }

            .stat-card i { margin-bottom: 0; font-size: 1.5rem !important; }
            .stat-card h4 { margin: 0; font-size: 1rem; }
            .stat-card small { display: block; }

            .main-card { border-radius: 24px; }

            .search-section { padding: 1.75rem 1.25rem; }

            .search-input {
                font-size: 1.1rem;
                padding: 1rem 1.5rem 1rem 3rem;
            }

            .search-input-group {
                flex-direction: column;
            }

            .search-btn {
                width: 100%;
                padding: 0.85rem;
            }

            .search-filters { gap: 0.4rem; }

            .filter-btn {
                padding: 0.5rem 0.9rem;
                font-size: 0.8rem;
            }

            .result-section { padding: 1.25rem; }
            .result-card { padding: 1.5rem; }
            .code-number { font-size: 2rem; }
            .codes-grid { grid-template-columns: 1fr; }
            .database-section { padding: 2rem 1.25rem; }

            .nav-buttons {
                flex-direction: column;
                align-items: center;
            }

            .nav-btn { width: 100%; justify-content: center; max-width: 280px; }
        }

        /* Animations */
        .bounce-in {
            animation: bounceIn 0.6s ease-out;
        }

        @keyframes bounceIn {
            0% { opacity: 0; transform: scale(0.3); }
            50% { opacity: 1; transform: scale(1.05); }
            70% { transform: scale(0.9); }
            100% { opacity: 1; transform: scale(1); }
        }
