@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap);:root {
    --color-blue: #0066FF;
    --color-green: #00CC66;
    --color-orange: #FF6600;
    --primary: #0055DD;
    --primary-dark: #0044BB;
    --primary-light: #3377FF;
    --primary-bg: #EEF3FF;
    --accent: #00CC66;
    --accent-dark: #00AA55;
    --accent-bg: #EDFFF5;
    --cta: #FF6600;
    --cta-dark: #DD5500;
    --cta-hover: #FF7722;
    --cta-bg: #FFF3EB;
    --bg: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-secondary: #F0F4FA;
    --text: #1A202C;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --border: #E2E8F0;
    --border-subtle: #EDF2F7;
    --brand-nav: #081f97;
    --brand-green: #00fe64;
    --dark-bg: #0A1628;
    --dark-surface: #0F2040;
    --dark-border: rgba(255,255,255,0.08);
    --shadow-sm: 0 1px 3px rgba(10,22,40,0.07);
    --shadow: 0 2px 8px rgba(10,22,40,0.09), 0 1px 2px rgba(10,22,40,0.04);
    --shadow-md: 0 4px 16px rgba(10,22,40,0.10), 0 2px 4px rgba(10,22,40,0.05);
    --shadow-lg: 0 10px 30px rgba(10,22,40,0.13), 0 4px 8px rgba(10,22,40,0.06);
    --shadow-xl: 0 20px 48px rgba(10,22,40,0.16), 0 8px 16px rgba(10,22,40,0.07);
    --shadow-primary: 0 4px 18px rgba(0,85,221,0.30);
    --shadow-green: 0 4px 18px rgba(0,204,102,0.28);
    --shadow-cta: 0 4px 18px rgba(255,102,0,0.35);
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    --font-logo: 'Inter', sans-serif;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-mono: 'SFMono-Regular', 'SF Mono', monospace;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 200ms;
    --duration-slow: 350ms;
    --transition: var(--duration) var(--ease)
}

*,*::before,*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
    overflow-x: hidden;
    min-height: 100vh
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--duration) var(--ease)
}

a:hover {
    color: #00fe64
}

img {
    max-width: 100%;
    display: block
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
    color: inherit
}

input,textarea {
    font-family: var(--font-body);
    outline: none
}

ul,ol {
    list-style: none
}

::selection {
    background: var(--primary);
    color: #fff
}

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: #fff0
}

::-webkit-scrollbar-thumb {
    background: #CBD5E0;
    border-radius: var(--radius-full)
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted)
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--text)
}

h1 {
    font-size: 2.75rem;
    line-height: 1.1
}

h2 {
    font-size: 2.1rem;
    line-height: 1.18
}

h3 {
    font-size: 1.5rem;
    line-height: 1.28
}

h4 {
    font-size: 1.2rem;
    line-height: 1.38
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

#main-content {
    flex: 1
}

@keyframes shimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.96)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(48px) scale(.96)
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1)
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: scale(1)
    }

    to {
        opacity: 0;
        transform: scale(.95) translateX(24px)
    }
}

@keyframes toastProgress {
    from {
        width: 100%
    }

    to {
        width: 0%
    }
}

@keyframes pulse {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .6
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 18px 0 10px;
    flex-wrap: wrap;
    line-height: 1;
    font-size: .78rem
}

.breadcrumb a,.breadcrumb .bc-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 14px;
    position: relative;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s;
    color: var(--text-muted);
    margin-right: 0;
    z-index: 1
}

.breadcrumb a::after,.breadcrumb .bc-current::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 13px solid #fff0;
    border-bottom: 13px solid #fff0;
    border-left: 8px solid var(--bg-secondary);
    z-index: 2
}

.breadcrumb a {
    background: var(--bg-secondary)
}

.breadcrumb a:hover {
    background: var(--primary-bg);
    color: var(--primary)
}

.breadcrumb a:hover::after {
    border-left-color: var(--primary-bg)
}

.breadcrumb a:first-child {
    border-radius: 8px 0 0 8px;
    padding-left: 12px;
    font-size: .85rem
}

.breadcrumb a:first-child::after {
    z-index: 3
}

.breadcrumb a:first-child:hover::after {
    border-left-color: var(--primary-bg)
}

.breadcrumb a:last-of-type {
    padding-right: 18px
}

.breadcrumb .bc-sep {
    display: none
}

.breadcrumb .bc-current {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding-right: 14px;
    border-radius: 0 8px 8px 0
}

.breadcrumb .bc-current::after {
    display: none
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 420px;
    width: 100%
}

.toast {
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    padding: 14px 44px 14px 16px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgb(0 0 0 / .12),0 4px 10px rgb(0 0 0 / .06);
    animation: toastIn 0.35s cubic-bezier(.34,1.56,.64,1) forwards;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    backdrop-filter: blur(12px)
}

.toast i {
    font-size: 18px;
    flex-shrink: 0;
    opacity: .9
}

.toast.success {
    background: linear-gradient(135deg,#059669,#047857)
}

.toast.error {
    background: linear-gradient(135deg,#ef4444,#dc2626)
}

.toast.info {
    background: linear-gradient(135deg,var(--primary),var(--primary-dark))
}

.toast.warning {
    background: linear-gradient(135deg,#d97706,#b45309)
}

.toast-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: rgb(255 255 255 / .6);
    font-size: 18px;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%
}

.toast-close:hover {
    color: #fff;
    transform: scale(1.2);
    background: rgb(255 255 255 / .1)
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgb(255 255 255 / .35);
    animation: toastProgress 3.5s linear forwards;
    border-radius: 0 1px 0 0
}

.toast-out {
    animation: toastOut 0.3s ease forwards!important
}

.toast-out .toast-progress {
    animation: none;
    width: 0
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    background: var(--brand-nav);
    border-bottom: 1px solid rgb(255 255 255 / .08);
    transition: box-shadow 0.3s ease,background 0.3s ease
}

#navbar.scrolled {
    background: rgb(8 31 151 / .97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgb(0 0 0 / .3)
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 16px
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: -.03em;
    white-space: nowrap;
    flex-shrink: 0
}

.logo .logo-icon {
    height: 30px;
    flex-shrink: 0
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: .85rem;
    font-weight: 500;
    color: var(--brand-green)
}

.nav-links a.active {
    color: var(--brand-green)
}

.nav-links a i {
    font-size: .75rem
}

.nav-utils {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 6px
}

.nav-auth .btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-lg);
    font-size: .83rem;
    font-weight: 500;
    color: #00fe64;
    text-decoration: none;
    transition: all 0.2s var(--ease)
}

.nav-auth .btn-signin {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: var(--radius-lg);
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    background: #fff0;
    border: 1.5px solid rgb(255 255 255 / .3);
    transition: all 0.25s var(--ease);
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-body)
}

.nav-auth .btn-register {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    border: 1.5px solid var(--primary);
    transition: all 0.25s var(--ease);
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-body);
    box-shadow: var(--shadow-primary)
}

.mobile-toggle {
    display: none;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgb(255 255 255 / .08);
    color: #fff;
    font-size: 17px
}

body.mm-open {
    overflow: hidden
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    background: rgb(10 22 40 / .65);
    backdrop-filter: blur(4px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s,visibility 0s 0.3s
}

.mobile-menu.open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s
}

.mobile-menu-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 88vw;
    background: #081f97;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -8px 0 40px rgb(0 0 0 / .35);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease)
}

.mobile-menu.open .mobile-menu-inner {
    transform: translateX(0)
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--dark-border);
    flex-shrink: 0
}

.mobile-close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgb(255 255 255 / .08);
    color: rgb(255 255 255 / .7);
    font-size: 17px
}

.mm-user {
    padding: 14px 18px;
    border-bottom: 1px solid var(--dark-border)
}

.mm-user-card {
    display: flex;
    align-items: center;
    gap: 11px
}

.mm-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #001273;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    color: #00fe64;
    flex-shrink: 0
}

.mm-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.mm-user-name {
    font-size: .88rem;
    font-weight: 600;
    color: #00fe64
}

.mm-user-email {
    font-size: .73rem;
    color: #00fe64;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.mm-nav,.mm-dash {
    display: flex;
    flex-direction: column;
    padding: 10px 10px 0
}

.mm-group-label {
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #0c6;
    padding: 8px 8px 4px
}

.mm-nav a,.mm-dash a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: .88rem;
    font-weight: 500;
    color: #00fe64;
    margin-bottom: 2px
}

.mm-nav a.active,.mm-dash a.active {
    color: #0c6
}

