/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --bg-blue: #2563eb;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --dark: #0f172a;
    --dark-2: #111827;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --yellow: #fbbf24;
    --green: #10b981;
    --radius: 14px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
    --shadow: 0 8px 24px rgba(0,0,0,.06);
    --shadow-lg: 0 20px 40px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ HEADER / NAV ============ */
.site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 22px 0;
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.logo img {
    height: 48px;
    width: auto;
    display: block;
}
.site-header .logo img {
    height: 25px;
    width: auto;
}

.main-nav { display: flex; gap: 32px; }
.main-nav a {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    transition: opacity .2s;
    opacity: .9;
}
.main-nav a:hover { opacity: 1; }
.main-nav a.active { font-weight: 700; opacity: 1; }

.btn-register {
    background: #fff;
    color: var(--primary);
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .2s, box-shadow .2s;
}
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.15); }
.btn-register i {
    background: var(--primary);
    color: #fff;
    padding: 5px;
    border-radius: 50%;
    font-size: 10px;
}

.nav-toggle { display: none; color: #fff; font-size: 22px; }
.main-nav .btn-register-mobile { display: none; }

/* ============ HERO ============ */
.hero {
    background: var(--bg-blue);
    color: #fff;
    padding: 130px 0 0;
    position: relative;
    overflow: hidden;
}
.hero-inner { text-align: center; max-width: 820px; margin: 0 auto; position: relative; z-index: 3; padding: 0 24px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.hero h1 {
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}
.hero p {
    font-size: 16px; opacity: .92; margin-bottom: 32px;
    max-width: 640px; margin-left: auto; margin-right: auto;
}

/* search bar */
.hero-search {
    background: #fff;
    border-radius: 999px;
    padding: 6px 6px 6px 24px;
    display: flex; align-items: center; gap: 14px;
    max-width: 560px; margin: 0 auto;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.hero-search > i { color: var(--muted); font-size: 14px; }
.hero-search input {
    flex: 1; border: none; outline: none;
    font-family: inherit; font-size: 15px;
    color: var(--text); background: transparent;
    padding: 12px 0;
}
.hero-search-btn {
    width: 44px; height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 14px;
    transition: transform .2s, background .2s;
    flex-shrink: 0;
}
.hero-search-btn:hover { background: var(--primary-dark); transform: rotate(-12deg); }

/* stage with model & circle */
.hero-stage {
    position: relative;
    margin-top: 50px;
    height: 460px;
    display: flex; justify-content: center; align-items: flex-end;
    z-index: 2;
}
.hero-circle {
    position: absolute;
    bottom: 0;
    left: 50%; transform: translateX(-50%);
    width: 720px;
    max-width: 90vw;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}
.hero-model {
    position: relative;
    height: 100%;
    width: auto;
    max-height: 460px;
    z-index: 2;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.2));
}

.float-card {
    position: absolute;
    background: #fff;
    color: var(--text);
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.15);
    display: flex; align-items: center; gap: 12px;
    z-index: 4;
    max-width: 230px;
}
.float-card.left { bottom: 130px; left: 8%; }
.float-card.right { top: 80px; right: 8%; }
.float-card small {
    display: block; color: var(--muted); font-weight: 500;
    font-size: 11px; line-height: 1.45; margin-top: 6px;
}
.float-card .stars { color: #fbbf24; font-size: 11px; margin-top: 4px; letter-spacing: 1px; }
.float-card .avatars { display: flex; }
.float-card .avatars img {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid #fff; object-fit: cover;
    margin-left: -8px;
}
.float-card .avatars img:first-child { margin-left: 0; }

/* ============ PAGE HERO (small) ============ */
.page-hero {
    background: var(--bg-blue);
    color: #fff;
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 70px;
    background: var(--bg-light);
    clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 100%);
}
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; margin-bottom: 14px; }
.page-hero p { max-width: 620px; margin: 0 auto; opacity: .9; font-size: 16px; }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-light { background: var(--bg-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(37,99,235,.1);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--dark);
}
.section-head p { color: var(--muted); font-size: 16px; }

/* ============ CATEGORIES ============ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    cursor: pointer;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--primary); }
.cat-icon {
    width: 54px; height: 54px;
    background: rgba(37,99,235,.1);
    color: var(--primary);
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 22px;
    margin: 0 auto 14px;
}
.cat-card h4 { font-size: 15px; font-weight: 700; }

/* ============ FEATURE CARDS ============ */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.feat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.feat-card.dark {
    background: var(--dark-2);
    color: #fff;
    border-color: transparent;
}
.feat-card.cream { background: #fef9c3; }
.feat-card h3 { font-size: 22px; margin-bottom: 12px; font-weight: 700; }
.feat-card p { font-size: 14px; opacity: .85; margin-bottom: 22px; }
.feat-card .btn-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--primary); font-weight: 600; font-size: 14px;
}
.feat-card.dark .btn-link { color: #fff; }

/* ============ STATS / NUMBERS ============ */
.stats-section { padding: 60px 0; }
.stats-section .section-head h2 { display: flex; align-items: center; justify-content: center; gap: 10px; }
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.stat-card .num {
    font-size: 42px; font-weight: 800; color: var(--primary);
    margin-bottom: 6px;
}
.stat-card p { color: var(--muted); font-size: 14px; }

.stats-cta { text-align: center; }

/* ============ COMPONENT BUTTONS ============ */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--primary); color: #fff;
    padding: 14px 26px; border-radius: 999px;
    font-weight: 700; font-size: 14px;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37,99,235,.25); }
.btn-outline-light {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid rgba(255,255,255,.4); color: #fff;
    padding: 14px 26px; border-radius: 999px;
    font-weight: 600; font-size: 14px;
    transition: background .2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

/* ============ JOURNEY (3 col) ============ */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.journey-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
}
.journey-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.journey-card .img {
    width: 100%; height: 200px;
    background: #ddd center/cover no-repeat;
}
.journey-card .body { padding: 20px; }
.journey-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.journey-card p { font-size: 13px; color: var(--muted); }

