:root {
    --bg-color: #0d1117;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --accent: #58a6ff;
    --border-color: #30363d;
    --card-bg: rgba(22, 27, 34, 0.6);
    --hover-bg: rgba(48, 54, 61, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --success: #3fb950;
    --error: #f85149;
    --na: #6e7681;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
}

body::before { top: -10vw; left: -10vw; width: 40vw; height: 40vw; background: #58a6ff; }
body::after { bottom: -10vw; right: -10vw; width: 30vw; height: 30vw; background: #8957e5; }

.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.app-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding: 2rem 0;
}

.app-header h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, #fff, #8b949e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.sku-selector {
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0 auto 2rem;
    max-width: 800px;
    backdrop-filter: blur(10px);
}

.sku-selector h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.checkbox-label:hover {
    color: var(--text-primary);
}

.checkbox-label input {
    display: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s;
}

.checkbox-label input:checked + .custom-checkbox {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input:checked + .custom-checkbox::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.controls {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

#searchInput {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background: rgba(13, 17, 23, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-primary);
    width: 100%;
    max-width: 400px;
    outline: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

#searchInput:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}

.section-container {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--accent);
}

.table-scroll-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(20px);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 600;
    color: #fff;
    background: rgba(22, 27, 34, 0.95);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 160px;
    box-shadow: 0 1px 0 var(--border-color);
}

th.feature-col {
    min-width: 250px;
}

tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background-color: var(--hover-bg);
}

tbody td {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

tbody td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.status-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-included { background: rgba(63, 185, 80, 0.1); color: var(--success); border: 1px solid rgba(63, 185, 80, 0.2); }
.status-not-included { background: rgba(248, 81, 73, 0.1); color: var(--error); border: 1px solid rgba(248, 81, 73, 0.2); }
.status-na { background: rgba(110, 118, 129, 0.1); color: var(--na); border: 1px solid rgba(110, 118, 129, 0.2); }
.status-text { background: rgba(88, 166, 255, 0.1); color: var(--accent); border: 1px solid rgba(88, 166, 255, 0.2); }

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

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

tbody tr {
    animation: fadeIn 0.4s ease forwards;
    animation-delay: calc(var(--row-idx) * 0.01s);
    opacity: 0;
}