.mm-nav a i,.mm-dash a i {
    width: 18px;
    text-align: center;
    font-size: .82rem
}

.mm-footer {
    margin-top: auto;
    padding: 14px 10px;
    border-top: 1px solid var(--dark-border);
    display: flex;
    flex-direction: column;
    gap: 8px
}

.mm-contact-btn,.mm-login-btn,.mm-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 14px;
    border-radius: var(--radius-lg);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s var(--ease)
}

.mm-contact-btn {
    color: rgb(255 255 255 / .5);
    background: #fff0;
    border: 1.5px solid #fff0;
    font-weight: 500;
    font-size: .83rem
}

.mm-footer-link,.mm-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: .88rem;
    font-weight: 500;
    color: #00fe64;
    background: rgb(255 255 255 / .04);
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%
}

.mm-logout-btn:hover {
    background: rgb(255 255 255 / .1)
}

#user-dropdown-wrap {
    position: relative
}

.user-avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 6px;
    border-radius: var(--radius-full);
    background: rgb(255 255 255 / .09);
    border: 1px solid rgb(255 255 255 / .14);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    font-size: .83rem;
    font-weight: 600
}

.user-avatar-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0d2050;
    color: #00fe64;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 800;
    flex-shrink: 0
}

.user-avatar-name {
    color: #00fe64;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.user-avatar-caret {
    font-size: .65rem;
    color: #00fe64;
    transition: transform 0.2s
}

#user-dropdown-wrap.open .user-avatar-caret {
    transform: rotate(180deg)
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #081f97;
    border: 1px solid #0c6;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    z-index: 1001
}

#user-dropdown-wrap.open .user-dropdown-menu {
    display: block;
    animation: scaleIn 0.18s ease
}

.udm-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--brand-nav)
}

.udm-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0d2050;
    color: #00fe64;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .82rem;
    flex-shrink: 0
}

.udm-info {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.udm-name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--brand-green);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.udm-email {
    font-size: .71rem;
    color: #00fe64;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.udm-divider {
    height: 1px;
    background: var(--brand-green);
    margin: 3px 0
}

.udm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    font-size: .83rem;
    font-weight: 500;
    color: #0c6;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left
}

.udm-item i {
    width: 15px;
    text-align: center;
    color: #0c6;
    font-size: .82rem
}

.udm-item-admin {
    color: var(--cta)!important
}

.udm-item-admin i {
    color: var(--cta)!important
}

.udm-item-logout {
    color: #ef4444!important
}

.udm-item-logout i {
    color: #ef4444!important
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
    line-height: 1.4;
    text-decoration: none;
    letter-spacing: .01em
}

.btn:hover {
    transform: translateY(-1px)
}

.btn:active {
    transform: translateY(0)
}

.btn-sm {
    padding: 6px 14px;
    font-size: .8rem
}

.btn-lg {
    padding: 12px 28px;
    font-size: .95rem
}

.btn-full {
    width: 100%
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary)
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 22px rgb(0 85 221 / .42)
}

.btn-cta {
    background: var(--cta);
    color: #fff;
    box-shadow: var(--shadow-cta);
    font-weight: 700;
    border-radius: var(--radius-lg)
}

.btn-cta:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgb(255 102 0 / .48)
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-green)
}

.btn-accent:hover {
    background: var(--accent-dark);
    box-shadow: 0 6px 22px rgb(0 204 102 / .4)
}

.btn-outline {
    background: #fff0;
    color: var(--text);
    border: 1.5px solid var(--border)
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg)
}

.btn-outline-primary {
    background: #fff0;
    color: var(--primary);
    border: 1.5px solid var(--primary)
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff
}

.btn-solid-white {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    font-weight: 700
}

.btn-solid-white:hover {
    background: var(--bg-secondary)
}

.btn-outline-white {
    background: #fff0;
    color: #fff;
    border: 1.5px solid rgb(255 255 255 / .35)
}

.btn-outline-white:hover {
    background: rgb(255 255 255 / .1);
    border-color: rgb(255 255 255 / .7);
    box-shadow: 0 0 16px rgb(255 255 255 / .06)
}

.btn-error {
    background: #ef4444;
    color: #fff
}

.btn-error:hover {
    background: #dc2626
}

.btn-ghost {
    background: #fff0;
    color: rgb(255 255 255 / .75)
}

.btn-ghost:hover {
    background: rgb(255 255 255 / .08);
    color: #fff
}

.btn-disabled,.btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none!important;
    box-shadow: none!important
}

.hero {
    background: #fff;
    color: var(--text);
    padding: clamp(100px, 14vw, 200px) 24px clamp(100px, 18vw, 250px);
    margin-top: 64px;
    position: relative;
    overflow: hidden
}

.hero-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow-x: hidden
}

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.2vw, 14px);
    margin-bottom: 60px;
    animation: fadeInUp 0.55s var(--ease) both;
    max-width: 100%
}

.hero-brand img {
    height: clamp(36px, 6vw, 90px);
    width: auto;
    flex-shrink: 0
}

.hero-brand-text {
    font-family: var(--font-logo);
    font-weight: 700;
    font-size: clamp(1.8rem, 5.5vw, 3.95rem);
    color: #000;
    letter-spacing: -.035em;
    line-height: 1;
    white-space: nowrap
}

.hero-brand-text .brand-course {
    font-weight: 400
}

.hero-brand-text .brand-cross {
    font-weight: 800
}

.hero-brand-text .brand-hub {
    font-weight: 800
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.3rem, 3.2vw, 2.25rem);
    color: #000;
    max-width: 720px;
    margin: 0 auto 0;
    line-height: 1.65;
    animation: fadeInUp 0.65s var(--ease) 0.1s both;
    font-weight: 700;
    padding: 0 4px
}

.hero-actions {
    display: none
}

.page-enter {
    animation: fadeIn 0.28s ease
}

.section {
    padding: 72px 24px;
    max-width: 1280px;
    margin: 0 auto
}

.section-alt {
    background: var(--bg-secondary);
    padding: 72px 24px
}

.section-alt .section-inner {
    max-width: 1280px;
    margin: 0 auto
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto
}

.section-header {
    text-align: center;
    margin-bottom: 48px
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 12px;
    position: relative;
    display: inline-block
}

.section-heading::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 10px auto 0
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: .97rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    font-weight: 400
}

.savings-banner {
    max-width: 720px;
    margin: 0 auto 48px;
    padding: 50px 40px;
    border: 1px solid #000;
    border-radius: var(--radius-xl);
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 300;
    color: #000;
    letter-spacing: -.01em;
    line-height: 1.3;
    background: #fff
}

.cd-header {
    background: #f8f9fc;
    border-bottom: 1px solid var(--border-subtle);
    padding: 40px 24px;
    margin-top: 64px
}

.cd-header-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start
}

.cd-header-left {
    flex: 1;
    min-width: 0
}

.cd-header-right {
    flex-shrink: 0;
    text-align: right
}

.cd-categories {
    margin-bottom: 10px
}

.cd-cat {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-right: 6px
}

.cd-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 18px;
    line-height: 1.15
}

.cd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-bottom: 18px;
    font-size: .95rem;
    color: var(--text-secondary)
}

.cd-meta-item {
    display: flex;
    align-items: center;
    gap: 6px
}

.cd-meta-item i {
    width: 16px;
    color: var(--accent);
    font-size: .95rem
}

.cd-meta-instructor {
    font-weight: 700;
    color: var(--text)
}

.cd-purchase-btn {
    width: 100%;
    justify-content: center
}

.cd-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    margin-bottom: 14px
}

.cd-price-tag {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary)
}

.cd-price-tag.cd-price-free {
    color: var(--accent)
}

.cd-duration-tag {
    font-size: .82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px
}

.cd-access-badge {
    font-size: .85rem;
    color: var(--accent);
    font-weight: 600
}

.cd-trial-badge {
    font-size: .85rem;
    color: var(--cta);
    font-weight: 600
}

.cd-layout {
    max-width: 1160px;
    margin: 36px auto;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 0 24px
}

.cd-layout-main {
    flex: 1;
    min-width: 0
}

.cd-layout-side {
    width: 340px;
    flex-shrink: 0
}

.cd-player-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    background: #000
}

.cd-player-wrap video,.cd-player-wrap iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none
}

.cd-player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.cd-player-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0
}

