﻿:root {
    --g: #1cb098;
    --m: #05d5b3;
    --n: #0e2a47;
    --i: #04000b;
    --p: #666;
    --l: #e7e7e7
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    margin: 0;
    color: var(--i);
    font-family: Tahoma,"Segoe UI",sans-serif;
    line-height: 2;
    background: #fff
}

.w {
    max-width: 1160px;
    margin: auto;
    padding: 0 24px
}

.head {
    position: sticky;
    top: 0;
    z-index: 9;
    background: #fff;
    box-shadow: 0 4px 18px #0e2a4712
}

.hi {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 28px
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--n);
    text-decoration: none
}

    .logo b {
        display: inline-grid;
        place-items: center;
        width: 35px;
        height: 35px;
        margin-right: 7px;
        border-radius: 50%;
        color: #fff;
        background: linear-gradient(135deg,var(--g),var(--m));
        font-size: 18px
    }

.nav {
    display: flex;
    gap: 25px;
    margin: auto;
    font-size: 14px
}

    .nav a {
        color: #555;
        text-decoration: none
    }

        .nav a:hover {
            color: var(--g)
        }

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 23px;
    border-radius: 30px;
    background: linear-gradient(90deg,var(--g),var(--m));
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 18px #1cb09830
}

    .btn.out {
        background: #fff;
        color: var(--g) !important;
        border: 1px solid var(--g);
        box-shadow: none
    }

.hero {
    padding: 82px 0 70px;
    background: linear-gradient(90deg,#e5fff3,#e0f1ff 55%,#fdf2ef)
}

.hg {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 55px
}

.k {
    color: var(--g);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px
}

.hero h1 {
    font-size: clamp(2rem,4vw,3.25rem);
    line-height: 1.6;
    margin: 0 0 18px
}

.lead {
    font-size: 17px;
    color: var(--p);
    max-width: 660px
}

.actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 25px
}

.hbox {
    background: var(--n);
    border-radius: 25px;
    padding: 25px;
    color: #fff
}

    .hbox img {
        height: 230px;
        width: 100%;
        object-fit: contain;
        background: #fff;
        border-radius: 15px;
        margin-bottom: 18px
    }

    .hbox h2 {
        font-size: 23px;
        margin: 0 0 7px;
        color: #fff
    }

    .hbox p {
        color: #d2e3f9;
        margin: 0
    }

.sec {
    padding: 72px 0
}

.soft {
    background: linear-gradient(to left,#e5fff3,#e0f1ff 45%,#fdf2ef)
}

.intro {
    max-width: 760px;
    margin-bottom: 30px
}

    .intro h2 {
        font-size: clamp(1.55rem,2.5vw,2.2rem);
        margin: 0 0 10px
    }

    .intro p, .card p, .aud p, .faq p, .step p {
        color: var(--p)
    }

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.card {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--l);
    border-radius: 15px;
    box-shadow: 0 8px 25px #0e2a470d
}

.ico {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #e2f5ec;
    color: var(--g);
    border-radius: 10px;
    font-size: 20px;
    margin-bottom: 13px
}

.card h3, .aud h3, .step h3 {
    font-size: 18px;
    margin: 0 0 7px
}

.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px
}

.tab {
    cursor: pointer;
    border: 1px solid #b7dfd4;
    background: #fff;
    color: var(--g);
    border-radius: 8px;
    padding: 8px 18px;
    font: inherit
}

    .tab.active, .tab:hover {
        background: var(--g);
        color: #fff
    }

.panel {
    display: none;
    background: #fff;
    border: 1px solid var(--l);
    border-radius: 16px;
    padding: 27px
}

    .panel.active {
        display: block
    }

.pg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px
}

.panel h3 {
    margin: 0 0 8px
}

.panel li {
    color: var(--p);
    padding: 3px
}

.price-wrap {
    overflow: auto;
    border: 1px solid var(--l);
    border-radius: 15px;
    background: #fff
}

