/* ============================================
   Kursy Online - Frontend Styles
   Kolorystyka: szymonsarnecki.pl
   Font: Montserrat
   Akcent: #00D084 (zielony)
   Ciemny: #1E3932
   Tło: #F7F7F7
   ============================================ */

:root {
    --ko-primary: #1E3932;
    --ko-accent: #00D084;
    --ko-accent-hover: #00b871;
    --ko-bg: #F7F7F7;
    --ko-white: #ffffff;
    --ko-text: #333333;
    --ko-text-light: #666666;
    --ko-border: #e5e5e5;
    --ko-radius: 10px;
    --ko-font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Buttons ---- */
.ko-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--ko-font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.ko-btn-primary {
    background: var(--ko-accent);
    color: var(--ko-white);
}

.ko-btn-primary:hover {
    background: var(--ko-accent-hover);
    color: var(--ko-white);
}

.ko-btn-outline {
    background: transparent;
    color: var(--ko-primary);
    border-color: var(--ko-border);
}

.ko-btn-outline:hover {
    border-color: var(--ko-accent);
    color: var(--ko-accent);
}

/* ---- Progress Bar (global) ---- */
.ko-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--ko-border);
    border-radius: 3px;
    overflow: hidden;
}

.ko-progress-bar.ko-progress-lg { height: 10px; border-radius: 5px; }
.ko-progress-bar.ko-progress-sm { height: 4px; border-radius: 2px; }

.ko-progress-fill {
    height: 100%;
    background: var(--ko-accent);
    border-radius: inherit;
    transition: width 0.4s ease;
}

.ko-progress-text {
    font-size: 12px;
    color: var(--ko-text-light);
    margin-top: 4px;
    display: block;
}

/* ============================================
   LESSON PLAYER - Full redesign
   ============================================ */

.ko-player-layout {
    display: flex;
    font-family: var(--ko-font);
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    box-sizing: border-box;
    background: var(--ko-white);
}

/* ---- Player Sidebar ---- */
.ko-player-sidebar {
    width: 300px;
    min-width: 300px;
    background: #fafbfc;
    border-right: 1px solid var(--ko-border);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.ko-player-sidebar-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--ko-border);
    background: var(--ko-white);
    position: sticky;
    top: 0;
    z-index: 5;
}

.ko-player-back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ko-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    transition: color 0.15s;
}

.ko-player-back:hover { color: var(--ko-accent); }

.ko-player-back span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ko-player-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--ko-text-light);
    margin-bottom: 8px;
}

.ko-player-progress-bar {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.ko-player-progress-fill {
    height: 100%;
    background: var(--ko-accent);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.ko-player-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.ko-player-module {
    margin-bottom: 4px;
}

.ko-player-module-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #666;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    user-select: none;
    background: #f0f1f3;
    border-bottom: 1px solid var(--ko-border);
}

.ko-player-module-title:hover {
    color: var(--ko-accent);
    background: #e8eaed;
}

.ko-player-module.is-open .ko-player-module-title {
    color: var(--ko-primary);
    background: #eaf7f1;
    border-bottom-color: rgba(0, 208, 132, 0.2);
}

.ko-module-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.ko-player-module.is-open .ko-module-chevron {
    transform: rotate(0deg);
}

.ko-player-module:not(.is-open) .ko-module-chevron {
    transform: rotate(-90deg);
}

.ko-player-lessons {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ko-player-lesson-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    text-decoration: none;
    color: var(--ko-text);
    font-size: 13px;
    line-height: 1.4;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.ko-player-lesson-item a:hover {
    background: #f0f0f0;
    color: var(--ko-text);
}

.ko-player-lesson-item.active a {
    background: rgba(0, 208, 132, 0.06);
    color: var(--ko-accent);
    font-weight: 600;
    border-left-color: var(--ko-accent);
}

.ko-player-lesson-item.completed .ko-player-lesson-icon {
    color: var(--ko-accent);
}

.ko-player-lesson-icon {
    flex-shrink: 0;
    display: flex;
    color: #ccc;
    width: 16px;
    height: 16px;
}

.ko-player-lesson-icon svg {
    width: 16px;
    height: 16px;
}

.ko-player-lesson-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- Player Main ---- */
.ko-player-main {
    flex: 1;
    min-width: 0;
}

/* ---- Top Bar (title + nav + complete) ---- */
.ko-player-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 32px;
    background: var(--ko-white);
    border-bottom: 1px solid var(--ko-border);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 20;
}

.ko-player-topbar-left {
    flex: 1;
    min-width: 0;
}

.ko-player-topbar h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ko-primary);
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ko-player-lesson-counter {
    font-size: 12px;
    color: var(--ko-text-light);
    margin-top: 2px;
    display: block;
}

