@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #d97706; /* Warmer amber for light mode */
    --accent-hover: #b45309;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-main: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(15, 23, 42, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(15, 23, 42, 0.1);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(219, 234, 254, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(219, 234, 254, 0.4) 0%, transparent 50%);
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 4rem;
    margin: 4rem 0;
    box-shadow: var(--shadow-premium);
    animation: fadeInUp 1s ease-out;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    z-index: -2;
    opacity: 0.15; /* Much lower for light mode */
    mask-image: linear-gradient(to bottom, black 40%, transparent);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    border: 1px solid rgba(251, 191, 36, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

/* Grid Layouts */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(217, 119, 6, 0.3);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.section-label {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

/* Lists */
ul {
    list-style: none;
}

li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Curriculum Section */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.semester-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
}

.semester-card h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .glass-container {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}
