/* ===================================================
   甫東科技 - 賴家榮講師網站
   科技文創 Design System
   =================================================== */

/* ===== CSS Variables - Premium Tech-Humanity Theme ===== */
:root {
    /* Primary & Sophisticated Palettes */
    --primary: #0f766e;
    --primary-light: #14b8a6;
    --primary-dark: #134e4a;

    --secondary: #334155;
    --accent: #b45309;
    --accent-soft: rgba(180, 83, 9, 0.08);

    /* UI Palette */
    --success: #10b981;
    --danger: #f43f5e;
    --warning: #f59e0b;

    /* Surfaces: Multi-layered DEPTH */
    --surface: #f8fafc;
    --surface-1: #ffffff;
    --surface-2: #f1f5f9;
    --surface-3: #e2e8f0;
    --surface-4: #f8fafc;

    /* Glassmorphism 2.0 Tokens */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Typography: Premium System */
    --text: #0f172a;
    /* Heading/Strong */
    --text-body: #334155;
    /* Reading text */
    --text-secondary: #475569;
    /* Balanced text */
    --text-muted: #94a3b8;
    /* Inactive/Details */
    --text-on-primary: #ffffff;

    /* Decoration & Geometry */
    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.12);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 999px;

    /* Sophisticated Shadows */
    --shadow-soft: 0 2px 10px rgba(15, 23, 42, 0.03);
    --shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 80px -20px rgba(15, 23, 42, 0.12);
    --shadow-inner: inset 0 2px 4px 0 rgba(15, 23, 42, 0.05);

    /* Dynamics & Animations */
    --font-heading: 'Outfit', 'Noto Sans TC', sans-serif;
    --font-body: 'Inter', 'Noto Sans TC', sans-serif;
    --transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-bounce: 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--surface);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(15, 118, 110, 0.35);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(15, 118, 110, 0.04);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 200%;
    animation: glowShift 3s linear infinite;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.6;
}

@keyframes glowShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn-sm:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
    color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.site-logo-img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.site-logo-img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-company {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

.nav-link.nav-cta {
    background: var(--primary);
    color: #ffffff;
    margin-left: 12px;
    padding: 10px 24px;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13, 78, 74, 0.4);
}

.nav-link.nav-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.nav-link.nav-cta:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-fixed-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
}

.hero-content-text {
    position: relative;
    margin-bottom: 30px;
}

/* Banner Image — Full visible */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Translucent overlay — lets image show through */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.55) 50%, rgba(15, 23, 42, 0.35) 100%);
    z-index: 2;
}

/* Background Decoration Effects */
.hero-bg-effects {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 70% 50%, black, transparent 80%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: orbFloat 15s ease-in-out infinite alternate;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: 50px;
    left: -50px;
    animation: orbFloat 20s ease-in-out infinite alternate-reverse;
}

.hero-orb-3 {
    width: 500px;
    height: 500px;
    background: var(--primary-light);
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 50px);
    }
}

/* Particle Canvas */
#particleCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::after {
    display: none;
    /* Replaced by .hero-slide-overlay div */
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 90px 24px 60px;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 5;
}

.hero-visual-col {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-badge i {
    font-size: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 8vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-title span {
    display: block;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes textShine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 580px;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 20;
}

/* Slider Navigation — Removed since we are using fixed banner */
.slider-nav {
    display: none;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 60px;
    right: 40px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    writing-mode: vertical-lr;
    opacity: 0.6;
}

.scroll-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Hero Visual & Floating Cards */
.hero-visual {
    position: relative;
    padding: 0;
}

.visual-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 0 auto;
}

.hero-avatar-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.hero-avatar-ring {
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #1e293b;
}

.hero-avatar-name {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.hero-avatar-title {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    z-index: 5;
    text-transform: uppercase;
}

.floating-card {
    position: absolute;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(45, 212, 191, 0.2);
    z-index: 10;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-card i {
    font-size: 1.25rem;
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.floating-card.c1 {
    top: -20px;
    left: -40px;
    animation: floatAnim1 6s ease-in-out infinite;
}

.floating-card.c2 {
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
    animation: floatAnim2 7s ease-in-out infinite;
}

.floating-card.c3 {
    bottom: -20px;
    left: -20px;
    animation: floatAnim3 8s ease-in-out infinite;
}

.floating-card:hover {
    transform: scale(1.1) translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--accent-rgb, 45, 212, 191), 0.4);
    z-index: 20;
}

@keyframes floatAnim1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(10px, -15px) rotate(2deg);
    }

    66% {
        transform: translate(-5px, -8px) rotate(-1deg);
    }
}