.price {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    text-align: right
}

    .price th, .price td {
        padding: 14px 17px;
        border-bottom: 1px solid var(--l)
    }

    .price th {
        background: var(--n);
        color: #fff;
        font-size: 14px
    }

    .price td {
        color: var(--p)
    }

    .price tr:last-child td {
        border: 0
    }

.amount {
    color: var(--g) !important;
    font-weight: 800;
    white-space: nowrap;
    font-size: 19px
}

.note {
    font-size: 13px;
    color: var(--p)
}

.aud {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px
}

    .aud article {
        background: #fff;
        border-top: 3px solid var(--g);
        padding: 18px;
        border-radius: 0 0 13px 13px;
        box-shadow: 0 8px 22px #0e2a4710
    }

    .aud p {
        font-size: 14px;
        margin: 0
    }

.steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.step {
    background: #fff;
    border: 1px solid var(--l);
    border-radius: 15px;
    padding: 24px
}

    .step:before {
        content: "✓";
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--g);
        color: #fff;
        font-weight: bold;
        margin-bottom: 12px
    }

    .step p {
        margin: 0
    }

.faq {
    max-width: 850px
}

    .faq details {
        border-bottom: 1px solid var(--l)
    }

    .faq summary {
        cursor: pointer;
        list-style: none;
        display: flex;
        justify-content: space-between;
        gap: 18px;
        padding: 17px 0;
        font-weight: 700
    }

        .faq summary::-webkit-details-marker {
            display: none
        }

        .faq summary span {
            color: var(--g);
            font-size: 22px
        }

    .faq p {
        margin: 0;
        padding-bottom: 16px;
        font-size: 15px
    }

.cta {
    max-width: 1112px;
    margin: 48px auto 70px;
    padding: 36px 40px;
    border-radius: 20px;
    background: linear-gradient(90deg,var(--n),#033120);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

    .cta h2 {
        color: #fff;
        margin: 0 0 6px
    }

    .cta p {
        color: #d2e3f9;
        margin: 0
    }

.foot {
    background: var(--n);
    color: #d2e3f9;
    padding: 38px max(24px,calc((100% - 1112px)/2)) 45px;
    display: flex;
    justify-content: space-between;
    gap: 25px
}

    .foot strong {
        font-size: 24px;
        color: #fff
    }

    .foot a {
        color: #d2e3f9;
        text-decoration: none;
        margin-right: 18px
    }

        .foot a:hover {
            color: var(--m)
        }

@media(max-width:850px) {
    .hg, .pg {
        grid-template-columns: 1fr
    }

    .cards, .steps {
        grid-template-columns: 1fr 1fr
    }

    .aud {
        grid-template-columns: 1fr 1fr
    }

    .nav {
        display: none
    }

    .hi {
        justify-content: space-between
    }

    .cta {
        margin-inline: 20px;
        flex-direction: column;
        align-items: stretch
    }
}

@media(max-width:520px) {
    .cards, .steps, .aud {
        grid-template-columns: 1fr
    }

    .sec {
        padding: 52px 0
    }

    .hero {
        padding-top: 50px
    }

    .foot {
        flex-direction: column
    }

    .hbox img {
        height: 185px
    }

    .price-wrap {
        overflow: visible;
        border: 0;
        background: transparent
    }

    .price {
        display: block;
        min-width: 0;
        width: 100%
    }

        .price thead {
            display: none
        }

        .price tbody, .price tr, .price td {
            display: block;
            width: 100%
        }

        .price tr {
            background: #fff;
            border: 1px solid var(--l);
            border-radius: 13px;
            margin-bottom: 13px;
            padding: 9px 15px;
            box-shadow: 0 6px 18px #0e2a470b
        }

        .price td {
            border: 0 !important;
            padding: 5px 0;
            text-align: right
        }

            .price td:first-child {
                font-weight: 800;
                color: var(--n);
                font-size: 16px;
                padding-bottom: 8px
            }

            .price td:nth-child(2) {
                font-size: 18px
            }

            .price td:nth-child(3) {
                font-size: 13px
            }

                .price td:nth-child(3):before {
                    content: "مناسب برای: ";
                    font-weight: 700;
                    color: var(--n)
                }
}

.compare-box {
    margin-top: 28px;
    padding: 25px;
    background: #f8fffc;
    border: 1px dashed #a9ddcf;
    border-radius: 16px
}

    .compare-box h3 {
        margin: 0 0 5px;
        color: var(--n)
    }

.compare-label {
    display: block;
    color: var(--p);
    font-size: 13px;
    margin-bottom: 14px
}

.capacity-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 9px
}

.capacity-btn {
    border: 1px solid #b7dfd4;
    background: #fff;
    color: var(--g);
    border-radius: 9px;
    padding: 9px 5px;
    font: inherit;
    font-size: 13px;
    cursor: pointer
}

    .capacity-btn.active, .capacity-btn:hover {
        background: var(--g);
        border-color: var(--g);
        color: #fff
    }

.selected-price, .select-result {
    margin-top: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--l)
}

    .selected-price strong, .select-result strong {
        display: block;
        color: var(--n);
        font-size: 17px
    }

    .selected-price small {
        color: var(--p)
    }

