@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,700;1,500&family=Outfit:wght@300;400;600&display=swap');

:root {
    /* Updated Color Palette: Luxury Dark Mode */
    --bg-base: #0A0A0A; /* Deep Charcoal */
    --bg-card: #141414; /* Elevated Dark Grey */
    --text-primary: #E5E5E5; /* Platinum White */
    --text-secondary: #A1A1AA; /* Slate Grey */
    --accent: #D4AF37; /* Metallic Latte / Gold */
    --accent-hover: #B8860B;
    --border-light: rgba(255, 255, 255, 0.1);
    --white: #FFFFFF;
    
    /* Shadow System - Adjusted for Dark Mode */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.8);
    --shadow-deep: 0 30px 60px rgba(0, 0, 0, 0.9);
    
    /* Sizing & Borders */
    --radius-xl: 40px;
    --radius-lg: 24px;
    --radius-md: 12px;
    --max-width: 1200px;
    --padding-section: 140px;
    
    /* Transitions */
    --transition-smooth: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.1;
    color: var(--white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1.2rem 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    opacity: 0.6;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 1.4rem 3.5rem;
    border-radius: 60px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    filter: brightness(1.1);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 1)), url('assets/hero_dark.png') no-repeat center center;
    background-size: cover;
}

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 7rem);
    margin-bottom: 2.5rem;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* --- SECTIONS COMMON --- */
section {
    padding: var(--padding-section) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.section-title span {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

/* --- DIFFERENTIALS --- */
.differentials {
    background: #000;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
}

.diff-card {
    text-align: center;
    padding: 2rem;
}

.diff-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.diff-card p {
    font-weight: 300;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- CATALOG PAGES --- */
.course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.course-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
}

.course-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 0;
    background: var(--accent);
    transition: var(--transition-smooth);
}

.course-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateX(10px);
}

.course-item.active {
    background: #1a1a1a;
    border-color: var(--accent);
}

.course-item.active::before {
    height: 100%;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-header h4 {
    font-size: 2.2rem;
}

.course-content {
    display: none;
    padding-top: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.course-item.active .course-content {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

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

/* --- FOOTER --- */
footer {
    padding: 100px 0 50px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.newsletter-form {
    max-width: 600px;
    margin: 4rem auto;
    display: flex;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    background: #111;
    border: 1px solid var(--border-light);
    padding: 1.4rem 2rem;
    border-radius: 60px;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--accent);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .diff-grid { gap: 2rem; }
    .hero h1 { font-size: 4rem; }
}

@media (max-width: 768px) {
    .diff-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .newsletter-form { flex-direction: column; }
    :root { --padding-section: 80px; }
}