@keyframes floatAnim2 {

    0%,
    100% {
        transform: translate(0, -50%) rotate(0deg);
    }

    33% {
        transform: translate(-15px, -40%) rotate(-2deg);
    }

    66% {
        transform: translate(8px, -60%) rotate(1deg);
    }
}

@keyframes floatAnim3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-8px, -12px) rotate(2deg);
    }

    66% {
        transform: translate(12px, -18px) rotate(-2deg);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-indicator i {
    font-size: 1rem;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* ===== Section Common ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--surface-3);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-body);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--surface-3) 0%, var(--surface) 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-bio p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.about-expertise {
    margin-top: 32px;
}

.about-expertise h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text);
}

.about-expertise h3 i {
    color: var(--accent);
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise-tag {
    padding: 8px 18px;
    background: rgba(13, 148, 136, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.expertise-tag:hover {
    background: rgba(13, 148, 136, 0.15);
    transform: translateY(-2px);
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    padding: 28px;
    background: var(--surface-2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.about-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 16px;
}

.about-card h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text);
}

.about-card ul {
    list-style: none;
}

.about-card li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.about-card li::before {
    content: '▸';
    color: var(--primary-light);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ===== Courses Section ===== */
.courses-section {
    padding: 100px 0;
    position: relative;
}

.course-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.2);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.course-card {
    position: relative;
    background: var(--surface-1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition-bounce);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--card-color, var(--primary));
}

.course-card-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, var(--card-color) 0%, transparent 70%);
    opacity: 0.1;
    transition: var(--transition);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.course-card:hover .course-card-glow {
    opacity: 0.3;
    transform: scale(1.5);
}

.course-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.course-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
}

.course-meta {
    display: flex;
    gap: 8px;
    align-items: center;
}

.course-difficulty {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-difficulty.beginner {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.course-difficulty.intermediate {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.course-difficulty.advanced {
    background: rgba(244, 63, 94, 0.15);
    color: #f43f5e;
}

.course-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.course-subtitle {
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.course-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-highlights {
    margin-bottom: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.highlight-item i {
    font-size: 0.75rem;
    flex-shrink: 0;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: auto;
    border-top: 1px solid var(--border);
}

.price-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}


/* ===== Materials Section ===== */
.materials-section {
    padding: 100px 0;
    position: relative;
    background: var(--surface);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.material-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.material-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.material-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.material-card:hover::before {
    opacity: 1;
}

.material-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.material-course-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.material-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.material-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.material-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(45, 212, 191, 0.15);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.material-download-btn:hover {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary);
}

.materials-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.materials-footer a {
    color: var(--primary-light);
    font-weight: 600;
    margin-left: 8px;
}

.materials-footer a i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.materials-footer a:hover i {
    transform: translateX(4px);
}

/* ===== Schedule Section ===== */

.schedule-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--surface-3) 0%, var(--surface) 100%);
    position: relative;
}

.schedule-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
}