.price-select {
    width: 100%;
    border: 1px solid #b7dfd4;
    border-radius: 9px;
    padding: 12px 14px;
    background: #fff;
    color: var(--n);
    font: inherit
}

    .price-select + .select-result {
        margin-top: 14px
    }

@media(max-width:520px) {
    .compare-box {
        padding: 17px;
        margin-top: 22px
    }

    .capacity-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .selected-price, .select-result {
        display: block
    }

        .selected-price .amount, .select-result .amount {
            display: block;
            margin-top: 7px
        }
}

@media(min-width:521px) {
    .compare-box {
        display: none !important
    }
}

@media(max-width:520px) {
    .price-wrap {
        display: none !important
    }

    .compare-box small.use {
        display: block;
        color: var(--p);
        font-size: 13px;
        margin-top: 3px
    }

        .compare-box small.use b {
            color: var(--n)
        }
}

.selected-price .amount:after, .select-result .amount:after {
    content: 'قیمت هر ساعت';
    display: block;
    color: var(--p);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 2px
}

.selected-price small:not(.use) {
    display: none !important
}

.w > .compare-box:nth-child(2) {
    display: none !important
}

.lms-section {
    margin-top: 0
}

.lms-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.lms-card {
    background: #fff;
    border: 1px solid var(--l);
    border-radius: 15px;
    padding: 21px;
    box-shadow: 0 8px 24px #0e2a470b
}

    .lms-card h3 {
        font-size: 17px;
        margin: 0 0 7px;
        color: var(--n)
    }

    .lms-card p {
        font-size: 14px;
        color: var(--p);
        margin: 0
    }

.trust-section {
    background: #fff
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 14px;
    align-items: stretch
}

.trust-logo {
    height: 92px;
    border: 1px solid var(--l);
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px
}

    .trust-logo img {
        width: 100%;
        height: 64px;
        object-fit: contain
    }

.trust-caption {
    font-size: 14px;
    color: var(--p)
}

@media(max-width:850px) {
    .lms-grid {
        grid-template-columns: 1fr 1fr
    }

    .trust-logos {
        grid-template-columns: repeat(3,1fr)
    }
}

