/* ==========================================================
   CLASSMIRROR — EXAMPLES V367
   ========================================================== */

.cmex367{
    --violet:#6847ef;
    --violet-dark:#2e1a72;
    --blue:#2f7df4;
    --ink:#17152f;
    --muted:#687083;
    --line:#e7e8f2;
    --soft:#f7f7fc;
    --green:#11895e;
    --red:#c54048;
    --shadow:0 22px 60px rgba(31,25,79,.10);

    color:var(--ink);
    background:#fff;
}

.cmex367 *{
    box-sizing:border-box;
}

.cmex367-container{
    width:min(1180px,calc(100% - 38px));
    margin:0 auto;
}


/* HERO */

.cmex367-hero{
    position:relative;
    overflow:hidden;
    padding:92px 0 80px;

    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(104,71,239,.17),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 12%,
            rgba(47,125,244,.13),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #fff 0%,
            #f8f8ff 100%
        );
}

.cmex367-hero:after{
    content:"";
    position:absolute;
    right:-130px;
    top:-150px;
    width:460px;
    height:460px;
    border:1px solid rgba(104,71,239,.11);
    border-radius:50%;
    pointer-events:none;
}

.cmex367-hero-grid{
    position:relative;
    z-index:1;

    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);
    align-items:center;
    gap:60px;
}

.cmex367-eyebrow,
.cmex367-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:7px 11px;

    border:1px solid #ded9fb;
    border-radius:999px;

    color:#5a3bd0;
    background:#f2efff;

    font-size:12px;
    font-weight:900;
    letter-spacing:.02em;
}

.cmex367-hero h1{
    max-width:850px;
    margin:18px 0 20px;

    font-size:clamp(42px,5.5vw,72px);
    line-height:1;
    letter-spacing:-.05em;
}

.cmex367-hero-copy{
    max-width:770px;
    margin:0;

    color:var(--muted);

    font-size:18px;
    line-height:1.75;
}

.cmex367-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;

    margin-top:28px;
}

.cmex367-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:48px;
    padding:0 19px;

    border:1px solid var(--violet);
    border-radius:13px;

    color:#fff;
    background:var(--violet);

    font-weight:850;
    text-decoration:none;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.cmex367-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 28px rgba(104,71,239,.22);
}

.cmex367-btn.secondary{
    color:var(--violet-dark);
    border-color:#ddd8f7;
    background:#fff;
    box-shadow:none;
}

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

    margin-top:24px;
}

.cmex367-chips span{
    padding:7px 10px;

    border:1px solid var(--line);
    border-radius:999px;

    color:#596174;
    background:#fff;

    font-size:11px;
    font-weight:850;
}


/* MINI ARENA */

.cmex367-arena{
    padding:18px;

    border:1px solid rgba(104,71,239,.16);
    border-radius:26px;

    background:rgba(255,255,255,.86);

    box-shadow:var(--shadow);
    backdrop-filter:blur(10px);
}

.cmex367-arena-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;

    margin-bottom:14px;
}

.cmex367-arena-top strong{
    font-size:14px;
}

.cmex367-arena-top span{
    padding:5px 8px;

    border-radius:999px;

    color:#276c52;
    background:#e9f8f1;

    font-size:10px;
    font-weight:900;
}

.cmex367-persona{
    padding:15px;

    border:1px solid var(--line);
    border-radius:16px;

    background:#fff;
}

.cmex367-persona + .cmex367-persona{
    margin-top:9px;
}

.cmex367-persona-head{
    display:flex;
    align-items:center;
    gap:9px;
}