/* ============ COURSE FILTERS ============ */
.course-filter-bar {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}
.course-search {
    display: flex; align-items: center; gap: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px; margin-bottom: 14px;
}
.course-search input {
    flex: 1; border: none; outline: none;
    font-size: 14px; padding: 6px 0;
    font-family: inherit;
}
.course-search > select {
    border: 1px solid var(--border);
    padding: 8px 12px; border-radius: 8px;
    font-size: 13px; font-family: inherit; outline: none;
    cursor: pointer;
}
.course-search i { color: var(--muted); }
.course-search .search-submit,
.course-search .search-submit i { color: #fff; }

.filter-row {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.filter-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-left > strong {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px;
}
.filter-left select {
    border: 1px solid var(--border);
    padding: 8px 14px; border-radius: 8px;
    font-size: 13px; cursor: pointer;
    font-family: inherit; outline: none;
}
.filter-pills { display: flex; gap: 6px; }
.pill {
    padding: 7px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    background: var(--bg-light); color: var(--text);
    cursor: pointer; transition: all .2s;
}
.pill.active, .pill:hover { background: var(--primary); color: #fff; }

/* ============ COURSE GRID ============ */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.course-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-thumb {
    position: relative;
    height: 180px; background: #1a1a2e center/cover no-repeat;
    color: #fff; padding: 14px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.course-thumb .top { display: flex; justify-content: space-between; align-items: flex-start; }
.course-tag {
    background: rgba(0,0,0,.6); color: #fff;
    padding: 4px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 600; letter-spacing: .5px;
    text-transform: uppercase;
}
.course-thumb .bookmark {
    background: rgba(255,255,255,.9); color: var(--text);
    width: 28px; height: 28px; border-radius: 6px;
    display: grid; place-items: center; font-size: 12px;
}
.course-thumb .bottom { display: flex; justify-content: space-between; align-items: center; }
.course-rating {
    background: var(--yellow); color: var(--dark);
    padding: 4px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 4px;
}
.course-duration {
    background: var(--primary); color: #fff;
    padding: 4px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.course-body { padding: 20px; }
.course-level {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary); font-size: 12px; font-weight: 600;
    margin-bottom: 8px;
}
.course-body h4 {
    font-size: 16px; font-weight: 700; margin-bottom: 14px;
    color: var(--dark);
    min-height: 40px;
}
.course-body .btn-detail {
    display: block; text-align: center;
    background: rgba(37,99,235,.1); color: var(--primary);
    padding: 10px; border-radius: 999px;
    font-weight: 600; font-size: 13px;
    transition: background .2s;
    flex: 1;
}
.course-body .btn-detail:hover { background: var(--primary); color: #fff; }
.course-actions {
    display: flex; gap: 8px;
    margin-top: 4px;
}
.course-actions .btn-enroll {
    flex: 1;
    text-align: center;
    background: var(--primary);
    color: #fff;
    padding: 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    transition: background .2s, transform .2s;
    text-decoration: none;
}
.course-actions .btn-enroll:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ============ INSTRUCTOR CARDS ============ */
.inst-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.inst-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}
.inst-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.inst-card .img { height: 220px; background: #ddd center/cover no-repeat; }
.inst-card .body { padding: 16px; }
.inst-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.inst-card p { font-size: 13px; color: var(--muted); }

/* ============ FAQ ============ */
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.faq-item.open { box-shadow: var(--shadow); }
.faq-q {
    width: 100%; padding: 18px 22px;
    display: flex; justify-content: space-between; align-items: center;
    text-align: left; font-weight: 600; font-size: 15px;
    color: var(--dark);
}
.faq-q i { transition: transform .25s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
    max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s;
    color: var(--muted); font-size: 14px;
    padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }

/* ============ FINAL CTA STRIP ============ */
.final-cta {
    background: var(--bg-blue);
    padding: 80px 0; text-align: center; color: #fff;
    position: relative; overflow: hidden;
}
.final-cta-img {
    width: 220px; height: 220px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
}
.final-cta-img img { width: 100%; height: 100%; object-fit: cover; }
.final-cta h2 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; margin-bottom: 16px; }
.final-cta p { opacity: .9; max-width: 560px; margin: 0 auto 28px; }

/* ============ CTA SECTION (footer top dark) ============ */
.cta-section {
    background: var(--dark);
    color: #fff;
    padding: 60px 0;
}
.cta-wrap {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-bottom: 50px;
}
.cta-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.cta-text p { color: rgba(255,255,255,.65); font-size: 14px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.site-footer {
    background: var(--dark);
    color: #fff;
    padding-bottom: 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 50px 24px;
}
.foot-brand p { color: rgba(255,255,255,.6); font-size: 13px; margin: 16px 0 14px; }
.foot-brand .logo img { height: 48px; }
.news-form {
    display: flex;
    background: rgba(255,255,255,.06);
    border-radius: 999px;
    padding: 4px;
    max-width: 320px;
    border: 1px solid rgba(255,255,255,.08);
    transition: border-color .2s, background .2s;
}
.news-form:focus-within {
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
}
.news-form input {
    flex: 1; background: transparent; border: none; outline: none;
    color: #fff; font-size: 13px; padding: 10px 16px;
    font-family: inherit;
    border-radius: 999px;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}
.news-form input::placeholder { color: rgba(255,255,255,.5); }
.news-form input:focus {
    outline: none;
    box-shadow: none;
}
.news-form button {
    background: var(--primary); color: #fff;
    padding: 10px 18px; border-radius: 999px;
    font-weight: 600; font-size: 13px;
    border: none; cursor: pointer;
    transition: background .2s;
}
.news-form button:hover { background: var(--primary-dark); }
.foot-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.foot-col ul li { margin-bottom: 10px; }
.foot-col ul li a {
    color: rgba(255,255,255,.65);
    font-size: 14px; transition: color .2s;
}
.foot-col ul li a:hover { color: #fff; }
.contact-list li {
    display: flex; gap: 12px;
    color: rgba(255,255,255,.65); font-size: 13px;
    margin-bottom: 14px;
}
.contact-list li i {
    color: var(--primary); margin-top: 4px; font-size: 14px;
    width: 18px;
}
.contact-list li span { color: #fff; font-weight: 600; font-size: 13px; }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 24px 0;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,.5); font-size: 13px; }
.socials { display: flex; gap: 12px; }
.socials a {
    width: 32px; height: 32px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    display: grid; place-items: center;
    color: rgba(255,255,255,.7);
    transition: background .2s, color .2s;
}
.socials a:hover { background: var(--primary); color: #fff; }

/* ============ ABOUT PAGE ============ */
.about-intro { padding: 80px 0; }
.about-intro-img {height: 100%;}
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px; align-items: center;
}
.about-intro-img {
    border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: #ddd center/cover no-repeat;
}
.about-intro-text .eyebrow {
    color: var(--primary); font-weight: 700; font-size: 13px;
    letter-spacing: 2px; margin-bottom: 10px;
}
.about-intro-text h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800; margin-bottom: 18px; color: var(--dark);
}
.about-intro-text p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.about-stat .num { font-size: 36px; font-weight: 800; color: var(--primary); }
.about-stat p { color: var(--muted); font-size: 13px; }

.vision-mission {
    background: var(--bg-light);
    padding: 60px 0;
}
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.vm-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.vm-icon {
    width: 50px; height: 50px;
    background: rgba(37,99,235,.1);
    color: var(--primary);
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 22px;
    margin-bottom: 18px;
}
.vm-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.vm-card p { color: var(--muted); font-size: 14px; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: transform .25s, box-shadow .25s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-icon {
    width: 44px; height: 44px;
    background: rgba(37,99,235,.1);
    color: var(--primary);
    border-radius: 10px;
    display: grid; place-items: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.value-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 13px; }

/* ============ BLOG PAGE ============ */
.blog-page { padding: 60px 0; }
.blog-feature {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
}
.blog-feature .img { background: #ddd center/cover no-repeat; min-height: 320px; }
.blog-feature .body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.blog-tag {
    display: inline-block;
    background: rgba(37,99,235,.1);
    color: var(--primary);
    padding: 5px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 700;
    margin-bottom: 14px; align-self: flex-start;
}
.blog-feature h3 { font-size: 26px; font-weight: 800; margin-bottom: 14px; line-height: 1.3; }
.blog-feature p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.blog-meta {
    display: flex; gap: 18px;
    color: var(--muted); font-size: 13px;
}
.blog-meta span i { margin-right: 6px; color: var(--primary); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card .img { height: 180px; background: #ddd center/cover no-repeat; }
.blog-card .body { padding: 22px; }
.blog-card .blog-tag { font-size: 11px; }
.blog-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.blog-card .date { font-size: 12px; color: var(--muted); }

/* ============ PAGINATION ============ */
.pagination {
    display: flex; justify-content: center; gap: 8px;
}
.pagination a, .pagination span {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 600; font-size: 13px;
    transition: all .2s;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============ CONTACT PAGE ============ */
.contact-page { padding: 60px 0 80px; background: var(--bg-light); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px; align-items: start;
}
.contact-info h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.contact-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    display: flex; gap: 16px; align-items: flex-start;
}
.contact-card .icon {
    width: 42px; height: 42px;
    background: var(--primary); color: #fff;
    border-radius: 10px;
    display: grid; place-items: center;
    font-size: 16px; flex-shrink: 0;
}
.contact-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }

.contact-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 20px; font-weight: 800; margin-bottom: 22px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 13px;
    font-weight: 600; margin-bottom: 8px;
    color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit; font-size: 14px;
    outline: none;
    transition: border-color .2s;
    background: #fff;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.contact-form .btn-primary {
    width: 100%; justify-content: center; margin-top: 8px;
}
.alert {
    padding: 12px 16px; border-radius: 8px;
    margin-bottom: 16px; font-size: 14px;
}
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* ============ TESTIMONIAL ============ */
.test-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.test-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow-sm);
    padding-bottom: 18px;
}
.test-card .ph {
    width: 100%;
    aspect-ratio: 1080 / 1420; /* sesuai resolusi foto testimoni 1080x1420 */
    background: #ddd center/cover no-repeat;
}
.test-card h5 { font-size: 14px; font-weight: 700; margin: 14px 0 4px; }
.test-card p { color: var(--muted); font-size: 12px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--primary-dark);
        flex-direction: column; gap: 0;
        padding: 12px 24px;
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }

    /* Tombol Kontak di topbar disembunyikan, dipindah jadi item drawer */
    .nav-wrap > .btn-register { display: none; }
    .main-nav .btn-register-mobile {
        display: block;
        margin-top: 14px;
        padding: 12px 18px;
        background: #fff;
        color: var(--primary);
        text-align: center;
        border-radius: 999px;
        font-weight: 700;
        text-decoration: none;
        border-bottom: none;
    }
    .main-nav .btn-register-mobile:hover { background: #f1f5f9; }

    .cat-grid, .values-grid, .inst-grid, .test-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-grid, .vm-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .journey-grid, .course-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-intro-grid { grid-template-columns: 1fr; }
    .blog-feature { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    /* Float card tetap tampil di tablet, ukuran lebih kecil */
    .float-card {
        padding: 10px 12px;
        max-width: 170px;
        gap: 8px;
        border-radius: 10px;
    }
    .float-card small { font-size: 10px; }
    .float-card .stars { font-size: 10px; }
    .float-card .avatars img { width: 22px; height: 22px; }
    .float-card strong { font-size: 16px !important; }
}
@media (max-width: 600px) {
    .cat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .values-grid, .inst-grid, .test-grid,
    .journey-grid, .course-grid, .blog-grid,
    .footer-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    .form-row { grid-template-columns: 1fr; }
    .cta-wrap { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; }
    .hero-image { width: 240px; height: 240px; }
}


/* ============ PROGRAM / MODE CARDS (section 3 & 4) ============ */
.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.program-card,
.mode-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Card biru */
.program-card.blue {
    background: #eef4ff;
    border-color: transparent;
}
.program-card.blue::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(37,99,235,.12), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Card kuning */
.program-card.yellow {
    background: #fef9e7;
    border-color: transparent;
}
.program-card.yellow::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(251,191,36,.18), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.program-card > *, .mode-card > * { position: relative; z-index: 1; }

/* Icon box */
.prog-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: grid; place-items: center;
    font-size: 22px;
    background: var(--primary);
    color: #fff;
    margin-bottom: 26px;
    box-shadow: 0 8px 18px rgba(37,99,235,.3);
}
.program-card.yellow .prog-icon,
.prog-icon.yellow {
    background: var(--yellow);
    color: #fff;
    box-shadow: 0 8px 18px rgba(251,191,36,.4);
}

.program-card h3,
.mode-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
}
.program-card p,
.mode-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
    line-height: 1.65;
}

/* Bullet list */
.prog-list {
    list-style: none;
    margin-bottom: 28px;
}
.prog-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.55;
}
.prog-list li i {
    color: var(--primary);
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}
.prog-list.yellow li i { color: var(--yellow); }

/* Outline buttons */
.btn-outline-dark {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; color: var(--dark);
    padding: 14px 26px; border-radius: 999px;
    font-weight: 700; font-size: 14px;
    border: 1px solid var(--border);
    transition: all .2s;
}
.btn-outline-dark:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

.btn-outline-blue {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; width: 100%;
    background: #fff; color: var(--primary);
    padding: 14px 26px; border-radius: 999px;
    font-weight: 700; font-size: 14px;
    border: 1px solid var(--primary);
    transition: all .2s;
}
.btn-outline-blue:hover { background: var(--primary); color: #fff; }

.program-card .btn-primary { width: 100%; justify-content: center; }

/* Responsive override */
@media (max-width: 768px) {
    .program-grid { grid-template-columns: 1fr; }
    .float-card.left { left: 2%; bottom: 60px; padding: 8px 10px; max-width: 150px; }
    .float-card.right { right: 2%; top: 30px; padding: 8px 10px; max-width: 150px; }
    .float-card small { font-size: 9px; line-height: 1.35; }
    .float-card strong { font-size: 14px !important; }
    .float-card .avatars img { width: 18px; height: 18px; border-width: 1.5px; }
    .float-card .stars { font-size: 9px; letter-spacing: 0.5px; }
    .hero-stage { height: 380px; }
    .hero-circle { width: 100%; }
}
@media (max-width: 520px) {
    /* Float card tetap muncul, sangat compact */
    .float-card.left { left: 2%; bottom: 50px; padding: 7px 9px; max-width: 130px; }
    .float-card.right { right: 2%; top: 20px; padding: 7px 9px; max-width: 130px; }
    .float-card small { font-size: 8px; line-height: 1.3; margin-top: 3px; }
    .float-card strong { font-size: 13px !important; }
    .float-card .avatars img { width: 16px; height: 16px; }
    .hero-stage { height: 320px; }
}


/* ============ TEST CARD : PLAY BUTTON ============ */
.test-card .ph { position: relative; cursor: pointer; overflow: hidden; }
.test-card .ph::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35));
    transition: background .25s;
    pointer-events: none;
}
.test-card .ph:hover::after { background: rgba(0,0,0,.55); }
.test-card .testi-thumb {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    background: #0f172a;
}