@media(max-width:520px) {
    .lms-grid {
        grid-template-columns: 1fr
    }

    .trust-logos {
        grid-template-columns: repeat(2,1fr)
    }

    .trust-logo {
        height: 82px
    }

        .trust-logo img {
            height: 56px
        }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.info-item {
    padding: 19px;
    background: #fff;
    border: 1px solid var(--l);
    border-radius: 13px
}

    .info-item h3 {
        font-size: 16px;
        color: var(--n);
        margin: 0 0 5px
    }

    .info-item p {
        font-size: 14px;
        color: var(--p);
        margin: 0
    }

.quick-contact {
    margin-top: 25px;
    padding: 20px 23px;
    border-radius: 14px;
    background: var(--n);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

    .quick-contact h3 {
        font-size: 18px;
        color: #fff;
        margin: 0 0 3px
    }

    .quick-contact p {
        color: #d2e3f9;
        margin: 0;
        font-size: 14px
    }

@media(max-width:850px) {
    .info-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:520px) {
    .info-grid {
        grid-template-columns: 1fr
    }

    .quick-contact {
        display: block
    }

        .quick-contact .btn {
            margin-top: 14px;
            width: 100%
        }
}

.trust-logo {
    height: 124px !important;
    flex-direction: column;
    gap: 5px
}

    .trust-logo img {
        height: 58px !important
    }

    .trust-logo figcaption, .logo-caption {
        display: block;
        color: var(--n);
        font-size: 12px;
        line-height: 1.6;
        text-align: center;
        font-weight: 700
    }

@media(max-width:520px) {
    .trust-logo {
        height: 116px !important
    }

        .trust-logo img {
            height: 51px !important
        }

    .logo-caption {
        font-size: 11px
    }
}

.trust-logo {
    overflow: hidden
}

    .trust-logo img {
        transform: scale(1.22);
        transition: transform .2s ease
    }

    .trust-logo:hover img {
        transform: scale(1.3)
    }

    .trust-logo img {
        transform: none !important;
        width: 100% !important;
        height: 70px !important;
        max-width: 100% !important;
        max-height: 70px !important;
        object-fit: contain
    }

    .trust-logo:hover img {
        transform: none !important
    }

@media(max-width:520px) {
    .trust-logo img {
        height: 60px !important;
        max-height: 60px !important
    }
}

.trust-logo {
    transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease
}

    .trust-logo:hover {
        transform: translateY(-4px);
        border-color: var(--g);
        box-shadow: 0 10px 22px #1cb09830
    }

        .trust-logo:hover img {
            filter: saturate(1.12);
            transition: filter .22s ease
        }

    .trust-logo:last-child {
        grid-column: 3 / span 2;
        justify-self: center;
        width: 100%
    }

.trust-more {
    margin: 24px 0 0;
    text-align: center;
    color: var(--n);
    font-size: 17px;
    font-weight: 800
}

    .trust-more:before {
        content: '✓';
        display: inline-grid;
        place-items: center;
        width: 25px;
        height: 25px;
        margin-left: 7px;
        border-radius: 50%;
        background: var(--g);
        color: #fff;
        font-size: 13px
    }

@media(max-width:850px) {
    .trust-logo:last-child {
        grid-column: 2;
        justify-self: stretch;
        width: auto
    }
}

@media(max-width:520px) {
    .trust-logo:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 7px)
    }

    .trust-more {
        font-size: 15px
    }
}

.btn {
    position: relative;
    overflow: hidden;
    transition: transform .22s ease,box-shadow .22s ease,background .22s ease
}

    .btn:after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: -45%;
        width: 28%;
        background: rgba(255,255,255,.22);
        transform: skewX(-20deg);
        transition: right .45s ease
    }

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px #1cb09845
    }

        .btn:hover:after {
            right: 125%
        }

    .btn.out:hover {
        background: #e9fff9;
        color: var(--n) !important;
        box-shadow: 0 8px 18px #1cb09824
    }

.card, .lms-card, .info-item, .step {
    transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease
}

    .card:hover, .lms-card:hover {
        transform: translateY(-6px);
        border-color: #a9ddcf;
        box-shadow: 0 14px 30px #0e2a4718
    }

        .card:hover .ico {
            background: #d5f7ec;
            transform: scale(1.06);
            transition: transform .22s ease,background .22s ease
        }

        .lms-card:hover h3 {
            color: var(--g)
        }

    .info-item:hover {
        transform: translateY(-3px);
        border-color: #b7dfd4;
        box-shadow: 0 9px 22px #0e2a4710
    }

    .step:hover {
        transform: translateY(-4px);
        border-color: #a9ddcf;
        box-shadow: 0 10px 22px #0e2a4712
    }

        .step:hover:before {
            box-shadow: 0 0 0 5px #1cb0981f;
            transition: box-shadow .22s ease
        }