.ko-player-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ko-player-topbar-nav {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border: 1px solid var(--ko-border);
    border-radius: 6px;
    background: var(--ko-white);
    color: var(--ko-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s;
    white-space: nowrap;
}

.ko-player-topbar-nav:hover {
    border-color: var(--ko-accent);
    color: var(--ko-accent);
}

.ko-player-complete-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    background: var(--ko-accent);
    color: var(--ko-white);
    font-family: var(--ko-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.ko-player-complete-btn svg {
    width: 16px;
    height: 16px;
}

.ko-player-complete-btn:hover {
    background: var(--ko-accent-hover);
    color: var(--ko-white);
}

.ko-player-complete-btn.is-completed {
    background: var(--ko-primary);
    color: var(--ko-white);
}

.ko-player-complete-btn.is-completed:hover {
    background: #2a5248;
    color: var(--ko-white);
}

.ko-topbar-divider {
    width: 1px;
    height: 24px;
    background: var(--ko-border);
    flex-shrink: 0;
    margin: 0 4px;
}

/* ---- Video ---- */
.ko-player-video {
    position: relative;
    background: #000;
    width: 100%;
    -webkit-user-select: none;
    user-select: none;
    flex-shrink: 0;
}

.ko-player-video-inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.ko-player-video-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* YouTube overlay blocks */
.ko-video-shield {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    transition: background 0.3s;
}

.ko-video-shield.is-playing {
    background: transparent;
    cursor: default;
}

.ko-video-shield.is-playing .ko-video-play-btn {
    opacity: 0;
    pointer-events: none;
}

/* Show controls overlay briefly on hover/interaction */
.ko-video-shield.is-playing.show-controls {
    background: rgba(0,0,0,0.15);
    cursor: pointer;
}

.ko-video-shield.is-playing.show-controls .ko-video-play-btn {
    opacity: 0;
    pointer-events: none;
}

.ko-video-play-btn {
    cursor: pointer;
    transition: all 0.2s;
    line-height: 0;
}

.ko-video-play-btn svg {
    display: block;
}

.ko-video-play-btn svg circle {
    fill: rgba(0,0,0,0.7) !important;
    transition: fill 0.2s;
}

.ko-video-play-btn svg polygon {
    fill: #fff !important;
}

.ko-video-play-btn:hover {
    transform: scale(1.1);
}

.ko-video-play-btn:hover svg circle {
    fill: rgba(0,0,0,0.9) !important;
}

.ko-yt-block-bottom {
    display: none;
}

/* ---- Custom Video Controls ---- */
.ko-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 24px 12px 8px;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: all;
}

.ko-video-controls.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.ko-video-progress {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    cursor: pointer;
    margin-bottom: 6px;
    position: relative;
    transition: height 0.1s;
}

.ko-video-progress:hover {
    height: 6px;
}

.ko-video-progress-fill {
    height: 100%;
    background: var(--ko-accent);
    border-radius: 2px;
    width: 0%;
    pointer-events: none;
}

.ko-video-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ko-video-controls-left,
.ko-video-controls-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ko-vc-btn {
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    transition: background 0.15s;
    font-family: var(--ko-font);
    font-size: 12px;
    line-height: 1;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.ko-vc-btn:hover {
    background: rgba(255,255,255,0.15) !important;
}

/* Play icon - CSS triangle */
.ko-icon-play {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
}

/* Pause icon - two bars */
.ko-icon-pause {
    display: inline-block;
    width: 12px;
    height: 16px;
    border-left: 4px solid #fff;
    border-right: 4px solid #fff;
    border-top: none;
    border-bottom: none;
    box-sizing: border-box;
}

/* Fullscreen icon - four corners */
.ko-icon-fullscreen {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 2px;
    position: relative;
}

.ko-vc-time {
    color: #fff !important;
    font-size: 12px;
    font-family: var(--ko-font);
    white-space: nowrap;
    user-select: none;
}

.ko-vc-quality-btn span {
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Quality menu */
.ko-vc-quality-wrap {
    position: relative;
}

.ko-vc-quality-btn span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ko-vc-quality-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    background: #fff !important;
    border-radius: 8px;
    padding: 6px 0;
    margin-bottom: 8px;
    min-width: 110px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 100;
}

.ko-vc-quality-menu.is-open {
    display: block;
}

.ko-vc-quality-option {
    display: block;
    width: 100%;
    padding: 8px 16px;
    background: none !important;
    border: none !important;
    color: #333 !important;
    font-size: 13px;
    font-family: var(--ko-font);
    cursor: pointer;
    text-align: left;
    transition: background 0.1s;
    outline: none !important;
    box-shadow: none !important;
}

.ko-vc-quality-option:hover {
    background: #f0f0f0 !important;
}

.ko-vc-quality-option.active {
    color: var(--ko-accent) !important;
    font-weight: 700;
}

.ko-video-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255,255,255,0.2);
    z-index: 11;
}