.schedule-card {
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
    background: var(--surface-1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.schedule-card:hover {
    border-color: var(--primary-light);
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.schedule-date-col {
    text-align: center;
    min-width: 80px;
    padding-right: 20px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.schedule-month {
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
}

.schedule-day {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin: 4px 0;
}

.schedule-weekday {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.schedule-info {
    flex: 1;
}

.schedule-course-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-course-title i {
    font-size: 0.9rem;
}

.schedule-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.schedule-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.schedule-details i {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.schedule-type-badge {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

.schedule-type-badge.online {
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary);
}

.schedule-type-badge.onsite {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.schedule-type-badge.hybrid {
    background: rgba(217, 119, 6, 0.15);
    color: #d97706;
}

.schedule-action {
    flex-shrink: 0;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-info-card {
    padding: 36px;
    background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    height: 100%;
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.contact-info-card h3 i {
    color: var(--primary-light);
}

.contact-info-card>p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-item i {
    width: 32px;
    height: 32px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.contact-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== Forms ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group,
.form-group-custom {
    margin-bottom: 20px;
}

.form-group label,
.form-group-custom label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.form-group label i,
.form-group-custom label i {
    color: var(--primary);
    font-size: 0.85rem;
}

.required {
    color: var(--danger);
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-group-custom input,
.form-group-custom select,
.form-group-custom textarea {
    width: 100%;
    padding: 14px 18px;
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-group-custom input:focus,
.form-group-custom select:focus,
.form-group-custom textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
    background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group-custom input::placeholder,
.form-group-custom textarea::placeholder {
    color: var(--text-muted);
}

.form-group select,
.form-group-custom select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230f766e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group textarea,
.form-group-custom textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.site-footer {
    padding: 60px 0 24px;
    background: var(--surface-2);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-links-group h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-links-group a,
.footer-links-group p {
    display: block;
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    transition: var(--transition);
}

.footer-links-group a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-links-group p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links-group p i {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--primary-light);
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--surface-2);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 36px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
    position: relative;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.modal-header h3 i {
    color: var(--primary-light);
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===== Chat Widget ===== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
}

.chat-toggle {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(13, 148, 136, 0.5);
}

.chat-toggle-icon {
    font-size: 1.5rem;
}

.chat-toggle-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: chatPulse 2s ease-out infinite;
}

@keyframes chatPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.chat-toggle-label {
    position: absolute;
    right: 70px;
    background: var(--surface-2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    animation: labelShow 0.3s ease;
}

.chat-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    height: 500px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.95);
    transition: var(--transition);
    overflow: hidden;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.chat-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: var(--success);
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.chat-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.chat-header span {
    font-size: 0.72rem;
    opacity: 0.85;
}

.chat-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--surface-3);
    border-radius: 4px;
}

.chat-message {
    display: flex;
    gap: 10px;
    max-width: 90%;
    animation: msgAppear 0.3s ease;
}

@keyframes msgAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.chat-message.assistant .chat-msg-avatar {
    background: rgba(13, 148, 136, 0.15);
    color: var(--primary-light);
}

.chat-message.user .chat-msg-avatar {
    background: rgba(249, 115, 22, 0.15);
    color: var(--secondary);
}

.chat-msg-bubble {
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    line-height: 1.6;
}

.chat-message.assistant .chat-msg-bubble {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.chat-message.user .chat-msg-bubble {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg-bubble small {
    display: block;
    margin-top: 8px;
    opacity: 0.7;
    font-size: 0.75rem;
}

.chat-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

.chat-input-area input {
    flex: 1;
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.chat-input-area input:focus {
    border-color: var(--primary);
}

.chat-input-area input::placeholder {
    color: var(--text-muted);
}

.chat-input-area button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.chat-input-area button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ===== Loading spinner for chat ===== */
.chat-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.chat-typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.2s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

/* ===== Toast Notification ===== */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    padding: 16px 24px;
    background: var(--surface-glass);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastIn 0.4s ease;
    max-width: 400px;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast i.toast-icon {
    font-size: 1.1rem;
}

.toast.success .toast-icon {
    color: var(--success);
}

.toast.error .toast-icon {
    color: var(--danger);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .schedule-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .schedule-date-col {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 12px;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .schedule-day {
        margin: 0;
    }

    .schedule-action {
        width: 100%;
    }

    .schedule-action .btn {
        width: 100%;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .chat-window {
        width: calc(100vw - 32px);
        height: calc(100vh - 120px);
        bottom: 68px;
        right: -8px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}

/* ===== Calendar Section ===== */
.calendar-section {
    padding: 100px 0;
    position: relative;
}

.calendar-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.calendar-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

/* Calendar Navigation */
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.calendar-nav-btn {
    background: var(--surface-3);
    border: 1px solid var(--border);
    color: var(--text);
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.calendar-nav-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
}

.calendar-month-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.5px;
}

/* Weekday headers */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 6px;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-weekday:first-child {
    color: #f43f5e;
}

.calendar-weekday:last-child {
    color: var(--secondary);
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    min-height: 300px;
    /* 確保至少有高度 */
}

/* Day Cell - every cell clickable */
.calendar-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a202c !important;
    /* 強制深色 */
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* 微弱邊框輔助觀察 */
    padding: 10px 2px;
    min-height: 60px;
    gap: 5px;
    background: #ffffff;
    z-index: 5;
}

.calendar-day:hover {
    background: rgba(45, 212, 191, 0.06);
    border-color: rgba(45, 212, 191, 0.15);
}

.calendar-day.other-month {
    color: var(--text-muted);
    opacity: 0.25;
    pointer-events: none;
}

.calendar-day.past-day {
    opacity: 0.5;
}

.calendar-day.past-day:hover {
    opacity: 0.75;
}

.calendar-day.today {
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary-light);
    font-weight: 700;
    border-color: rgba(13, 148, 136, 0.35);
}

.calendar-day.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
    transform: scale(1.05);
    z-index: 2;
}

.calendar-day.active .day-number {
    color: white;
}

.day-number {
    line-height: 1;
    font-size: 0.88rem;
}

/* AM/PM Slot Bars */
.day-slots {
    display: flex;
    gap: 3px;
    justify-content: center;
}

.day-slot-bar {
    width: 14px;
    height: 4px;
    border-radius: 2px;
    transition: var(--transition);
}

.day-slot-bar.slot-free {
    background: var(--primary-light);
    box-shadow: 0 0 6px rgba(13, 148, 136, 0.2);
}

.day-slot-bar.slot-busy {
    background: var(--secondary);
}

.day-slot-bar.slot-past {
    background: var(--text-muted);
    opacity: 0.4;
}

.calendar-day.active .day-slot-bar.slot-free {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: none;
}

.calendar-day.active .day-slot-bar.slot-busy {
    background: rgba(255, 255, 255, 0.5);
}

.calendar-day.active .day-slot-bar.slot-past {
    background: rgba(255, 255, 255, 0.35);
}

/* Legend */
.calendar-legend {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.legend-bar {
    width: 18px;
    height: 5px;
    border-radius: 3px;
}

.legend-bar-free {
    background: var(--primary);
    box-shadow: 0 0 4px rgba(13, 148, 136, 0.4);
}

.legend-bar-busy {
    background: var(--secondary);
}

.legend-bar-past {
    background: var(--text-muted);
    opacity: 0.4;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot-today {
    background: transparent;
    border: 2px solid var(--primary);
}

/* Calendar Detail Panel */
.calendar-detail {
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.calendar-detail-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    gap: 12px;
}

.cal-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.08);
    border: 2px solid rgba(13, 148, 136, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.cal-empty-icon i {
    font-size: 1.8rem;
    color: var(--primary);
    opacity: 0.5;
    animation: calPulse 2.5s ease-in-out infinite;
}

@keyframes calPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.08);
    }
}

.calendar-detail-empty h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.calendar-detail-empty p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.cal-empty-hint {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cal-empty-hint span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(13, 148, 136, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
}

.cal-empty-hint i {
    color: var(--accent);
    font-size: 0.7rem;
}

/* Detail Header */
.cal-detail-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.cal-detail-date-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    width: 58px;
    height: 58px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.cal-detail-date-badge .cal-d-month {
    font-size: 0.62rem;
    font-weight: 600;
    opacity: 0.85;
    line-height: 1;
}

.cal-detail-date-badge .cal-d-day {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
}

.cal-detail-date-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.cal-detail-date-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Time Slot Card */
.cal-slot-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.cal-slot-card:hover {
    border-color: rgba(45, 212, 191, 0.2);
}

.cal-slot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(13, 148, 136, 0.04);
    border-bottom: 1px solid var(--border-light);
}

.cal-slot-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.cal-slot-label i {
    font-size: 0.8rem;
    color: var(--accent);
}

.cal-slot-status {
    font-size: 0.72rem;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.cal-slot-status.slot-status-free {
    background: rgba(13, 148, 136, 0.12);
    color: var(--primary-light);
}

.cal-slot-status.slot-status-busy {
    background: rgba(249, 115, 22, 0.12);
    color: var(--secondary);
}

.cal-slot-status.slot-status-past {
    background: rgba(100, 116, 139, 0.1);
    color: var(--text-muted);
}

.cal-slot-body {
    padding: 14px 16px;
}

/* Slot - Available Body */
.cal-slot-free-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cal-slot-free-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.cal-slot-free-text i {
    font-size: 1.1rem;
}

.cal-slot-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.cal-slot-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
    color: white;
}

/* Slot - Occupied Course Info */
.cal-slot-course {
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.cal-slot-course::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--item-color, var(--secondary));
    border-radius: 3px 0 0 3px;
}

.cal-slot-course-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cal-slot-course-title i {
    font-size: 0.78rem;
}

.cal-slot-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.73rem;
    color: var(--text-secondary);
}

.cal-slot-course-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cal-slot-course-meta i {
    font-size: 0.65rem;
    color: var(--primary-light);
}

.cal-slot-course-price {
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
}

/* Slot - Past */
.cal-slot-past-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.82rem;
    opacity: 0.7;
}

.cal-slot-past-text i {
    font-size: 0.9rem;
}

/* ===================================================================
   FULL-SITE RESPONSIVE (RWD) BREAKPOINTS
   =================================================================== */

/* ===== Tablet & Below (max 1024px) ===== */
@media (max-width: 1024px) {

    /* -- Navbar -- */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        z-index: 1000;
        padding: 60px 24px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 14px 28px;
        color: #fff;
    }

    .nav-toggle {
        display: flex !important;
    }

    .nav-cta {
        display: none;
    }

    /* -- Hero -- */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 100px 24px 60px;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
        padding: 0;
    }

    .visual-wrapper {
        width: 300px;
        height: 300px;
    }

    .hero-avatar-name {
        font-size: 0.9rem;
        bottom: 35px;
        padding: 4px 14px;
    }

    .hero-avatar-title {
        font-size: 0.7rem;
        bottom: 10px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* -- About -- */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* -- Courses -- */
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    /* -- Schedule -- */
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    /* -- Contact -- */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* -- Footer -- */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    /* -- Gallery -- */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* ===== Mobile (max 768px) ===== */
@media (max-width: 768px) {

    /* -- Section padding -- */
    .about-section,
    .courses-section,
    .materials-section,
    .schedule-section,
    .contact-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* -- Hero mobile -- */
    .hero {
        min-height: auto;
        height: 100svh;
        height: 100vh;
        max-height: 100svh;
    }

    .hero-slide,
    .hero-slider {
        height: 100%;
    }

    .hero-slide-img {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }

    .hero-container {
        padding: 100px 16px 80px;
        gap: 32px;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-bottom: 16px;
    }

    .visual-wrapper {
        width: 220px;
        height: 220px;
    }

    .hero-avatar-name {
        font-size: 0.8rem;
        bottom: 25px;
        padding: 4px 12px;
    }

    .hero-avatar-title {
        font-size: 0.6rem;
        bottom: 8px;
    }

    .floating-card {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-slide-img {
        object-fit: cover;
        object-position: center;
    }

    .hero-slide-overlay {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.40) 40%, rgba(15, 23, 42, 0.25) 70%, rgba(15, 23, 42, 0.50) 100%);
    }

    .hero-scroll-indicator {
        bottom: 16px;
    }

    .slider-nav {
        bottom: 50px;
    }

    /* -- About mobile -- */
    .about-grid {
        gap: 24px;
    }

    .about-card {
        padding: 20px;
    }

    /* -- Courses mobile -- */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-card {
        padding: 20px;
    }

    .course-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    /* -- Materials mobile -- */
    .materials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* -- Contact mobile -- */
    .contact-info-card {
        padding: 24px;
    }

    /* -- Forms mobile -- */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group select,
    .form-group textarea,
    .form-group-custom input,
    .form-group-custom select,
    .form-group-custom textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    /* -- Footer mobile -- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* -- Booking Modal -- */
    .booking-overlay .booking-content,
    .modal-content {
        width: 95%;
        max-width: 480px;
        padding: 20px;
        margin: 20px auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* -- Chat Widget -- */
    .chat-window {
        width: calc(100vw - 32px);
        right: 16px;
        bottom: 80px;
        max-height: 70vh;
    }

    /* -- Schedule card -- */
    .schedule-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .schedule-date-col {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 16px;
        width: 100%;
        text-align: left;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        justify-content: flex-start;
    }
}

/* ===== Small Mobile (max 480px) ===== */
@media (max-width: 480px) {

    .hero-container {
        padding: 80px 12px 32px;
    }

    .hero-title {
        font-size: 1.8rem;
        letter-spacing: -0.03em;
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .visual-wrapper {
        width: 150px;
        height: 150px;
    }

    .floating-card {
        display: none;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    /* -- Sections -- */
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .section-tag {
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    /* -- About -- */
    .expertise-tags {
        gap: 6px;
    }

    .expertise-tag {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    /* -- Course card -- */
    .course-card {
        padding: 16px;
    }

    .course-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .course-title {
        font-size: 1.05rem;
    }

    /* -- Contact -- */
    .contact-info-card {
        padding: 16px;
    }

    .contact-social {
        gap: 8px;
    }

    /* -- Buttons -- */
    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    /* -- Footer -- */
    .site-footer {
        padding: 40px 0 16px;
    }

    .footer-brand p {
        font-size: 0.8rem;
    }
}

/* ===== Calendar RWD ===== */
@media (max-width: 1024px) {
    .calendar-wrapper {
        grid-template-columns: 1fr;
    }

    .calendar-detail {
        min-height: auto;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .calendar-section {
        padding: 60px 0;
    }

    .calendar-card {
        padding: 20px 14px;
    }

    .calendar-detail {
        padding: 20px 14px;
    }

    .calendar-day {
        font-size: 0.8rem;
        min-height: 44px;
        padding: 5px 1px 3px;
    }

    .day-slot-bar {
        width: 11px;
        height: 3px;
    }

    .calendar-month-title {
        font-size: 1rem;
    }

    .cal-slot-free-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cal-empty-hint {
        flex-direction: column;
        gap: 8px;
    }

    .schedule-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .schedule-date-col {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 16px;
        width: 100%;
        text-align: left;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        justify-content: flex-start;
    }

    .schedule-day {
        font-size: 1.5rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .calendar-card {
        padding: 14px 8px;
    }

    .calendar-nav-btn {
        width: 34px;
        height: 34px;
    }

    .calendar-day {
        font-size: 0.72rem;
        min-height: 38px;
        border-radius: 6px;
        padding: 4px 1px 2px;
    }

    .day-slot-bar {
        width: 9px;
        height: 3px;
    }

    .day-slots {
        gap: 2px;
    }

    .calendar-legend {
        gap: 8px;
    }

    .legend-item {
        font-size: 0.65rem;
    }

    .cal-detail-date-badge {
        width: 48px;
        height: 48px;
    }

    .cal-detail-date-badge .cal-d-day {
        font-size: 1.1rem;
    }

    .cal-slot-body {
        padding: 12px;
    }

    .cal-slot-course-meta {
        flex-direction: column;
        gap: 4px;
    }
}

/* ===== Toast Notification System ===== */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    min-width: 320px;
    max-width: 480px;
    border-radius: var(--radius);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: auto;
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: right center;
}

.toast.success {
    background: linear-gradient(135deg, #059669, #10b981);
    border-left: 4px solid #34d399;
}

.toast.error {
    background: linear-gradient(135deg, #dc2626, #f43f5e);
    border-left: 4px solid #fb7185;
}

.toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(80px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (max-width: 480px) {
    .toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
        font-size: 0.85rem;
        padding: 12px 16px;
    }
}