/* ==========================================================================
   Design System: Dayuan IBDP Showcase Stylesheet
   Style Style: Elite Academic Editorial + Modern Glassmorphism
   Fonts: EB Garamond (Serif, Headers), Inter (Sans-Serif, Body/Interface)
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    /* Color Palette */
    --color-primary: #0f172a;       /* Slate 900: Deep Text & Headers */
    --color-navy: #1e3a8a;          /* Blue 900: Academy Navy */
    --color-navy-light: #2563eb;    /* Blue 600: Royal Accent */
    --color-navy-soft: #eff6ff;     /* Blue 50: Light Panel Background */
    --color-gold: #b45309;          /* Amber 700: Prestige Gold */
    --color-gold-hover: #d97706;    /* Amber 600: Gold Hover */
    --color-gold-light: #fef3c7;    /* Amber 100: Soft Gold Background */
    --color-bg-light: #f8fafc;      /* Slate 50: Base Page Background */
    --color-bg-white: #ffffff;      /* Pure White for Cards & Content */
    --color-border: #e2e8f0;        /* Slate 200: Subtle Borders */
    --color-text-body: #334155;     /* Slate 700: Readable Paragraphs */
    --color-text-muted: #64748b;    /* Slate 500: Auxiliary Descriptions */
    
    /* Layout & Spacing */
    --max-width: 1280px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Animations */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
}

/* Reset & Base Rules */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: 'EB Garamond', Georgia, serif;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.w-full {
    width: 100%;
}

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* Grid Utilities */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .container { padding: 0 1.25rem; }
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg-white);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-secondary-outline:hover {
    background-color: var(--color-navy-soft);
    transform: translateY(-2px);
}

/* Button pulse micro-animation */
.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.btn-pulse:active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: 0s;
}

