/* ==========================================================
   CALEIDOSCOPE STUDENT HUB
   v1.0 foundation
========================================================== */

.student-page-hero{
    background:linear-gradient(135deg,#1F3A6D 0%,#5631B8 58%,#6C3FCF 100%);
    color:#fff;
    padding:50px 0 54px;
    overflow:hidden;
}

.student-page-hero__inner{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:56px;
    align-items:center;
}

.student-page-hero__content h1{
    color:#fff;
    font-size:clamp(2.5rem,5vw,4rem);
    max-width:none;
    margin-bottom:14px;
    white-space:nowrap;
}

.student-eyebrow,
.student-section .eyebrow{
    margin-bottom:12px;
    color:var(--primary);
    font-size:.82rem;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.student-page-hero .student-eyebrow{
    color:#e7ddff;
}

.student-page-hero__lead{
    max-width:none;
    color:#f2f3fb;
    font-size:1.08rem;
    line-height:1.5;
    white-space:nowrap;
}

.student-page-hero .hero-actions{
    margin-top:28px;
}

.student-page-hero .btn-secondary{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.3);
}

.student-page-hero .btn-secondary:hover{
    background:rgba(255,255,255,.2);
}

.student-page-hero__visual{
    display:flex;
    justify-content:center;
}

.student-path-card{
    width:min(100%,390px);
    padding:32px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:24px;
    background:rgba(255,255,255,.1);
    box-shadow:0 24px 60px rgba(0,0,0,.18);
    backdrop-filter:blur(8px);
}

.student-path-card__label{
    margin-bottom:22px;
    color:#e7ddff;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.15em;
}

.student-path-card__steps{
    display:grid;
    gap:10px;
    margin-bottom:22px;
}

.student-path-card__steps span{
    padding:12px 16px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:12px;
    color:#f5f6fb;
    font-weight:600;
}

.student-path-card__steps .is-current{
    background:#fff;
    color:var(--secondary);
}

.student-path-card > p:last-child{
    margin:0;
    color:#e8eaf4;
    font-size:.95rem;
}

.student-section{
    padding:72px 0;
}

.student-section-heading{
    max-width:760px;
    margin-bottom:36px;
}

.student-section-heading h2,
.student-framework__intro h2,
.student-note-card h2,
.student-roadmap-card h2,
.student-cta-card h2{
    margin-bottom:12px;
}

.student-section-heading p:last-child,
.student-framework__intro p:last-child{
    color:var(--text-light);
    margin-bottom:0;
}

.student-section-heading--center{
    margin-left:auto;
    margin-right:auto;
    text-align:center;
}

.student-start{
    background:#fff;
}

.student-start-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
}

.student-action-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:310px;
    padding:28px;
    border:1px solid var(--border);
    border-radius:18px;
    background:var(--surface);
    box-shadow:0 10px 26px rgba(31,58,109,.07);
    transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.student-action-card:hover{
    transform:translateY(-5px);
    border-color:rgba(108,63,207,.25);
    box-shadow:0 18px 34px rgba(31,58,109,.12);
}

.student-action-card--accent{
    background:linear-gradient(145deg,#f5f0ff,#fff);
}

.student-action-card__number{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    margin-bottom:28px;
    border-radius:12px;
    background:rgba(108,63,207,.1);
    color:var(--primary);
    font-weight:800;
}

.student-action-card h3{
    font-size:1.35rem;
}

.student-action-card p{
    color:var(--text-light);
    font-size:.98rem;
}

.student-action-card a{
    margin-top:auto;
    padding-top:18px;
    font-weight:700;
    color:var(--primary);
}

.student-action-card a:hover{
    color:var(--primary-dark);
}

.student-tools{
    background:var(--background);
}

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

.student-tool{
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:16px;
    align-items:center;
    padding:20px;
    border:1px solid var(--border);
    border-radius:16px;
    background:#fff;
    color:inherit;
    box-shadow:0 7px 20px rgba(31,58,109,.05);
}

.student-tool:hover{
    color:inherit;
    border-color:rgba(108,63,207,.28);
    transform:translateY(-3px);
}

.student-tool__icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border-radius:12px;
    background:rgba(108,63,207,.1);
    color:var(--primary);
    font-weight:800;
}

.student-tool h3{
    margin-bottom:3px;
    font-size:1.15rem;
}

.student-tool p{
    margin:0;
    color:var(--text-light);
    font-size:.9rem;
    line-height:1.5;
}

.student-tool__arrow{
    color:var(--primary);
    font-size:1.25rem;
    font-weight:700;
}

