
:root {
    --primary: #3157d5;
    --primary-dark: #2442ae;
    --text: #19233b;
    --muted: #69758c;
    --background: #f5f7fc;
    --border: #e4e9f3;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--background);
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 7%;
    background: white;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    text-decoration: none;
    font-size: 23px;
    font-weight: 800;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--primary);
    border-radius: 12px;
    font-size: 25px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.header-right select {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: white;
    color: var(--text);
    font-size: 14px;
}

.hero {
    padding: 76px 20px 82px;
    text-align: center;
    background: linear-gradient(135deg, #edf2ff, #ffffff 65%, #f1f5ff);
}

.eyebrow {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero h1 {
    max-width: 760px;
    margin: 20px auto 16px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.hero p {
    max-width: 650px;
    margin: 0 auto 29px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.primary-button {
    display: inline-block;
    padding: 14px 23px;
    color: white;
    background: var(--primary);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

.primary-button:hover,
.card-button:hover {
    background: var(--primary-dark);
}

.exam-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 25px 80px;
}

.section-heading {
    margin-bottom: 32px;
    text-align: center;
}

.section-heading h2 {
    margin: 12px 0 8px;
    font-size: 32px;
}

.section-heading p {
    color: var(--muted);
}

.exam-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.exam-card {
    padding: 27px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: 0 8px 25px rgba(30, 48, 90, 0.04);
}

.card-icon {
    margin-bottom: 18px;
    font-size: 35px;
}

.card-tag {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.exam-card h3 {
    margin: 13px 0 10px;
    font-size: 21px;
}

.exam-card p {
    min-height: 48px;
    color: var(--muted);
    line-height: 1.65;
}

.card-button {
    margin-top: 12px;
    padding: 11px 15px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.coming-soon {
    border-style: dashed;
}

.coming-label {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f0f2f7;
    color: var(--muted);
    font-size: 13px;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 7%;
    background: white;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 800px) {
    .exam-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 55px 20px;
    }

    .exam-section {
        padding: 45px 18px;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 450px) {
    .navbar {
        padding: 12px 16px;
    }

    .brand {
        font-size: 20px;
    }

    .header-right label {
        display: none;
    }
}
a.card-button {
    display: inline-block;
    text-decoration: none;
}
.back-link {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.dashboard-heading {
    margin: 10px 0 35px;
    text-align: center;
}

.dashboard-heading h1 {
    margin: 14px 0;
    font-size: clamp(28px, 4vw, 40px);
}

.dashboard-heading p {
    color: var(--muted);
    line-height: 1.7;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.dashboard-card h2 {
    margin: 12px 0;
    font-size: 22px;
}

.section-message {
    margin-top: 25px;
    padding: 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== MockBook Syllabus ===== */

.syllabus-subject-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0;
}

.syllabus-subject-button {
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: white;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.syllabus-subject-button:hover,
.syllabus-subject-button.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.syllabus-exam-title,
.syllabus-subject-title {
    margin: 20px 0;
}

.syllabus-selected-subject {
    margin-top: 22px;
}

.syllabus-unit {
    margin: 12px 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
}

.syllabus-unit summary {
    padding: 17px 20px;
    background: white;
    font-weight: 700;
    line-height: 1.6;
    cursor: pointer;
}

.syllabus-unit summary:hover {
    background: #edf2ff;
}

.syllabus-unit[open] summary {
    background: #edf2ff;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--border);
}

.syllabus-topic-list {
    margin: 0;
    padding: 18px 24px 18px 45px;
    line-height: 1.9;
}

.syllabus-topic-list .syllabus-topic-list {
    padding: 5px 0 5px 25px;
}

.syllabus-topic {
    margin-bottom: 5px;
}

.syllabus-empty {
    padding: 16px;
    color: var(--muted);
    background: white;
    border-radius: 10px;
}

@media (max-width: 600px) {
    .syllabus-subject-buttons {
        flex-direction: column;
    }

    .syllabus-subject-button {
        width: 100%;
        text-align: left;
    }

    .syllabus-unit summary {
        padding: 14px;
    }

    .syllabus-topic-list {
        padding-left: 35px;
    }
}

/* ===== MockBook Premium visual refresh ===== */
:root {
    --primary: #3158d8;
    --primary-dark: #2442aa;
    --text: #17213d;
    --muted: #69748d;
    --background: #f7f8fc;
    --border: #e5e9f2;
    --navy: #101b3d;
    --gold: #f2c56c;
}
body { background: #f7f8fc; color: var(--text); }
.navbar { box-shadow: 0 4px 22px rgba(16, 27, 61, .035); }
.brand-icon { background: linear-gradient(145deg, #5277f3, #2442aa); box-shadow: 0 7px 18px rgba(49, 88, 216, .22); }
.primary-button, .card-button { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.primary-button:hover, .card-button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(49, 88, 216, .2); }
.exam-card, .dashboard-card, .syllabus-unit { transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.exam-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(30, 48, 90, .09); border-color: #d5def5; }

.home-page { overflow-x: hidden; background: #fbfcff; }
.home-navbar { min-height: 84px; padding: 14px max(6.5%, calc((100% - 1280px)/2)); position: relative; z-index: 3; background: rgba(255,255,255,.96); }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand-dot { color: #efbd5d; }
.brand-wordmark small { color: #8a94ac; font-size: 8px; font-weight: 800; letter-spacing: 1.55px; }
.home-header-right { gap: 12px; }
.home-header-right select { min-width: 115px; border-radius: 12px; padding: 11px 13px; }
.language-label { color: #69748d; font-size: 13px; }
.premium-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 78% 45%, rgba(57, 87, 175, .33), transparent 34%), linear-gradient(115deg, #101a3b 0%, #15244d 58%, #192a59 100%); }
.premium-hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, black, transparent 95%); }
.premium-hero-inner { max-width: 1280px; min-height: 560px; padding: 78px 30px 64px; margin: 0 auto; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 40px; position: relative; z-index: 1; }
.hero-copy { padding: 0 0 10px; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; color: #dce5ff; background: rgba(255,255,255,.055); font-size: 10px; font-weight: 800; letter-spacing: 1.45px; }
.hero-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #f2c56c; box-shadow: 0 0 0 4px rgba(242,197,108,.13); }
.hero-copy h1 { max-width: 670px; margin: 26px 0 19px; font-size: clamp(42px, 5.2vw, 67px); line-height: 1.06; letter-spacing: -2.7px; font-weight: 800; }
.hero-title-accent { color: #f2c56c; }
.hero-copy > p { max-width: 555px; color: #c2cbe0; font-size: 16px; line-height: 1.85; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.hero-primary { padding: 15px 21px; border-radius: 12px; background: #f2c56c; color: #17213d; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.hero-primary:hover { background: #ffda8b; }
.hero-primary span { margin-left: 10px; font-size: 17px; }
.hero-text-link { color: #e5eaff; font-size: 13px; font-weight: 700; text-decoration: none; }
.hero-text-link span { margin-left: 6px; color: #f2c56c; }
.hero-trust-row { display: flex; align-items: center; gap: 12px; margin-top: 38px; color: #aeb9d3; font-size: 12px; }
.trust-avatars { display: flex; padding-left: 2px; }
.trust-avatars span { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -3px; border: 2px solid #15244d; border-radius: 50%; color: #18244b; background: #f2c56c; font-size: 10px; font-weight: 900; }
.trust-avatars span:nth-child(2) { background: #d9e3ff; }.trust-avatars span:nth-child(3) { color: white; background: #4774dd; }
.hero-visual { min-height: 410px; display: flex; align-items: center; justify-content: center; position: relative; }
.visual-orbit { position: absolute; border: 1px solid rgba(180,198,255,.12); border-radius: 50%; transform: rotate(-19deg); }
.orbit-one { width: 440px; height: 330px; }.orbit-two { width: 510px; height: 390px; transform: rotate(25deg); }
.study-board { position: relative; z-index: 1; width: min(100%, 435px); padding: 23px; border: 1px solid rgba(255,255,255,.5); border-radius: 22px; color: #17213d; background: rgba(255,255,255,.97); box-shadow: 0 35px 85px rgba(0,0,0,.28); transform: rotate(-1.2deg); }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid #edf0f7; }
.board-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 900; }
.mini-brand { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: white; background: #3158d8; font-size: 14px; }
.board-status { display: flex; align-items: center; gap: 7px; color: #8791a9; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.board-status i { width: 6px; height: 6px; border-radius: 50%; background: #4cbd8a; }
.board-welcome { display: flex; flex-direction: column; gap: 8px; margin: 22px 0; }
.board-welcome > span { color: #73809c; font-size: 9px; font-weight: 900; letter-spacing: 1.3px; }
.board-welcome strong { font-size: 23px; letter-spacing: -.7px; }
.board-progress { display: flex; align-items: center; gap: 17px; padding: 18px; border-radius: 15px; background: #f5f7fd; }
.progress-ring { display: grid; place-items: center; flex: 0 0 68px; width: 68px; height: 68px; border: 5px solid #dfe6fb; border-right-color: #3158d8; border-top-color: #3158d8; border-radius: 50%; transform: rotate(20deg); }
.progress-ring > div { display: flex; flex-direction: column; align-items: center; transform: rotate(-20deg); }
.progress-ring strong { font-size: 20px; line-height: 1.1; }.progress-ring small { color: #8993aa; font-size: 7px; font-weight: 900; letter-spacing: 1px; }
.progress-copy { min-width: 0; display: flex; flex-direction: column; gap: 6px; }.progress-copy strong { font-size: 12px; }.progress-copy > span { color: #7d879d; font-size: 10px; line-height: 1.4; }
.progress-track { height: 5px; margin-top: 4px; overflow: hidden; border-radius: 99px; background: #e0e6f3; }.progress-track i { display: block; width: 35%; height: 100%; border-radius: inherit; background: #3158d8; }
.board-mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 13px; }
.mini-card { display: flex; align-items: center; gap: 9px; padding: 13px 11px; border: 1px solid #e9edf6; border-radius: 12px; font-size: 10px; font-weight: 800; }
.mini-card b { margin-left: auto; color: #7a86a2; }.mini-card-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; font-size: 14px; }
.mini-card-blue .mini-card-icon { color: #3158d8; background: #eaf0ff; }.mini-card-gold .mini-card-icon { color: #a8731b; background: #fff3d7; }
.board-footer { display: flex; align-items: center; gap: 8px; margin-top: 17px; color: #74809a; font-size: 9px; }
.footer-check { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: #16855a; background: #e2f7ed; font-size: 10px; font-weight: 900; }
.floating-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.75); border-radius: 14px; color: #17213d; background: rgba(255,255,255,.97); box-shadow: 0 15px 40px rgba(0,0,0,.18); }
.floating-note-top { top: 38px; right: -3px; }.floating-note-bottom { bottom: 35px; left: -12px; }
.floating-note-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #a8731b; background: #fff1d0; font-size: 16px; }.note-check { color: #16855a; background: #e2f7ed; }
.floating-note b, .floating-note small { display: block; }.floating-note b { font-size: 10px; }.floating-note small { margin-top: 4px; color: #7e899f; font-size: 9px; }
.hero-bottom-line { display: flex; align-items: center; justify-content: center; gap: 17px; padding: 16px 20px 20px; color: #8190b3; font-size: 9px; font-weight: 800; letter-spacing: 2px; position: relative; z-index: 1; }
.hero-bottom-line span:first-child, .hero-bottom-line span:last-child { width: 34px; height: 1px; background: rgba(255,255,255,.19); }
.benefit-strip { max-width: 1170px; margin: -1px auto 0; padding: 29px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; background: #fff; border: 1px solid #edf0f7; border-top: 0; border-radius: 0 0 20px 20px; box-shadow: 0 14px 35px rgba(23,33,61,.045); position: relative; z-index: 2; }
.benefit-item { display: flex; align-items: center; gap: 12px; min-width: 0; }.benefit-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; color: #3158d8; background: #eef2ff; font-size: 20px; font-weight: 800; }
.benefit-item:nth-child(2) .benefit-icon { color: #a8731b; background: #fff4dd; }.benefit-item:nth-child(3) .benefit-icon { color: #147a9a; background: #e6f8fc; }.benefit-item:nth-child(4) .benefit-icon { color: #16855a; background: #e5f8ef; }
.benefit-item strong, .benefit-item small { display: block; }.benefit-item strong { font-size: 12px; }.benefit-item small { margin-top: 5px; color: #8993a8; font-size: 10px; }
.premium-exam-section { max-width: 1280px; padding: 91px 30px 70px; }
.premium-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 31px; }.premium-section-heading h2 { margin: 13px 0 10px; font-size: clamp(29px, 3.5vw, 42px); letter-spacing: -1.5px; }.premium-section-heading p { max-width: 590px; margin: 0; color: #7b859b; font-size: 14px; line-height: 1.75; }
.section-number { padding-bottom: 5px; color: #9aa4b8; font-size: 12px; font-weight: 900; letter-spacing: 1px; white-space: nowrap; }.section-number i { color: #c0c6d3; font-style: normal; }
.premium-exam-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 19px; }
.premium-exam-card { min-height: 355px; position: relative; overflow: hidden; padding: 26px; border: 1px solid #e7ebf4; border-radius: 20px; box-shadow: 0 9px 28px rgba(23,33,61,.035); }
.premium-card-top { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }.premium-card-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 15px; font-size: 22px; font-weight: 800; }.teacher-icon { color: #3158d8; background: #edf1ff; }.police-icon { color: #16855a; background: #e5f8ef; }.more-icon { color: #a8731b; background: #fff3dc; }
.premium-exam-card .card-tag { font-size: 9px; letter-spacing: 1.05px; }.premium-exam-card h3 { position: relative; z-index: 1; margin: 23px 0 10px; font-size: 22px; letter-spacing: -.5px; }.premium-exam-card p { position: relative; z-index: 1; min-height: 65px; margin: 0; color: #77829a; font-size: 12px; line-height: 1.8; }
.card-feature-list { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; position: relative; z-index: 1; }.card-feature-list > span { display: flex; align-items: center; gap: 9px; color: #58647f; font-size: 11px; }.card-feature-list i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #16855a; background: #e5f8ef; font-size: 10px; font-style: normal; font-weight: 900; }
.premium-card-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 22px; padding: 13px 15px; border-radius: 11px; font-size: 11px; position: relative; z-index: 1; }.premium-card-button span { font-size: 16px; }.teacher-card { background: linear-gradient(145deg, #fff 45%, #f2f5ff); }.teacher-card .premium-card-button { background: #3158d8; }.police-card { background: linear-gradient(145deg, #fff 45%, #f0fbf6); }.police-card .premium-card-button { background: #172a4c; }.more-card { background: linear-gradient(145deg, #fff 45%, #fff9ec); border-style: dashed; }.more-card .card-tag { color: #a8731b; }
.card-decoration { position: absolute; right: 12px; top: 86px; color: rgba(49,88,216,.045); font-weight: 900; line-height: 1; pointer-events: none; }.decoration-teacher { font-size: 150px; }.decoration-police { color: rgba(22,133,90,.055); font-size: 140px; }.decoration-more { color: rgba(168,115,27,.07); font-size: 130px; }
.coming-soon-label { display: inline-flex; align-items: center; gap: 8px; margin-top: 27px; padding: 10px 12px; border-radius: 9px; color: #8c6a2e; background: #fff3dc; font-size: 11px; font-weight: 800; position: relative; z-index: 1; }.coming-dot { width: 6px; height: 6px; border-radius: 50%; background: #d5a13c; }
.home-closing-note { display: flex; justify-content: center; align-items: center; gap: 13px; margin: 48px 0 0; color: #7b859b; text-align: center; }.home-closing-note p { margin: 0; font-size: 13px; font-style: italic; }.closing-sparkle { color: #e2b14e; font-size: 14px; }
.premium-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px max(6.5%, calc((100% - 1280px)/2)); border-top: 1px solid #e9edf5; color: #8791a6; background: #fff; font-size: 11px; }.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: #17213d; font-size: 14px; font-weight: 900; text-decoration: none; }.footer-brand-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: #fff; background: #3158d8; font-size: 13px; }
@media (max-width: 1000px) { .premium-hero-inner { grid-template-columns: 1fr .9fr; gap: 20px; padding-top: 65px; }.hero-copy h1 { font-size: clamp(40px, 5vw, 57px); }.study-board { padding: 18px; }.floating-note-top { right: -4px; }.floating-note-bottom { left: -5px; }.premium-exam-card { padding: 21px; }.benefit-strip { margin-right: 18px; margin-left: 18px; } }
@media (max-width: 760px) { .home-navbar { min-height: 72px; padding: 12px 18px; }.brand { font-size: 20px; }.brand-icon { width: 38px; height: 38px; }.brand-wordmark small { font-size: 7px; }.language-label { display: none; }.premium-hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 55px 22px 28px; }.hero-copy h1 { max-width: 580px; font-size: clamp(42px, 9vw, 59px); letter-spacing: -1.9px; }.hero-copy > p { font-size: 14px; }.hero-visual { min-height: 380px; margin-top: 8px; }.study-board { max-width: 430px; }.floating-note-top { top: 14px; right: 0; }.floating-note-bottom { bottom: 9px; left: 0; }.hero-bottom-line { font-size: 8px; letter-spacing: 1px; }.benefit-strip { grid-template-columns: repeat(2,1fr); gap: 20px 14px; padding: 24px 18px; }.premium-exam-section { padding: 65px 20px 50px; }.premium-section-heading { align-items: start; }.premium-section-heading h2 { font-size: 32px; }.premium-section-heading p { font-size: 13px; }.premium-exam-grid { grid-template-columns: 1fr; }.premium-exam-card { min-height: 0; padding: 24px; }.premium-exam-card p { min-height: 0; }.premium-card-button { margin-top: 20px; }.card-decoration { top: 70px; }.home-closing-note { margin-top: 35px; }.premium-footer { flex-wrap: wrap; justify-content: center; text-align: center; padding: 22px 16px; }.premium-footer > span { width: 100%; } }
@media (max-width: 430px) { .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }.hero-trust-row { align-items: flex-start; line-height: 1.5; }.hero-visual { min-height: 340px; }.study-board { padding: 15px; border-radius: 17px; }.board-welcome { margin: 17px 0; }.board-welcome strong { font-size: 20px; }.board-progress { padding: 12px; gap: 12px; }.progress-ring { flex-basis: 57px; width: 57px; height: 57px; }.floating-note { padding: 9px 10px; }.floating-note-icon { width: 29px; height: 29px; }.floating-note b { font-size: 9px; }.floating-note small { font-size: 8px; }.benefit-item { gap: 8px; }.benefit-icon { flex-basis: 35px; width: 35px; height: 35px; border-radius: 11px; }.benefit-item strong { font-size: 11px; }.benefit-item small { font-size: 9px; }.section-number { display: none; }.premium-section-heading h2 { font-size: 29px; } }


/* Premium resource dashboard and exam-selection pages */
.premium-dashboard-page, .premium-teacher-page { background: #f7f8fc; }
.premium-dashboard-page .navbar, .premium-teacher-page .navbar { min-height: 80px; padding-left: max(5%, calc((100% - 1240px)/2)); padding-right: max(5%, calc((100% - 1240px)/2)); background: rgba(255,255,255,.96); box-shadow: 0 4px 24px rgba(20,31,68,.035); }
.premium-dashboard-page .brand-icon, .premium-teacher-page .brand-icon { border-radius: 14px; background: linear-gradient(145deg,#3d62e7,#203b9f); box-shadow: 0 7px 16px rgba(49,88,216,.22); }
.premium-dashboard-section, .premium-teacher-section { max-width: 1240px; padding-top: 38px; }
.premium-dashboard-page .back-link, .premium-teacher-page .back-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #e5e9f3; border-radius: 11px; background: #fff; color: #53617d; font-size: 13px; transition: .2s ease; }
.premium-dashboard-page .back-link:hover, .premium-teacher-page .back-link:hover { border-color: #cdd8fa; color: #3158d8; transform: translateX(-2px); }
.premium-dashboard-heading { position: relative; overflow: hidden; text-align: left; margin: 4px 0 30px; padding: 34px 38px; border-radius: 24px; color: white; background: radial-gradient(circle at 90% 20%,rgba(91,124,236,.3),transparent 28%),linear-gradient(115deg,#111d42,#1c2d60); box-shadow: 0 18px 40px rgba(20,35,79,.13); }
.premium-dashboard-heading::after { content: "M"; position: absolute; right: 34px; top: -52px; color: rgba(255,255,255,.045); font-size: 240px; line-height: 1; font-weight: 900; pointer-events: none; }
.premium-dashboard-heading .eyebrow { color: #f2c56c; }
.premium-dashboard-heading h1 { position: relative; z-index: 1; margin: 13px 0 10px; max-width: 820px; font-size: clamp(30px,4vw,43px); line-height: 1.15; letter-spacing: -1.2px; }
.premium-dashboard-heading p { position: relative; z-index: 1; margin: 0; color: #c7d0e6; font-size: 15px; line-height: 1.7; }
.premium-dashboard-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.premium-resource-card { position: relative; overflow: hidden; min-height: 255px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid #e6eaf3; border-radius: 20px; box-shadow: 0 8px 24px rgba(22,34,72,.035); }
.premium-resource-card::after { content: ""; position: absolute; width: 105px; height: 105px; right: -48px; top: -48px; border-radius: 50%; background: #f0f3ff; transition: transform .25s ease; }
.premium-resource-card:hover::after { transform: scale(1.35); }
.premium-resource-card .card-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 49px; height: 49px; margin-bottom: 18px; border-radius: 15px; background: #edf1ff; color: #3158d8; font-size: 24px; }
.premium-resource-card:nth-child(2) .card-icon { color: #a8731b; background: #fff4dd; }
.premium-resource-card:nth-child(3) .card-icon { color: #137b94; background: #e6f8fc; }
.premium-resource-card:nth-child(4) .card-icon { color: #16855a; background: #e4f8ed; }
.premium-resource-card:nth-child(5) .card-icon { color: #7552c9; background: #f0eaff; }
.premium-resource-card h2 { margin: 0 0 9px; font-size: 20px; letter-spacing: -.35px; }
.premium-resource-card p { min-height: 48px; margin: 0 0 14px; color: #758099; font-size: 13px; line-height: 1.7; }
.premium-resource-card .card-button { position: relative; z-index: 1; margin-top: auto; padding: 11px 14px; border-radius: 10px; background: #f0f3ff; color: #2949b7; transition: .2s ease; }
.premium-resource-card .card-button:hover { color: #fff; background: #3158d8; transform: translateY(-1px); }
.premium-dashboard-page footer, .premium-teacher-page footer { padding-left: max(5%, calc((100% - 1240px)/2)); padding-right: max(5%, calc((100% - 1240px)/2)); }
.premium-teacher-heading { margin: 14px 0 36px; padding: 20px 0 26px; text-align: left; border-bottom: 1px solid #e8ebf4; }
.premium-teacher-heading .eyebrow { display: inline-block; padding: 8px 11px; border-radius: 999px; background: #edf1ff; }
.premium-teacher-heading h1 { margin: 15px 0 10px; font-size: clamp(32px,4vw,44px); letter-spacing: -1.4px; }
.premium-teacher-heading p { max-width: 600px; margin: 0; color: #7b859b; font-size: 15px; line-height: 1.7; }
.premium-teacher-grid { gap: 18px; }
.premium-teacher-card { position: relative; overflow: hidden; min-height: 240px; border-radius: 20px; padding: 25px; box-shadow: 0 8px 25px rgba(22,34,72,.035); }
.premium-teacher-card::after { content: ""; position: absolute; width: 125px; height: 125px; top: -67px; right: -50px; border-radius: 50%; background: #f0f3ff; }
.premium-teacher-card .card-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 15px; border-radius: 15px; background: #edf1ff; font-size: 23px; }
.premium-teacher-card:nth-child(n+4) .card-icon { background: #fff4dd; }
.premium-teacher-card h3 { margin: 0 0 9px; font-size: 19px; letter-spacing: -.3px; }
.premium-teacher-card p { min-height: 45px; margin: 0 0 12px; color: #758099; font-size: 13px; line-height: 1.65; }
.premium-teacher-card .card-button { position: relative; z-index: 1; border-radius: 10px; padding: 11px 14px; box-shadow: 0 6px 14px rgba(49,88,216,.13); }
@media(max-width:900px){.premium-dashboard-grid,.premium-teacher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-dashboard-heading{padding:30px}}
@media(max-width:600px){.premium-dashboard-section,.premium-teacher-section{padding:28px 16px 48px}.premium-dashboard-heading{padding:27px 23px;border-radius:19px}.premium-dashboard-heading::after{right:-6px;font-size:170px}.premium-dashboard-grid,.premium-teacher-grid{grid-template-columns:1fr}.premium-resource-card,.premium-teacher-card{min-height:unset;padding:22px}.premium-resource-card p,.premium-teacher-card p{min-height:unset}.premium-teacher-heading{padding:12px 0 22px}.premium-dashboard-page footer,.premium-teacher-page footer{padding:22px 18px}}


/* MockBook premium catalogue and test-selection pages */
body.premium-catalog {
  background: radial-gradient(circle at 12% 0%, rgba(219, 234, 254, .68), transparent 30%), #f4f7fc !important;
  color: #14213d !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
body.premium-catalog .navbar {
  background: rgba(11, 25, 55, .97) !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .12) !important;
}
body.premium-catalog .brand { color: #fff !important; font-weight: 800 !important; letter-spacing: -.025em !important; }
body.premium-catalog .brand-icon { background: linear-gradient(145deg,#f5d58a,#d6a94d) !important; color: #14213d !important; box-shadow: 0 5px 14px rgba(214,169,77,.25) !important; }
body.premium-catalog .header-right label,
body.premium-catalog header label { color: inherit; font-weight: 600; }
body.premium-catalog .header-right select,
body.premium-catalog #language,
body.premium-catalog #language-select,
body.premium-catalog .language {
  border: 1px solid rgba(148,163,184,.45) !important; border-radius: 11px !important;
  background: #fff !important; color: #172554 !important; padding: 10px 13px !important; font-weight: 600 !important;
}
body.premium-catalog .exam-section { max-width: 1240px !important; padding-top: 34px !important; }
body.premium-catalog .dashboard-heading { margin: 18px 0 30px !important; max-width: 760px !important; }
body.premium-catalog .dashboard-heading .eyebrow { color: #b8872e !important; letter-spacing: .16em !important; font-weight: 800 !important; }
body.premium-catalog .dashboard-heading h1,
body.premium-catalog #page-title,
body.premium-catalog h1 { color: #102044 !important; letter-spacing: -.04em !important; font-weight: 850 !important; line-height: 1.12 !important; }
body.premium-catalog .dashboard-heading p,
body.premium-catalog #page-description,
body.premium-catalog .muted { color: #66748b !important; line-height: 1.65 !important; }
body.premium-catalog .dashboard-grid,
body.premium-catalog .mock-test-list,
body.premium-catalog .grid { gap: 20px !important; }
body.premium-catalog .exam-card,
body.premium-catalog .card {
  position: relative !important; overflow: hidden !important; background: rgba(255,255,255,.96) !important;
  border: 1px solid #e2e8f2 !important; border-radius: 20px !important;
  box-shadow: 0 8px 25px rgba(24, 43, 79, .055) !important;
  padding: 24px !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
body.premium-catalog .exam-card::before,
body.premium-catalog .card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,#d6a94d,#3565d4); opacity: .9; }
body.premium-catalog .exam-card:hover,
body.premium-catalog .card:hover { transform: translateY(-4px) !important; border-color: #c8d5ed !important; box-shadow: 0 18px 38px rgba(24,43,79,.11) !important; }
body.premium-catalog .exam-card h2,
body.premium-catalog .card h2,
body.premium-catalog .mock-test-title { color: #14213d !important; font-size: 1.15rem !important; font-weight: 800 !important; letter-spacing: -.02em !important; }
body.premium-catalog .card-icon { background: #eef3ff !important; border-radius: 14px !important; }
body.premium-catalog .card-button,
body.premium-catalog .mock-test-button,
body.premium-catalog .btn {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  gap: 8px !important; background: linear-gradient(135deg,#1d3f83,#2858b7) !important; color: #fff !important;
  border: 0 !important; border-radius: 11px !important; padding: 12px 16px !important;
  font-weight: 750 !important; text-decoration: none !important; box-shadow: 0 7px 15px rgba(37,81,165,.18) !important;
  transition: transform .18s ease, filter .18s ease !important;
}
body.premium-catalog .card-button:hover,
body.premium-catalog .mock-test-button:hover,
body.premium-catalog .btn:hover { filter: brightness(1.1) !important; transform: translateY(-1px) !important; }
body.premium-catalog .mock-test-button { width: 100% !important; cursor: pointer !important; font: inherit !important; font-weight: 750 !important; }
body.premium-catalog .attempt-history { color: #6b7890 !important; line-height: 1.7 !important; }
body.premium-catalog .attempt-history a { color: #2454a6 !important; font-weight: 650 !important; }
body.premium-catalog .back-link,
body.premium-catalog #back-link,
body.premium-catalog .back { color: #315aa1 !important; font-weight: 700 !important; text-decoration: none !important; }
body.premium-catalog .back-link:hover,
body.premium-catalog #back-link:hover,
body.premium-catalog .back:hover { text-decoration: underline !important; }
body.premium-catalog footer { color: #748198 !important; border-top: 1px solid #e2e8f0 !important; }
@media (max-width: 700px) {
  body.premium-catalog .exam-section { padding: 22px 16px !important; }
  body.premium-catalog .dashboard-grid,
  body.premium-catalog .mock-test-list,
  body.premium-catalog .grid { grid-template-columns: 1fr !important; }
  body.premium-catalog .exam-card, body.premium-catalog .card { padding: 20px !important; border-radius: 16px !important; }
  body.premium-catalog .dashboard-heading h1, body.premium-catalog h1 { font-size: clamp(1.8rem, 8vw, 2.5rem) !important; }
}