.tab {
    transition: background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease
}

    .tab:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px #1cb09825
    }

.capacity-btn {
    transition: background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease
}

    .capacity-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 13px #1cb09828
    }

.price tr {
    transition: background .2s ease,box-shadow .2s ease
}

.price tbody tr:hover {
    background: #f5fffc;
    box-shadow: inset 4px 0 var(--g)
}

.hbox {
    transition: box-shadow .25s ease,transform .25s ease
}

    .hbox:hover {
        transform: translateY(-4px);
        box-shadow: 0 27px 60px #0e2a4735
    }

.faq summary {
    transition: color .2s ease,padding-right .2s ease
}

.faq details:hover summary {
    color: var(--g);
    padding-right: 6px
}

.cta {
    transition: box-shadow .25s ease,transform .25s ease
}

    .cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 35px #0e2a4730
    }

@media(prefers-reduced-motion:reduce) {
    *, *:before, *:after {
        transition: none !important;
        transform: none !important
    }
}

.consult-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(14,42,71,.58)
}

    .consult-modal.open {
        display: flex
    }

.consult-box {
    position: relative;
    width: min(100%,430px);
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 22px 70px #0e2a4755
}

    .consult-box h2 {
        margin: 0 0 8px;
        color: var(--n);
        font-size: 23px
    }

    .consult-box p {
        margin: 0 0 20px;
        color: var(--p);
        font-size: 14px
    }

.consult-close {
    position: absolute;
    left: 17px;
    top: 12px;
    border: 0;
    background: transparent;
    color: var(--p);
    font-size: 25px;
    cursor: pointer
}

.consult-form label {
    display: block;
    color: var(--n);
    font-size: 14px;
    font-weight: 700;
    margin: 12px 0 5px
}

.consult-form input {
    width: 100%;
    border: 1px solid #cddbd8;
    border-radius: 9px;
    padding: 11px 13px;
    font: inherit;
    outline: 0
}

    .consult-form input:focus {
        border-color: var(--g);
        box-shadow: 0 0 0 3px #1cb0981c
    }

.consult-form .btn {
    width: 100%;
    margin-top: 19px
}

.consult-success {
    display: none;
    text-align: center;
    padding: 15px 0 5px
}

    .consult-success.show {
        display: block
    }

    .consult-success .success-icon {
        display: grid;
        place-items: center;
        width: 52px;
        height: 52px;
        margin: 0 auto 13px;
        border-radius: 50%;
        background: #e2f5ec;
        color: var(--g);
        font-size: 26px
    }

    .consult-success h3 {
        margin: 0 0 7px;
        color: var(--n)
    }

    .consult-success p {
        margin: 0
    }

.consult-form.hidden {
    display: none
}

.consult-close {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    line-height: 27px !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    border-radius: 50%;
    color: #6b7280 !important
}

    .consult-close:hover {
        background: #eefaf7;
        color: var(--g) !important
    }

.animated-class-scene {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate
}

.scene-ring {
    position: absolute;
    width: 92%;
    aspect-ratio: 1;
    border: 2px solid rgba(28,176,152,.75);
    border-radius: 50%;
    box-shadow: 0 0 30px #1cb09838,0 0 85px #05d5b328;
    animation: ringRotate 14s linear infinite
}

    .scene-ring:after {
        content: '';
        position: absolute;
        width: 11px;
        height: 11px;
        top: -6px;
        left: 20%;
        border-radius: 50%;
        background: var(--m);
        box-shadow: 0 0 15px var(--m)
    }

.scene-glow {
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle,#1cb09842 0%,#05d5b31b 45%,transparent 72%);
    filter: blur(20px)
}

.class-board {
    position: relative;
    z-index: 3;
    width: 78%;
    overflow: hidden;
    border: 1px solid #31546c;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 0 35px #1cb09835,0 20px 45px #061c2e7a;
    animation: boardFloat 6s ease-in-out infinite
}

.board-top, .board-bottom {
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 11px;
    background: #12202a;
    color: #d2e3f9;
    font-size: 10px
}