/* ============ VIDEO LIGHTBOX ============ */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.video-lightbox.open {
    display: flex;
    animation: vl-fade-in .25s ease-out;
}
@keyframes vl-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.vl-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}
.vl-stage {
    position: relative;
    z-index: 1;
    max-width: min(96vw, 100%);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vl-stage video {
    max-width: 96vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    background: #000;
    display: block;
}
.vl-close {
    position: absolute;
    top: -50px; right: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    display: grid;
    place-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s, transform .2s;
    z-index: 2;
}
.vl-close:hover {
    background: rgba(255,255,255,.3);
    transform: rotate(90deg);
}
@media (max-width: 600px) {
    .vl-close { top: -44px; right: 4px; width: 36px; height: 36px; font-size: 14px; }
    .vl-stage video { border-radius: 8px; }
}
body.vl-open { overflow: hidden; }
.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: var(--primary);
    display: grid; place-items: center;
    font-size: 18px;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transition: transform .2s, background .2s;
    border: none;
    cursor: pointer;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); background: var(--primary); color: #fff; }
.play-btn::before {
    content: '';
    position: absolute; inset: -8px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    z-index: -1;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: .7; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ============ FINAL CTA (terang) ============ */
.final-cta-light {
    background: #f5f8ff;
    padding: 90px 0 0;
    text-align: center;
    overflow: hidden;
}
.final-cta-text {
    max-width: 640px;
    margin: 0 auto 40px;
    padding: 0 24px;
}
.final-cta-text h2 {
    font-size: clamp(32px, 4.5vw, 44px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}
.final-cta-text p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.65;
}

.final-cta-stage {
    position: relative;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}
.cta-circle {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    max-width: 90vw;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}
.cta-model {
    position: relative;
    height: 100%;
    max-height: 420px;
    width: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.15));
}