.student-tool--primary{
    background:linear-gradient(135deg,#f5f0ff,#fff);
}

.student-framework{
    background:#fff;
}

.student-framework__intro{
    max-width:720px;
    margin-bottom:36px;
}

.student-framework__steps{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    border-top:1px solid var(--border);
}

.student-framework-step{
    padding:28px 24px 10px 0;
    border-right:1px solid var(--border);
}

.student-framework-step:not(:first-child){
    padding-left:24px;
}

.student-framework-step:last-child{
    border-right:0;
}

.student-framework-step span{
    display:block;
    margin-bottom:20px;
    color:var(--primary);
    font-weight:800;
    letter-spacing:.08em;
}

.student-framework-step h3{
    margin-bottom:8px;
}

.student-framework-step p{
    margin:0;
    color:var(--text-light);
    font-size:.95rem;
}

.student-note{
    padding-top:0;
    background:#fff;
}

.student-note-card,
.student-roadmap-card{
    display:grid;
    grid-template-columns:1fr auto;
    gap:40px;
    align-items:center;
    padding:42px;
    border-radius:22px;
    background:#f5f1ff;
    border:1px solid #e4dafd;
}

.student-note-card p:not(.eyebrow),
.student-roadmap-card p:not(.eyebrow){
    max-width:760px;
    margin-bottom:0;
    color:var(--text-light);
}

.student-roadmap{
    padding-top:0;
    background:#fff;
}

.student-roadmap-card{
    background:#f7f8fc;
    border-color:var(--border);
}

.student-roadmap-status{
    display:grid;
    gap:8px;
    min-width:270px;
}

.student-roadmap-status strong{
    margin-bottom:10px;
    font-size:.95rem;
}

.status-pill{
    display:inline-flex;
    width:max-content;
    padding:5px 10px;
    border-radius:999px;
    background:#e9ebf2;
    color:var(--secondary);
    font-size:.75rem;
    font-weight:800;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.status-pill--live{
    background:rgba(43,183,201,.14);
    color:#14798a;
}

.student-cta{
    padding-top:0;
    background:#fff;
}

.student-cta-card{
    padding:56px 32px;
    border-radius:24px;
    background:linear-gradient(135deg,var(--secondary),var(--primary));
    color:#fff;
    text-align:center;
}

.student-cta-card .eyebrow{
    color:#e7ddff;
}

.student-cta-card h2{
    color:#fff;
}

.student-cta-card p:not(.eyebrow){
    max-width:680px;
    margin:0 auto 26px;
    color:#f0f1f7;
}

.student-cta-card .btn{
    background:#fff;
    color:var(--secondary);
}

.student-cta-card .btn:hover{
    background:#f2f3f7;
    color:var(--secondary);
}

@media(max-width:1050px){
    .student-start-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .student-tools-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:850px){
    .student-page-hero__inner{
        grid-template-columns:1fr;
        gap:36px;
    }

    .student-page-hero__visual{
        justify-content:flex-start;
    }

    .student-page-hero__lead{
        white-space:normal;
    }

    .student-framework__steps{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .student-framework-step{
        border-bottom:1px solid var(--border);
    }

    .student-framework-step:nth-child(2){
        border-right:0;
    }

    .student-framework-step:nth-child(3),
    .student-framework-step:nth-child(4){
        padding-top:24px;
    }

    .student-note-card,
    .student-roadmap-card{
        grid-template-columns:1fr;
    }

    .student-roadmap-status{
        min-width:0;
    }
}

@media(max-width:650px){
    .student-page-hero{
        padding:38px 0 42px;
    }

    .student-page-hero__inner{
        gap:28px;
    }

    .student-page-hero__content h1{
        font-size:1.65rem;
        line-height:1.25;
        white-space:nowrap;
        margin-bottom:14px;
    }

    .student-page-hero__lead{
        font-size:1rem;
        line-height:1.55;
        white-space:normal;
    }

    .student-page-hero .hero-actions{
        margin-top:22px;
    }

    .student-page-hero .hero-actions .btn{
        width:100%;
        text-align:center;
    }

    .student-path-card{
        padding:22px;
        border-radius:18px;
    }

    .student-path-card__label{
        margin-bottom:16px;
    }

    .student-path-card__steps{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
        margin-bottom:16px;
    }

    .student-path-card__steps span{
        padding:10px 12px;
        font-size:.9rem;
    }

    .student-section{
        padding:44px 0;
    }

    .student-section-heading{
        margin-bottom:26px;
    }

    .student-section-heading h2,
    .student-framework__intro h2,
    .student-note-card h2,
    .student-roadmap-card h2{
        font-size:1.75rem;
    }

    .student-start-grid,
    .student-tools-grid,
    .student-framework__steps{
        grid-template-columns:1fr;
    }

    .student-action-card{
        min-height:0;
        padding:22px;
    }

    .student-action-card__number{
        width:38px;
        height:38px;
        margin-bottom:20px;
    }

    .student-action-card h3{
        font-size:1.2rem;
    }

    .student-action-card p{
        margin-bottom:8px;
    }

    .student-action-card a{
        padding-top:10px;
    }

    .student-tool{
        gap:12px;
        padding:16px;
    }

    .student-tool__icon{
        width:40px;
        height:40px;
    }

    .student-tool h3{
        font-size:1.05rem;
    }

    .student-tool p{
        font-size:.86rem;
    }

    .student-framework__intro{
        margin-bottom:24px;
    }

    .student-framework-step,
    .student-framework-step:not(:first-child){
        padding:18px 0;
        border-right:0;
        border-bottom:1px solid var(--border);
    }

    .student-framework-step span{
        margin-bottom:10px;
    }

    .student-framework-step:last-child{
        border-bottom:0;
    }

    .student-note-card,
    .student-roadmap-card{
        gap:24px;
        padding:24px;
        border-radius:18px;
    }

    .student-roadmap-status{
        gap:6px;
    }

    .student-roadmap-status strong{
        margin-bottom:8px;
    }

    .student-cta-card{
        padding:42px 22px;
        border-radius:20px;
    }
}