.board-dots {
    display: flex;
    gap: 5px
}

    .board-dots i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #94bed255
    }

.board-body {
    position: relative;
    aspect-ratio: 1.45;
    background-color: #fff;
    background-image: linear-gradient(#d8e7eb 1px,transparent 1px),linear-gradient(90deg,#d8e7eb 1px,transparent 1px);
    background-size: 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center
}

.board-topic {
    position: absolute;
    right: 10px;
    top: 9px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #e2f5ec;
    color: var(--g);
    font-size: 9px;
    font-weight: 700
}

.board-formula {
    font: 700 italic 44px Georgia,serif;
    color: #19345d;
    border: 4px solid var(--g);
    border-radius: 50%;
    padding: 0 20px;
    line-height: 1.25;
    animation: formulaPulse 4s ease-in-out infinite
}

.board-tools {
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 8px;
    background: #182a36;
    color: #d2e3f9;
    font-size: 12px
}

    .board-tools b {
        color: var(--m)
    }

.floating-card {
    position: absolute;
    z-index: 5;
    border: 1px solid #5a7b88aa;
    border-radius: 13px;
    background: #122b3bf0;
    color: #fff;
    box-shadow: 0 12px 30px #061c2e55;
    backdrop-filter: blur(8px);
    animation: floatCard 7s ease-in-out infinite
}

.float-record {
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 14px;
    font-size: 10px;
    animation-delay: .3s
}

.float-video {
    top: 67px;
    right: -8px;
    width: 118px;
    overflow: hidden;
    animation-delay: .8s
}

.video-face {
    height: 70px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#d9edf0,#7396a0);
    font-size: 32px
}

.video-caption {
    display: flex;
    justify-content: space-between;
    padding: 4px 7px;
    font-size: 9px
}

.voice-bars {
    color: var(--m);
    letter-spacing: 1px
}

.float-users {
    right: -15px;
    bottom: 30px;
    width: 155px;
    padding: 9px 11px;
    animation-delay: 1.2s
}

    .float-users h4, .float-chat h4 {
        font-size: 10px;
        margin: 0 0 7px;
        color: #fff
    }

.user-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    color: #d2e3f9;
    margin-top: 5px
}

.user-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--g),var(--m))
}

.float-chat {
    left: -20px;
    bottom: 64px;
    width: 145px;
    padding: 9px 10px;
    animation-delay: 1.7s
}

.chat-msg {
    padding: 4px 6px;
    margin-top: 4px;
    border-radius: 6px;
    background: #94bed214;
    font-size: 8px;
    color: #d2e3f9
}

.float-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 14px;
    color: var(--m);
    animation: floatCard 8s ease-in-out infinite
}

.icon-headset {
    left: 8px;
    top: 85px
}

.icon-pencil {
    bottom: 5px;
    left: 37%;
    animation-delay: 1s
}

.icon-mic {
    right: 14px;
    top: 52%;
    animation-delay: 2s
}

.scene-label {
    position: absolute;
    left: 7%;
    bottom: 28px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #123c3af2;
    color: #dffff7;
    font-size: 10px;
    animation: floatCard 8s ease-in-out infinite;
    animation-delay: .5s
}

    .scene-label b {
        color: #61f0c9
    }

.animated-class-scene .class-board, .animated-class-scene .floating-card {
    font-family: Tahoma,"Segoe UI",sans-serif
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg)
    }
}

@keyframes boardFloat {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }
}

@keyframes formulaPulse {
    0%,100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.04)
    }
}

@keyframes floatCard {
    0%,100% {
        translate: 0 0
    }

    50% {
        translate: 0 -9px
    }
}

@media(max-width:850px) {
    .animated-class-scene {
        min-height: 365px
    }

    .class-board {
        width: 82%
    }

    .float-video {
        right: -3px;
        width: 92px
    }

    .video-face {
        height: 55px
    }

    .float-users {
        right: -4px;
        width: 120px
    }

    .float-chat {
        left: -3px;
        width: 115px
    }

    .float-icon, .scene-label {
        display: none
    }
}