.ko-video-progress-fill {
    height: 100%;
    background: var(--ko-accent);
    width: 0%;
    transition: width 0.5s linear;
}

/* ---- Description area ---- */
.ko-player-desc-wrap {
    padding: 20px 32px 0;
}

.ko-player-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ko-text);
    margin-bottom: 8px;
}

.ko-player-description.collapsed {
    max-height: 100px;
    overflow: hidden;
    position: relative;
}

.ko-player-description.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, var(--ko-white));
    pointer-events: none;
}

.ko-player-description h2,
.ko-player-description h3 {
    color: var(--ko-primary);
    margin-top: 16px;
    font-size: 16px;
}

.ko-player-description a { color: var(--ko-accent); }

.ko-player-description code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.ko-player-toggle-desc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--ko-accent);
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--ko-font);
    margin-bottom: 16px;
    transition: color 0.15s;
}

.ko-player-toggle-desc:hover { color: var(--ko-accent-hover); }

/* ---- Bottom Navigation ---- */
.ko-player-bottom-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 32px 60px;
    border-top: 1px solid var(--ko-border);
    margin-top: 20px;
}

.ko-player-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f7f7f7;
    border: 1px solid var(--ko-border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--ko-text);
    transition: all 0.2s;
    max-width: 48%;
    min-width: 0;
}

.ko-player-nav-btn:hover {
    border-color: var(--ko-accent);
    background: var(--ko-white);
    box-shadow: 0 2px 8px rgba(0, 208, 132, 0.08);
    color: var(--ko-text);
}

.ko-player-nav-btn small {
    display: block;
    font-size: 11px;
    color: var(--ko-text-light);
    margin-bottom: 3px;
    font-weight: 500;
}

.ko-player-nav-btn span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ko-player-nav-btn svg {
    flex-shrink: 0;
    color: var(--ko-text-light);
}

.ko-player-nav-next {
    margin-left: auto;
    text-align: right;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .ko-player-layout {
        flex-direction: column;
    }

    .ko-player-sidebar {
        width: 100%;
        min-width: 100%;
        position: relative;
        height: auto;
        max-height: 50vh;
        border-right: none;
        border-bottom: 1px solid var(--ko-border);
    }
}

@media (max-width: 768px) {
    .ko-player-topbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
    }

    .ko-player-topbar-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .ko-player-video {
        padding: 12px 16px 0;
    }

    .ko-player-desc-wrap {
        padding: 16px;
    }

    .ko-player-bottom-nav {
        flex-direction: column;
        padding: 16px;
    }

    .ko-player-nav-btn {
        max-width: 100%;
    }
}


/* ============================================
   COURSE PAGE STYLES
   ============================================ */

.ko-course-page {
    font-family: var(--ko-font);
    width: 100%;
}

