/* =========================================================
   Towa AI Academy - Student pages
========================================================= */

.student-page {
    background: #ffffff;
    color: #0f172a;
}

.student-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 12%, rgba(37, 99, 235, .12), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(14, 165, 233, .14), transparent 32%),
        linear-gradient(135deg, #f8fbff 0%, #eef6ff 52%, #ffffff 100%);
}

.student-hero::before,
.student-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.student-hero::before {
    width: 360px;
    height: 360px;
    right: -130px;
    top: -130px;
    background: rgba(37, 99, 235, .08);
}

.student-hero::after {
    width: 240px;
    height: 240px;
    left: -110px;
    bottom: -110px;
    background: rgba(14, 165, 233, .08);
}

.student-hero-inner {
    position: relative;
    z-index: 1;
}

.student-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1rem;
    border-radius: 999px;
    color: #2563eb;
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .14);
    font-weight: 800;
    font-size: .88rem;
}

.student-hero-title {
    font-size: clamp(2.15rem, 5vw, 4.45rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.student-hero-lead {
    color: #5b6472;
    line-height: 2;
    font-size: 1.04rem;
}

.student-section-kicker {
    color: #2563eb;
    font-weight: 900;
    letter-spacing: .08em;
    font-size: .82rem;
}

.student-section-title {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.25;
    letter-spacing: -.04em;
}

.student-soft-section {
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.student-course-card,
.student-detail-card,
.student-step-card,
.student-price-card,
.student-result-card {
    border: 1px solid rgba(15, 23, 42, .08);
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.student-course-card {
    height: 100%;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.student-course-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, .20);
    box-shadow: 0 26px 60px rgba(37, 99, 235, .13);
}

.student-course-visual {
    min-height: 170px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 52%, #ffffff 100%);
}

.student-course-visual.elementary {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 48%, #ffffff 100%);
}

.student-course-visual.junior {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 52%, #ffffff 100%);
}

.student-course-visual.high {
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 55%, #ffffff 100%);
}

.student-course-visual.university {
    background: linear-gradient(135deg, #ecfeff 0%, #f8fafc 52%, #ffffff 100%);
}

.student-course-visual::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -72px;
    top: -92px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .12);
}

.student-course-visual::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    left: 30px;
    bottom: -42px;
    border: 1px solid rgba(37, 99, 235, .22);
    border-radius: 34px;
    transform: rotate(15deg);
}

.student-course-icon {
    position: absolute;
    left: 28px;
    top: 28px;
    width: 64px;
    height: 64px;
    border-radius: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 34px rgba(37, 99, 235, .14);
    font-size: 1.8rem;
}

.student-course-label {
    position: absolute;
    right: 22px;
    top: 22px;
    padding: .45rem .8rem;
    border-radius: 999px;
    color: #2563eb;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(37, 99, 235, .14);
    font-size: .78rem;
    font-weight: 900;
}

.student-course-body {
    position: relative;
    margin: -32px 18px 18px;
    padding: 1.25rem;
    border-radius: 1.2rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.student-tag {
    display: inline-flex;
    align-items: center;
    padding: .38rem .72rem;
    border-radius: 999px;
    color: #334155;
    background: rgba(37, 99, 235, .06);
    border: 1px solid rgba(37, 99, 235, .13);
    font-size: .8rem;
    font-weight: 800;
}

.student-mini-box {
    padding: .9rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .06);
    height: 100%;
}

.student-mini-title {
    color: #2563eb;
    font-size: .85rem;
    font-weight: 900;
    margin-bottom: .35rem;
}

.student-detail-card {
    padding: 1.5rem;
}

.student-step-card {
    padding: 1.1rem;
    height: 100%;
}

.student-step-number {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #2563eb;
    font-weight: 900;
    flex-shrink: 0;
}

.student-price-card {
    padding: 1.4rem;
    height: 100%;
}

.student-price {
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -.045em;
}

.student-result-card {
    padding: 1.2rem;
    height: 100%;
}

.student-check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.student-check-list li {
    position: relative;
    padding-left: 1.85rem;
    margin-bottom: .75rem;
    color: #475569;
    line-height: 1.75;
}

.student-check-list li::before {
    content: "\F26B";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: .08rem;
    color: #2563eb;
    font-weight: 700;
}

.student-table {
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .06);
}

.student-table table {
    margin-bottom: 0;
}

.student-table th {
    background: #f8fafc;
    color: #0f172a;
    white-space: nowrap;
}

.student-cta {
    overflow: hidden;
    border-radius: 2rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, .10), transparent 34%),
        radial-gradient(circle at 88% 22%, rgba(14, 165, 233, .12), transparent 36%),
        linear-gradient(135deg, #f8fbff 0%, #eef6ff 52%, #ffffff 100%);
    border: 1px solid rgba(37, 99, 235, .12);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

@media (max-width: 991.98px) {
    .student-course-visual {
        min-height: 150px;
    }

    .student-course-body {
        margin: -26px 14px 14px;
    }
}