@media (max-width: 768px) {
    .final-cta-stage { height: 340px; }
    .cta-circle { width: 100%; }
}
@media (max-width: 520px) {
    .final-cta-stage { height: 280px; }
}


/* ============ COURSE DETAIL PAGE ============ */
.detail-hero { padding: 150px 0 100px; text-align: left; }
.detail-hero h1 {
    font-size: clamp(28px, 4.2vw, 44px);
    text-align: left;
    max-width: 820px;
    margin-bottom: 14px;
}
.detail-hero p {
    text-align: left;
    margin: 0 0 24px;
    max-width: 720px;
    font-size: 15px;
}
.detail-breadcrumb {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: rgba(255,255,255,.85);
    margin-bottom: 16px;
}
.detail-breadcrumb a { color: rgba(255,255,255,.85); transition: color .2s; }
.detail-breadcrumb a:hover { color: #fff; }
.detail-breadcrumb i { font-size: 10px; opacity: .7; }
.detail-meta {
    display: flex; gap: 18px; flex-wrap: wrap;
    font-size: 13px;
}
.detail-meta span {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.15);
    padding: 8px 14px; border-radius: 999px;
    backdrop-filter: blur(6px);
    font-weight: 500;
}
.detail-meta span i { color: #fbbf24; }

.detail-section { padding-top: 60px; }
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    grid-template-areas:
        "cover aside"
        "main aside";
    gap: 40px;
    align-items: flex-start;
}
.detail-cover-wrap { grid-area: cover; margin-bottom: 24px; }
.detail-main { grid-area: main; min-width: 0; }
.detail-aside { grid-area: aside; }
.detail-cover {
    width: 100%;
    height: 360px;
    border-radius: 18px;
    background: #ddd center/cover no-repeat;
    box-shadow: var(--shadow);
}
.detail-block { margin-bottom: 38px; }
.detail-block h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
}
.detail-block p { color: var(--muted); font-size: 15px; line-height: 1.75; }

/* Syllabus list */
.syllabus-list { list-style: none; }
.syllabus-list li {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 14px 18px;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text);
    transition: background .2s, transform .2s;
}
.syllabus-list li:hover { background: rgba(37,99,235,.08); transform: translateX(4px); }
.syllabus-list .num {
    width: 28px; height: 28px;
    background: var(--primary); color: #fff;
    border-radius: 8px;
    display: grid; place-items: center;
    font-weight: 700; font-size: 13px;
    flex-shrink: 0;
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.feature-item {
    display: flex; gap: 12px; align-items: center;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
}
.feature-item i { color: var(--green); font-size: 18px; }

/* Instructor */
.instructor-card {
    display: flex; gap: 16px; align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: var(--shadow-sm);
}
.instructor-card img {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
}
.instructor-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.instructor-card p { color: var(--muted); font-size: 13px; }

/* Sticky enroll card */
.detail-aside { position: sticky; top: 100px; }
.enroll-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}
.enroll-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.enroll-title-row .course-tag {
    background: rgba(37,99,235,.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    display: inline-block;
    flex-shrink: 0;
}
.enroll-title-row .enroll-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}
.enroll-tag-row {
    padding: 18px 24px 0;
    margin-bottom: 4px;
}
.enroll-tag-row .course-tag {
    background: rgba(37,99,235,.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    display: inline-block;
}
.enroll-body { padding: 24px; }
.enroll-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin: 12px 0 14px;
    line-height: 1.35;
}

.enroll-price small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 4px;
}
.enroll-price strong {
    display: block;
    font-size: 26px;
    color: var(--dark);
    margin-bottom: 18px;
}
.enroll-info {
    list-style: none;
    margin-bottom: 22px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}
.enroll-info li {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text);
    padding: 9px 0;
    border-bottom: 1px dashed var(--border);
}
.enroll-info li:last-child { border-bottom: none; }
.enroll-info li i {
    color: var(--primary);
    font-size: 13px;
    text-align: center;
}
.enroll-info li span {
    color: var(--muted);
    font-weight: 500;
}
.enroll-info li b {
    color: var(--dark);
    font-weight: 700;
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "cover"
            "aside"
            "main";
        gap: 24px;
    }
    .detail-aside {
        position: static;
    }
    .detail-cover { height: 240px; }
    .feature-grid { grid-template-columns: 1fr; }
}