/* Hero */
.ko-course-hero {
    background: linear-gradient(160deg, #1E3932 0%, #2a5248 50%, #1E3932 100%);
    padding: 0 20px;
    color: var(--ko-white);
}

.ko-hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    align-items: center;
    padding: 64px 0;
}

.ko-hero-top-row {
    width: 100%;
    padding: 20px 0 0;
}

.ko-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.15s;
}

.ko-hero-back:hover { color: var(--ko-white); }

@media (max-width: 860px) {
    .ko-hero-inner { flex-direction: column; gap: 32px; padding: 40px 0; }
}

.ko-hero-img {
    flex-shrink: 0;
    width: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background-color: #ffffffde;
}

.ko-hero-img img { width: 100%; height: auto; display: block; }

.ko-hero-content { flex: 1; min-width: 0; }

.ko-hero-tag {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(0, 208, 132, 0.2);
    color: var(--ko-accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.ko-hero-content h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--ko-white);
    margin: 0 0 20px;
    line-height: 1.2;
}

.ko-hero-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ko-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.ko-hero-meta-item svg { color: var(--ko-accent); flex-shrink: 0; }

.ko-hero-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.ko-hero-author svg { color: var(--ko-accent); }
.ko-hero-author strong { color: var(--ko-white); }

.ko-hero-progress {
    margin-bottom: 20px;
    max-width: 400px;
}

.ko-hero-progress .ko-progress-bar { background: rgba(255,255,255,0.2); }
.ko-hero-progress-text { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; display: block; }

.ko-hero-actions { margin-top: 8px; }

.ko-btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
    gap: 10px;
}

/* Course body */
.ko-course-body { padding: 0 20px; }

.ko-body-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    padding: 48px 0 64px;
    align-items: start;
}

@media (max-width: 1024px) {
    .ko-body-inner { grid-template-columns: 1fr; }
}

.ko-body-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ko-primary);
    margin: 0 0 20px;
}

.ko-body-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.ko-sidebar-card {
    background: var(--ko-white);
    border: 1px solid var(--ko-border);
    border-radius: 14px;
    padding: 24px;
}

.ko-sidebar-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ko-primary);
    margin: 0 0 16px;
}

.ko-sidebar-card h3 svg { color: var(--ko-accent); flex-shrink: 0; }

.ko-check-list { list-style: none; margin: 0; padding: 0; }

.ko-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ko-text);
    border-bottom: 1px solid var(--ko-bg);
}

.ko-check-list li:last-child { border-bottom: none; }
.ko-check-list li svg { color: var(--ko-accent); flex-shrink: 0; margin-top: 2px; }

.ko-dot-list { list-style: none; margin: 0; padding: 0; }

.ko-dot-list li {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ko-text);
    border-bottom: 1px solid var(--ko-bg);
}

.ko-dot-list li:last-child { border-bottom: none; }

.ko-dot-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ko-text-light);
}

.ko-course-section { padding: 0 20px; }

.ko-section-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 0;
}

.ko-no-content {
    color: var(--ko-text-light);
    font-style: italic;
    padding: 20px 0;
}

/* ---- Curriculum ---- */
.ko-curriculum-module {
    border: 1px solid var(--ko-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--ko-white);
}

.ko-curriculum-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: var(--ko-bg);
    cursor: pointer;
    transition: background 0.15s;
}

.ko-curriculum-module-header:hover { background: #efefef; }

.ko-curriculum-module-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.ko-chevron { transition: transform 0.2s; }
.ko-curriculum-module-header.ko-open .ko-chevron { transform: rotate(180deg); }

.ko-curriculum-count {
    font-size: 12px;
    color: var(--ko-text-light);
}

.ko-curriculum-lessons { list-style: none; margin: 0; padding: 0; }

.ko-curriculum-lesson { border-top: 1px solid var(--ko-border); }

.ko-curriculum-lesson a,
.ko-curriculum-lesson-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px 14px 52px;
    text-decoration: none;
    color: var(--ko-text);
    font-size: 14px;
    transition: background 0.15s;
}

