/* ========================================
   ESCOLA EM VÍDEO — PREMIUM DANCE PLATFORM
   Design: Cinematic, Fluid, Elegant
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Inter:wght@300;400;500;600&family=Bebas+Neue&display=swap');

/* ── RESET & TOKENS ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #080809;
    --dark: #0f0f12;
    --surface: #161619;
    --surface2: #1e1e23;
    --border: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(212, 175, 55, 0.3);
    --gold: #D4AF37;
    --gold-light: #F0D060;
    --cream: #F5F0E8;
    --muted: rgba(245, 240, 232, 0.45);
    --purple: #8B5CF6;
    --pink: #EC4899;
    --teal: #14B8A6;

    --font-display: 'Bebas Neue', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;

    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--cream);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 2px;
}

/* ── NOISE OVERLAY ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── HEADER ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 3rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(8, 8, 9, 0.95) 0%, rgba(8, 8, 9, 0) 100%);
    transition: background 0.4s var(--ease-smooth);
}

.site-header.scrolled {
    background: rgba(8, 8, 9, 0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    color: var(--cream);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-gold 2s ease-in-out infinite;
}

@keyframes pulse-gold {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
    }
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: color 0.25s, background 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cream);
    background: rgba(255, 255, 255, 0.06);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    /* hidden on desktop */
    background: transparent;
    border: none;
    color: var(--cream);
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 0.5rem;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.btn-cart {
    position: relative;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    padding: 0.55rem 1.25rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-smooth);
    font-family: var(--font-sans);
}

.btn-cart:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.cart-count {
    background: var(--gold);
    color: var(--black);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.cart-count.show {
    display: flex;
}

/* ── HERO ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transform: scale(1.05);
    transition: transform 8s ease-out;
    filter: brightness(0.55);
}

.hero-bg.loaded {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(8, 8, 9, 0.2) 0%,
            rgba(8, 8, 9, 0.1) 40%,
            rgba(8, 8, 9, 0.7) 75%,
            var(--black) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 4rem 6rem;
    max-width: 900px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    animation: slideUp 0.8s 0.2s var(--ease-smooth) forwards;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: slideUp 0.9s 0.4s var(--ease-smooth) forwards;
}

.hero-title span {
    color: var(--gold);
}

.hero-sub {
    margin-top: 1.5rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(245, 240, 232, 0.7);
    max-width: 500px;
    opacity: 0;
    animation: slideUp 0.9s 0.6s var(--ease-smooth) forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    opacity: 0;
    animation: slideUp 0.9s 0.8s var(--ease-smooth) forwards;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-bounce);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(245, 240, 232, 0.3);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-smooth);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 240, 232, 0.6);
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    right: 4rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    animation: fadeIn 1s 1.5s both;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.01% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ── SECTION BASE ── */
.section {
    padding: 7rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: 0.05em;
    color: var(--cream);
    margin-bottom: 1rem;
}

.section-sub {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 500px;
}

/* ── PROFESSORS GRID ── */
.professors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.prof-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    background: var(--surface);
    transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s var(--ease-smooth);
}

.prof-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.1);
}

.prof-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transition: transform 0.6s var(--ease-smooth), filter 0.4s;
    filter: brightness(0.75) saturate(0.9);
}

.prof-card:hover .prof-card-img {
    transform: scale(1.08);
    filter: brightness(0.6) saturate(1.1);
}

.prof-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 9, 0.95) 0%, rgba(8, 8, 9, 0.1) 60%, transparent 100%);
}

.prof-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem;
    transform: translateY(4px);
    transition: transform 0.4s var(--ease-smooth);
}

.prof-card:hover .prof-card-content {
    transform: translateY(0);
}

.prof-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.6rem;
    border: 1px solid;
}

.prof-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 0.75rem;
}

.prof-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s 0.05s, transform 0.3s 0.05s;
}

.prof-card:hover .prof-cta {
    opacity: 1;
    transform: translateY(0);
}

.prof-cta svg {
    transition: transform 0.3s;
}

.prof-card:hover .prof-cta svg {
    transform: translateX(4px);
}

