/* CLASSMIRROR V229 — REFONTE TOTALE INDEX */

.cm229-home {
    --ink: #172033;
    --muted: #667085;
    --line: #e7eaf0;
    --soft: #f7f9fc;
    --soft-blue: #f2f6ff;
    --purple: #6547ed;
    --purple-dark: #352274;
    --navy: #16122f;
    --green: #29aa82;
    --amber: #d99321;
    --blue: #3a69d8;
    overflow: hidden;
    color: var(--ink);
    background: #fff;
}

.cm229-home *,
.cm229-home *::before,
.cm229-home *::after {
    box-sizing: border-box;
}

.cm229-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.cm229-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    color: #5639ce;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
    background: #efecff;
    border: 1px solid #ddd6ff;
    border-radius: 999px;
}

.cm229-kicker.light {
    color: #ebe8ff;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.16);
}

.cm229-hero {
    position: relative;
    padding: 82px 0 74px;
    background:
        radial-gradient(circle at 8% 6%, rgba(101,71,237,.15), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(41,170,130,.11), transparent 25%),
        linear-gradient(180deg, #fcfbff 0%, #ffffff 80%);
}

.cm229-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(101,71,237,.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(101,71,237,.028),
        0 0 0 90px rgba(101,71,237,.018);
    pointer-events: none;
}

.cm229-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: 62px;
    align-items: center;
}

.cm229-hero-copy {
    position: relative;
    z-index: 2;
}

.cm229-hero h1 {
    max-width: 760px;
    margin: 18px 0 20px;
    color: #201a43;
    font-size: clamp(46px, 6.2vw, 72px);
    line-height: 1.015;
    letter-spacing: -.048em;
}

.cm229-lead {
    max-width: 720px;
    margin: 0;
    color: #616b7d;
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.72;
}

.cm229-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 28px;
}

.cm229-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 19px;
    font-weight: 900;
    text-decoration: none;
    border-radius: 14px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cm229-btn:hover {
    transform: translateY(-2px);
}