.cmex367-avatar{
    display:grid;
    width:34px;
    height:34px;

    place-items:center;

    border-radius:11px;

    color:#fff;
    background:linear-gradient(135deg,#7559ef,#3d78ee);

    font-size:12px;
    font-weight:950;
}

.cmex367-persona b{
    font-size:13px;
}

.cmex367-persona p{
    margin:8px 0 0 43px;

    color:#586073;

    font-size:12px;
    line-height:1.55;
}


/* COMMON SECTION */

.cmex367-section{
    padding:84px 0;
}

.cmex367-section.soft{
    background:var(--soft);
    border-top:1px solid #ededf5;
    border-bottom:1px solid #ededf5;
}

.cmex367-heading{
    max-width:830px;
    margin:0 auto 38px;

    text-align:center;
}

.cmex367-heading h2{
    margin:14px 0 12px;

    font-size:clamp(32px,4.2vw,50px);
    line-height:1.06;
    letter-spacing:-.035em;
}

.cmex367-heading p{
    margin:0;

    color:var(--muted);

    line-height:1.75;
}


/* STEPS */

.cmex367-steps{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:15px;
}

.cmex367-step{
    padding:24px;

    border:1px solid var(--line);
    border-radius:20px;

    background:#fff;
}

.cmex367-step-number{
    display:grid;
    width:38px;
    height:38px;

    place-items:center;

    margin-bottom:17px;

    border-radius:12px;

    color:#fff;
    background:var(--violet-dark);

    font-weight:950;
}

.cmex367-step h3{
    margin:0 0 9px;

    font-size:17px;
}

.cmex367-step p{
    margin:0;

    color:var(--muted);

    font-size:14px;
    line-height:1.65;
}


/* SESSION */

.cmex367-session{
    overflow:hidden;

    border:1px solid var(--line);
    border-radius:27px;

    background:#fff;

    box-shadow:0 18px 50px rgba(31,25,79,.07);
}

.cmex367-session-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    padding:20px 24px;

    border-bottom:1px solid var(--line);

    background:linear-gradient(90deg,#faf9ff,#f7faff);
}

.cmex367-session-bar strong{
    font-size:17px;
}

.cmex367-session-bar span{
    color:var(--muted);

    font-size:12px;
    font-weight:800;
}

.cmex367-three{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:15px;

    padding:18px;
}

.cmex367-question{
    display:flex;
    flex-direction:column;

    min-height:320px;
    padding:19px;

    border:1px solid var(--line);
    border-radius:19px;

    background:#fff;
}

.cmex367-question-head{
    display:flex;
    align-items:center;
    gap:10px;

    margin-bottom:15px;
}

.cmex367-question-head span{
    display:grid;
    width:39px;
    height:39px;

    place-items:center;

    border-radius:12px;

    color:#fff;
    background:var(--violet);

    font-weight:950;
}

.cmex367-question-head small{
    display:block;

    color:#8990a0;

    font-size:10px;
    font-weight:850;
    text-transform:uppercase;
}

.cmex367-question-head b{
    display:block;
    margin-top:2px;
}

.cmex367-question-text{
    margin:0;

    color:#34384b;

    line-height:1.7;
}

.cmex367-support{
    margin-top:14px;
    padding:12px;

    border:1px dashed #d8d9e5;
    border-radius:13px;

    color:#646b7b;
    background:#fafafd;

    font-size:12px;
    line-height:1.55;
}

.cmex367-tools{
    display:flex;
    flex-wrap:wrap;
    gap:6px;

    margin-top:auto;
    padding-top:16px;
}

.cmex367-tools span{
    padding:6px 8px;

    border-radius:8px;

    color:#563bc9;
    background:#f0edff;

    font-size:10px;
    font-weight:900;
}


/* QUALITY */

.cmex367-quality-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.cmex367-quality{
    padding:25px;

    border-radius:22px;
}

.cmex367-quality.bad{
    border:1px solid #f2d8da;
    background:#fff8f8;
}

.cmex367-quality.good{
    border:1px solid #d4ece2;
    background:#f5fcf8;
}

.cmex367-quality-label{
    display:inline-flex;

    padding:6px 9px;

    border-radius:999px;

    font-size:11px;
    font-weight:950;
}

.bad .cmex367-quality-label{
    color:#a7313a;
    background:#fee8e9;
}

.good .cmex367-quality-label{
    color:#08724c;
    background:#dff6eb;
}

.cmex367-quality h3{
    margin:16px 0 10px;

    font-size:19px;
}

.cmex367-quality p{
    margin:0;

    color:#51586a;

    line-height:1.7;
}

.cmex367-quality-note{
    display:flex;
    gap:9px;
    align-items:flex-start;

    margin-top:17px;

    color:#667083;

    font-size:12px;
    line-height:1.55;
}


/* OWN COURSE */

.cmex367-source-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.cmex367-source{
    padding:22px;

    border:1px solid var(--line);
    border-radius:19px;

    background:#fff;
}

.cmex367-source-icon{
    display:grid;
    width:44px;
    height:44px;

    place-items:center;

    border-radius:13px;

    color:#583bd0;
    background:#eeeaff;

    font-size:21px;
}

.cmex367-source h3{
    margin:14px 0 7px;

    font-size:16px;
}

.cmex367-source p{
    margin:0;

    color:var(--muted);

    font-size:13px;
    line-height:1.65;
}


/* SUBJECTS */

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

.cmex367-subject{
    padding:23px;

    border:1px solid var(--line);
    border-radius:21px;

    background:#fff;
}

.cmex367-subject-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;

    margin-bottom:15px;
}