/* ============ BLOG CARD: clickable as link ============ */
a.blog-card,
a.blog-feature {
    color: inherit;
    text-decoration: none;
    display: block;
}
a.blog-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    transition: transform .25s, box-shadow .25s;
}
a.blog-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
a.blog-card { transition: transform .25s, box-shadow .25s; }
a.blog-card:hover .body h4 { color: var(--primary); }

/* ============ BLOG DETAIL PAGE ============ */
.blog-detail-hero {
    padding: 110px 0 70px;
    text-align: center;
}
.blog-detail-hero .detail-breadcrumb {
    justify-content: center;
}
.blog-detail-hero h1 {
    font-size: clamp(24px, 3vw, 34px);
    text-align: center;
    margin: 14px auto;
    max-width: 760px;
    line-height: 1.25;
}
.blog-detail-hero .blog-tag {
    margin: 0 auto;
}
.blog-detail-hero .detail-meta {
    justify-content: center;
}

.blog-detail-section { padding: 60px 0; }
.article-wrap {
    max-width: 820px;
    margin: 0 auto;
}
.article-cover {
    width: 100%;
    height: 420px;
    border-radius: 18px;
    background: #ddd center/cover no-repeat;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}
.article-content { font-size: 16px; color: var(--text); }
.article-content p {
    line-height: 1.85;
    color: #374151;
    margin-bottom: 20px;
    font-size: 16px;
}
.article-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin: 36px 0 14px;
    line-height: 1.35;
}
.article-content p:first-child::first-letter {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    float: left;
    line-height: 1;
    margin: 6px 12px 0 0;
}

/* Author block */
.article-author {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    background: var(--bg-light);
    border-radius: 16px;
    padding: 24px;
    margin-top: 50px;
    border-left: 4px solid var(--primary);
}
.article-author .author-info { flex: 1; }
.article-author small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 2px;
}
.article-author h4 { font-size: 18px; font-weight: 800; color: var(--dark); margin: 0; }

.share-bar {
    display: none;
}
.share-bar a {
    width: 36px; height: 36px;
    background: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--text);
    transition: background .2s, color .2s, transform .2s;
    border: 1px solid var(--border);
}
.share-bar a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    a.blog-feature { grid-template-columns: 1fr; }
    .article-cover { height: 240px; }
    .article-author { padding: 18px; }
}


/* ============ HERO STAT BUBBLE (1000+ versi baru) ============ */
.stat-bubble {
    position: absolute;
    background: #fff;
    border-radius: 22px;
    padding: 24px 26px;
    box-shadow: 0 24px 50px rgba(0,0,0,.18);
    z-index: 4;
    width: 240px;
    text-align: left;
}
.stat-bubble.right { top: 60px; right: 6%; }
.bubble-avatars { display: flex; margin-bottom: 18px; }
.bubble-avatars img {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    margin-left: -10px;
    box-shadow: 0 4px 8px rgba(0,0,0,.12);
}
.bubble-avatars img:first-child { margin-left: 0; }
.bubble-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 8px;
}
.bubble-desc {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 992px) {
    /* Stat bubble (1000+) tetap tampil di tablet, ukuran kecil */
    .stat-bubble {
        width: 170px;
        padding: 14px 16px;
        border-radius: 14px;
    }
    .stat-bubble.right { top: 30px; right: 2%; }
    .bubble-avatars { margin-bottom: 10px; }
    .bubble-avatars img { width: 28px; height: 28px; border-width: 2px; margin-left: -8px; }
    .bubble-num { font-size: 22px; margin-bottom: 4px; }
    .bubble-desc { font-size: 11px; line-height: 1.45; }
}
@media (max-width: 600px) {
    /* Versi paling compact */
    .stat-bubble {
        width: 130px;
        padding: 10px 12px;
        border-radius: 10px;
    }
    .stat-bubble.right { top: 20px; right: 2%; }
    .bubble-avatars { margin-bottom: 6px; }
    .bubble-avatars img { width: 22px; height: 22px; border-width: 1.5px; margin-left: -6px; }
    .bubble-num { font-size: 18px; margin-bottom: 3px; }
    .bubble-desc { font-size: 9.5px; line-height: 1.35; }
}

/* ============ CATEGORY CARD AS LINK ============ */
a.cat-card {
    text-decoration: none;
    color: inherit;
    display: block;
}
a.cat-card:hover .cat-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}
.cat-icon { transition: background .25s, color .25s, transform .25s; }
a.cat-card h4 { transition: color .2s; }
a.cat-card:hover h4 { color: var(--primary); }

/* ============ REASON GRID (Section 6 baru) ============ */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.reason-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.reason-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.reason-visual {
    height: 200px;
    background: #eef2ff center/cover no-repeat;
    margin: 14px 14px 0;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

/* Visual untuk card community: orbit lingkaran */
.reason-visual.community {
    background: linear-gradient(180deg, #eef4ff, #f8faff);
    display: grid;
    place-items: center;
}
.orbit {
    position: relative;
    width: 200px;
    height: 160px;
}
.orbit-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 22px;
    box-shadow: 0 10px 24px rgba(37,99,235,.4);
    z-index: 3;
}
.orbit::before, .orbit::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(37,99,235,.25);
    border-radius: 50%;
}
.orbit::before { width: 130px; height: 130px; }
.orbit::after  { width: 200px; height: 200px; }
.orbit img {
    position: absolute;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
    z-index: 2;
}
.orbit .orbit-1 { top: 10px;  left: 30px; }
.orbit .orbit-2 { top: 35px;  right: 14px; }
.orbit .orbit-3 { bottom: 10px; left: 50%; transform: translateX(-50%); }

.reason-body { padding: 22px 24px 28px; }
.reason-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(37,99,235,.1);
    color: var(--primary);
    display: grid; place-items: center;
    font-size: 16px;
    margin-bottom: 14px;
}
.reason-body h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.reason-body p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 992px) {
    .reason-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .reason-grid { grid-template-columns: 1fr; }
}

/* ============ COURSE EMPTY STATE ============ */
.course-empty {
    background: #fff;
    border-radius: 14px;
    padding: 60px 24px;
    text-align: center;
    border: 1px dashed var(--border);
    margin-bottom: 30px;
}
.course-empty i {
    font-size: 36px;
    color: var(--muted);
    background: var(--bg-light);
    width: 80px; height: 80px;
    border-radius: 50%;
    display: grid; place-items: center;
    margin: 0 auto 18px;
}
.course-empty h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.course-empty p  { color: var(--muted); font-size: 14px; }