.cd-player-overlay .play-btn {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgb(0 0 0 / .65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: transform 0.2s
}

.cd-player-overlay .play-btn:hover {
    transform: scale(1.1)
}

.cd-desc-wrap {
    max-width: 860px;
    margin: 0 0 10px 60px;
    padding: 0 24px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8
}

.cd-sidebar-module {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden
}

.cd-sm-header {
    padding: 16px 18px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.cd-sm-count {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted)
}

.cd-sm-list {
    display: flex;
    flex-direction: column
}

.cd-sm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-top: 1px solid var(--border-subtle);
    cursor: pointer
}

.cd-sm-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    color: var(--text-muted)
}

.cd-sm-done .cd-sm-num {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff
}

.cd-sm-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.cd-sm-free {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 1px 6px;
    border-radius: var(--radius-full);
    flex-shrink: 0
}

.cd-info-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
    max-width: 1160px;
    margin: 0 auto 48px;
    padding: 0 24px
}

.cd-info-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    transition: box-shadow 0.25s,transform 0.25s
}

.cd-info-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px)
}

.cd-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px
}

.cd-info-icon i {
    font-size: 1.25rem;
    color: var(--primary)
}

.cd-info-box h3 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px
}

.cd-info-text {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: #000;
    font-weight: 500;
    line-height: 1.85
}

.cd-info-text p {
    margin: 0 0 .6em
}

.cd-info-text p:last-child {
    margin: 0
}

.cd-info-text ul {
    margin: .4em 0;
    padding-left: 1.2em
}

.cd-info-text li {
    margin-bottom: .3em;
    list-style: disc
}

.cd-instructor-mini {
    display: flex;
    gap: 16px;
    align-items: flex-start
}

.cd-instr-mini-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--border)
}

.cd-reviews-wrap {
    max-width: 860px;
    margin: 0 auto 48px;
    padding: 0 24px
}

.cd-reviews-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px
}

.cd-reviews-heading i {
    color: var(--primary)
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 24px
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s var(--ease),box-shadow 0.25s var(--ease),border-color 0.25s;
    display: flex;
    flex-direction: column
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgb(0 85 221 / .2)
}

.card-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-secondary)
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease)
}

.course-card:hover .card-image {
    transform: scale(1.04)
}

.card-img-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / .35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s
}

.course-card:hover .card-img-overlay {
    opacity: 1
}

.card-img-overlay i {
    font-size: 2.2rem;
    color: #fff
}

.card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 9px;
    border-radius: var(--radius-full)
}

.card-level {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgb(0 0 0 / .55);
    color: #fff;
    font-size: .66rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px)
}

.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px
}

.card-title {
    font-family: var(--font-heading);
    font-size: .98rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35
}

.card-body p {
    font-family: var(--font-body);
    font-size: .83rem;
    color: var(--text);
    line-height: 1.55;
    font-weight: 400;
    flex: 1
}

.card-footer-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle)
}

.card-price {
    font-family: var(--font-heading);
    font-size: .98rem;
    font-weight: 700;
    color: var(--primary)
}

.card-price.free {
    color: var(--accent)
}

.card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .7rem;
    color: var(--text-muted);
    font-weight: 500
}

.hs-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(290px,1fr));
    gap: 20px
}

.hsc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s var(--ease),box-shadow 0.25s var(--ease),border-color 0.25s;
    display: flex;
    flex-direction: column;
    position: relative
}

.hsc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgb(0 85 221 / .25)
}

.hsc-top-bar {
    height: 4px;
    flex-shrink: 0
}

.hsc-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    border: 1.5px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin: 16px 16px 0
}

.hsc-body {
    padding: 10px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.hsc-category {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 6px
}

.hsc-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 7px
}

.hsc-new-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: .58rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 6px
}

.hsc-type-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px
}

.hsc-type {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 3px 8px;
    border-radius: var(--radius-full)
}

.hsc-meta {
    font-size: .73rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px
}

.hsc-duration {
    color: var(--text-muted)
}

.hsc-cert-icon {
    color: var(--cta);
    font-size: 1.1rem
}

.hsc-desc {
    font-family: var(--font-body);
    font-size: .82rem;
    color: var(--text);
    line-height: 1.5;
    margin-top: auto;
    font-weight: 400
}

.hsc-type-info {
    display: flex;
    flex-direction: column
}

.skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden
}

.sk-thumb {
    height: 160px;
    background: linear-gradient(90deg,var(--bg-secondary) 25%,var(--border) 50%,var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite
}

.sk-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.sk-line {
    height: 11px;
    border-radius: 6px;
    background: linear-gradient(90deg,var(--bg-secondary) 25%,var(--border) 50%,var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite
}

.sk-line.short {
    width: 52%
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
    gap: 22px
}

.instructor-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s var(--ease),box-shadow 0.25s var(--ease),border-color 0.25s;
    display: flex;
    flex-direction: column
}

.instructor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgb(0 85 221 / .2)
}

.instructor-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg,var(--dark-bg) 0%,#0D2050 100%);
    flex-shrink: 0
}

.instructor-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease)
}

.instructor-card:hover .instructor-card-img img {
    transform: scale(1.05)
}

.ic-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgb(255 255 255 / .2)
}

.ic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgb(0 0 0 / .65) 0%,transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 14px 16px;
    opacity: 0;
    transition: opacity 0.25s
}

.instructor-card:hover .ic-overlay {
    opacity: 1
}

.ic-overlay span {
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px
}

.instructor-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.instructor-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3
}

.ic-role {
    font-size: .8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px
}

.ic-excerpt {
    font-family: var(--font-body);
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.55;
    font-weight: 400;
    flex: 1;
    margin-bottom: 14px
}

.ic-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    margin-top: auto
}

.ic-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .77rem;
    color: var(--text-muted);
    font-weight: 500
}

.ic-footer span i {
    color: var(--accent)
}

.ic-tag {
    background: var(--primary-bg);
    color: var(--primary);
    font-size: .68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    letter-spacing: .02em
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    border: 3px solid var(--bg-secondary)
}

.instructor-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--primary),var(--accent));
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px
}

.instructor-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px
}

.instructor-title {
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 12px
}

.instructor-bio {
    font-family: var(--font-body);
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
    font-weight: 400
}

.instructor-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle)
}

.instructor-stats span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: .7rem;
    color: var(--text-muted)
}

.instructor-stats strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text)
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 22px
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s var(--ease),box-shadow 0.25s var(--ease);
    display: flex;
    flex-direction: column
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg)
}

.blog-card-img-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg,var(--dark-bg) 0%,#0D2050 100%);
    flex-shrink: 0
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease)
}

.blog-card:hover .blog-card-img-wrap img {
    transform: scale(1.04)
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgb(255 255 255 / .15)
}

.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / .3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s
}

.blog-card-overlay i {
    font-size: 1.8rem;
    color: #fff
}

.blog-card:hover .blog-card-overlay {
    opacity: 1
}

.blog-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.blog-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .71rem;
    color: var(--text-muted);
    font-weight: 500
}

.blog-card-meta i {
    color: var(--primary);
    font-size: .7rem
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: .98rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 7px;
    line-height: 1.32
}

.blog-card p {
    font-family: var(--font-body);
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
    flex: 1
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .02em
}

.blog-card:hover .blog-card-cta {
    color: var(--primary-dark)
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s var(--ease),box-shadow 0.25s var(--ease);
    display: flex;
    flex-direction: column
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg)
}

.related-card-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-secondary)
}

.related-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease)
}

.related-card:hover .related-card-img {
    transform: scale(1.04)
}

.related-card-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / .35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s
}

.related-card-overlay span {
    color: #fff;
    font-size: .83rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px
}

.related-card:hover .related-card-overlay {
    opacity: 1
}

.related-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.related-card-body h3 {
    font-family: var(--font-heading);
    font-size: .93rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.32
}

.related-card-body p {
    font-family: var(--font-body);
    font-size: .79rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
    font-weight: 400
}

.related-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle)
}

.related-card-price {
    font-weight: 700;
    font-size: .88rem;
    color: var(--primary)
}

.related-card-price.free {
    color: var(--accent)
}

.related-card-meta {
    display: flex;
    gap: 8px
}

.related-card-meta span {
    font-size: .68rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 3px
}

.courses-page-wrapper {
    margin-top: 64px
}

.courses-hero {
    background: linear-gradient(135deg,var(--dark-bg) 0%,#0D2050 100%);
    color: #fff;
    padding: 56px 24px;
    position: relative;
    overflow: hidden
}

.courses-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 85% 50%,rgb(0 204 102 / .08) 0%,transparent 70%),radial-gradient(ellipse 35% 55% at 15% 80%,rgb(0 102 255 / .09) 0%,transparent 70%);
    pointer-events: none
}

.courses-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.ch-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px
}