.ko-curriculum-lesson a:hover { background: var(--ko-bg); color: var(--ko-accent); }
.ko-curriculum-lesson.ko-completed .ko-lesson-icon { color: var(--ko-accent); }
.ko-lesson-icon { flex-shrink: 0; color: var(--ko-text-light); }
.ko-lock { margin-left: auto; color: var(--ko-border); }

/* ---- Access Denied ---- */
.ko-access-denied {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 20px;
    font-family: var(--ko-font);
}

.ko-access-denied-card { text-align: center; max-width: 600px; }
.ko-access-denied-icon { color: var(--ko-text-light); margin-bottom: 24px; }

.ko-access-denied-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--ko-primary);
    margin-bottom: 12px;
}

.ko-access-denied-card p {
    color: var(--ko-text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.ko-access-denied-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ---- Renewal Choice ---- */
.ko-renewal-choice {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 32px;
}

@media (max-width: 600px) {
    .ko-renewal-choice { flex-direction: column; align-items: center; }
}

.ko-renewal-option {
    background: var(--ko-white);
    border: 2px solid var(--ko-border);
    border-radius: var(--ko-radius);
    padding: 32px 28px;
    text-align: center;
    width: 240px;
    position: relative;
    transition: border-color 0.2s;
}

.ko-renewal-option:hover { border-color: var(--ko-accent); }
.ko-renewal-featured { border-color: var(--ko-accent); }

.ko-renewal-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ko-accent);
    color: var(--ko-white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.ko-renewal-option h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ko-primary);
    margin-bottom: 8px;
}

.ko-renewal-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--ko-primary);
    margin-bottom: 8px;
}

.ko-renewal-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--ko-text-light);
}

.ko-renewal-option p {
    font-size: 13px;
    color: var(--ko-text-light);
    margin-bottom: 20px;
}

/* ---- Student Panel ---- */
.ko-student-panel { font-family: var(--ko-font); }

.ko-panel-card {
    background: var(--ko-white);
    border: 1px solid var(--ko-border);
    border-radius: var(--ko-radius);
    padding: 24px;
    margin-bottom: 20px;
}

.ko-panel-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ko-primary);
    margin: 0 0 16px;
}

.ko-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.ko-status-badge.ko-active {
    background: rgba(0, 208, 132, 0.1);
    color: var(--ko-accent);
}

.ko-status-badge.ko-inactive {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.ko-status-info p {
    font-size: 14px;
    color: var(--ko-text);
    line-height: 1.6;
    margin: 12px 0;
}

.ko-expiry-warning { color: #dc3545; font-weight: 600; }

.ko-renew-cta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--ko-border);
}

.ko-renew-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* ---- Panel Courses List ---- */
.ko-panel-courses {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ko-panel-course-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--ko-bg);
    border-radius: var(--ko-radius);
    text-decoration: none;
    color: var(--ko-text);
    transition: all 0.2s;
}

.ko-panel-course-item:hover {
    background: var(--ko-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    color: var(--ko-text);
}

.ko-panel-course-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.ko-panel-course-info { flex: 1; }
.ko-panel-course-info strong { display: block; font-size: 14px; margin-bottom: 4px; }
.ko-panel-course-info small { font-size: 12px; color: var(--ko-text-light); }

/* ---- Courses Grid (shortcode) ---- */
.ko-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    font-family: var(--ko-font);
}

.ko-course-card {
    background: var(--ko-white);
    border: 1px solid var(--ko-border);
    border-radius: var(--ko-radius);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.ko-course-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.ko-course-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.ko-course-info { padding: 20px; }

.ko-course-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ko-primary);
    margin: 0 0 8px;
}

.ko-course-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ko-text-light);
    margin-bottom: 12px;
}

/* ---- Pricing (shortcode) ---- */
.ko-pricing {
    display: flex;
    gap: 24px;
    justify-content: center;
    font-family: var(--ko-font);
    flex-wrap: wrap;
}

.ko-pricing-card {
    background: var(--ko-white);
    border: 2px solid var(--ko-border);
    border-radius: var(--ko-radius);
    padding: 40px 32px;
    text-align: center;
    width: 300px;
    position: relative;
    transition: border-color 0.2s;
}

.ko-pricing-card:hover { border-color: var(--ko-accent); }
.ko-pricing-featured { border-color: var(--ko-accent); }