/* ── VIDEO CARDS (professor page) ── */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.video-row {
    background: linear-gradient(135deg, rgba(55, 55, 55, 0.4), rgb(18 18 17 / 80%));
    border-color: rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.video-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-row:hover {
    background: var(--surface2);
    border-color: var(--border-glow);
}

.video-row:hover::before {
    opacity: 1;
}

.video-row.is-bundle {
    background: linear-gradient(135deg, rgba(55, 55, 55, 0.4), rgb(18 18 17 / 80%));
    border-color: rgba(212, 175, 55, 0.4);
}

.video-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
}

.video-info {
    flex: 1;
}

.video-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cream);
}

.video-desc {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.15rem;
    line-height: 1.4;
    max-width: 600px;
}

.video-meta {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.2rem;
    display: flex;
    gap: 1rem;
}

.tag-preview {
    color: var(--teal);
    font-weight: 500;
}

.tag-purchased {
    color: #10b981;
    font-weight: 500;
}

.bundle-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gold);
    color: var(--black);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.75rem;
    border-bottom-left-radius: 10px;
}

.video-price {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.video-price.free-price {
    color: var(--teal);
    font-size: 1rem;
}

.btn-buy {
    background: linear-gradient(135deg, var(--gold), #c9a227);
    color: var(--black);
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s var(--ease-bounce);
    font-family: var(--font-sans);
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-watch {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 0.65rem 1.5rem;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-sans);
    transition: all 0.3s;
}

.btn-watch:hover {
    background: rgba(16, 185, 129, 0.2);
}

.btn-preview {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: var(--teal);
    padding: 0.65rem 1.5rem;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-sans);
    transition: all 0.3s;
}

.btn-in-cart {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    padding: 0.65rem 1.5rem;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: default;
    white-space: nowrap;
    font-family: var(--font-sans);
}

/* ── BACK LINK ── */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    transition: color 0.25s;
}

.back-link:hover {
    color: var(--gold);
}

.back-link:hover svg {
    transform: translateX(-3px);
}

.back-link svg {
    transition: transform 0.25s;
}

/* ── PROF HERO ── */
.prof-hero {
    position: relative;
    height: 50vh;
    min-height: 550px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 0;
}

.prof-hero-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center top;
    filter: brightness(0.6) saturate(0.9);
}

.prof-hero-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to left, transparent 20%, var(--black) 100%),
        linear-gradient(to top, var(--black) 5%, transparent 60%);
}

.prof-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 4rem 4rem;
    max-width: 900px;
}

/* ── LIBRARY ── */
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.lib-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
}

.lib-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lib-card-thumb {
    aspect-ratio: 16/9;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.lib-card-thumb-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}

.play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
}

.lib-card:hover .play-btn {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.lib-card-info {
    padding: 1.25rem;
}

.lib-card-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
}

.lib-card-prof {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

/* ── CART DRAWER ── */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.cart-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 440px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0, 0.15, 1);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.1em;
}

.btn-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--cream);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--cream);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-prof {
    font-size: 0.72rem;
    color: var(--muted);
}

.cart-item-price {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #e53e3e;
}

.cart-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cart-total-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.cart-total-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
}

.btn-checkout {
    width: 100%;
    padding: 1.1rem;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-bounce);
    font-family: var(--font-sans);
}

.btn-checkout:hover {
    background: var(--gold-light);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.cart-secure {
    text-align: center;
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 0.75rem;
}

/* ── EMPTY STATES ── */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.empty-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.empty-text {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* ── ANIMATIONS ── */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── FOOTER ── */
.site-footer {
    padding: 3rem 4rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: var(--cream);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .professors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 5rem 2rem;
    }
}

@media (max-width: 640px) {
    .professors-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        padding: 0 1.5rem;
    }

    .nav-links {
        display: none;
        /* Hide desktop links on mobile */
    }

    /* Keep language switcher and cart, hide user greeting if needed or wrap it */
    .header-right span,
    .header-right>a[href="logout.php"],
    .header-right>a[href="login.php"] {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        padding: 0 1.5rem 4rem;
    }

    .cart-drawer {
        width: 100%;
    }

    .video-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 1.5rem;
    }

    .video-row>div:last-child {
        width: 100%;
        justify-content: space-between;
    }
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}