.ch-subtitle {
    font-family: var(--font-body);
    font-size: .97rem;
    color: rgb(255 255 255 / .72);
    max-width: 540px;
    font-weight: 400
}

.courses-strip-wrap {
    position: sticky;
    top: 64px;
    z-index: 100;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm)
}

.courses-strip-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    flex-direction: row;
}

.cs-level-group {
    display: flex;
    gap: 5px;
    flex-wrap: wrap
}

.cs-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: #cafffc;
    border: 1.5px solid #a0bbed;
    font-size: .78rem;
    font-weight: 800;
    color: #0059ff;
    cursor: pointer;
    transition: all 0.18s;
    font-family: var(--font-body)
}

.cs-pill:hover {
    border-color: var(--primary);
    color: var(--primary)
}

.cs-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #00fe64;
}

.cs-search-wrap {
    position: relative;
    flex: 1;
    max-width: 260px;
    margin-left: auto
}

.cs-search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: .82rem;
    pointer-events: none
}

.cs-search-input {
    width: 100%;
    padding: 7px 13px 7px 32px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    font-size: .82rem;
    color: var(--text);
    font-family: var(--font-body);
    transition: border-color 0.18s
}

.cs-search-input:focus {
    border-color: var(--primary);
    background: var(--bg-card);
    outline: none
}

.cs-categories-strip {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 50px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
}

.courses-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px 80px
}

.courses-count {
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    font-weight: 500
}

.load-more {
    text-align: center;
    margin-top: 36px
}

.cd-hero {
    margin-top: 64px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--dark-bg);
    min-height: 360px;
    display: flex;
    align-items: center
}

.cd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,rgb(6 18 53 / .92) 0%,rgb(12 31 72 / .88) 50%,rgb(10 30 80 / .75) 100%)
}

.cd-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 24px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    position: relative;
    z-index: 1;
    width: 100%;
    align-items: start
}

.cd-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px
}

.cd-cat {
    background: rgb(0 204 102 / .15);
    color: rgb(0 204 102 / .95);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgb(0 204 102 / .25)
}

.cd-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #05d;
    line-height: 1.2;
    margin-bottom: 12px
}

.cd-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgb(255 255 255 / .75);
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 600px
}

.cd-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px
}

.cd-stats-row span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgb(255 255 255 / .08);
    color: rgb(255 255 255 / .8);
    font-size: .74rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgb(255 255 255 / .1)
}

.cd-stats-row span i {
    color: var(--accent);
    font-size: .68rem
}

.cd-instructor-row {
    display: flex;
    align-items: center;
    gap: 12px
}

.cd-instr-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgb(255 255 255 / .2);
    flex-shrink: 0
}

.cd-instr-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cd-instr-avatar i {
    font-size: 1.4rem;
    color: rgb(255 255 255 / .5);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / .08)
}

.cd-instr-label {
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgb(255 255 255 / .4);
    display: block;
    margin-bottom: 2px
}

.cd-instr-name {
    font-size: .92rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer
}

.cd-instr-name:hover {
    color: var(--accent)
}

.cd-sidebar {
    position: sticky;
    top: 80px
}

.cd-price-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 16px
}

.cd-price-amount {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    padding: 20px 20px 4px
}

.cd-price-amount.free {
    color: var(--accent)
}

.cd-price-period {
    font-size: .76rem;
    color: var(--text-muted);
    padding: 0 20px 14px
}

.cd-access {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    margin: 0 20px 14px;
    background: var(--accent-bg);
    border: 1.5px solid rgb(0 204 102 / .25);
    border-radius: var(--radius-lg);
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent-dark)
}

.cd-access-trial {
    background: var(--primary-bg);
    border-color: rgb(0 85 221 / .2);
    color: var(--primary)
}

.cd-price-features {
    padding: 14px 20px 18px;
    border-top: 1px solid var(--border-subtle)
}

.cd-pf-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .79rem;
    color: var(--text-secondary);
    margin-bottom: 7px;
    font-weight: 500
}

.cd-pf-item:last-child {
    margin-bottom: 0
}

.cd-pf-item i {
    color: var(--accent);
    font-size: .74rem;
    flex-shrink: 0
}

.cd-stats-box {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px
}

.cd-stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .74rem;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--bg-secondary);
    padding: 5px 10px;
    border-radius: var(--radius-full)
}

.cd-instructor-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md)
}

.cd-ic-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer
}

.cd-ic-inner img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border)
}

.cd-ic-placeholder {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--primary),var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0
}

.cd-ic-name {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text)
}

.cd-ic-bio {
    font-family: var(--font-body);
    font-size: .76rem;
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.4
}

.course-page-content {
    max-width: 1280px;
    margin: 0 auto
}

.course-section-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px
}

.rich-content {
    font-family: var(--font-body);
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 400
}

.rich-content h1,.rich-content h2,.rich-content h3,.rich-content h4 {
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 1.2em 0 .4em
}

.rich-content p {
    margin-bottom: .8em
}

.rich-content ul,.rich-content ol {
    margin: .6em 0;
    padding-left: 1.4em
}

.rich-content li {
    margin-bottom: .3em
}

.rich-content ul li {
    list-style: disc
}

.rich-content ol li {
    list-style: decimal
}

.rich-content strong {
    color: var(--text);
    font-weight: 600
}

.cd-trailer-section {
    margin-bottom: 28px
}

.cd-trailer-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px
}

.cd-trailer-label i {
    color: var(--primary);
    font-size: 1rem
}

.cd-trailer-video {
    background: #000;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md)
}

.cd-trailer-video iframe,.cd-trailer-video video {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none
}

.cd-body {
    background: var(--bg-secondary)
}

.cd-body-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 36px 24px 60px
}

.cd-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-subtle)
}

.cd-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0
}

.cd-section-head {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px
}

.cd-section-head i {
    color: var(--primary);
    font-size: 1rem
}

.cd-section-body {
    font-family: var(--font-body);
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.7
}

.cd-section-instructor {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 30px;
    box-shadow: var(--shadow-sm);
    border-bottom: none
}

.cd-section-instructor .cd-section-head {
    margin-bottom: 14px
}

.cd-instructor-bio {
    display: flex;
    gap: 20px;
    align-items: flex-start
}

.cd-ib-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--border)
}

.cd-ib-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cd-ib-text {
    flex: 1;
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7
}

.cd-curriculum {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.cd-ci {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.15s
}

.cd-ci:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    background: var(--primary-bg)
}

.cd-ci-done {
    border-color: var(--accent);
    background: rgb(0 204 102 / .04)
}

.cd-ci-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0
}

.cd-ci-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0
}

.cd-ci-done .cd-ci-num {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff
}

.cd-ci-info {
    min-width: 0
}

.cd-ci-title {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px
}

.cd-ci-done-badge {
    font-size: .64rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 1px 7px;
    border-radius: var(--radius-full)
}

.cd-ci-dur {
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 4px
}

.cd-ci-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0
}

.cd-ci-free {
    font-size: .68rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 2px 8px;
    border-radius: var(--radius-full)
}

.cd-ci-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .74rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border: none;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.15s
}

.cd-ci-btn:hover {
    background: var(--primary-hover);
    background: #003bb3
}

.cd-ci-btn i {
    font-size: .67rem
}

.cd-ci-lock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .74rem;
    font-weight: 600;
    color: var(--text-muted)
}

.cd-ci-lock i {
    font-size: .72rem;
    color: var(--text-muted)
}

.cd-ci-remain {
    font-size: .72rem;
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap
}

.cd-tabs {
    display: flex;
    gap: 0;
    margin: 0 -24px 28px;
    padding: 0 24px;
    border-bottom: 2px solid var(--border-subtle);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none
}

.cd-tabs::-webkit-scrollbar {
    display: none
}

.cd-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid #fff0;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    position: relative
}

.cd-tab i {
    font-size: .8rem
}

.cd-tab:hover {
    color: var(--text)
}

.cd-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary)
}

.cd-tab.active i {
    color: var(--primary)
}

.cd-tab-content {
    display: none
}

.cd-tab-content.active {
    display: block
}

.cd-tab-content .cd-section:first-child {
    margin-top: 0
}

.cd-rf-empty {
    text-align: center;
    padding: 48px 20px
}

.cd-rf-empty i {
    font-size: 2.2rem;
    color: var(--border);
    margin-bottom: 14px;
    display: block
}

.cd-rf-empty p {
    color: var(--text-muted);
    font-size: .92rem
}

.cd-review-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 22px;
    margin-top: 24px
}

.cd-rf-head {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px
}

.cd-rf-head i {
    color: var(--primary)
}