/* ============ ARTICLE CONTENT (rich HTML from editor) ============ */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 18px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.article-content figure { margin: 20px 0; text-align: center; }
.article-content figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.article-content h1 { font-size: 28px; font-weight: 800; color: var(--dark); margin: 32px 0 14px; }
.article-content h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin: 28px 0 12px; }
.article-content h4 { font-size: 17px; font-weight: 700; color: var(--dark); margin: 22px 0 10px; }
.article-content ul,
.article-content ol {
    margin: 16px 0 20px 24px;
    color: #374151;
    line-height: 1.85;
}
.article-content ul li,
.article-content ol li { margin-bottom: 6px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content blockquote {
    border-left: 4px solid var(--primary);
    background: #f8faff;
    padding: 16px 22px;
    margin: 22px 0;
    color: #475569;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}
.article-content blockquote p { margin: 0; }
.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-content a:hover { color: var(--primary-dark); }
.article-content pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 16px 18px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    margin: 18px 0;
}
.article-content code {
    background: #f1f5f9;
    color: #0f172a;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 90%;
}
.article-content pre code { background: transparent; color: inherit; padding: 0; }
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14px;
}
.article-content table th,
.article-content table td {
    border: 1px solid var(--border);
    padding: 10px 14px;
    text-align: left;
}
.article-content table th { background: var(--bg-light); font-weight: 700; }
.article-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 30px 0;
}
.article-content iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 12px;
    margin: 18px 0;
}
.article-content p:first-of-type::first-letter {
    /* override drop-cap lama supaya tetap rapi pada HTML kaya */
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    float: left;
    line-height: 1;
    margin: 6px 12px 0 0;
}


/* ============ FEATURED PROGRAM (highlight banner) ============ */
.featured-program {
    display: block;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    color: #fff;
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(37,99,235,.25);
    transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
    isolation: isolate;
}
.featured-program:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(37,99,235,.32);
}

/* Pattern grid lembut */
.fp-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0);
    background-size: 22px 22px;
    z-index: 0;
}

/* Orb cahaya melayang */
.fp-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(36px);
    z-index: 0;
    pointer-events: none;
}
.fp-glow-1 {
    top: -60px; right: -50px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(251,191,36,.4), transparent 70%);
}
.fp-glow-2 {
    bottom: -90px; left: 10%;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(59,130,246,.5), transparent 70%);
}

/* Badge POPULER */
.fp-popular-badge {
    position: absolute;
    top: 18px; right: 18px;
    background: rgba(255,255,255,.95);
    color: #b91c1c;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.pulse-dot {
    width: 7px; height: 7px;
    background: #ef4444;
    border-radius: 50%;
    position: relative;
}
.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(239,68,68,.4);
    animation: fp-pulse 1.6s infinite;
}
@keyframes fp-pulse {
    0%   { transform: scale(.8); opacity: 1; }
    100% { transform: scale(2);  opacity: 0; }
}

/* Layout content */
.fp-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 30px;
    align-items: center;
}

/* TEXT SIDE */
.fp-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(251,191,36,.4);
}

.fp-text h3 {
    font-size: clamp(20px, 2.3vw, 28px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}
.fp-text h3 .highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #fde68a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}
.fp-text h3 .highlight::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #fbbf24, transparent);
    border-radius: 2px;
}

.fp-text > p {
    color: rgba(255,255,255,.85);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 460px;
}

/* Feature mini cards */
.fp-features {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}
.fp-feat {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 10px;
    padding: 8px 12px;
    transition: background .25s, transform .25s;
}
.featured-program:hover .fp-feat { background: rgba(255,255,255,.16); }
.fp-feat:hover { transform: translateX(4px); }
.fp-feat > i {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(251,191,36,.25);
    color: #fde68a;
    display: grid;
    place-items: center;
    font-size: 13px;
    flex-shrink: 0;
}
.fp-feat strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 1px;
    line-height: 1.2;
}
.fp-feat span {
    color: rgba(255,255,255,.7);
    font-size: 11px;
}

/* CTA */
.fp-action {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    transition: gap .25s, transform .2s, box-shadow .2s;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
.featured-program:hover .fp-btn {
    gap: 12px;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.featured-program:hover .fp-btn i {
    animation: fp-arrow 1s infinite;
}
@keyframes fp-arrow {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(4px); }
}
.fp-action small {
    color: rgba(255,255,255,.7);
    font-size: 11px;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* VISUAL SIDE */
.fp-visual {
    position: relative;
    height: 360px;
    overflow: visible;
}

/* Foto pp1 — setengah badan, anchor ke bawah agar kepala+bahu muncul */
.fp-visual .fp-photo {
    position:absolute;
    left: 5px; right: 0;
    top: 55px;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 14px 28px rgba(0,0,0,.28));
}

/* Lingkaran utama dengan ring orbit (BACKGROUND di belakang foto) */
.fp-orbit {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 240px; height: 240px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(251,191,36,.25), rgba(251,191,36,0));
    display: grid;
    place-items: center;
    animation: fp-spin 25s linear infinite;
    z-index: 0;
    opacity: .85;
}
.fp-orbit::before {
    content: '';
    position: absolute;
    inset: -32px;
    border: 2px dashed rgba(255,255,255,.2);
    border-radius: 50%;
}
.fp-orbit::after {
    content: '';
    position: absolute;
    inset: -68px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}
@keyframes fp-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.fp-center-icon {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    display: grid; place-items: center;
    font-size: 30px;
    box-shadow: 0 12px 28px rgba(251,191,36,.5);
    animation: fp-counter-spin 25s linear infinite;
    overflow: hidden;
}
.fp-center-icon .fp-center-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    pointer-events: none;
}
@keyframes fp-counter-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