.ko-pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ko-accent);
    color: var(--ko-white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.ko-pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ko-primary);
    margin-bottom: 12px;
}

.ko-pricing-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--ko-primary);
    margin-bottom: 20px;
}

.ko-pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--ko-text-light);
}

.ko-pricing-features { list-style: none; padding: 0; margin: 0 0 24px; }

.ko-pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--ko-text);
    border-bottom: 1px solid var(--ko-bg);
}

.ko-pricing-features li:last-child { border-bottom: none; }

/* ============================================
   FULL-WIDTH OVERRIDES (Theme compatibility)
   ============================================ */

.ko-player-layout {
    box-sizing: border-box;
}

/* Override common theme content wrappers */
body.single-ko_course .site-content,
body.single-ko_course .content-area,
body.single-ko_course .entry-content,
body.single-ko_course .post-content,
body.single-ko_course main,
body.single-ko_course article,
body.single-ko_course .elementor-section-wrap,
body.single-ko_course .elementor-widget-container,
body.single-ko_course .container,
body.single-ko_course .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.single-ko_course .widget-area,
body.single-ko_course .sidebar,
body.single-ko_course #secondary {
    display: none !important;
}

/* ============================================
   LANDING PAGE [ko_landing]
   ============================================ */

.ko-landing {
    font-family: var(--ko-font);
    color: var(--ko-text);
    line-height: 1.6;
}

.ko-land-breadcrumbs {
    padding: 16px 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ko-land-breadcrumbs a { color: rgba(255,255,255,0.6); }
.ko-land-breadcrumbs a:hover { color: #fff; }

/* ---- Hero ---- */
.ko-land-hero {
    background: linear-gradient(160deg, #1E3932 0%, #2a5248 50%, #1E3932 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    border-radius: 8px;
}

.ko-land-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.ko-land-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(0, 208, 132, 0.15);
    color: var(--ko-accent);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.ko-land-hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
    color: #fff;
}

.ko-land-hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.ko-land-hero-desc strong { color: var(--ko-accent); }

.ko-land-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 36px;
}

.ko-land-stat { text-align: center; }

.ko-land-stat-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--ko-accent);
    line-height: 1.1;
}

.ko-land-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.ko-land-stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.15);
    align-self: stretch;
}

.ko-land-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.ko-land-hero-cta .ko-btn {
    padding: 16px 40px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    min-width: 200px;
    justify-content: center;
}

.ko-land-hero-cta .ko-btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.ko-land-hero-cta .ko-btn-outline:hover {
    border-color: var(--ko-accent);
    color: var(--ko-accent);
}

/* ---- Status Bar ---- */
.ko-land-status-bar {
    background: rgba(0, 208, 132, 0.06);
    border-bottom: 1px solid rgba(0, 208, 132, 0.15);
    padding: 14px 20px;
}

.ko-land-status-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ko-land-status-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ko-text);
}

.ko-land-status-left svg { color: var(--ko-accent); flex-shrink: 0; }
.ko-land-status-left strong { color: var(--ko-primary); }

.ko-land-status-warn {
    color: #dc3545;
    font-weight: 600;
}

.ko-land-status-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--ko-accent);
    text-decoration: none;
    transition: color 0.15s;
}

.ko-land-status-link:hover { color: var(--ko-accent-hover); }

/* ---- Sections ---- */
.ko-land-section {
    padding: 64px 20px;
}

.ko-land-section + .ko-land-section {
    margin-top: 0;
}

.ko-land-reviews-section {
    background: var(--ko-white);
    border-radius: 8px;
}

.ko-land-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ko-land-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.ko-land-section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--ko-primary);
    margin: 0 0 10px;
}

.ko-land-section-header p {
    font-size: 16px;
    color: var(--ko-text-light);
    margin: 0;
}

/* ---- Course Grid ---- */
.ko-land-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

a.ko-land-card {
    background: var(--ko-white);
    border: 1px solid var(--ko-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

a.ko-land-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    color: inherit;
}

.ko-land-card-thumb {
    position: relative;
    overflow: hidden;
    background: #f0f1f3;
}

.ko-land-card-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ko-land-card:hover .ko-land-card-thumb img {
    transform: scale(1.03);
}

.ko-land-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ko-border);
}