.review {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    margin-bottom: 10px
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}

.review-author {
    font-size: .86rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 7px
}

.review-author i {
    color: var(--primary)
}

.review-date {
    font-size: .72rem;
    color: var(--text-muted)
}

.review-text {
    font-family: var(--font-body);
    font-size: .84rem;
    color: var(--text-secondary);
    line-height: 1.55
}

.cd-related {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px 60px
}

.cd-related-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px
}

.cd-related-head h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap
}

.cd-rh-line {
    flex: 1;
    height: 1px;
    background: var(--border)
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(230px,1fr));
    gap: 16px
}

.tab-content {
    display: block!important
}

.lock-overlay {
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    text-align: center;
    padding: 52px 36px;
    overflow: hidden
}

.lock-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,rgb(0 85 221 / .03) 0%,rgb(0 204 102 / .03) 100%)
}

.lock-icon-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgb(0 85 221 / .08);
    border: 2px solid rgb(0 85 221 / .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin: 0 auto 18px
}

.lock-overlay h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 9px
}

.lock-overlay p {
    color: var(--text-secondary);
    margin-bottom: 22px;
    font-weight: 400
}

.locked-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap
}

.trial-bar-wrap {
    background: var(--dark-bg);
    border-radius: var(--radius);
    padding: 8px 12px;
    margin-bottom: 10px
}

.trial-bar {
    height: 5px;
    background: rgb(255 255 255 / .1);
    border-radius: 3px;
    overflow: hidden
}

.trial-bar-fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.5s;
    border-radius: 3px
}

.trial-label {
    font-size: .7rem;
    color: rgb(255 255 255 / .55);
    margin-top: 5px
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px
}

.form-group label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text)
}

.form-input {
    padding: 9px 13px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .88rem;
    color: var(--text);
    background: var(--bg-card);
    transition: border-color 0.2s,box-shadow 0.2s;
    font-family: var(--font-body)
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgb(0 85 221 / .1)
}

.form-input::placeholder {
    color: var(--text-muted)
}

.form-select {
    padding: 9px 13px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .88rem;
    color: var(--text);
    background: var(--bg-card);
    font-family: var(--font-body)
}

.form-select:focus {
    border-color: var(--primary)
}

.form-error-msg {
    color: #ef4444;
    font-size: .8rem;
    margin-top: 4px
}

.form-hint {
    font-size: .73rem;
    color: var(--text-muted)
}

.checkbox-group,.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px
}

.checkbox-group input[type=checkbox],.checkbox-row input[type=checkbox] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--primary)
}

.checkbox-group label,.checkbox-row label {
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.45;
    cursor: pointer
}

.auth-page {
    max-width: 440px;
    margin: 96px auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 38px 34px;
    box-shadow: var(--shadow-xl)
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 26px
}

.auth-logo img {
    height: 36px
}

.auth-logo span {
    font-family: var(--font-logo);
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -.025em
}

.auth-logo .brand-course {
    font-weight: 400
}

.auth-header {
    text-align: center;
    margin-bottom: 24px
}

.auth-page h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 6px;
    text-align: center
}

.auth-page .auth-subtitle {
    font-size: .85rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 400
}

.auth-footer {
    text-align: center;
    margin-top: 18px;
    font-size: .83rem;
    color: var(--text-muted)
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600
}

.dash2-layout {
    display: flex;
    min-height: 100vh;
    margin-top: 64px
}

.dash2-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--dark-bg);
    border-right: 1px solid var(--dark-border);
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
    display: flex;
    flex-direction: column
}

.dash2-sidebar-head {
    padding: 18px 16px 14px;
    border-bottom: 1px solid var(--dark-border)
}

.dash2-profile {
    display: flex;
    align-items: center;
    gap: 10px
}

.dash2-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .82rem;
    flex-shrink: 0
}

.dash2-profile-name {
    display: block;
    font-size: .87rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.dash2-profile-email {
    display: block;
    font-size: .7rem;
    color: rgb(255 255 255 / .42);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.dash2-sidebar-close {
    display: none
}

.dash2-nav {
    flex: 1;
    padding: 10px
}

.dash2-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: .86rem;
    font-weight: 500;
    color: rgb(255 255 255 / .62);
    text-decoration: none;
    transition: all 0.15s;
    margin-bottom: 2px
}

.dash2-nav-item:hover {
    color: #fff;
    background: rgb(255 255 255 / .08)
}

.dash2-nav-item.active {
    color: var(--accent);
    background: rgb(0 204 102 / .09)
}

.dash2-nav-item i {
    width: 17px;
    text-align: center;
    font-size: .86rem
}

.dash2-sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--dark-border)
}

.dash2-logout-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: .86rem;
    font-weight: 500;
    color: rgb(255 100 100 / .8);
    background: none;
    cursor: pointer;
    border: none;
    width: 100%
}

.dash2-logout-btn:hover {
    background: rgb(255 100 100 / .09);
    color: #f87171
}

.dash2-content {
    flex: 1;
    min-width: 0;
    padding: 36px 36px 80px
}

.dash2-page {
    max-width: 920px
}

.dash2-page-header {
    margin-bottom: 28px
}

.dash2-page-header h1 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 9px
}

.dash2-page-header p {
    font-size: .86rem;
    color: var(--text-muted);
    margin-top: 5px;
    font-weight: 400
}

.dash2-page-header h1 i {
    color: var(--primary);
    font-size: 1.15rem
}

.dash2-loading {
    padding: 80px;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.5rem
}

.dash2-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(195px,1fr));
    gap: 14px;
    margin-bottom: 28px
}

.dash2-stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px
}

.dash2-stat-icon {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0
}

.dash2-stat-num {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text);
    display: block
}

.dash2-stat-label {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: 3px;
    display: block
}

.dash2-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .87rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px
}

.dash2-section-title i {
    color: var(--primary)
}

.dash2-course-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 16px 18px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: box-shadow 0.2s,border-color 0.2s
}

.dash2-course-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgb(0 85 221 / .25)
}

.dash2-course-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-lg);
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0
}

.dash2-course-body {
    flex: 1;
    min-width: 0
}

.dash2-course-title {
    font-size: .92rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px
}

.dash2-course-meta {
    font-size: .73rem;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center
}

.dash2-badge-continue {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px
}

.dash2-badge-done {
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px
}

.dash2-course-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    border-left: 1px solid var(--border-subtle);
    padding-left: 14px;
    margin-left: 4px;
    flex-shrink: 0
}

.dash2-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 7px
}

.dash2-progress-bar {
    flex: 1;
    height: 5px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden
}

.dash2-progress-fill {
    height: 100%;
    background: linear-gradient(90deg,var(--accent),var(--color-green));
    border-radius: 3px;
    transition: width 0.6s var(--ease)
}

.dash2-progress-pct {
    font-size: .7rem;
    color: var(--text-muted);
    font-weight: 600;
    flex-shrink: 0;
    min-width: 32px;
    text-align: right
}

.dash2-pending-banner {
    background: #fffbeb;
    border: 1.5px solid #fcd34d;
    border-radius: var(--radius-lg);
    padding: 11px 16px;
    font-size: .83rem;
    color: #92400e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px
}

.dash2-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted)
}

.dash2-empty i {
    font-size: 2.5rem;
    color: var(--border);
    margin-bottom: 14px;
    display: block
}

.dash2-empty h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 7px
}

.dash2-empty p {
    font-size: .85rem;
    margin-bottom: 18px;
    font-weight: 400
}

.dash2-error {
    text-align: center;
    padding: 48px 20px
}

.dash2-error i {
    font-size: 2.2rem;
    color: #ef4444;
    margin-bottom: 12px;
    display: block
}

.dash2-cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(290px,1fr));
    gap: 16px;
    margin-top: 18px
}

.dash2-cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.dash2-cert-card.is-issued {
    border-color: rgb(0 204 102 / .3);
    background: #fafffd
}

.dash2-cert-top {
    display: flex;
    align-items: center;
    gap: 12px
}

.dash2-cert-seal {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-lg);
    background: var(--cta-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--cta);
    flex-shrink: 0
}

.dash2-cert-info {
    min-width: 0
}

.dash2-cert-course {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.dash2-cert-num {
    display: block;
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: 2px
}

.dash2-cert-status {
    font-size: .78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: var(--radius-full);
    width: fit-content
}

.dash2-cert-thumb {
    width: 100%;
    height: 110px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    pointer-events: none;
    background: #f9fafb
}

.cert-issued {
    background: var(--accent-bg);
    color: var(--accent-dark)
}

.cert-pending {
    background: #fffbeb;
    color: #92400e
}

.cert-rejected {
    background: #fef2f2;
    color: #dc2626
}

.dash2-table-wrap {
    overflow-x: auto
}

.dash2-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem
}

