:root {
    --bg: #f6f8ff;
    --ink: #101b46;
    --muted: #5f6885;
    --line: #dce3ff;
    --card: #ffffff;
    --brand: #1a2f86;
    --accent: #ff6b3d;
    --line-color: var(--line);
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top right, #e9eeff, #f7f9ff 40%, #f6f8ff 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(1160px, calc(100% - 28px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav { color: var(--muted); }

.hero { padding: 24px 0 8px; }

.crumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 18px;
    align-items: stretch;
}

.hero-copy,
.hero-media {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 14px 32px rgba(15, 33, 88, .08);
}

.hero-copy { padding: 22px; }

.hero-copy h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
}

.hero-copy p {
    margin: 0 0 14px;
    color: #3d4668;
    line-height: 1.62;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    background: #eef2ff;
    color: #2f438f;
    border: 1px solid #d5dffe;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 600;
}

.hero-media {
    position: relative;
    overflow: hidden;
    background: #0f1c56;
}

.hero-media iframe,
.hero-media video,
.hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    border: 0;
}

.external {
    min-height: 330px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
    color: #fff;
    background: linear-gradient(120deg, #091449, #1e2f86);
}

.external a {
    margin-top: 10px;
    display: inline-block;
    background: #fff;
    color: #14256b;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
}

.external-title {
    margin: 0 0 8px;
}

.external-note {
    margin: 0;
    opacity: .85;
}

.layout {
    display: grid;
    grid-template-columns: 1.45fr .85fr;
    gap: 20px;
    margin: 18px auto 28px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 33, 88, .06);
}

.section { padding: 18px; }

.section-spaced {
    margin-top: 14px;
}

.section h2,
.section h3 {
    margin: 0 0 10px;
}

.section p {
    color: #434c70;
    line-height: 1.65;
    margin: 0;
}

.stats {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

.stat {
    text-align: center;
    padding: 11px 8px;
    border-right: 1px solid var(--line);
    background: #fafbff;
}

.stat:last-child { border-right: 0; }

.stat b {
    display: block;
    font-size: 20px;
}

.stat span {
    font-size: 12px;
    color: var(--muted);
}

.curriculum {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.session {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fcfdff;
}

.session b { font-size: 14px; }

.session small { color: var(--muted); }

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.price {
    padding: 20px;
    text-align: center;
    background: linear-gradient(160deg, #fef7f4, #ffffff);
}

.amount {
    font-size: 42px;
    line-height: 1;
    color: var(--brand);
    font-weight: 800;
    margin: 2px 0 10px;
}

.amount small { font-size: 18px; }

.cta {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(120deg, #1a2f86, #233ea7);
    color: #fff;
    padding: 12px 14px;
    font-weight: 700;
}

.cta-secondary {
    margin-top: 8px;
    display: inline-block;
    width: 100%;
    border: 1px solid #cfd8fa;
    border-radius: 10px;
    color: #21368f;
    padding: 10px 12px;
    font-weight: 700;
    background: #f8faff;
}

.meta-list { padding: 16px; }

.row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    color: #3f4769;
    font-size: 14px;
}

.row:first-child { border-top: 0; }

.instructor {
    padding: 18px;
    text-align: center;
}

.instructor img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #eaf0ff;
}

.instructor h4 {
    margin: 10px 0 4px;
    font-size: 20px;
}

.instructor p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 980px) {
    .hero-grid,
    .layout { grid-template-columns: 1fr; }

    .hero-media iframe,
    .hero-media video,
    .hero-media img,
    .external { min-height: 280px; }
}

@media (max-width: 700px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2n) { border-right: 0; }
}