.ko-land-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(30, 57, 50, 0.85);
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}

.ko-land-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ko-land-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ko-primary);
    margin: 0 0 8px;
    line-height: 1.3;
}

.ko-land-card-desc {
    font-size: 14px;
    color: var(--ko-text-light);
    margin: 0 0 14px;
    line-height: 1.6;
    min-height: calc(14px * 1.6 * 3);
}

.ko-land-card-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ko-land-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--ko-text-light);
    font-weight: 500;
}

.ko-land-card-meta svg { color: var(--ko-accent); }

.ko-land-card-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.ko-land-card-progress .ko-progress-bar { flex: 1; }

.ko-land-card-progress span {
    font-size: 12px;
    font-weight: 600;
    color: var(--ko-accent);
    white-space: nowrap;
}

.ko-land-card-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ko-accent);
    text-decoration: none;
    transition: color 0.15s;
}

.ko-land-card-btn:hover { color: var(--ko-accent-hover); }

.ko-land-card-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: auto;
}

.ko-land-card-btn-secondary {
    color: var(--ko-text-light);
}

.ko-land-card-btn-secondary:hover { color: var(--ko-text); }

/* ---- Benefits ---- */
.ko-land-benefits-section {
    background: var(--ko-white);
    padding-top: 0;
    padding-bottom: 48px;
}

.ko-land-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.ko-land-benefit {
    text-align: center;
    padding: 8px;
}

.ko-land-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 208, 132, 0.08);
    color: var(--ko-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ko-land-benefit h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ko-primary);
    margin: 0 0 8px;
}

.ko-land-benefit p {
    font-size: 14px;
    color: var(--ko-text-light);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .ko-land-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 500px) {
    .ko-land-benefits-grid { grid-template-columns: 1fr; }
}

/* ---- Upcoming Courses ---- */
.ko-land-upcoming-section {
    background: var(--ko-bg);
    border-radius: 8px;
}

.ko-land-upcoming-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(0, 208, 132, 0.1);
    color: var(--ko-accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.ko-land-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.ko-land-upcoming-card {
    background: var(--ko-white);
    border: 1px solid var(--ko-border);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.ko-land-upcoming-thumb {
    position: relative;
    overflow: hidden;
    background: #f0f1f3;
}

.ko-land-upcoming-thumb img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(30%);
}

.ko-land-upcoming-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 57, 50, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ko-land-upcoming-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.95);
    color: var(--ko-primary);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.ko-land-upcoming-body {
    padding: 20px 24px 24px;
}

.ko-land-upcoming-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--ko-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.ko-land-upcoming-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ko-primary);
    margin: 0 0 8px;
}

.ko-land-upcoming-body p {
    font-size: 14px;
    color: var(--ko-text-light);
    margin: 0 0 14px;
    line-height: 1.6;
}

.ko-land-upcoming-included {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ko-accent);
}

/* ---- Pricing ---- */
.ko-land-pricing-section {
    background: linear-gradient(160deg, #1E3932 0%, #2a5248 100%);
    color: #fff;
    border-radius: 8px;
}

.ko-land-pricing-section .ko-land-section-header h2 { color: #fff; }
.ko-land-pricing-section .ko-land-section-header p { color: rgba(255,255,255,0.7); }

.ko-land-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}

.ko-land-price-card {
    background: var(--ko-white);
    border-radius: 20px;
    padding: 36px 32px;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.ko-land-price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.ko-land-price-featured {
    border-color: var(--ko-accent);
}

.ko-land-price-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ko-accent);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ko-land-price-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ko-primary);
    margin: 0 0 12px;
}

.ko-land-price-amount {
    font-size: 40px;
    font-weight: 800;
    color: var(--ko-primary);
    line-height: 1.1;
    margin-bottom: 6px;
}

.ko-land-price-amount span {
    font-size: 15px;
    font-weight: 500;
    color: var(--ko-text-light);
}

.ko-land-price-savings {
    font-size: 13px;
    font-weight: 600;
    color: var(--ko-accent);
    margin-bottom: 4px;
}