.cmex367-subject-top span{
    display:grid;
    min-width:41px;
    height:41px;

    place-items:center;

    border-radius:12px;

    color:#fff;
    background:linear-gradient(135deg,#6a4af0,#367be9);

    font-weight:950;
}

.cmex367-subject-top small{
    color:#8990a0;

    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
}

.cmex367-subject h3{
    margin:0;

    font-size:17px;
}

.cmex367-subject-question{
    margin:0 0 14px;

    color:#3e4557;

    line-height:1.7;
}

.cmex367-subject-foot{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.cmex367-subject-foot span{
    padding:6px 8px;

    border:1px solid #e3e4ed;
    border-radius:999px;

    color:#626a7c;
    background:#fafafd;

    font-size:10px;
    font-weight:850;
}


/* DIFFERENCE */

.cmex367-difference{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.cmex367-diff-card{
    padding:28px;

    border:1px solid var(--line);
    border-radius:23px;

    background:#fff;
}

.cmex367-diff-card strong{
    display:block;

    margin-bottom:13px;

    font-size:20px;
}

.cmex367-diff-card p{
    margin:0;

    color:var(--muted);

    line-height:1.75;
}

.cmex367-diff-card.featured{
    color:#fff;

    border-color:var(--violet-dark);

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(255,255,255,.12),
            transparent 33%
        ),
        var(--violet-dark);
}

.cmex367-diff-card.featured p{
    color:rgba(255,255,255,.82);
}


/* CTA */

.cmex367-final{
    padding:84px 0 96px;

    background:#fff;
}

.cmex367-final-card{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:30px;

    padding:42px;

    border-radius:29px;

    color:#fff;

    background:
        radial-gradient(
            circle at 92% 5%,
            rgba(80,155,255,.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #2a176c,
            #5d3dd8
        );

    box-shadow:0 28px 70px rgba(51,35,132,.23);
}

.cmex367-final h2{
    max-width:700px;
    margin:0 0 10px;

    font-size:clamp(29px,4vw,44px);
    letter-spacing:-.03em;
}

.cmex367-final p{
    max-width:700px;
    margin:0;

    color:rgba(255,255,255,.82);

    line-height:1.7;
}

.cmex367-final .cmex367-btn{
    color:#332170;
    border-color:#fff;
    background:#fff;
}


/* RTL */

html[dir="rtl"] .cmex367{
    text-align:right;
}


/* RESPONSIVE */

@media(max-width:980px){

    .cmex367-hero-grid{
        grid-template-columns:1fr;
    }

    .cmex367-arena{
        max-width:720px;
    }

    .cmex367-steps,
    .cmex367-source-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .cmex367-three{
        grid-template-columns:1fr;
    }

    .cmex367-question{
        min-height:0;
    }
}


@media(max-width:720px){

    .cmex367-container{
        width:min(100% - 24px,1180px);
    }

    .cmex367-hero{
        padding:62px 0 55px;
    }

    .cmex367-section{
        padding:62px 0;
    }

    .cmex367-steps,
    .cmex367-source-grid,
    .cmex367-subject-grid,
    .cmex367-quality-grid,
    .cmex367-difference{
        grid-template-columns:1fr;
    }

    .cmex367-final-card{
        grid-template-columns:1fr;
        padding:29px;
    }

    .cmex367-actions{
        flex-direction:column;
    }

    .cmex367-btn{
        width:100%;
    }
}


@media(prefers-reduced-motion:reduce){

    .cmex367-btn{
        transition:none;
    }

    .cmex367-btn:hover{
        transform:none;
    }
}