.dash2-table thead tr {
    border-bottom: 2px solid var(--border)
}

.dash2-table th {
    padding: 10px 14px;
    text-align: left;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted)
}

.dash2-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle
}

.dash2-table tr:last-child td {
    border-bottom: none
}

.dash2-table tr.row-expired td {
    opacity: .65
}

.dash2-item-name {
    font-weight: 600;
    color: var(--text)
}

.dash2-cell-muted {
    color: var(--text-muted)
}

.dash2-cell-expired {
    color: #ef4444
}

.dash2-cell-price {
    font-weight: 700;
    color: var(--primary)
}

.dash2-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: .73rem;
    font-weight: 700
}

.dash2-badge-success {
    background: var(--accent-bg);
    color: var(--accent-dark)
}

.dash2-badge-error {
    background: #fef2f2;
    color: #dc2626
}

.dash2-badge-warn {
    background: #fffbeb;
    color: #92400e
}

.dash2-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(330px,1fr));
    gap: 18px
}

.dash2-settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden
}

.dash2-settings-card-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    font-size: .87rem;
    font-weight: 700;
    color: var(--text)
}

.dash2-settings-card-body {
    padding: 18px
}

.dash2-settings-msg {
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: .81rem;
    margin-bottom: 10px
}

.dash2-settings-msg.success {
    background: var(--accent-bg);
    color: var(--accent-dark)
}

.dash2-settings-msg.error {
    background: #fef2f2;
    color: #ef4444
}

.dash2-privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 16px;
    margin-bottom: 28px
}

.dash2-privacy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px
}

.dash2-privacy-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0
}

.dash2-privacy-body h3 {
    font-size: .97rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px
}

.dash2-privacy-body p {
    font-family: var(--font-body);
    font-size: .82rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-weight: 400;
    line-height: 1.5
}

.dash2-policy-body h3 {
    font-size: .95rem;
    font-weight: 700;
    margin: 18px 0 7px;
    color: var(--text)
}

.dash2-policy-body p {
    font-family: var(--font-body);
    font-size: .85rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 400
}

.dash2-policy-body a {
    color: var(--primary)
}

.payment-overlay {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / .55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px)
}

.payment-overlay.active {
    opacity: 1
}

.payment-modal {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    max-width: 476px;
    width: 100%;
    margin: 0 16px;
    padding: 34px 30px;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: scale(.95);
    transition: transform 0.3s var(--ease-spring);
    max-height: 90vh;
    overflow-y: auto
}

.payment-overlay.active .payment-modal {
    transform: scale(1)
}

.payment-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    cursor: pointer;
    border: none
}

.payment-close:hover {
    background: var(--border);
    color: var(--text)
}

.payment-header {
    text-align: center;
    margin-bottom: 22px
}

.payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-bg);
    border: 2px solid rgb(0 85 221 / .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0 auto 12px
}

.payment-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text)
}

.payment-desc {
    font-size: .83rem;
    color: var(--text-muted);
    margin-top: 4px
}

.payment-body {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.payment-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-bottom: 14px;
    font-size: .86rem
}

.payment-summary span {
    color: var(--text-secondary);
    font-weight: 500
}

.payment-summary strong {
    font-weight: 700;
    color: var(--text);
    font-size: .97rem
}

.payment-secure {
    font-size: .71rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.payment-secure i {
    color: var(--accent)
}

.pm-row {
    display: flex;
    gap: 10px
}

.card-preview {
    perspective: 1000px;
    margin: 0 auto 18px;
    max-width: 310px;
    height: 175px;
    position: relative
}

.card-front,.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 13px;
    padding: 18px;
    backface-visibility: hidden;
    transition: transform 0.6s
}

.card-front {
    background: linear-gradient(135deg,var(--dark-bg),#1A3A7A);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.card-back {
    background: linear-gradient(135deg,#1A3A7A,var(--dark-bg));
    transform: rotateY(180deg);
    color: #fff
}

.card-preview.flipped .card-front {
    transform: rotateY(-180deg)
}

.card-preview.flipped .card-back {
    transform: rotateY(0deg)
}

.card-brand-logo {
    font-size: 1.3rem;
    color: rgb(255 255 255 / .9)
}

.card-number {
    font-family: 'Courier New',monospace;
    font-size: 1.05rem;
    letter-spacing: .1em;
    color: #fff;
    margin: 8px 0
}

.card-details {
    display: flex;
    gap: 22px
}

.card-field {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.card-label {
    font-size: .58rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgb(255 255 255 / .55)
}

.card-value {
    font-size: .82rem;
    color: #fff;
    font-weight: 500
}

.card-stripe {
    height: 38px;
    background: rgb(0 0 0 / .4);
    margin: -18px -18px 14px;
    border-radius: 0
}

.card-cvv-box {
    background: rgb(255 255 255 / .9);
    border-radius: 4px;
    padding: 5px 11px;
    color: #000;
    font-family: 'Courier New',monospace;
    font-size: .88rem;
    display: inline-block
}

.card-input-wrapper {
    position: relative
}

.card-brand-icon {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.05rem;
    color: var(--text-muted)
}

.instructor-detail-page {
    padding: 28px 24px 80px;
    max-width: 1280px;
    margin: 78px auto 0
}

.id-hero {
    background: linear-gradient(150deg,var(--dark-bg) 0%,#0C1F48 60%,#0F2A66 100%);
    border-radius: var(--radius-2xl);
    margin-bottom: 24px;
    overflow: hidden;
    position: relative
}

.id-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 80% 50%,rgb(0 204 102 / .08) 0%,transparent 65%);
    pointer-events: none
}

.id-hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none
}

.id-shape {
    position: absolute;
    border-radius: 50%;
    opacity: .06
}

.id-shape-1 {
    width: 250px;
    height: 250px;
    background: var(--color-blue);
    top: -60px;
    right: 8%
}

.id-shape-2 {
    width: 150px;
    height: 150px;
    background: var(--color-green);
    bottom: -40px;
    left: 15%
}

.id-hero-content {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 36px 40px;
    position: relative;
    z-index: 1
}

.id-avatar {
    flex-shrink: 0
}

.id-avatar img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgb(255 255 255 / .15)
}

.id-avatar-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--primary),var(--accent));
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center
}

.id-info {
    flex: 1;
    min-width: 0
}

.id-info h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px
}

.id-title-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgb(255 255 255 / .1);
    color: rgb(255 255 255 / .82);
    font-size: .8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px
}

.id-bio {
    font-family: var(--font-body);
    font-size: .87rem;
    color: rgb(255 255 255 / .68);
    line-height: 1.65;
    max-width: 540px;
    margin-bottom: 14px;
    font-weight: 400
}

.id-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px
}

.specialty-tag {
    background: rgb(0 204 102 / .15);
    color: rgb(0 204 102 / .92);
    font-size: .7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgb(0 204 102 / .25)
}

.id-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap
}

.id-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.id-stat strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff
}

.id-stat span {
    font-size: .7rem;
    color: rgb(255 255 255 / .48);
    text-transform: uppercase;
    letter-spacing: .06em
}

.id-body {
    margin-bottom: 20px
}

.id-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 22px 26px;
    margin-bottom: 14px
}

.id-section h2 {
    font-size: .97rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.id-section h2 i {
    color: var(--primary)
}

.id-section-body {
    font-family: var(--font-body);
    font-size: .87rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 400
}

.id-courses {
    margin-top: 8px
}

.id-courses h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px
}

.id-courses h2 i {
    color: var(--primary)
}

.blog-article {
    max-width: 820px;
    margin: 78px auto 0;
    padding: 0 24px 80px
}

.blog-article-header {
    margin-bottom: 28px
}

.blog-article-category {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 10px
}

.blog-article-header h1 {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 14px
}

.blog-article-meta {
    margin-bottom: 16px
}

.bam-author {
    display: flex;
    align-items: center;
    gap: 12px
}

.bam-author img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover
}

.bam-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--primary),var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
    flex-shrink: 0
}

.bam-author strong {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--text)
}

.bam-author span {
    font-size: .77rem;
    color: var(--text-muted);
    font-weight: 400
}

.blog-article-image {
    margin-bottom: 28px;
    border-radius: var(--radius-xl);
    overflow: hidden
}

.blog-article-image img {
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover
}

.blog-article-content {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    font-weight: 400
}