.cm229-btn.primary {
    color: #fff;
    background: linear-gradient(135deg, #5f43e7, #7258f2);
    border: 1px solid #6247df;
    box-shadow: 0 14px 30px rgba(83,57,202,.19);
}

.cm229-btn.secondary {
    color: #4f3a9f;
    background: rgba(255,255,255,.92);
    border: 1px solid #dcd6f6;
    box-shadow: 0 8px 24px rgba(43,31,87,.055);
}

.cm229-btn.light {
    color: #493491;
    background: #fff;
    border: 1px solid #fff;
    box-shadow: none;
}

.cm229-btn.ghost {
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: none;
}

.cm229-trust {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    color: #626c7e;
    font-size: 13px;
    font-weight: 760;
}

.cm229-trust span {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.cm229-trust b {
    color: #258f70;
}

.cm229-product {
    position: relative;
    z-index: 2;
}

.cm229-product-glow {
    position: absolute;
    inset: 12% 4% -10% 8%;
    filter: blur(32px);
    background: linear-gradient(135deg, rgba(101,71,237,.18), rgba(41,170,130,.11));
    border-radius: 50%;
}

.cm229-product-window {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e2eb;
    border-radius: 27px;
    box-shadow:
        0 34px 80px rgba(42,30,94,.16),
        0 8px 24px rgba(42,30,94,.06);
}

.cm229-window-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 15px 18px;
    color: #fff;
    background: linear-gradient(135deg, #26195a, #6043dc);
}

.cm229-window-dots {
    display: flex;
    gap: 5px;
}

.cm229-window-dots i {
    width: 7px;
    height: 7px;
    background: rgba(255,255,255,.42);
    border-radius: 50%;
}

.cm229-window-top span {
    font-size: 11px;
    opacity: .72;
}

.cm229-window-top strong {
    font-size: 12px;
}

.cm229-window-body {
    padding: 18px;
    background: #fafbfe;
}

.cm229-answer {
    padding: 16px;
    background: #fff;
    border: 1px solid #e7e9ef;
    border-radius: 17px;
}

.cm229-answer-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
    font-size: 13px;
}

.cm229-you {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    background: #293248;
    border-radius: 9px;
}

.cm229-answer p {
    margin: 0;
    color: #657083;
    font-size: 12px;
    line-height: 1.6;
}

.cm229-student-row {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.cm229-student {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    gap: 10px;
    align-items: start;
    padding: 11px 12px;
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 14px;
}

.cm229-student > span,
.cm229-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #fff;
    font-weight: 950;
    border-radius: 11px;
}

.cm229-student.lina > span,
.cm229-avatar.lina { background: #2aaa82; }

.cm229-student.jad > span,
.cm229-avatar.jad { background: #e0a12e; }

.cm229-student.maya > span,
.cm229-avatar.maya { background: #6547ed; }

.cm229-student strong {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
}

.cm229-student p {
    margin: 0;
    color: #687286;
    font-size: 11px;
    line-height: 1.48;
}

.cm229-score {
    margin-top: 11px;
    padding: 14px;
    color: #fff;
    background: #21194e;
    border-radius: 15px;
}

.cm229-score-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: end;
}

.cm229-score-top small {
    display: block;
    color: rgba(255,255,255,.67);
    font-size: 10px;
}

.cm229-score-top strong {
    font-size: 27px;
}

.cm229-score-top span {
    font-size: 11px;
    opacity: .65;
}

.cm229-score-top p {
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 10px;
    line-height: 1.45;
    text-align: right;
}

.cm229-score-track {
    height: 7px;
    margin-top: 10px;
    overflow: hidden;
    background: rgba(255,255,255,.13);
    border-radius: 999px;
}

.cm229-score-track span {
    display: block;
    width: 82%;
    height: 100%;
    background: linear-gradient(90deg, #45d9ad, #b7f4e2);
    border-radius: inherit;
}

.cm229-section {
    padding: 86px 0;
}

.cm229-heading {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

.cm229-heading.left {
    margin: 0;
    text-align: left;
}

.cm229-heading h2,
.cm229-engine h2,
.cm229-final h2 {
    margin: 14px 0 11px;
    font-size: clamp(32px, 4.5vw, 50px);
    line-height: 1.075;
    letter-spacing: -.035em;
}

.cm229-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.72;
}

.cm229-heading.left p {
    margin-inline: 0;
}

.cm229-promise {
    background: #fff;
}

.cm229-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 17px;
}

.cm229-benefits article {
    min-height: 235px;
    padding: 27px;
    background: linear-gradient(180deg, #fff, #fbfbfe);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(35,31,68,.045);
}

.cm229-index {
    display: inline-flex;
    margin-bottom: 35px;
    color: #b4a9ed;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -.04em;
}

.cm229-benefits h3,
.cm229-flow h3,
.cm229-audiences h3,
.cm229-personas h3,
.cm229-subjects h3,
.cm229-access h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.cm229-benefits p,
.cm229-flow p,
.cm229-audiences p,
.cm229-personas p,
.cm229-subjects p,
.cm229-access p {
    margin: 0;
    color: var(--muted);
    line-height: 1.64;
}

.cm229-flow-section {
    background:
        radial-gradient(circle at 90% 10%, rgba(101,71,237,.07), transparent 25%),
        #f7f8fc;
}

.cm229-section-split {
    display: grid;
    grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr);
    gap: 65px;
    align-items: start;
}

.cm229-flow {
    position: relative;
    display: grid;
    gap: 12px;
}

.cm229-flow::before {
    content: "";
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 22px;
    width: 2px;
    background: linear-gradient(#cfc7f6, #dbe8ff);
}

.cm229-flow article {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 15px;
    padding: 17px 18px 17px 0;
}

.cm229-flow article > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: #fff;
    font-weight: 950;
    background: #5e43d9;
    border: 5px solid #f7f8fc;
    border-radius: 50%;
}

.cm229-audience-section {
    background: #fff;
}

.cm229-audiences {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 14px;
}

.cm229-audiences article {
    display: flex;
    min-height: 285px;
    flex-direction: column;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 21px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cm229-audiences article:hover {
    transform: translateY(-4px);
    border-color: #d6d0f2;
    box-shadow: 0 17px 38px rgba(38,32,79,.075);
}

.cm229-audience-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 950;
    background: #493491;
    border-radius: 14px;
}

.cm229-audiences .student .cm229-audience-icon { background: #3970d7; }
.cm229-audiences .teacher .cm229-audience-icon { background: #238f6d; }
.cm229-audiences .family .cm229-audience-icon { background: #ba7c1c; }

.cm229-audiences a,
.cm229-access a {
    margin-top: auto;
    padding-top: 22px;
    color: #5b40cf;
    font-weight: 900;
    text-decoration: none;
}

.cm229-engine {
    padding: 90px 0;
    color: #fff;
    background:
        radial-gradient(circle at 8% 12%, rgba(110,81,236,.28), transparent 28%),
        radial-gradient(circle at 88% 80%, rgba(40,173,132,.14), transparent 28%),
        #17122f;
}

.cm229-engine-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(390px,.82fr);
    gap: 62px;
    align-items: center;
}

.cm229-engine-copy > p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 16px;
    line-height: 1.7;
}

.cm229-personas {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.cm229-personas article {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 13px;
    align-items: center;
    padding: 15px;
    background: rgba(255,255,255,.065);
    border: 1px solid rgba(255,255,255,.105);
    border-radius: 16px;
}

.cm229-avatar {
    width: 44px;
    height: 44px;
}

.cm229-personas h3 {
    color: #fff;
}

.cm229-personas p {
    color: rgba(255,255,255,.62);
    font-size: 13px;
}

.cm229-score-card {
    padding: 29px;
    color: #1c2130;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 28px 70px rgba(0,0,0,.19);
}

.cm229-score-ring {
    display: grid;
    place-items: center;
    width: 142px;
    height: 142px;
    margin: 0 auto 22px;
    background: conic-gradient(#6547ed 0 82%, #eceafa 82% 100%);
    border-radius: 50%;
}

.cm229-score-ring > div {
    display: grid;
    place-items: center;
    align-content: center;
    width: 112px;
    height: 112px;
    background: #fff;
    border-radius: 50%;
}

.cm229-score-ring strong {
    font-size: 42px;
    line-height: 1;
}

.cm229-score-ring span {
    color: #7a8291;
    font-size: 11px;
}

.cm229-score-card h3 {
    margin: 0 0 7px;
    text-align: center;
    font-size: 21px;
}

.cm229-score-card > p {
    margin: 0 auto 22px;
    color: #687183;
    line-height: 1.6;
    text-align: center;
}

.cm229-metrics {
    display: grid;
    gap: 13px;
}

.cm229-metrics span {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    align-items: center;
    color: #50596a;
    font-size: 12px;
    font-weight: 800;
}

.cm229-metrics b {
    display: block;
    height: 8px;
    overflow: hidden;
    background: #eceef3;
    border-radius: 999px;
}

.cm229-metrics b::after {
    content: "";
    display: block;
    width: var(--v);
    height: 100%;
    background: linear-gradient(90deg, #6547ed, #8b76f3);
    border-radius: inherit;
}

.cm229-subjects-section {
    background: #fff;
}

.cm229-subjects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 15px;
}

.cm229-subjects article {
    padding: 23px;
    background: #fbfcfe;
    border: 1px solid var(--line);
    border-radius: 19px;
}

.cm229-subjects article > span {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    margin-bottom: 22px;
    padding: 0 9px;
    color: #553bc5;
    font-size: 13px;
    font-weight: 950;
    background: #efecff;
    border-radius: 12px;
}

.cm229-access-section {
    background:
        linear-gradient(180deg, #f7f9fc, #fff);
}

.cm229-access {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
}

.cm229-access article {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    padding: 27px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.cm229-access article.school {
    background: #f2fbf7;
    border-color: #d2eee2;
}

.cm229-access article.personal {
    background: #f5f2ff;
    border-color: #ded7f8;
}

.cm229-access article.family {
    background: #fff8ea;
    border-color: #f1dfb9;
}

.cm229-access-label {
    display: block;
    margin-bottom: 30px;
    color: #a7afbd;
    font-size: 29px;
    font-weight: 950;
}

.cm229-final {
    padding: 12px 0 88px;
    background: #fff;
}

.cm229-final-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 38px;
    align-items: center;
    padding: 43px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 12%, rgba(67,218,173,.19), transparent 26%),
        linear-gradient(135deg, #241757, #6748e8);
    border-radius: 29px;
    box-shadow: 0 24px 58px rgba(55,36,131,.16);
}

.cm229-final h2 {
    max-width: 800px;
    margin-top: 13px;
    color: #fff;
}

.cm229-final p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.72);
    line-height: 1.68;
}

.final-actions {
    margin-top: 0;
}

html[dir="rtl"] .cm229-heading.left {
    text-align: right;
}

html[dir="rtl"] .cm229-flow::before {
    left: auto;
    right: 22px;
}

html[dir="rtl"] .cm229-flow article {
    grid-template-columns: 46px 1fr;
    padding-right: 0;
    padding-left: 18px;
}

html[dir="rtl"] .cm229-score-top p {
    text-align: left;
}

@media (max-width: 1040px) {
    .cm229-hero-grid,
    .cm229-engine-grid,
    .cm229-section-split {
        grid-template-columns: 1fr;
    }

    .cm229-product {
        width: min(720px, 100%);
        margin-inline: auto;
    }

    .cm229-section-split {
        gap: 36px;
    }

    .cm229-audiences {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 820px) {
    .cm229-benefits,
    .cm229-subjects,
    .cm229-access {
        grid-template-columns: 1fr;
    }

    .cm229-benefits article,
    .cm229-access article {
        min-height: auto;
    }

    .cm229-final-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cm229-container {
        width: min(100% - 28px, 1180px);
    }

    .cm229-hero {
        padding: 54px 0 54px;
    }

    .cm229-hero h1 {
        font-size: clamp(39px, 12vw, 55px);
    }

    .cm229-section,
    .cm229-engine {
        padding: 64px 0;
    }

    .cm229-audiences {
        grid-template-columns: 1fr;
    }

    .cm229-audiences article {
        min-height: auto;
    }

    .cm229-window-top {
        grid-template-columns: auto 1fr;
    }

    .cm229-window-top strong {
        grid-column: 1 / -1;
    }

    .cm229-score-top {
        grid-template-columns: 1fr;
    }

    .cm229-score-top p {
        text-align: left;
    }

    html[dir="rtl"] .cm229-score-top p {
        text-align: right;
    }

    .cm229-metrics span {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .cm229-actions,
    .final-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .cm229-btn {
        width: 100%;
    }

    .cm229-final-card {
        padding: 29px 23px;
        border-radius: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cm229-btn,
    .cm229-audiences article {
        transition: none;
    }

    .cm229-btn:hover,
    .cm229-audiences article:hover {
        transform: none;
    }
}
