:root {
            --primary: #4f46e5;
            --primary-hover: #4338ca;
            --bg: #f1f5f9;
            --card-bg: #ffffff;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --success: #22c55e;
            --border: #e2e8f0;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
        }

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

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        @keyframes cardPop {
            0% { transform: scale(0.95); opacity: 0; }
            70% { transform: scale(1.02); opacity: 1; }
            100% { transform: scale(1); }
        }

        body {
            font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            color: var(--text-main);
            margin: 0;
            padding: 20px;
            line-height: 1.6;
        }

        .container {
            max-width: 1100px;
            margin: auto;
            animation: fadeInUp 0.8s ease-out forwards;
        }

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

        h1 {
            font-size: 3rem;
            margin-bottom: 10px;
            color: var(--text-main);
            letter-spacing: -1px;
        }

        .selectors {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            background: white;
            padding: 30px;
            border-radius: 20px;
            box-shadow: var(--shadow);
            margin-bottom: 30px;
        }

        .selector-group label {
            display: block;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text-muted);
            text-transform: uppercase;
            font-size: 0.8rem;
            letter-spacing: 1px;
        }

        select {
            width: 100%;
            padding: 15px;
            border: 2px solid var(--border);
            border-radius: 10px;
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }

        select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
        }

        .action-bar {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 30px;
        }

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

        .model-card {
            background: var(--card-bg);
            border-radius: 24px;
            padding: 40px;
            box-shadow: var(--shadow);
            border: 1px solid white;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .model-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
            border-color: var(--primary);
        }

        .model-card h2 {
            margin-top: 0;
            color: var(--primary);
            font-size: 1.8rem;
            border-bottom: 2px solid var(--bg);
            padding-bottom: 20px;
        }

        .verdict-badge {
            position: absolute;
            top: 30px;
            right: 30px;
            background: var(--success);
            color: white;
            padding: 6px 14px;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 800;
            animation: pulse 2s infinite;
            box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
        }

        .spec-row {
            display: flex;
            justify-content: space-between;
            padding: 14px 0;
            border-bottom: 1px solid var(--bg);
        }

        .spec-label {
            color: var(--text-muted);
            font-weight: 600;
        }

        /* Analysis Section */
        .analysis-card {
            background: #eef2ff;
            border: 2px solid var(--primary);
            padding: 30px;
            border-radius: 24px;
            margin-bottom: 40px;
            box-shadow: var(--shadow);
        }

        .analysis-card h3 {
            margin-top: 0;
            color: var(--primary);
            font-size: 1.4rem;
        }

        .analysis-card p {
            margin: 10px 0;
            font-size: 1.1rem;
        }

        .analysis-card .highlight {
            font-weight: 800;
            color: var(--success);
        }

        .chart-container {
            background: white;
            padding: 30px;
            border-radius: 24px;
            box-shadow: var(--shadow);
            margin-bottom: 40px;
            height: 450px;
            border: 1px solid white;
        }

        .placeholder {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-muted);
            border: 2px dashed var(--border);
            border-radius: 20px;
            font-style: italic;
        }

        .table-wrapper {
            overflow-x: auto;
            background: white;
            border-radius: 24px;
            box-shadow: var(--shadow);
            padding: 20px;
            border: 1px solid white;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th {
            position: sticky;
            top: 0;
            background: #f8fafc;
            padding: 20px;
            text-align: center;
            font-weight: 700;
            z-index: 10;
            border-bottom: 2px solid var(--border);
        }

        td {
            padding: 20px;
            text-align: center;
            border-bottom: 1px solid var(--border);
        }

        .best-row {
            background-color: #f0fdf4 !important;
        }

        .print-btn {
            background: var(--primary);
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
        }

        .print-btn:hover {
            background: var(--primary-hover);
            transform: scale(1.05);
        }

        @media (max-width: 768px) {
            .comparison-grid {
                grid-template-columns: 1fr;
            }
        }