.blog-article-content h2,.blog-article-content h3 {
    color: var(--text);
    margin: 1.8em 0 .6em;
    font-family: var(--font-heading);
    font-weight: 700
}

.blog-article-content p {
    margin-bottom: 1.2em
}

.blog-article-footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px
}

.share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.share-label {
    font-size: .83rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--radius);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    font-size: .79rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none
}

.share-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg)
}

.share-more-wrap {
    position: relative
}

.share-dropdown {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    overflow: hidden
}

.share-dropdown.open {
    display: block;
    animation: scaleIn 0.15s ease
}

.share-dropdown a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    font-size: .83rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.15s
}

.share-dropdown a:hover {
    background: var(--bg-secondary);
    color: var(--text)
}

.courses-page {
    padding: 28px 24px 80px;
    max-width: 1280px;
    margin: 80px auto 0
}

.lesson-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px 80px;
    margin-top: 58px
}

.lesson-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    margin-bottom: 8px;
    color: var(--primary);
    text-decoration: none
}

.lesson-back:hover {
    text-decoration: underline
}

.lesson-head-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px
}

.lesson-heading {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
    margin: 0;
    flex: 1;
    min-width: 0
}

.lesson-remaining {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0
}

.lesson-layout {
    display: grid;
    grid-template-columns: 620px 1fr;
    gap: 32px;
    align-items: start
}

.lesson-video-col {
    position: sticky;
    top: 88px;
    align-self: start
}

.lesson-content-col {
    min-width: 0
}

.lesson-content {
    line-height: 1.95;
    color: var(--text);
    font-weight: 400;
    font-family: var(--font-body);
    font-size: .95rem
}

.lesson-content h1,.lesson-content h2,.lesson-content h3 {
    color: var(--primary);
    margin: 1.6em 0 .5em;
    font-family: var(--font-heading);
    font-weight: 700
}

.lesson-content p {
    margin-bottom: 1em
}

.lesson-content img {
    border-radius: var(--radius);
    margin: 1.5em 0;
    max-width: 100%
}

.lesson-content code {
    background: var(--bg-secondary);
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    font-size: .87em
}

.lesson-content pre {
    background: var(--bg-secondary);
    padding: 18px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 1em 0
}

.lesson-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    gap: 10px
}

.lesson-actions {
    margin-top: 4px
}

.video-container {
    border-radius: var(--radius-lg);
    overflow: hidden
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none
}

.custom-video-wrapper {
    position: relative;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden
}

.custom-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: contain
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    background: rgb(0 0 0 / .87);
    backdrop-filter: blur(8px)
}

.vc-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    padding: 3px 7px;
    border-radius: 4px;
    transition: background 0.15s;
    flex-shrink: 0
}

.vc-btn:hover {
    background: rgb(255 255 255 / .1)
}

.vc-progress-wrap {
    flex: 1
}

.vc-progress-bar {
    width: 100%;
    height: 4px;
    background: rgb(255 255 255 / .2);
    border-radius: 2px;
    cursor: pointer;
    position: relative
}

.vc-progress-bar:hover {
    height: 6px
}

.vc-progress {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    pointer-events: none
}

.vc-time {
    font-size: 10.5px;
    color: rgb(255 255 255 / .65);
    min-width: 86px;
    text-align: center;
    font-family: var(--font-mono)
}

.vc-volume-group {
    display: flex;
    align-items: center;
    gap: 5px
}

.vc-volume-slider {
    width: 64px;
    height: 4px;
    accent-color: var(--accent)
}

.caption-overlay {
    position: absolute;
    bottom: 52px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none
}

.caption-text {
    background: rgb(0 0 0 / .82);
    color: #fff;
    font-size: .88rem;
    font-weight: 500;
    padding: 7px 13px;
    border-radius: var(--radius);
    max-width: 80%;
    text-align: center
}

.trial-bar {
    background: var(--dark-bg);
    padding: 7px 12px
}

.trial-bar-track {
    height: 5px;
    background: rgb(255 255 255 / .1);
    border-radius: 3px;
    overflow: hidden
}

.trial-bar-fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.5s;
    border-radius: 3px
}

.trial-expired-overlay {
    position: absolute;
    inset: 0;
    background: rgb(10 22 40 / .92);
    display: flex;
    align-items: center;
    justify-content: center
}

.trial-expired-inner {
    text-align: center;
    padding: 32px 24px;
    color: #fff
}

.trial-expired-inner h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 14px 0 8px
}

.trial-expired-inner p {
    font-size: .87rem;
    color: rgb(255 255 255 / .65);
    margin-bottom: 20px
}

.premium-video-overlay {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden
}

.video-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center
}

.next-rec {
    background: linear-gradient(135deg,var(--dark-bg),#0D2050);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    margin-top: 18px
}

.next-rec-icon {
    font-size: 2.6rem;
    margin-bottom: 12px
}

.next-rec h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px
}

.next-rec p {
    font-size: .86rem;
    color: rgb(255 255 255 / .6);
    margin-bottom: 18px;
    font-weight: 400
}

.next-rec-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap
}

.cert-preview-wrap {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 18px
}

.cert-card {
    background: #fff;
    border: 2px solid var(--border);
    border-top: 6px solid var(--primary);
    border-radius: var(--radius-xl);
    padding: 38px;
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
    font-family: var(--font-body);
    box-shadow: var(--shadow-lg);
    position: relative
}

.cert-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    pointer-events: none
}

.cert-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 6px
}

.cert-logo-row img {
    width: 38px;
    height: 38px
}

.cert-brand-name {
    font-family: var(--font-logo);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.02em
}

.cert-brand-name .brand-course {
    font-weight: 400
}

.cert-presents {
    font-family: var(--font-body);
    font-size: .87rem;
    color: var(--text-secondary);
    margin-bottom: 9px;
    font-weight: 400
}

.cert-title-text {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.2
}

.cert-confirms {
    font-family: var(--font-body);
    font-size: .86rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-weight: 400
}

.cert-student-name {
    font-family: var(--font-logo);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 12px
}

.cert-course-text {
    font-family: var(--font-body);
    font-size: .86rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 400
}

.cert-course-name {
    font-family: var(--font-logo);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1.5px solid var(--border);
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 22px
}

.cert-congrats {
    font-family: var(--font-logo);
    font-size: .88rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px
}

.cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle)
}

.cert-date,.cert-instructor {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-body);
    font-size: .77rem;
    color: var(--text-muted);
    font-weight: 400
}

.cert-date .line,.cert-instructor .line {
    width: 115px;
    height: 1px;
    background: var(--border);
    margin-bottom: 4px
}

.cert-date strong,.cert-instructor strong {
    font-size: .8rem;
    color: var(--text);
    font-weight: 600
}

.gdpr-page {
    max-width: 820px;
    margin: 80px auto;
    padding: 0 24px 80px
}

.gdpr-page h1 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 26px
}

.gdpr-page h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 22px 0 8px;
    color: var(--text)
}

.gdpr-page p {
    font-family: var(--font-body);
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 400
}

.gdpr-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.contact-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 80px
}

.contact-hero {
    text-align: center;
    padding: 130px 0 48px;
}

.contact-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.5rem;
    color: var(--primary)
}

.contact-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px
}

.contact-hero-sub {
    font-size: .92rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 420px;
    margin: 0 auto
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-bottom: 52px
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.1rem;
    color: var(--primary)
}

.contact-card h4 {
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: 5px
}

.contact-card p {
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 400
}

.contact-form-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 36px 34px
}

.contact-form-header {
    margin-bottom: 24px
}

.contact-form-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px
}

.contact-form-header p {
    font-size: .84rem;
    color: var(--text-muted);
    font-weight: 400
}

.contact-form {
    display: flex;
    flex-direction: column
}

.contact-form #contact-message {
    resize: vertical;
    min-height: 130px
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.contact-success {
    display: none;
    text-align: center;
    padding: 80px 20px;
    max-width: 420px;
    margin: 0 auto
}

.contact-success-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 16px
}

.contact-success h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px
}

.contact-success p {
    font-size: .88rem;
    color: var(--text-muted);
    margin-bottom: 26px;
    font-weight: 400;
    line-height: 1.6
}

.error-page {
    text-align: center;
    padding: 80px 24px 100px;
    max-width: 560px;
    margin: 0 auto
}

.error-page-code {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: var(--border);
    letter-spacing: -.04em
}

.error-page-icon {
    font-size: 2.4rem;
    color: var(--text-muted);
    margin: 6px 0 20px
}

.error-page-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px
}

.error-page-message {
    font-size: .9rem;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 28px;
    font-weight: 400;
    line-height: 1.6
}