/* Header & Navbar - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-badge {
    background-color: var(--color-navy);
    color: var(--color-bg-white);
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.logo-text {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
}

.logo-text span {
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: var(--color-text-muted);
    font-weight: 400;
    display: inline-block;
    margin-left: 0.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-body);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-slide {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-normal);
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Menu Drawer */
.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 2rem;
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 99;
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-bg-light);
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    text-align: center;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%231e293b" width="100" height="100"/><circle fill="%23334155" cx="50" cy="50" r="1.5" fill-opacity="0.5"/></svg>');
    background-repeat: repeat;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(30, 58, 138, 0.45) 0%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    background-color: rgba(180, 83, 9, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(180, 83, 9, 0.3);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    color: var(--color-bg-white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-family: 'EB Garamond', serif;
}

.hero-subtitle {
    max-width: 780px;
    margin: 0 auto 3rem;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    color: #cbd5e1;
    line-height: 1.6;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.highlight-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight-item .num {
    font-family: 'EB Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.highlight-item .label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

@media (max-width: 600px) {
    .hero-highlights {
        flex-direction: column;
        gap: 1.5rem;
    }
    .highlight-divider {
        display: none;
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-secondary-outline {
    color: var(--color-bg-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-buttons .btn-secondary-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-bg-white);
}

/* Sections Structure */
.section-container {
    padding: 7rem 0;
}

.bg-alt {
    background-color: var(--color-navy-soft);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-md);
    background-color: var(--color-navy-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-navy-light);
    border: 1px solid var(--color-border);
}

.bg-alt .section-icon-wrapper {
    background-color: var(--color-bg-white);
}

.section-icon {
    width: 1.75rem;
    height: 1.75rem;
}

.section-badge {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Content Cards Base */
.content-card {
    background-color: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(37, 99, 235, 0.15);
}

.content-card.featured {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-white);
}

.content-card.featured:hover {
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4);
}

.card-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-subtitle.text-light {
    color: var(--color-bg-white);
}

.card-paragraph {
    color: var(--color-text-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-paragraph.text-light-muted {
    color: #94a3b8;
}

/* Assessment Split-Visualizer */
.split-visualizer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.split-bar {
    height: 28px;
    border-radius: 50px;
    background-color: var(--color-border);
    display: flex;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-bg-white);
    margin-bottom: 1.5rem;
}

.split-part {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.split-part.ia {
    background-color: var(--color-gold);
}

.split-part.ea {
    background-color: var(--color-navy);
}

.split-legend {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--color-text-body);
}

.split-legend div {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-top: 5px;
    flex-shrink: 0;
}

.legend-dot.ia { background-color: var(--color-gold); }
.legend-dot.ea { background-color: var(--color-navy); }

/* Icons Lists (Featured Card) */
.icon-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.icon-list li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.list-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.list-text h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.text-light {
    color: var(--color-bg-white);
}

.text-light-muted {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Info Cards (Environment Grid) */
.info-card {
    background-color: var(--color-bg-white);
    padding: 2.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(180, 83, 9, 0.2);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.info-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-sm);
    background-color: var(--color-gold-light);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.info-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

.info-card p {
    color: var(--color-text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Atmosphere Elements */
.faculty-badge {
    margin-top: auto;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background-color: var(--color-navy-soft);
    border-left: 4px solid var(--color-navy-light);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--color-navy);
    font-weight: 500;
}

.faculty-badge svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-navy-light);
    margin-top: 2px;
    flex-shrink: 0;
}

.stats-row {
    margin-top: auto;
    display: flex;
    gap: 1.5rem;
}

.stat-box {
    flex: 1;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'EB Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Pathways Elements */
.university-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.uni-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.uni-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.uni-card span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

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

.pathway-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-num {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    width: 2.25rem;
    height: 2.25rem;
    background-color: var(--color-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-info h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.step-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Expenses - Table styling */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.pricing-table th, .pricing-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.pricing-table th {
    background-color: var(--color-bg-light);
    font-weight: 600;
    color: var(--color-primary);
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table .price {
    font-weight: 600;
    color: var(--color-navy-light);
    white-space: nowrap;
}

.expense-perks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.perk-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.perk-check {
    color: var(--color-gold);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 2px;
}

.perk-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.alert-box {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--color-gold);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Main Footer */
.main-footer {
    background-color: var(--color-primary);
    color: #94a3b8;
    padding: 5rem 0 2rem;
    border-top: 1px solid #334155;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.footer-brand {
    flex: 2;
    min-width: 300px;
}

.footer-brand h2 {
    color: var(--color-bg-white);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.footer-brand p {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contacts p {
    margin: 0;
    color: #94a3b8;
}

.footer-contacts strong {
    color: var(--color-bg-white);
}

.footer-links {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h5 {
    color: var(--color-bg-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

/* ==========================================================================
   Presentation Mode Overlay - Premium Slide Deck Overlay
   ========================================================================== */
.presentation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    color: var(--color-bg-white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pres-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle fill="%23334155" cx="30" cy="30" r="1" fill-opacity="0.15"/></svg>');
    z-index: 0;
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Slide Header */
.pres-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pres-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pres-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-gold);
    border: 1px solid rgba(180, 83, 9, 0.4);
    background-color: rgba(180, 83, 9, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.1em;
}

.pres-title-main {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #e2e8f0;
}

.btn-exit-presentation {
    background-color: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
}

.btn-exit-presentation:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-bg-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-exit-presentation svg {
    width: 1.1rem;
    height: 1.1rem;
}

/* Slides Content Container */
.slides-container {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 4rem;
}

/* Slide Deck Styling */
.slide {
    position: absolute;
    width: 100%;
    max-width: 1100px;
    padding: 0 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(40px, 0, 0);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

/* Transition to Left for exited slides */
.slide.exit-left {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-40px, 0, 0);
}

/* Cover Slide layout */
.cover-slide {
    text-align: center;
}

.cover-slide .slide-badge {
    display: inline-block;
    color: var(--color-gold);
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.slide-title {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    color: var(--color-bg-white);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.slide-title .highlight, .slide-title-sec .highlight {
    color: var(--color-gold-hover);
}

.slide-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #cbd5e1;
    font-weight: 300;
    margin-bottom: 3.5rem;
}

.slide-footer-note {
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-block;
    padding-top: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Grid Slide layout */
.slide-grid-content {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 4.5rem;
    align-items: center;
}

.slide-left-col {
    display: flex;
    flex-direction: column;
}

.slide-slide-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.slide-title-sec {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--color-bg-white);
    margin-bottom: 1.5rem;
}

.slide-text {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.slide-bar-visual {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.25rem;
    border-radius: var(--radius-md);
}

.slide-bar {
    height: 24px;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.slide-bar .part-ia { background-color: var(--color-gold); text-align: center; display: flex; align-items: center; justify-content: center; }
.slide-bar .part-ea { background-color: var(--color-navy-light); text-align: center; display: flex; align-items: center; justify-content: center; }

.slide-bar-caption {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
}

.slide-quote {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 1.35rem;
    color: #e2e8f0;
    border-left: 3px solid var(--color-gold);
    padding-left: 1.25rem;
    margin-top: 1rem;
}

.slide-stats-badge {
    margin-top: 1rem;
}

.slide-stats-badge strong {
    font-family: 'EB Garamond', serif;
    font-size: 3.5rem;
    color: var(--color-gold);
    display: block;
    line-height: 1;
}

.slide-stats-badge span {
    font-size: 0.9rem;
    color: #64748b;
}

.slide-highlight-card {
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.15) 0%, rgba(30, 58, 138, 0.15) 100%);
    border: 1px solid rgba(180, 83, 9, 0.3);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.slide-highlight-card strong {
    font-size: 1.3rem;
    color: var(--color-bg-white);
    display: block;
    margin-bottom: 0.5rem;
}

.slide-highlight-card p {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.slide-uni-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.uni-box {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #e2e8f0;
}

/* Feature lists on Slide */
.slide-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.slide-feature-list li {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.slide-feature-list li:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(180, 83, 9, 0.2);
}

.slide-feature-list li strong {
    font-size: 1.15rem;
    color: var(--color-gold-hover);
    display: block;
    margin-bottom: 0.5rem;
}

.slide-feature-list li span {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    display: block;
}

/* Outro/Final Slide Content */
.slide-action-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: inline-block;
    text-align: left;
    margin-top: 2rem;
    max-width: 600px;
}

.slide-action-box p {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

.slide-action-box p:last-child {
    margin-bottom: 0;
}

.slide-action-box strong {
    color: var(--color-bg-white);
}

.btn-exit-large {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-bg-white);
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
}

.btn-exit-large:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-bg-white);
}

/* Slide Footer & Navigation Panel */
.pres-footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pres-control-btn {
    background-color: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-normal);
}

.pres-control-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--color-bg-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.pres-control-btn svg {
    width: 1.1rem;
    height: 1.1rem;
}

.pres-control-btn:disabled {
    opacity: 0.25;
    pointer-events: none;
}

.pres-dots {
    display: flex;
    gap: 0.75rem;
}

.pres-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: var(--transition-normal);
}

.pres-dot:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.pres-dot.active {
    background-color: var(--color-gold);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(180, 83, 9, 0.6);
}

/* Slide Deck Responsive Adjustments */
@media (max-width: 900px) {
    .slide-grid-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        overflow-y: auto;
        max-height: 70vh;
        padding-right: 0.5rem;
    }
    
    .slide-left-col {
        align-items: center;
    }
    
    .slide-quote {
        border-left: none;
        border-top: 2px solid var(--color-gold);
        padding-left: 0;
        padding-top: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .slide-uni-boxes {
        justify-content: center;
    }
    
    .slides-container {
        padding: 1.5rem 2rem;
    }
    
    .pres-header, .pres-footer {
        padding: 1.25rem 2rem;
    }
    
    .pres-title-main {
        display: none;
    }
}

@media (max-width: 500px) {
    .pres-header, .pres-footer {
        padding: 1rem 1.25rem;
    }
    .pres-control-btn span {
        display: none;
    }
}

/* ==========================================================================
   Presentation Mode Dark-Theme Overrides & Fine-tuning
   ========================================================================== */

.presentation-overlay .table-container {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(15, 23, 42, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.presentation-overlay .pricing-table {
    color: #e2e8f0;
    font-size: 0.8rem;
}

.presentation-overlay .pricing-table th {
    background-color: rgba(30, 58, 138, 0.5);
    color: var(--color-gold-hover);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.presentation-overlay .pricing-table td {
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1rem;
}

.presentation-overlay .pricing-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Specific styling for the TOK/EE Grade Matrix in Presentation */
.presentation-overlay .pricing-table.matrix-table {
    border-collapse: separate;
    border-spacing: 2px;
}

.presentation-overlay .pricing-table.matrix-table th {
    text-align: center;
    padding: 0.5rem;
    font-size: 0.75rem;
}

.presentation-overlay .pricing-table.matrix-table td {
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    font-size: 0.75rem;
}

.presentation-overlay .pricing-table.matrix-table td.matrix-fail {
    background-color: rgba(239, 68, 68, 0.18);
    color: #f87171 !important;
    font-weight: 600;
}

.presentation-overlay .pricing-table.matrix-table td.matrix-gold {
    color: var(--color-gold) !important;
    font-weight: 700;
    background-color: rgba(217, 119, 6, 0.1);
}

/* Card overrides inside Presentation Mode */
.presentation-overlay .content-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 1.75rem !important;
    color: #cbd5e1 !important;
}

.presentation-overlay .content-card h3.card-subtitle {
    color: var(--color-bg-white) !important;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.presentation-overlay .content-card.featured {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15) 0%, rgba(15, 23, 42, 0.4) 100%) !important;
    border: 1px solid rgba(217, 119, 6, 0.25) !important;
}

.presentation-overlay .info-card {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 1.5rem !important;
    border-radius: var(--radius-md) !important;
    box-shadow: none !important;
}

.presentation-overlay .info-card h4 {
    color: var(--color-bg-white) !important;
}

.presentation-overlay .info-card p {
    color: #cbd5e1 !important;
}

.presentation-overlay .faculty-badge {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #cbd5e1 !important;
}

/* Timeline/List custom structures for Presentation */
.presentation-overlay .pres-timeline-container {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
    border-radius: var(--radius-md);
}

.presentation-overlay .pres-timeline-container::-webkit-scrollbar {
    width: 6px;
}

.presentation-overlay .pres-timeline-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.presentation-overlay .pathway-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.presentation-overlay .step {
    display: flex;
    gap: 1.25rem;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.presentation-overlay .step:hover {
    border-color: rgba(180, 83, 9, 0.2);
    background-color: rgba(255, 255, 255, 0.03);
}

.presentation-overlay .step-num {
    background-color: rgba(30, 58, 138, 0.4);
    color: var(--color-gold-hover);
    border: 1px solid rgba(180, 83, 9, 0.2);
    min-width: 45px;
    height: 45px;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.presentation-overlay .step-info h5 {
    color: var(--color-bg-white);
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.presentation-overlay .step-info p {
    color: #cbd5e1;
    font-size: 0.8rem;
    line-height: 1.5;
}

.presentation-overlay .alert-box {
    background-color: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

/* Flex structures inside slide features */
.presentation-overlay .icon-list {
    margin-left: 0;
}

.presentation-overlay .icon-list li {
    margin-bottom: 1.25rem;
}

.presentation-overlay .list-icon {
    background-color: rgba(180, 83, 9, 0.15) !important;
    color: var(--color-gold-hover) !important;
    border: 1px solid rgba(180, 83, 9, 0.3) !important;
}

/* Custom list bullet elements for slides */
.presentation-overlay ul.slide-ul {
    list-style-type: none;
    padding-left: 0;
}

.presentation-overlay ul.slide-ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.presentation-overlay ul.slide-ul li::before {
    content: "•";
    color: var(--color-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Double column list container */
.slide-double-col-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Full Width Slide layout (for tables, timelines) */
.slide-full-width-content {
    width: 100%;
    max-height: 72vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.slide-full-width-content::-webkit-scrollbar {
    width: 6px;
}

.slide-full-width-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.slide-header-area {
    text-align: center;
    margin-bottom: 1.5rem;
}

.slide-header-area .slide-slide-badge {
    justify-content: center;
}

.slide-header-area .slide-title-sec {
    margin-bottom: 0.5rem;
}

.slide-header-area .slide-desc-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}

/* Media query overrides to ensure presentation works on small screens */
@media (max-width: 1024px) {
    .slides-container {
        padding: 1.5rem 2rem;
    }
    .slide-grid-content {
        gap: 2rem;
    }
}

/* ==========================================================================
   Progress Bar & Slide Counter
   ========================================================================== */

.pres-progress-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.06);
    z-index: 10;
}

.pres-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-navy-light), var(--color-gold-hover));
    transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

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

.pres-header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pres-counter {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.05em;
    min-width: 50px;
    text-align: center;
}

/* ==========================================================================
   Scroll-Triggered Reveal Animations
   ========================================================================== */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 550ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 550ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Enhanced Card Micro-interactions
   ========================================================================== */

.content-card {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.content-card:hover:not(.featured) {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium), 0 0 0 1px rgba(180, 83, 9, 0.08);
    border-color: rgba(180, 83, 9, 0.15);
}

.info-card {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

/* Hero highlight-item pulse glow */
.highlight-item .num {
    display: inline-block;
    transition: transform var(--transition-normal), text-shadow var(--transition-normal);
}

.highlight-item:hover .num {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(217, 119, 6, 0.4);
}

/* Step hover */
.step {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.step:hover {
    transform: translateX(4px);
    border-color: rgba(180, 83, 9, 0.2);
    box-shadow: var(--shadow-sm);
}

/* Stat box pop */
.stat-box {
    transition: transform var(--transition-normal);
}

.stat-box:hover {
    transform: scale(1.04);
}

/* Slide exit/enter: slightly more expressive spring */
.slide {
    transition: opacity 480ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

