:root {
    --primary: #0B86C9;
    --primary-2: #137FC0;
    --primary-dark: #0A5E98;
    --navy: #123D63;
    --navy-soft: #214A66;
    --sky: #4FA9DA;
    --light: #f4f8fb;
    --white: #ffffff;
    --text: #1d2b38;
    --muted: #6d7a88;
    --line: rgba(11, 134, 201, 0.12);
    --shadow: 0 20px 60px rgba(18, 61, 99, 0.15);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #eef5fb 0%, #f8fbfe 100%);
    color: var(--text);
    font-family: "Inter", "Segoe UI", sans-serif;
}

.guest-course-header {
    position: relative;
    z-index: 20;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    padding: 18px 0;
    box-shadow: 0 10px 30px rgba(10, 40, 70, 0.12);
}

.course-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.course-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.course-brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 7px;
}

.course-brand-text {
    display: flex;
    flex-direction: column;
}

.course-brand-title {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.course-brand-subtitle {
    color: rgba(255, 255, 255, 0.78);
    margin-top: 4px;
    font-size: 0.92rem;
}

.course-nav-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-nav-outline,
.btn-nav-primary {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s ease;
}

.btn-nav-outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
}

.btn-nav-outline:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

.btn-nav-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--primary-dark));
    box-shadow: 0 14px 30px rgba(11, 134, 201, 0.26);
}

.btn-nav-primary:hover {
    color: #fff;
    transform: translateY(-2px);
}

.course-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 46px;
    background:
        radial-gradient(circle at top left, rgba(79,169,218,0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(11,134,201,0.20), transparent 30%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 48%, var(--primary) 100%);
    color: #fff;
}

.course-hero-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.10;
    background:
        linear-gradient(rgba(2, 14, 24, 0.45), rgba(2, 14, 24, 0.45)),
        url("../images/banner-gano.webp") center center / cover no-repeat;
}

.course-breadcrumb-wrap {
    margin-bottom: 18px;
}

.course-breadcrumb-wrap .breadcrumb-item a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
}

.course-breadcrumb-wrap .breadcrumb-item.active {
    color: rgba(255,255,255,0.65);
}

.course-label {
    display: inline-flex;
    align-items: center;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.course-title {
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1.08;
    font-weight: 900;
    margin-bottom: 18px;
    max-width: 900px;
}

.course-description {
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.84);
    max-width: 760px;
    margin-bottom: 28px;
}

.course-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.course-stat-card {
    min-width: 180px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    gap: 12px;
    align-items: center;
    backdrop-filter: blur(12px);
}

.course-stat-card i {
    font-size: 1.25rem;
    color: var(--sky);
}

.course-stat-card strong {
    display: block;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 800;
}

.course-stat-card span {
    display: block;
    color: rgba(255,255,255,0.76);
    font-size: 0.90rem;
}

.course-side-card {
    background: linear-gradient(180deg, rgba(18,61,99,0.92), rgba(33,74,102,0.92));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.course-side-card h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 22px;
}

.side-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.side-feature:last-of-type {
    margin-bottom: 22px;
}

.side-feature i {
    color: var(--sky);
    font-size: 1.05rem;
    margin-top: 3px;
}

.side-feature span {
    color: rgba(255,255,255,0.84);
    line-height: 1.6;
}

.btn-side-primary {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--primary-dark));
    box-shadow: 0 14px 30px rgba(11, 134, 201, 0.26);
}

.btn-side-primary:hover {
    color: #fff;
}

.course-main {
    position: relative;
    margin-top: -12px;
}

.course-video-section {
    padding-top: 34px;
}

.video-shell {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(18, 61, 99, 0.12);
    border: 1px solid rgba(11, 134, 201, 0.10);
}

.video-shell-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 22px;
    background: linear-gradient(135deg, #f7fbff 0%, #edf6fc 100%);
    border-bottom: 1px solid rgba(11, 134, 201, 0.10);
}

.video-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #c7dceb;
}

.video-shell-title {
    margin-left: 8px;
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.96rem;
}

.video-frame-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #07111a;
}

.video-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.course-content-section {
    padding: 38px 0 24px;
}

.info-card,
.access-card {
    background: #fff;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 16px 42px rgba(18, 61, 99, 0.08);
    border: 1px solid rgba(11, 134, 201, 0.08);
    height: 100%;
}

.section-mini-tag {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 134, 201, 0.08);
    color: var(--primary-dark);
    font-size: 0.84rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.info-card h3,
.access-card h4 {
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.info-card p,
.access-card p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 0;
}

.learning-points {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.learning-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(11,134,201,0.05), rgba(79,169,218,0.05));
    border: 1px solid rgba(11,134,201,0.08);
}

.learning-point i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 3px;
}

.learning-point span {
    color: var(--text);
    line-height: 1.65;
}

.access-card {
    display: flex;
    flex-direction: column;
}

.access-card p {
    margin-bottom: 22px;
}

.btn-access-primary,
.btn-access-secondary {
    min-height: 50px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s ease;
}

.btn-access-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--primary-dark));
    box-shadow: 0 14px 30px rgba(11, 134, 201, 0.22);
    margin-bottom: 12px;
}

.btn-access-primary:hover {
    color: #fff;
}

.btn-access-secondary {
    color: var(--primary-dark);
    background: rgba(11, 134, 201, 0.06);
    border: 1px solid rgba(11, 134, 201, 0.12);
}

.btn-access-secondary:hover {
    color: var(--primary-dark);
    background: rgba(11, 134, 201, 0.10);
}

.course-bottom-actions {
    padding: 10px 0 60px;
}

.bottom-actions-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.btn-bottom-outline,
.btn-bottom-primary {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s ease;
}

.btn-bottom-outline {
    color: var(--primary-dark);
    background: #fff;
    border: 1px solid rgba(11, 134, 201, 0.12);
}

.btn-bottom-outline:hover {
    color: var(--primary-dark);
    background: rgba(11, 134, 201, 0.04);
}

.btn-bottom-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--primary-dark));
    box-shadow: 0 14px 30px rgba(11, 134, 201, 0.20);
}

.btn-bottom-primary:hover {
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .course-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .course-nav-actions {
        width: 100%;
    }

    .course-hero {
        padding: 40px 0 32px;
    }

    .course-title {
        font-size: 2.2rem;
    }

    .course-side-card,
    .info-card,
    .access-card {
        padding: 22px;
    }
}

@media (max-width: 767px) {
    .course-nav-actions,
    .course-stats,
    .bottom-actions-wrap {
        flex-direction: column;
    }

    .btn-nav-outline,
    .btn-nav-primary,
    .btn-bottom-outline,
    .btn-bottom-primary,
    .btn-access-primary,
    .btn-access-secondary {
        width: 100%;
    }

    .course-brand-logo {
        width: 52px;
        height: 52px;
    }

    .course-brand-title {
        font-size: 1.18rem;
    }

    .course-brand-subtitle {
        font-size: 0.84rem;
    }

    .course-stat-card {
        width: 100%;
    }
}