.error-page-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap
}

.empty-state {
    text-align: center;
    padding: 52px 20px
}

.empty-icon {
    font-size: 2.8rem;
    color: var(--border);
    margin-bottom: 13px
}

.empty-state p {
    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 400
}

.error-state {
    text-align: center;
    padding: 52px 20px
}

.error-icon {
    font-size: 2.8rem;
    color: #ef4444;
    margin-bottom: 12px
}

.error-state h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 7px
}

.error-state p {
    color: var(--text-muted);
    font-size: .86rem;
    margin-bottom: 18px;
    font-weight: 400
}

#footer {
    background: var(--brand-nav);
    color: rgb(255 255 255 / .78);
    padding: 56px 24px 32px;
    margin-top: 0
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 44px;
    max-width: 1280px;
    margin: 0 auto 38px
}

.footer-brand h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-logo);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.025em;
    margin-bottom: 11px
}

.footer-brand h3 .logo-icon {
    height: 28px
}

.footer-desc {
    font-family: var(--font-body);
    font-size: .83rem;
    color: rgb(255 255 255 / .48);
    line-height: 1.65;
    margin-bottom: 18px;
    font-weight: 400
}

.footer-social-links {
    display: flex;
    gap: 9px
}

.footer-social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgb(255 255 255 / .06);
    border: 1px solid rgb(255 255 255 / .09);
    color: rgb(255 255 255 / .48);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    transition: all 0.2s
}

.footer-social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #0c6;
    margin-bottom: 14px
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .83rem;
    color: var(--brand-green);
    text-decoration: none;
    margin-bottom: 9px;
    transition: color 0.15s;
    font-weight: 400
}

.footer-col a:hover {
    color: #0c6
}

.footer-col a i {
    width: 13px;
    font-size: .78rem;
    color: var(--accent)
}

.footer-newsletter h4 {
    font-family: var(--font-heading);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #0c6;
    margin-bottom: 8px
}

.newsletter-text {
    font-size: .8rem;
    color: #0c6;
    margin-bottom: 11px;
    font-weight: 400
}

.newsletter-form {
    display: flex;
    gap: 0
}

.newsletter-input {
    flex: 1;
    padding: 8px 13px;
    background: rgb(255 255 255 / .07);
    border: 1px solid rgb(255 255 255 / .11);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    color: #fff;
    font-size: .83rem;
    font-family: var(--font-body)
}

.newsletter-input::placeholder {
    color: rgb(255 255 255 / .28)
}

.newsletter-input:focus {
    border-color: var(--accent);
    outline: none
}

.newsletter-btn {
    padding: 8px 15px;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: #fff;
    cursor: pointer;
    font-size: .83rem;
    transition: background 0.2s
}

.newsletter-btn:hover {
    background: var(--accent-dark)
}

.footer-msg {
    font-size: .78rem;
    margin-top: 6px
}

.footer-msg.success {
    color: var(--accent)
}

.footer-msg.error {
    color: #f87171
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid rgb(255 255 255 / .06);
    max-width: 1280px;
    margin: 0 auto
}

.footer-bottom p,.footer-bottom span {
    font-size: .76rem;
    color: rgb(255 255 255 / .28);
    font-weight: 400
}

.footer-bottom a {
    font-size: .76rem;
    color: rgb(255 255 255 / .38)
}

.footer-bottom a:hover {
    color: rgb(255 255 255 / .68)
}

img.lazy {
    opacity: 0;
    transition: opacity 0.3s
}

img.lazy.loaded {
    opacity: 1
}

.rating-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 12px
}

.rating-stars button {
    background: none;
    border: none;
    font-size: 1.15rem;
    color: #d1d5db;
    cursor: pointer;
    padding: 2px
}

.rating-stars button.active,.rating-stars button:hover {
    color: #f59e0b
}

@media (max-width: 1100px) {
    .footer-inner {
        grid-template-columns:1fr 1fr;
        gap: 32px
    }

    .lesson-layout {
        grid-template-columns: 480px 1fr;
        gap: 24px
    }
}

@media (max-width: 1024px) {
    .lesson-layout {
        grid-template-columns:minmax(0,400px) 1fr;
        gap: 20px
    }

    .cd-layout {
        padding: 0 20px;
        gap: 24px
    }

    .cd-layout-side {
        width: 300px
    }

    .cd-info-grid {
        padding: 0 20px
    }

    .dash2-layout {
        flex-direction: column;
        margin-top: 54px
    }

    .dash2-sidebar {
        display: none
    }

    .dash2-content {
        padding: 72px 18px 60px
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display:flex
    }

    #navbar .nav-links {
        display: none
    }

    #navbar .nav-auth {
        display: none
    }

    h1 {
        font-size: 1.9rem
    }

    h2 {
        font-size: 1.55rem
    }

    h3 {
        font-size: 1.15rem
    }

    .hero {
        padding: clamp(180px, 14vw, 250px) 18px clamp(180px, 18vw, 250px);
        margin: 64px 0 0;
        border-radius: 0
    }

    .hero-brand {
        margin-bottom: clamp(50px, 5vw, 60px)
    }

    .hero-subtitle {
        max-width: 100%
    }

    .savings-banner {
        font-size: 1.2rem;
        padding: 20px 18px
    }

    .section,.section-alt {
        padding: 48px 16px
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center
    }

    .card-grid,.blog-grid,.instructor-grid {
        grid-template-columns: 1fr
    }

    .lesson-layout {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .lesson-video-col {
        position: static
    }

    .lesson-nav {
        flex-direction: column
    }

    .lesson-nav .btn {
        width: 100%;
        justify-content: center
    }

    .auth-page {
        margin: 54px 14px;
        padding: 26px 18px
    }

    .courses-main {
        padding: 18px 14px 54px
    }

    .courses-hero {
        padding: 36px 16px
    }

    .blog-article {
        padding: 0 14px 54px
    }

    .instructor-detail-page {
        padding: 18px 14px 54px;
        margin-top: 72px
    }

    .id-hero-content {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px
    }

    .id-avatar img {
        width: 85px;
        height: 85px
    }

    .id-specialties {
        justify-content: center
    }

    .id-stats {
        justify-content: center
    }

    .payment-modal {
        padding: 24px 18px
    }

    .pm-row {
        flex-direction: column;
        gap: 0
    }

    .hs-card-grid {
        grid-template-columns: 1fr
    }

    .toast-container {
        right: 10px;
        left: 10px;
        top: 10px;
        max-width: 100%
    }

    .dash2-stats-grid {
        grid-template-columns: 1fr 1fr
    }

    .dash2-cert-grid {
        grid-template-columns: 1fr
    }

    .dash2-course-card {
        flex-wrap: wrap
    }

    .dash2-course-actions {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border-subtle);
        margin-left: 0;
        padding-left: 0;
        padding-top: 10px;
        justify-content: flex-end
    }

    .cd-header {
        padding: 24px 16px
    }

    .cd-title {
        font-size: 1.7rem
    }

    .cd-layout {
        flex-direction: column;
        padding: 0 16px;
        gap: 20px
    }

    .cd-layout-side {
        width: 100%
    }

    .cd-player-wrap {
        border-radius: var(--radius-xl)
    }

    .cd-player-overlay .play-btn {
        width: 56px;
        height: 56px;
        font-size: 1.3rem
    }

    .cd-info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 16px
    }

    .cd-info-box {
        padding: 28px 22px
    }

    .cd-info-box h3 {
        font-size: 1.05rem
    }

    .cd-instructor-mini {
        flex-direction: column
    }

    .cd-price-tag {
        font-size: 1.5rem
    }

    .cd-header-inner {
        flex-direction: column;
        gap: 20px
    }

    .cd-header-right {
        text-align: left;
        width: 100%
    }

    .cd-price-block {
        align-items: flex-start
    }

    .cd-reviews-wrap {
        padding: 0 16px
    }

    .cd-desc-wrap {
        padding: 0 0
    }

    .cd-meta {
        gap: 8px 14px;
        font-size: .8rem
    }

    .hero-actions .btn-cta,.hero-actions .btn-solid-white,.hero-actions .btn-outline-white {
        min-width: 0;
        width: 100%
    }

    .courses-page {
        padding: 20px 14px 60px;
        margin-top: 72px
    }

    .contact-hero h1 {
        font-size: 1.5rem
    }

    .contact-cards {
        grid-template-columns: 1fr
    }

    .contact-form-wrap {
        padding: 24px 18px
    }

    .contact-form-row {
        grid-template-columns: 1fr
    }

    .error-page-code {
        font-size: 4rem
    }
}
