:root {
    --bg-dark: #0A0A0F;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-card: rgba(255, 255, 255, 0.08);
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    --accent-blue: #3B82F6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --accent-purple: #8B5CF6;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Glow Effect */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.05), transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border-card);
    margin-bottom: 3rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.hero .highlight {
    background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Layout */
.main-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

/* Sidebar */
.sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 0.5rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.filter-label:hover {
    color: var(--accent-blue);
}

.filter-label input {
    margin-right: 0.75rem;
    accent-color: var(--accent-blue);
    width: 16px;
    height: 16px;
}

.btn-reset {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 1px solid var(--border-card);
    color: var(--text-main);
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-reset:hover {
    background: var(--border-card);
    border-color: var(--text-muted);
}

/* Main Content */
.content-header {
    margin-bottom: 2rem;
}

.content-header h2 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

/* Cards (Glassmorphism) */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(59, 130, 246, 0.15);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
}

.tag-program {
    background: rgba(139, 92, 246, 0.15);
    color: #C4B5FD;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.tag-area {
    background: rgba(59, 130, 246, 0.15);
    color: #93C5FD;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.card-course-code {
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.card h4 {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.card p {
    font-size: 0.95rem;
    color: #E4E4E7;
}

.card .objective-box {
    background: rgba(0,0,0,0.3);
    border-left: 3px solid var(--accent-blue);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1rem;
    font-style: italic;
}

.comparison-box {
    margin-top: auto;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid var(--border-card);
}

.comparison-row {
    margin-bottom: 1rem;
}

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

.badge-old, .badge-new {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.badge-old {
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
}

.badge-new {
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

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