.ko-land-price-features {
    list-style: none;
    margin: 24px 0;
    padding: 0;
    text-align: left;
}

.ko-land-price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--ko-text);
    border-bottom: 1px solid var(--ko-bg);
}

.ko-land-price-features li:last-child { border-bottom: none; }
.ko-land-price-features svg { color: var(--ko-accent); flex-shrink: 0; }

.ko-land-price-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    font-family: var(--ko-font);
    box-sizing: border-box;
    margin-top: auto;
}

.ko-land-price-btn-primary {
    background: var(--ko-accent);
    color: #fff;
}

.ko-land-price-btn-primary:hover {
    background: var(--ko-accent-hover);
    color: #fff;
}

.ko-land-price-btn-outline {
    background: transparent;
    color: var(--ko-primary);
    border: 2px solid var(--ko-border);
}

.ko-land-price-btn-outline:hover {
    border-color: var(--ko-accent);
    color: var(--ko-accent);
}

/* ---- Landing Responsive ---- */
@media (max-width: 768px) {
    .ko-land-hero { padding: 48px 20px; }
    .ko-land-hero h1 { font-size: 30px; }
    .ko-land-hero-desc { font-size: 15px; }
    .ko-land-hero-stats { gap: 20px; }
    .ko-land-stat-num { font-size: 24px; }
    .ko-land-section { padding: 40px 16px; }
    .ko-land-section-header h2 { font-size: 24px; }
    .ko-land-grid { grid-template-columns: 1fr; gap: 20px; }
    .ko-land-upcoming-grid { grid-template-columns: 1fr; }
    .ko-land-pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
    .ko-land-status-inner { flex-direction: column; text-align: center; }
}

/* ============================================
   CTA BOX [ko_cta_box]
   ============================================ */

.ko-cta-box {
    font-family: var(--ko-font);
    background: linear-gradient(160deg, #1E3932 0%, #2a5248 100%);
    border-radius: 16px;
    padding: 48px 36px;
    text-align: center;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.ko-cta-box-header { margin-bottom: 32px; }

.ko-cta-box h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}

.ko-cta-box-header p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.5;
}

.ko-cta-box-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
}

.ko-cta-box-plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 20px;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
    position: relative;
}

.ko-cta-box-plan:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
    transform: translateY(-2px);
}

.ko-cta-box-plan-best {
    border-color: var(--ko-accent);
    background: rgba(0, 208, 132, 0.1);
}

.ko-cta-box-plan-best:hover {
    border-color: var(--ko-accent);
    background: rgba(0, 208, 132, 0.18);
}

.ko-cta-box-plan-save {
    position: absolute;
    top: -11px;
    background: var(--ko-accent);
    color: #fff;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.ko-cta-box-plan-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.ko-cta-box-plan-price {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
}

.ko-cta-box-plan-price small {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}

.ko-cta-box-plan-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 28px;
    background: var(--ko-accent);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s;
}

.ko-cta-box-plan:hover .ko-cta-box-plan-btn {
    background: var(--ko-accent-hover);
}

.ko-cta-box-active {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 208, 132, 0.12);
    border-radius: 12px;
    margin-bottom: 16px;
    color: var(--ko-accent);
    text-align: left;
}

.ko-cta-box-active strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.ko-cta-box-active span {
    font-size: 13px;
    color: rgba(0, 208, 132, 0.7);
}

.ko-cta-box-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    font-family: var(--ko-font);
    box-sizing: border-box;
    margin-bottom: 16px;
}

.ko-cta-box-btn-primary {
    background: var(--ko-accent);
    color: #fff;
}

.ko-cta-box-btn-primary:hover {
    background: var(--ko-accent-hover);
    color: #fff;
}

.ko-cta-box-link {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.15s;
}

.ko-cta-box-link:hover { color: #fff; }

.ko-cta-box-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.ko-cta-box-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
}

.ko-cta-box-features li svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 6px;
    background: #fff;
    color: var(--ko-accent);
    border-radius: 50%;
}

@media (max-width: 480px) {
    .ko-cta-box-plans { grid-template-columns: 1fr; }
    .ko-cta-box { padding: 28px 20px; }
}