/* Floating stat cards — posisi di pinggir, ukuran fit-content agar tidak menutup wajah */
.fp-stat {
    position: absolute;
    background: rgba(255,255,255,.95);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 11px;
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    backdrop-filter: blur(10px);
    animation: fp-float 4s ease-in-out infinite;
    width: max-content;
    max-width: 180px;
    white-space: nowrap;
}
.fp-stat-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(37,99,235,.15);
    color: var(--primary);
    display: grid; place-items: center;
    font-size: 11px;
    flex-shrink: 0;
}
.fp-stat-icon.yellow { background: rgba(251,191,36,.2); color: #b45309; }
.fp-stat-icon.green  { background: rgba(16,185,129,.15); color: #047857; }
.fp-stat strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}
.fp-stat small {
    font-size: 10px;
    color: var(--muted);
    display: block;
    margin-top: 1px;
}

/* Posisi stat: pojok atas-kiri, kanan-tengah-bawah, kiri-bawah
   Dipilih jauh dari area kepala-tengah agar tidak menutup wajah */
.fp-stat-1 {
    top: 14px;
    left: 14px;
    animation-delay: 0s;
}
.fp-stat-2 {
    bottom: 38%;
    right: 14px;
    animation-delay: 1.3s;
}
.fp-stat-3 {
    bottom: 14px;
    left: 8px;
    animation-delay: 2.6s;
}

@keyframes fp-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 992px) {
    .featured-program { padding: 26px 22px; }
    .fp-content {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .fp-visual { height: 320px; }
}
@media (max-width: 600px) {
    .featured-program { padding: 22px 18px; }
    .fp-popular-badge { top: 14px; right: 14px; padding: 4px 10px; font-size: 10px; }
    .fp-text h3 { font-size: 22px; }
    .fp-visual { height: 280px; }
    .fp-stat { padding: 7px 10px; max-width: 160px; }
    .fp-stat strong { font-size: 12px; }
    .fp-stat small { font-size: 10px; }
    .fp-orbit { width: 200px; height: 200px; }
    .fp-center-icon { width: 64px; height: 64px; font-size: 24px; }
    .fp-action { flex-direction: column; align-items: flex-start; }
    .fp-stat-1 { left: 0; }
    .fp-stat-2 { bottom: 40px;}
    .fp-stat-3 { left: 0; }
}


/* ============ COURSES PAGE EXTRA ============ */
.search-submit {
    background: var(--primary);
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 12px;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
}
.search-submit:hover { background: var(--primary-dark); transform: rotate(-12deg); }

.result-count {
    color: var(--muted);
    font-size: 13px;
}
.result-count strong { color: var(--primary); font-size: 15px; font-weight: 800; }

.reset-filter {
    color: var(--red);
    background: rgba(239,68,68,.1);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .2s;
}
.reset-filter:hover { background: rgba(239,68,68,.18); }

/* Pagination disabled state */
.pagination span.disabled {
    color: var(--border);
    background: #fff;
    cursor: not-allowed;
    border: 1px solid var(--border);
}


/* ============ SEE MORE WRAP (home -> courses) ============ */
.see-more-wrap {
    text-align: center;
    margin-top: 50px;
}
.btn-see-more {
    padding: 14px 32px;
    font-size: 14px;
    transition: gap .25s, transform .2s, box-shadow .2s;
    gap: 10px;
}
.btn-see-more:hover { gap: 14px; }
.see-more-wrap small {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}


/* ============ NEWSLETTER FLASH (footer) ============ */
.news-flash {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.5;
    max-width: 320px;
}
.news-flash-success { background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.25); }
.news-flash-error   { background: rgba(239,68,68,.15);  color: #fca5a5; border: 1px solid rgba(239,68,68,.25); }
.news-flash i { margin-top: 2px; }

/* ============ REGISTER PAGE ============ */
.register-wrap {}

.register-form-full {
    background: #fff;
    border-radius: 18px;
    padding: 40px 44px;
    box-shadow: var(--shadow);
    max-width: 920px;
    margin: 0 auto;
}
.form-section {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.form-section h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-section h3::before {
    content: '';
    width: 4px; height: 18px;
    background: var(--primary);
    border-radius: 2px;
}
.section-help {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
    margin-top: -6px;
}

.register-form-full .form-group { margin-bottom: 16px; }
.register-form-full .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.register-form-full .req { color: var(--red); }
.register-form-full input,
.register-form-full textarea,
.register-form-full select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.register-form-full input:focus,
.register-form-full textarea:focus,
.register-form-full select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.register-form-full textarea { resize: vertical; min-height: 80px; }

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}
.check-pill {
    cursor: pointer;
    position: relative;
}
.check-pill input { position: absolute; opacity: 0; pointer-events: none; }
.check-pill span {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13px;
    color: var(--text);
    text-align: center;
    transition: all .2s;
    user-select: none;
    font-weight: 500;
}
.check-pill input:checked + span {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    font-weight: 600;
}
.check-pill:hover span { border-color: var(--primary); }

.agreement-box {
    background: #f8faff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 18px;
    font-size: 13px;
    color: #374151;
    line-height: 1.7;
}
.agreement-box strong { color: var(--dark); display: block; margin-bottom: 6px; }
.agreement-box p { margin: 0; }

.signature-wrap {
    background: #fff;
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 14px;
}
.signature-wrap canvas {
    width: 100%;
    height: 180px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: block;
    cursor: crosshair;
    touch-action: none;
}
.signature-wrap canvas:focus { outline: 2px solid var(--primary); }

.radio-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.radio-pill {
    cursor: pointer;
    position: relative;
}
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill span {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
    user-select: none;
}
.radio-pill input:checked + span {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37,99,235,.25);
}
.radio-pill:hover span { border-color: var(--primary); }

.check-row {
    display: flex; gap: 10px; align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}
.check-row input { width: auto; margin-top: 4px; }

.btn-register-submit {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
}

.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 13px; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert i { margin-right: 8px; }

/* Success card */
.register-success {
    background: #fff;
    border-radius: 18px;
    padding: 50px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 560px;
    margin: 0 auto;
    border: 1px solid var(--border);
}
.success-icon {
    width: 90px; height: 90px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 44px;
    margin: 0 auto 20px;
    box-shadow: 0 14px 30px rgba(16,185,129,.35);
    animation: pop-in .5s cubic-bezier(.2,.8,.3,1);
}
@keyframes pop-in {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}
.register-success h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}
.register-success p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .register-grid { grid-template-columns: 1fr; }
    .register-info { position: static; }
    .register-form-full { padding: 28px 22px; }
}
@media (max-width: 600px) {
    .register-form { padding: 22px 18px; }
    .register-form-full { padding: 22px 16px; }
    .form-row { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: 1fr 1fr; }
}


/* ============ REGISTER SUCCESS ============ */
.success-no {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 12px 22px;
    margin: 14px auto 18px;
    text-align: center;
}
.success-no span {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 4px;
}
.success-no strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}
.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    color: var(--text);
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s;
}
.btn-ghost-light:hover { background: #e5e7eb; }

.success-note {
    margin-top: 24px;
    padding: 14px 18px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    color: #92400e;
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
}


/* ============ LOCKED COURSE (preselected) ============ */
.locked-course {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 18px 22px;
}
.locked-course > i:first-child {
    width: 48px; height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}
.locked-course > i:last-child {
    color: #1e40af;
    font-size: 16px;
    flex-shrink: 0;
}
.locked-course > div {
    flex: 1;
    min-width: 0;
}
.locked-course strong {
    display: block;
    font-size: 15px;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 4px;
}
.locked-course small {
    color: #475569;
    font-size: 12px;
    line-height: 1.5;
}
.locked-course small a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.locked-course small a:hover { text-decoration: underline; }


/* ============ CONTACT PAGE: MAP & INFO ============ */
.map-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
    border: 1px solid var(--border);
    position: relative;
}
.map-card iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}
.map-direction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s;
    border-top: 1px solid var(--border);
}
.map-direction:hover {
    background: var(--primary);
    color: #fff;
}

.contact-info-grid {
    display: grid;
    gap: 12px;
}
.contact-info-grid .contact-card {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .map-card iframe { height: 220px; }
}