@media(max-width:520px) {
    .animated-class-scene {
        min-height: 300px
    }

    .class-board {
        width: 88%
    }

    .float-video {
        top: 34px;
        right: 2px;
        width: 74px
    }

    .video-face {
        height: 41px;
        font-size: 22px
    }

    .video-caption {
        font-size: 7px;
        padding: 3px 4px
    }

    .float-record {
        top: 8px;
        font-size: 8px;
        padding: 5px 8px
    }

    .float-users, .float-chat {
        display: none
    }

    .board-formula {
        font-size: 30px;
        padding: 0 13px;
        border-width: 3px
    }

    .board-tools {
        font-size: 9px;
        padding: 4px 6px
    }

    .board-top, .board-bottom {
        height: 24px;
        font-size: 8px
    }
}

.video-face img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.board-formula {
    min-width: 112px;
    text-align: center;
    font-family: Tahoma,"Segoe UI",sans-serif;
    font-style: normal;
    font-size: 29px;
    transition: opacity .25s ease,transform .25s ease
}

.video-caption {
    background: rgba(4,0,11,.68);
    padding: 6px 8px;
    font-size: 11px;
    line-height: 1.5
}

    .video-caption span:first-child {
        background: rgba(255,255,255,.16);
        border-radius: 5px;
        padding: 1px 4px;
        white-space: nowrap
    }

.board-formula {
    width: 154px;
    height: 78px;
    min-width: 0;
    padding: 0;
    border: 3px solid var(--g);
    border-radius: 14px;
    background-image: url('online-class-topics.png');
    background-size: 400% 200%;
    background-position: 0 0;
    background-repeat: no-repeat;
    font-size: 0;
    animation: none;
    box-shadow: 0 8px 20px #0e2a4725
}

.board-topic {
    transition: opacity .2s ease
}

.topic-image-fade {
    opacity: 0;
    transform: translateY(5px) scale(.96)
}

@media(max-width:520px) {
    .video-caption {
        font-size: 8px;
        padding: 4px 5px
    }

    .board-formula {
        width: 108px;
        height: 58px;
        border-width: 2px;
        border-radius: 10px
    }
}

.board-formula.conference-image {
    background-image: url('online-class-conference.png');
    background-size: cover;
    background-position: center
}

.board-formula {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background-size: 400% 200%;
    background-position: 0 0;
    z-index: 0
}

.board-topic, .board-tools {
    z-index: 2
}

.board-topic {
    right: 10px;
    top: 9px;
    opacity: .94
}

.board-tools {
    background: rgba(18,42,54,.92)
}

.board-formula.conference-image {
    background-size: cover;
    background-position: center
}

.board-formula {
    background-image: none !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 20px;
    min-width: 0;
    border-radius: 0;
    color: #19345d;
    font-family: Tahoma,"Segoe UI",sans-serif;
    font-size: clamp(22px,3.6vw,42px);
    font-weight: 800;
    line-height: 1.7;
    text-align: center;
    white-space: normal
}

    .board-formula small {
        display: block;
        margin-top: 5px;
        font-size: clamp(9px,1.1vw,13px);
        font-weight: 600;
        color: #517080
    }

    .board-formula .math-accent {
        color: var(--g);
        font-size: 1.14em
    }

    .board-formula.conference-image {
        background-image: none !important
    }

.type-line {
    display: block
}

    .type-line:after {
        content: '|';
        display: inline-block;
        margin-right: 4px;
        color: var(--g);
        animation: typingCaret .75s step-end infinite
    }

    .type-line.done:after {
        display: none
    }

.type-sub {
    display: block;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .35s ease,transform .35s ease
}

    .type-sub.show {
        opacity: 1;
        transform: translateY(0)
    }

@keyframes typingCaret {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.board-formula {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    color: #19345d !important;
    z-index: 1 !important
}

    .board-formula .type-line, .board-formula .type-sub {
        visibility: visible
    }



#top {
    margin-top: 100px;
}