/* ============ REGISTER FORM: PROGRAM SECTION (highlighted) ============ */
.form-section.program-section {
    background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(37,99,235,.02));
    border: 1px solid rgba(37,99,235,.18);
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 28px;
    border-bottom: none;
    position: relative;
}
.form-section.program-section::before {
    content: 'PILIH DULU';
    position: absolute;
    top: -10px; left: 18px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 999px;
}
.form-section.program-section .form-group {
    margin-bottom: 0;
}
.form-section.program-section .program-label {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -.2px;
}
.form-section.program-section .program-select {
    font-size: 16px;
    font-weight: 600;
    padding: 16px 18px;
    border: 2px solid rgba(37,99,235,.2);
    background-color: #fff;
}
.form-section.program-section .program-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

/* ============ CEK KUPON ============ */
.promo-input-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.promo-input-row input {
    flex: 1;
    min-width: 0;
}
.btn-check-promo {
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.btn-check-promo:hover { background: var(--primary-dark); }
.btn-check-promo:active { transform: scale(.97); }
.btn-check-promo:disabled { opacity: .7; cursor: progress; }

.promo-result {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.promo-result i:first-child {
    flex-shrink: 0;
    font-size: 18px;
    margin-top: 1px;
}
.promo-result.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.promo-result.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.promo-result b { font-weight: 700; }
.promo-result s { color: #94a3b8; }

@media (max-width: 600px) {
    .form-section.program-section { padding: 20px 18px; }
    .form-section.program-section .program-label { font-size: 16px; }
    .form-section.program-section .program-select { font-size: 15px; padding: 14px 16px; }
    .promo-input-row { flex-direction: column; }
    .btn-check-promo { padding: 12px; justify-content: center; }
}


/* ============================================================
 * COMING SOON OVERLAY (mode-card / Kelas Online)
 * Dipakai di index.php pada section "Mode Pembelajaran".
 * Cara hapus segel: lihat docs/12-cara-mengelola-tampilan.md
 * ============================================================ */
.mode-card.is-coming-soon {
    position: relative;
    overflow: hidden;
}
/* Konten kartu tetap KELIHATAN (hanya sedikit di-dim) */
.mode-card.is-coming-soon > *:not(.coming-soon-overlay) {
    opacity: .85;
    pointer-events: none;
    user-select: none;
}
.mode-card.is-coming-soon::before {
    /* Glow lembut di sudut */
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(37,99,235,.35), transparent 65%);
    pointer-events: none;
    z-index: 1;
}

/* Ribbon diagonal "COMING SOON" di pojok kanan atas */
.coming-soon-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    border-radius: inherit;
}
.cs-ribbon {
    position: absolute;
    top: 26px; right: -56px;
    width: 220px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    transform: rotate(45deg);
    box-shadow: 0 8px 22px rgba(249,115,22,.45);
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.cs-ribbon::before,
.cs-ribbon::after {
    content: '';
    position: absolute;
    bottom: -6px;
    border: 6px solid #b45309;
    z-index: -1;
}
.cs-ribbon::before { left: 0;  border-right-color: transparent; border-bottom-color: transparent; }
.cs-ribbon::after  { right: 0; border-left-color: transparent;  border-bottom-color: transparent; }

/* Pill badge di tengah-bawah dengan dot pulse + shimmer text */
.cs-pill {
    position: absolute;
    left: 50%; bottom: 24px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    box-shadow: 0 12px 30px rgba(37,99,235,.45),
                0 0 0 4px rgba(37,99,235,.15);
    border: 1.5px solid rgba(255,255,255,.25);
}
.cs-pill .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 0 0 rgba(251,191,36,.6);
    animation: cs-pulse 1.6s ease-out infinite;
}
@keyframes cs-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(251,191,36,.6); }
    70%  { box-shadow: 0 0 0 12px rgba(251,191,36,0); }
    100% { box-shadow: 0 0 0 0 rgba(251,191,36,0); }
}
.cs-pill .shimmer {
    background: linear-gradient(90deg, #fff 0%, #fde68a 30%, #fff 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: cs-shimmer 3s linear infinite;
}
@keyframes cs-shimmer {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Tombol "Segera Hadir" jadi gaya outline disabled yang elegan */
.btn-outline-blue.is-disabled {
    pointer-events: none;
    opacity: 1;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    border-color: #cbd5e1 !important;
    background: rgba(148,163,184,.08);
}
.btn-outline-blue.is-disabled::before {
    content: '\f017'; /* fa-clock */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

@media (max-width: 600px) {
    .cs-ribbon { top: 22px; right: -60px; font-size: 10px; padding: 6px 0; letter-spacing: 2px; }
    .cs-pill { font-size: 11px; padding: 8px 14px; bottom: 18px; }
}

/* ============================================================
 * FEATURED PROGRAM: foto pp1 di sebelah kanan
 * (Style aktif ada di blok VISUAL SIDE di atas — block ini
 *  hanya menjaga z-index agar orbit & stats tetap di atas foto)
 * ============================================================ */
.fp-visual .fp-orbit { z-index: 1; }
.fp-visual .fp-stat  { z-index: 3; }

/* ============================================================
 * RESPONSIVE: Test grid 2 kolom di mobile
 * ============================================================ */
@media (max-width: 600px) {
    .test-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px;
    }
    .test-card h5 { font-size: 13px; margin: 10px 6px 2px; }
    .test-card p  { font-size: 11px; margin: 0 6px; }
    .test-card .play-btn { width: 44px; height: 44px; }
    .test-card .play-btn i { font-size: 14px; }
}

/* ============================================================
 * VIDEO LIGHTBOX: tombol close lebih rapi
 * ============================================================ */
.vl-close {
    top: -56px !important;
    right: 0 !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    border: 2px solid rgba(255,255,255,.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 600px) {
    .vl-close {
        top: 12px !important;
        right: 12px !important;
        width: 40px;
        height: 40px;
        background: rgba(15,23,42,.85);
        border: 2px solid rgba(255,255,255,.5);
    }
}


/* ============================================================
 * FEATURED PROGRAM: Tombol "Daftar Sekarang" (versi kuning solid)
 * ============================================================ */
.fp-btn {
    text-decoration: none;
    cursor: pointer;
}
.fp-btn:hover {
    gap: 12px;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.fp-btn:hover i {
    animation: fp-arrow 1s infinite;
}
.fp-btn-register {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    box-shadow: 0 6px 16px rgba(251,191,36,.4);
}
.fp-btn-register:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #78350f;
    box-shadow: 0 12px 26px rgba(251,191,36,.55);
}
@media (max-width: 600px) {
    .fp-action { flex-direction: column; align-items: stretch; gap: 10px; }
    .fp-action .fp-btn { justify-content: center; }
    .fp-action small { text-align: center; margin-top: 4px; }
}


/* ============================================================
 * CLIENT-SIDE FIELD VALIDATION (register-pp1.php & form lain)
 * ============================================================ */
.field-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}
.field-error i { font-size: 13px; flex-shrink: 0; }
.input-invalid,
input.input-invalid,
select.input-invalid,
textarea.input-invalid {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}
.input-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220,38,38,.15) !important;
}
.client-error-banner {
    margin-bottom: 18px;
}
