.typing-public {
    background: #f6f8fb;
    color: #243042;
}

.preloader-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
}

.landing-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 18px 54px;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 38px;
}

.brand-mark {
    font-weight: 800;
    color: #1f2a44;
    font-size: 20px;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
    gap: 34px;
    align-items: center;
    min-height: 520px;
}

.landing-hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    line-height: .96;
    letter-spacing: 0;
    margin-bottom: 22px;
    color: #162033;
}

.landing-hero p {
    font-size: 18px;
    color: #5f6b7a;
    max-width: 650px;
}

.typing-preview {
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(31, 42, 68, .12);
    padding: 22px;
}

.typing-preview p {
    font-size: 20px;
    margin: 16px 0;
    color: #243042;
}

.preview-bar {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-weight: 700;
    color: #2b5fd9;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 14px;
}

.feature-card,
.test-card {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    padding: 22px;
    height: 100%;
}

.test-card p {
    min-height: 88px;
    color: #697586;
}

.auth-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.auth-card {
    width: min(100%, 430px);
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 18px 54px rgba(31, 42, 68, .1);
}

.stat-card h3 {
    margin: 5px 0 0;
    font-weight: 800;
}

.stat-card small {
    color: #6a7686;
    font-weight: 700;
}

.admin-chart-wrap {
    position: relative;
    width: 100%;
    min-height: 290px;
}

.admin-chart-wrap #testsChart {
    width: 100%;
    min-height: 320px;
}

.student-progress-chart {
    position: relative;
    width: 100%;
    min-height: 320px;
}

.student-progress-chart #studentProgressChart {
    width: 100%;
    min-height: 320px;
}

.admin-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.admin-metric-card {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(32, 42, 68, .08);
}

.admin-metric-card::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: var(--metric-soft);
}

.admin-metric-card .card-body {
    position: relative;
    z-index: 1;
    padding: 22px;
}

.admin-metric-top,
.admin-metric-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-metric-icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: var(--metric-soft);
    color: var(--metric-color);
    font-size: 28px;
}

.admin-metric-value {
    color: #20283a;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.admin-metric-copy {
    margin-top: 18px;
}

.admin-metric-copy h4 {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-weight: 900;
}

.admin-metric-copy p {
    margin: 6px 0 0;
    color: #7b8798;
    font-size: 13px;
    font-weight: 700;
}

.admin-metric-progress {
    height: 7px;
    margin: 18px 0 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f7;
}

.admin-metric-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--metric-color);
}

.admin-metric-footer small,
.admin-metric-footer span,
.admin-metric-footer a {
    color: #7b8798;
    font-size: 12px;
    font-weight: 800;
}

.admin-metric-footer a {
    color: var(--metric-color);
}

.admin-metric-primary {
    --metric-color: #2563eb;
    --metric-soft: #e8f0ff;
}

.admin-metric-secondary {
    --metric-color: #7c3aed;
    --metric-soft: #f1eaff;
}

.virtual-keyboard-wrap {
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: #f8fafc;
    padding: 16px;
}

.virtual-keyboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.virtual-keyboard {
    display: grid;
    gap: 8px;
}

.virtual-keyboard-row {
    display: flex;
    justify-content: center;
    gap: 7px;
}

.virtual-key {
    min-width: 54px;
    min-height: 50px;
    border: 1px solid #d7e0ed;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2937;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(31, 42, 68, .07);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background-color .12s ease, color .12s ease;
    pointer-events: none;
}

.virtual-key small {
    color: #ef3b61;
    font-size: 15px;
    font-weight: 900;
}

.virtual-key-space {
    width: min(100%, 420px);
}

.virtual-key.is-hit-correct {
    color: #047857;
    border-color: #34d399;
    background: #d1fae5;
    box-shadow: 0 10px 26px rgba(16, 185, 129, .25);
    transform: translateY(2px) scale(.96);
}

.virtual-key.is-hit-wrong {
    color: #b91c1c;
    border-color: #fb7185;
    background: #ffe4e6;
    box-shadow: 0 10px 26px rgba(244, 63, 94, .25);
    transform: translateY(2px) scale(.96);
}

@media (max-width: 767.98px) {
    .virtual-keyboard-wrap {
        padding: 12px;
        overflow-x: auto;
    }

    .virtual-keyboard {
        min-width: 690px;
    }

    .virtual-key {
        min-width: 44px;
        min-height: 44px;
    }
}

.admin-metric-info {
    --metric-color: #0891b2;
    --metric-soft: #e5f8fd;
}

.admin-metric-warning {
    --metric-color: #d97706;
    --metric-soft: #fff3d7;
}

.admin-metric-success {
    --metric-color: #059669;
    --metric-soft: #defcf0;
}

.admin-metric-danger {
    --metric-color: #e11d48;
    --metric-soft: #ffe4ea;
}

.admin-metric-purple {
    --metric-color: #9333ea;
    --metric-soft: #f4e8ff;
}

.admin-metric-dark {
    --metric-color: #334155;
    --metric-soft: #e9eef5;
}

.nt-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 68px;
    border-bottom: 0;
    border-radius: 8px 8px 0 0 !important;
    background: var(--bs-primary) !important;
    color: #fff;
}

.nt-card-header .card-title,
.nt-card-header small {
    color: #fff;
}

.nt-card-header small {
    opacity: .84;
    font-weight: 700;
}

.nt-card-header .btn {
    border-color: rgba(255,255,255,.42);
    background: #fff;
    color: #e11d48;
    font-weight: 800;
}

.nt-card-header > a,
.nt-card-header > button,
.nt-card-header > form,
.nt-card-header .header-action {
    margin-left: auto;
}

.nt-card-header form {
    flex-wrap: wrap;
}

.nt-card-header .form-select {
    min-width: 150px;
    border-color: rgba(255,255,255,.48);
    font-weight: 800;
}

.nt-card-header .typing-avatar {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.card-header[class*="bg-"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.card-header[class*="bg-"] small {
    color: rgba(255,255,255,.72) !important;
}

.card-header[class*="bg-"] .btn-primary,
.card-header[class*="bg-"] .btn-outline-primary {
    background: #fff;
    border-color: #fff;
    color: var(--bs-primary);
}

.card-header[class*="bg-"] .btn-primary:hover,
.card-header[class*="bg-"] .btn-outline-primary:hover {
    background: rgba(255,255,255,.88);
    border-color: rgba(255,255,255,.88);
    color: var(--bs-primary);
}

.typing-test-header {
    flex-wrap: wrap;
}

.typing-test-header .badge {
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1399.98px) {
    .admin-counter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .admin-counter-grid {
        grid-template-columns: 1fr;
    }

    .nt-card-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

.student-list {
    display: grid;
    gap: 12px;
}

.student-list-row {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(180px, .9fr) minmax(260px, 1fr) auto;
    align-items: center;
    gap: 16px;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
}

.student-person {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.student-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

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

.student-score-grid div {
    border: 1px solid #edf1f7;
    border-radius: 8px;
    padding: 9px 10px;
    background: #fbfcff;
}

.student-score-grid strong,
.student-score-grid small,
.student-mini-row strong,
.student-mini-row small {
    display: block;
}

.student-score-grid small,
.student-mini-row small {
    color: #697586;
}

.student-actions {
    display: flex;
    gap: 6px;
}

.student-avatar-lg {
    width: 58px;
    height: 58px;
    font-size: 22px;
}

.student-mini-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #edf1f7;
    padding: 10px 0;
}

.student-mini-row:last-child {
    border-bottom: 0;
}

@media (max-width: 1199.98px) {
    .student-list-row {
        grid-template-columns: 1fr;
    }
}

.source-text {
    border: 1px solid #e2e8f0;
    background: #fbfcfe;
    border-radius: 8px;
    padding: 18px;
    font-size: 21px;
    line-height: 1.75;
    color: #1f2937;
}

.typing-area {
    min-height: 230px;
    font-size: 20px;
    line-height: 1.7;
}

.typing-secure-body {
    min-height: 100vh;
    background: #edf2f7;
}

.typing-secure-shell {
    min-height: 100vh;
    padding: 24px 0;
}

.typing-secure-shell .container-fluid {
    max-width: 1680px;
}

.indic-text {
    font-family: "Noto Sans Devanagari", "Mangal", "Kohinoor Devanagari", "Devanagari Sangam MN", "Arial Unicode MS", sans-serif;
    letter-spacing: 0;
    font-kerning: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "akhn" 1, "blwf" 1, "half" 1, "nukt" 1, "pres" 1, "abvs" 1, "blws" 1, "psts" 1;
}

.input-mode-options .list-group-item {
    border-color: #ffe4e6;
}

.timer-box {
    min-width: 94px;
    text-align: center;
    border-radius: 8px;
    background: #edf4ff;
    color: #1d5fd0;
    padding: 12px 16px;
    font-size: 24px;
    font-weight: 800;
}

.result-box {
    border: 1px solid #cfe7d7;
    background: #f1fbf4;
    border-radius: 8px;
    padding: 18px;
}

.result-box strong {
    display: block;
    font-size: 26px;
    color: #176b3a;
}

.result-box span {
    color: #587064;
}

.plan-card ul {
    min-height: 118px;
}

@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}
.brand-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #1463ff, #138a36);
    font-weight: 800;
}

.typing-avatar {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    color: #1d5fd0;
    font-weight: 800;
}

.typing-avatar.sm {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.sidebar-link.active {
    background: rgba(20, 99, 255, .10);
    color: var(--bs-primary);
}

.sidebar-brand-panel {
    padding: 14px 12px 6px;
}

.sidebar-brand-panel .sidebar-link {
    min-height: 54px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
}

.sidebar-brand-panel .hide-menu {
    white-space: normal;
    line-height: 1.15;
}

.top-language-form .form-select {
    min-width: 170px;
    border-color: #e4e9f2;
    font-weight: 700;
}

.language-preference-modal {
    border: 1px solid #ffe4e6;
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(190, 18, 60, .2);
}

.empty-language-state {
    border: 1px dashed #d7deea;
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    background: #fbfcff;
}

.typing-test-accordion .accordion-item {
    border: 1px solid #e4e9f2;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.typing-test-accordion .accordion-button {
    font-weight: 800;
    color: #1f2937;
    background: #fbfcff;
}

.typing-test-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.typing-test-item + .typing-test-item {
    border-top: 1px solid #edf1f7;
}

.typing-test-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    padding: 16px 18px;
}

.typing-test-row:hover {
    background: #fff7f9;
}

.typing-test-item.is-sequence-locked .typing-test-row {
    background: #f8fafc;
}

.typing-test-item.is-sequence-locked .typing-test-main {
    opacity: .72;
}

.typing-test-toggle {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
}

.typing-start-btn {
    flex: 0 0 auto;
}

.typing-test-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.typing-test-main strong,
.typing-test-main small {
    display: block;
}

.typing-test-main small {
    color: #697586;
    margin-top: 4px;
}

.typing-test-status {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.typing-test-status.is-complete {
    background: #e8f8ef;
    color: #18864b;
}

.typing-test-status.is-pending {
    background: #fff1f2;
    color: #f43f5e;
}

.typing-test-status.is-locked {
    background: #eef2f7;
    color: #64748b;
}

.typing-test-progress {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    color: #465466;
    font-weight: 700;
}

.typing-test-progress span {
    border: 1px solid #e4e9f2;
    border-radius: 999px;
    padding: 5px 10px;
    background: #fff;
    white-space: nowrap;
}

.typing-test-sample {
    padding: 0 18px 18px 64px;
    background: #fff;
}

.typing-test-sample p {
    margin-bottom: 14px;
    color: #536176;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .typing-test-toggle {
        align-items: flex-start;
    }

    .typing-test-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .typing-test-sample {
        padding-left: 18px;
    }
}

.live-source span {
    border-radius: 4px;
    padding: 1px 2px;
}

.live-source .is-correct {
    background: #dff7e7;
    color: #176b3a;
}

.live-source .is-wrong {
    background: #ffe1e1;
    color: #b42318;
}

.live-source .is-current {
    background: #fff3cd;
    box-shadow: inset 0 -2px 0 #f4b740;
}

.typing-live-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.typing-live-stats div {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.typing-live-stats strong {
    display: block;
    font-size: 24px;
}

.typing-live-stats span {
    color: #697586;
}

.key-correct-flash {
    border-color: #35b86b;
    box-shadow: 0 0 0 .18rem rgba(53, 184, 107, .16);
}

.key-wrong-flash {
    border-color: #e05252;
    box-shadow: 0 0 0 .18rem rgba(224, 82, 82, .16);
}

@media (max-width: 575.98px) {
    .typing-live-stats {
        grid-template-columns: 1fr;
    }
}

/* Stable Pearl-style admin shell for Nirmanam Typing Master */
.typing-main-wrapper .left-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 270px;
    height: 100vh;
    z-index: 1050;
    transition: width .2s ease, transform .2s ease;
}

.typing-main-wrapper .page-wrapper {
    min-height: 100vh;
    margin-left: 270px;
    transition: margin-left .2s ease;
}

.typing-main-wrapper .topbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    min-height: 72px;
}

.typing-main-wrapper .body-wrapper {
    min-height: calc(100vh - 72px);
    padding-top: 23px;
}

body.sidebar-collapsed .typing-main-wrapper .left-sidebar {
    width: 78px;
}

body.sidebar-collapsed .typing-main-wrapper .page-wrapper {
    margin-left: 78px;
}

body.sidebar-collapsed .typing-main-wrapper .hide-menu,
body.sidebar-collapsed .typing-main-wrapper .nav-small-cap {
    display: none !important;
}

.dark-transparent {
    display: none;
}

.permission-toggle-row {
    align-items: center;
    border: 1px solid #e5eaef;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-height: 72px;
    padding: 14px 16px;
    width: 100%;
}

.permission-toggle-row strong {
    color: #2a3447;
}

@media (max-width: 991.98px) {
    .typing-main-wrapper .left-sidebar {
        transform: translateX(-100%);
        width: 270px;
    }

    .typing-main-wrapper.show-sidebar .left-sidebar {
        transform: translateX(0);
    }

    .typing-main-wrapper .page-wrapper,
    body.sidebar-collapsed .typing-main-wrapper .page-wrapper {
        margin-left: 0;
    }

    body.sidebar-collapsed .typing-main-wrapper .hide-menu,
    body.sidebar-collapsed .typing-main-wrapper .nav-small-cap {
        display: inline-block !important;
    }
}

/* Auth pages */
.auth-split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 46vw) 1fr;
    background: #f5f7fb;
}

.auth-panel {
    position: relative;
    overflow: hidden;
    padding: 42px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(20, 99, 255, .94), rgba(18, 138, 54, .88)),
        url('/assets/images/big/img2.jpg') center/cover;
}

.auth-panel::after {
    content: "";
    position: absolute;
    inset: auto -80px -120px auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}

.register-panel {
    background:
        linear-gradient(135deg, rgba(19, 138, 54, .94), rgba(20, 99, 255, .82)),
        url('/assets/images/big/img3.jpg') center/cover;
}

.auth-logo {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.auth-copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin-top: 20vh;
}

.auth-copy h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: .98;
    letter-spacing: 0;
    margin-bottom: 20px;
}

.auth-copy p {
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
}

.auth-form-shell {
    display: grid;
    place-items: center;
    padding: 34px 18px;
}

.auth-card-modern {
    width: min(100%, 480px);
    border: 1px solid #e5eaf2;
    box-shadow: 0 24px 70px rgba(31, 42, 68, .12);
}

.auth-card-modern h2 {
    font-weight: 800;
    color: #172033;
}

.auth-card-modern label {
    font-weight: 700;
    color: #344054;
    margin-bottom: 6px;
}

.auth-card-modern .form-control {
    min-height: 48px;
    border-radius: 8px;
}

.auth-otp-wrap {
    background:
        linear-gradient(135deg, rgba(245, 247, 251, .96), rgba(237, 244, 255, .96)),
        url('/assets/images/big/img1.jpg') center/cover;
}

.otp-card {
    text-align: center;
}

.otp-input {
    text-align: center;
    font-size: 30px;
    letter-spacing: 8px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .auth-split {
        grid-template-columns: 1fr;
    }

    .auth-panel {
        min-height: 320px;
    }

    .auth-copy {
        margin-top: 70px;
    }
}

/* Red gradient auth theme */
.auth-red-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(380px, 45vw) 1fr;
    background: #fff5f6;
}

.auth-red-hero {
    position: relative;
    overflow: hidden;
    padding: 42px;
    color: #fff;
    background:
        linear-gradient(135deg, #101827 0%, #151c30 48%, #1e1025 100%);
    box-shadow: 0 28px 76px rgba(16, 24, 39, .22);
}

.register-red-hero {
    background:
        linear-gradient(135deg, #101827 0%, #151c30 48%, #1e1025 100%);
}

.auth-red-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(244, 63, 94, .22), transparent 32%),
        radial-gradient(circle at 82% 20%, rgba(14, 165, 233, .16), transparent 34%);
    pointer-events: none;
}

.auth-red-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 54px solid rgba(255,255,255,.12);
}

.auth-red-brand {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.auth-red-copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin-top: 20vh;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.red-text {
    background: #fff1f2;
    color: #be123c;
}

.auth-red-copy h1 {
    margin: 18px 0;
    font-size: clamp(42px, 5vw, 68px);
    line-height: .98;
    letter-spacing: 0;
}

.auth-red-copy p {
    max-width: 520px;
    color: rgba(255,255,255,.88);
    font-size: 18px;
}

.auth-red-form-wrap,
.auth-red-center {
    display: grid;
    place-items: center;
    padding: 34px 18px;
}

.auth-red-center {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(255,245,246,.95), rgba(255,228,230,.95)),
        url('/assets/images/big/img1.jpg') center/cover;
}

.auth-red-card {
    width: min(100%, 480px);
    background: #fff;
    border: 1px solid #ffe4e6;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 26px 80px rgba(190, 18, 60, .16);
}

.auth-red-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 26px;
    background: linear-gradient(135deg, #be123c, #f43f5e);
    color: #fff;
}

.auth-red-card-header h2 {
    color: #fff;
    margin-bottom: 3px;
}

.auth-red-card-header small {
    color: rgba(255,255,255,.78);
    font-weight: 800;
}

.auth-red-card-header a {
    margin-left: auto;
    color: #fff;
    font-weight: 900;
    white-space: nowrap;
}

.auth-red-card-body {
    padding: 28px 32px 32px;
}

.auth-red-card h2 {
    color: #171923;
    font-weight: 900;
    margin-bottom: 8px;
}

.auth-red-card-header h2 {
    color: #fff;
}

.auth-red-card label {
    color: #344054;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-red-card .form-control {
    min-height: 50px;
    border-radius: 8px;
    border-color: #f2d7dc;
}

.auth-red-card .form-control:focus {
    border-color: #e11d48;
    box-shadow: 0 0 0 .18rem rgba(225, 29, 72, .14);
}

.auth-red-card a {
    color: #be123c;
    font-weight: 700;
}

.auth-red-card-header a {
    color: #fff;
}

.auth-red-card .btn-danger {
    background: linear-gradient(135deg, #be123c, #f43f5e);
    border: 0;
    box-shadow: 0 14px 28px rgba(225, 29, 72, .24);
}

@media (max-width: 900px) {
    .auth-red-shell {
        grid-template-columns: 1fr;
    }

    .auth-red-hero {
        min-height: 320px;
    }

    .auth-red-copy {
        margin-top: 70px;
    }

    .auth-red-card-header {
        flex-direction: column;
    }

    .auth-red-card-header a {
        margin-left: 0;
    }
}

.landing-page {
    min-height: 100vh;
    background: #fff7f8;
    color: #172033;
}

.landing-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto minmax(210px, 1fr);
    align-items: center;
    gap: 18px;
    width: 100%;
    margin: 0 auto;
    padding: 16px max(18px, calc((100vw - 1220px) / 2));
    background: rgba(255, 247, 248, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #ffd9e1;
}

.landing-brand,
.landing-links,
.landing-actions,
.hero-actions {
    display: flex;
    align-items: center;
}

.landing-brand {
    gap: 12px;
    color: #171923;
    font-size: 19px;
    font-weight: 900;
}

.landing-brand:hover,
.landing-links a:hover,
.contact-panel a:hover {
    color: #e11d48;
}

.landing-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
}

.landing-links {
    justify-content: center;
    gap: 28px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.landing-links a {
    position: relative;
    color: #536173;
    font-weight: 800;
    min-height: auto;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    border-radius: 0;
}

.landing-links a.active {
    color: #e11d48;
    background: transparent;
    box-shadow: none;
}

.landing-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: #e11d48;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.landing-links a:hover::after,
.landing-links a.active::after {
    transform: scaleX(1);
}

.landing-actions {
    justify-content: flex-end;
    gap: 10px;
}

.landing-actions .btn {
    min-width: 92px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.landing-hero-new {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 6vw, 86px) max(18px, calc((100vw - 1220px) / 2));
    background:
        radial-gradient(circle at 86% 16%, rgba(23, 167, 224, .18), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f5fbff 48%, #eaf6ff 100%);
    border-bottom: 1px solid #dcecff;
}

.landing-hero-new-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
    max-width: 1220px;
    margin: 0 auto;
}

.landing-hero-new-copy {
    max-width: 590px;
}

.landing-mini-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #0f2761;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.landing-mini-brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
}

.landing-hero-new h1 {
    max-width: 570px;
    margin: 16px 0;
    color: #15306d;
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 950;
    line-height: .98;
    letter-spacing: 0;
    text-transform: uppercase;
}

.landing-hero-new p {
    max-width: 560px;
    color: #536173;
    font-size: 18px;
    line-height: 1.65;
}

.hero-metric-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.hero-metric-strip span {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-width: 92px;
    min-height: 58px;
    padding: 9px 14px;
    border: 1px solid #d8e9ff;
    border-radius: 12px;
    background: #fff;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(25, 61, 113, .08);
}

.hero-metric-strip strong {
    color: #1647a3;
    font-size: 18px;
    line-height: 1.1;
}

.landing-hero-new .btn-success {
    background: #0fad4b;
    border-color: #0fad4b;
    box-shadow: 0 16px 30px rgba(15, 173, 75, .24);
}

.landing-hero-new-art {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.landing-hero-new-art::before {
    content: "";
    position: absolute;
    inset: 11% 2% 2% 8%;
    border-radius: 34px;
    background: #15223f;
    transform: rotate(-4deg);
    box-shadow: 0 26px 60px rgba(17, 31, 58, .22);
}

.landing-hero-new-art img {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    border-radius: 30px;
    transform: rotate(-3deg);
    filter: drop-shadow(0 22px 38px rgba(34, 55, 91, .18));
}

.landing-hero-v2 {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 76px);
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    background: #f8d9df;
    border-top: 1px solid #ffd5dd;
    border-bottom: 1px solid #ffd5dd;
}

.landing-hero-old {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(28px, 5vw, 70px);
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 48%, rgba(225, 29, 72, .11), transparent 32%),
        #fff;
}

.landing-hero-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(255,247,248,.99) 0%, rgba(255,247,248,.94) 42%, rgba(255,247,248,.55) 68%, rgba(255,247,248,.16) 100%),
        url('/assets/images/big/img2.jpg') center/cover;
}

.hero-mascot {
    position: absolute;
    right: max(28px, calc((100vw - 1220px) / 2 - 34px));
    top: 50%;
    z-index: -1;
    width: min(42vw, 540px);
    min-width: 360px;
    opacity: .96;
    transform: translateY(-43%);
    filter: drop-shadow(0 28px 54px rgba(31, 42, 68, .22));
    pointer-events: none;
}

.landing-hero-old-copy h2 {
    max-width: 680px;
    margin: 18px 0;
    color: #111827;
    font-size: clamp(32px, 4.2vw, 56px);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: 0;
}

.landing-hero-old-copy p {
    max-width: 650px;
    color: #5c6878;
    font-size: 18px;
    line-height: 1.65;
}

.landing-hero-old-art {
    display: flex;
    justify-content: flex-start;
}

.landing-hero-old-art img {
    width: min(100%, 430px);
    filter: drop-shadow(0 24px 45px rgba(31, 42, 68, .16));
}

.hero-content {
    max-width: 1220px;
    width: min(100% - 32px, 1220px);
    margin: 0 auto;
    padding: clamp(34px, 5vw, 64px) 0;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e7f8ff;
    color: #0477a8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-content h1,
.section-heading h2,
.contact-section h2 {
    color: #111827;
    font-weight: 950;
    letter-spacing: 0;
}

.hero-content h1 {
    max-width: 690px;
    margin: 18px 0;
    font-size: clamp(42px, 5.6vw, 70px);
    line-height: 1.02;
}

.hero-content p,
.section-heading,
.landing-feature p,
.pricing-card p,
.contact-section p {
    color: #5c6878;
}

.hero-content p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.65;
}

.hero-actions {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-actions .btn {
    min-width: 150px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.hero-proof-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 670px;
    margin-top: 22px;
}

.hero-proof-grid span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid #ffd4de;
    border-radius: 10px;
    background: rgba(255,255,255,.7);
    color: #5c6878;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(225, 29, 72, .07);
}

.hero-proof-grid strong {
    margin-right: 6px;
    color: #e11d48;
}

.landing-stats,
.landing-section {
    width: min(100% - 32px, 1220px);
    margin: 24px auto 0;
}

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

.landing-stats div,
.landing-feature,
.pricing-card,
.contact-section {
    background: #fff;
    border: 1px solid #f0dfe4;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(38, 45, 63, .07);
}

.landing-stats div {
    padding: 22px;
}

.landing-stats strong {
    display: block;
    color: #e11d48;
    font-size: 34px;
    line-height: 1;
}

.landing-stats span {
    display: block;
    margin-top: 7px;
    color: #667085;
    font-weight: 800;
}

.institute-sales-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    overflow: hidden;
    padding: clamp(70px, 7.5vw, 104px);
    border-radius: 8px;
    background:
        linear-gradient(135deg, #101827 0%, #151c30 48%, #1e1025 100%);
    border-color: rgba(255,255,255,.1);
    box-shadow: 0 28px 76px rgba(16, 24, 39, .22);
}

.institute-sales-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(244, 63, 94, .22), transparent 32%),
        radial-gradient(circle at 82% 20%, rgba(14, 165, 233, .16), transparent 34%);
    pointer-events: none;
}

.institute-sales-copy,
.institute-sales-panel {
    position: relative;
}

.institute-sales-copy h2 {
    max-width: 660px;
    margin: 18px 0;
    color: #fff;
    font-size: clamp(32px, 4.5vw, 58px);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: 0;
}

.institute-sales-copy p {
    max-width: 660px;
    color: rgba(255,255,255,.78);
    font-size: 18px;
    line-height: 1.7;
}

.institute-sales-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.institute-sales-actions .btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.institute-sales-actions .btn-outline-dark {
    color: #fff;
    border-color: rgba(255,255,255,.42);
}

.institute-sales-actions .btn-outline-dark:hover {
    color: #111827;
    background: #fff;
    border-color: #fff;
}

.institute-sales-panel {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.institute-domain-bar,
.institute-brand-card {
    border-radius: 8px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.institute-domain-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    color: #243149;
}

.institute-domain-bar span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #0fad4b;
    box-shadow: 18px 0 #f59e0b, 36px 0 #ef4444;
}

.institute-domain-bar strong {
    margin-left: 42px;
    font-size: 14px;
}

.institute-brand-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
}

.institute-brand-card img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
}

.institute-brand-card strong,
.institute-brand-card small {
    display: block;
}

.institute-brand-card strong {
    color: #172033;
    font-size: 18px;
}

.institute-brand-card small {
    margin-top: 4px;
    color: #64748b;
    font-weight: 800;
}

.institute-sales-panel ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.institute-sales-panel li {
    position: relative;
    padding: 12px 14px 12px 38px;
    border-radius: 8px;
    background: rgba(255,255,255,.09);
    color: rgba(255,255,255,.88);
    font-weight: 800;
}

.institute-sales-panel li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    transform: translateY(-50%);
}

.landing-section {
    padding: 56px 0 0;
}

.section-heading {
    max-width: 730px;
    margin-bottom: 22px;
}

.section-heading h2,
.contact-section h2 {
    margin: 12px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.landing-feature-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.landing-feature,
.pricing-card {
    padding: 26px;
}

.landing-feature span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #fff0f3;
    color: #e11d48;
    font-weight: 900;
}

.landing-feature h3,
.pricing-card h3 {
    color: #111827;
    font-weight: 900;
}

.pricing-section {
    padding-top: 66px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 430px;
}

.pricing-card.is-featured {
    border-color: #f43f5e;
    box-shadow: 0 24px 64px rgba(225, 29, 72, .16);
}

.popular-pill {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.plan-price {
    margin: 16px 0 8px;
    color: #111827;
    font-size: 42px;
    font-weight: 950;
    line-height: 1;
}

.plan-price small {
    color: #7a8492;
    font-size: 16px;
    font-weight: 800;
}

.pricing-card ul {
    display: grid;
    gap: 11px;
    margin: 20px 0 24px;
    padding: 0;
    list-style: none;
}

.pricing-card li {
    position: relative;
    padding-left: 24px;
    color: #475467;
    font-weight: 700;
}

.pricing-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #14b8a6;
}

.pricing-card .btn {
    margin-top: auto;
}

.contact-section {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    align-items: center;
    gap: 46px;
    margin-bottom: 46px;
    padding: clamp(34px, 5vw, 54px);
    background:
        linear-gradient(135deg, #101827 0%, #151c30 48%, #1e1025 100%);
    border-color: rgba(255,255,255,.1);
    box-shadow: 0 28px 76px rgba(16, 24, 39, .22);
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(244, 63, 94, .22), transparent 32%),
        radial-gradient(circle at 82% 20%, rgba(14, 165, 233, .16), transparent 34%);
    pointer-events: none;
}

.contact-copy,
.contact-panel {
    position: relative;
    z-index: 1;
}

.contact-copy .landing-kicker {
    background: rgba(231, 248, 255, .96);
    color: #0477a8;
}

.contact-section .contact-copy h2 {
    color: #f8fafc;
    text-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.contact-section .contact-copy p {
    max-width: 650px;
    margin-top: 14px;
    color: #d8dee9;
    font-size: 18px;
    line-height: 1.65;
}

.contact-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 650px;
    margin-top: 22px;
}

.contact-mini-grid span {
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    color: #f8fafc;
    font-weight: 800;
}

.contact-mini-grid strong {
    color: #94dfff;
    font-size: 12px;
    text-transform: uppercase;
}

.contact-panel {
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    box-shadow: 0 22px 54px rgba(0,0,0,.22);
    backdrop-filter: blur(12px);
}

.contact-query-form {
    width: 100%;
}

.contact-query-form label {
    display: block;
    margin-bottom: 6px;
    color: #eef2ff;
    font-size: 13px;
    font-weight: 900;
}

.contact-query-form .form-control {
    min-height: 46px;
    color: #fff;
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.24);
    font-weight: 700;
}

.contact-query-form .form-control::placeholder {
    color: rgba(255,255,255,.58);
}

.contact-query-form .form-control:focus {
    color: #fff;
    background: rgba(255,255,255,.14);
    border-color: #f43f5e;
    box-shadow: 0 0 0 .2rem rgba(244, 63, 94, .18);
}

.contact-query-form .btn-primary {
    min-height: 48px;
    color: #fff;
    font-weight: 900;
}

.contact-query-form .btn-primary:hover,
.contact-query-form .btn-primary:focus {
    color: #fff;
    background: #f43f5e;
    border-color: #f43f5e;
}

.contact-captcha-wrap {
    display: flex;
    width: 100%;
    min-height: 78px;
    align-items: center;
    overflow-x: auto;
}

.contact-captcha-wrap .g-recaptcha {
    transform-origin: left top;
}

.landing-contact-success,
.contact-error {
    display: block;
    margin-top: 16px;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 800;
}

.landing-contact-success {
    max-width: 650px;
    color: #d1fae5;
    background: rgba(16, 185, 129, .16);
    border: 1px solid rgba(16, 185, 129, .28);
}

.contact-error {
    color: #fecdd3;
    background: rgba(225, 29, 72, .16);
    border: 1px solid rgba(244, 63, 94, .28);
}

.contact-panel a:not(.btn) {
    display: grid;
    gap: 4px;
    padding: 13px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: #fff;
}

.contact-panel small {
    color: rgba(255,255,255,.62);
    font-weight: 800;
}

.contact-panel strong {
    font-size: 17px;
}

.admin-query-count .card-body {
    padding: 22px;
}

.admin-query-count small {
    color: #697586;
    font-weight: 800;
}

.admin-query-count h3 {
    margin: 6px 0 0;
    color: #e11d48;
    font-weight: 900;
}

.admin-query-form {
    display: grid;
    gap: 8px;
}

.practice-hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: clamp(24px, 4vw, 54px);
    align-items: center;
}

.practice-hero h2 {
    max-width: 660px;
    margin-bottom: 14px;
    color: #172033;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 950;
    line-height: 1.06;
}

.practice-hero p {
    color: #5f6b7a;
    font-size: 17px;
    line-height: 1.7;
}

.practice-step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.practice-step-grid div,
.finger-guide-row,
.practice-routine div,
.language-key-card {
    border: 1px solid #e8edf5;
    border-radius: 8px;
    background: #fff;
}

.practice-step-grid div {
    display: flex;
    gap: 12px;
    padding: 14px;
}

.practice-step-grid strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 8px;
    background: #fff0f3;
    color: #e11d48;
}

.practice-step-grid span,
.practice-routine span {
    color: #667085;
    font-weight: 700;
}

.practice-keyboard-shot {
    padding: 24px;
    border: 1px solid #dce8fb;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fbff, #eef6ff);
    box-shadow: 0 22px 52px rgba(31, 42, 68, .1);
}

.practice-hands {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #344054;
    font-weight: 900;
}

.practice-hands span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(31, 42, 68, .08);
}

.practice-keyboard {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 8px;
    background: #172033;
}

.practice-keyboard-row {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.practice-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(30px, 4vw, 46px);
    height: clamp(30px, 4vw, 44px);
    border-radius: 8px;
    color: #fff;
    font-weight: 950;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.14);
}

.practice-space {
    width: min(60%, 280px);
}

.key-primary { background: #2563eb; }
.key-success { background: #16a34a; }
.key-info { background: #0891b2; }
.key-warning { background: #d97706; }
.key-danger { background: #e11d48; }
.key-muted { background: #64748b; }

.practice-finger-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.practice-finger-dots span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff;
    color: #172033;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(31, 42, 68, .08);
}

.finger-guide-list,
.practice-routine {
    display: grid;
    gap: 10px;
}

.finger-guide-row {
    display: grid;
    grid-template-columns: auto minmax(110px, .7fr) 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
}

.finger-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

.finger-guide-row small {
    color: #667085;
    font-weight: 800;
}

.practice-routine div {
    padding: 14px;
}

.practice-routine strong,
.practice-routine span {
    display: block;
}

.practice-routine strong {
    margin-bottom: 4px;
    color: #172033;
}

.practice-language-tabs {
    gap: 8px;
}

.practice-language-tabs .nav-link {
    border: 1px solid #e7edf5;
    color: #536173;
    font-weight: 800;
}

.practice-language-tabs .nav-link.active {
    background: #e11d48;
    border-color: #e11d48;
}

.language-map-heading {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.language-map-heading h5 {
    margin-bottom: 4px;
    color: #172033;
    font-weight: 950;
}

.language-key-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
}

.language-key-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
}

.language-key-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 950;
}

.language-key-card strong {
    color: #111827;
    font-size: 24px;
    line-height: 1;
}

.practice-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    gap: 24px;
    align-items: start;
}

.practice-detail-grid h2 {
    max-width: 760px;
    color: #172033;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 950;
    line-height: 1.12;
}

.practice-mini-map,
.practice-runner {
    border: 1px solid #e8edf5;
    border-radius: 8px;
    background: #fff;
}

.practice-mini-map {
    padding: 18px;
}

.practice-mini-map h6 {
    margin-bottom: 14px;
    color: #172033;
    font-weight: 950;
}

.practice-lesson-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.practice-lesson-steps div {
    padding: 14px;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.practice-lesson-steps iconify-icon {
    display: inline-flex;
    margin-bottom: 10px;
    color: #e11d48;
    font-size: 26px;
}

.practice-lesson-steps strong,
.practice-lesson-steps span {
    display: block;
}

.practice-lesson-steps strong {
    color: #172033;
    font-weight: 950;
}

.practice-lesson-steps span {
    margin-top: 4px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.practice-runner {
    padding: 18px;
}

.practice-print-sample {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 8px;
    background: #fff7f9;
}

.practice-print-sample h5 {
    margin: 8px 0 0;
    color: #172033;
    font-weight: 950;
}

.practice-runner-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.practice-runner-stats span {
    display: block;
    padding: 14px;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    background: #f8fafc;
}

.practice-runner-stats strong,
.practice-runner-stats small {
    display: block;
}

.practice-runner-stats strong {
    color: #172033;
    font-size: 28px;
    font-weight: 950;
    line-height: 1;
}

.practice-runner-stats small {
    margin-top: 6px;
    color: #667085;
    font-weight: 800;
}

.landing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    width: min(100% - 32px, 1220px);
    margin: 0 auto;
    padding: 22px 0 28px;
    color: #6b7280;
}

.landing-footer strong,
.landing-footer span {
    display: block;
}

.landing-footer strong {
    color: #111827;
    font-size: 16px;
    font-weight: 900;
}

.landing-footer span {
    margin-top: 4px;
    font-weight: 700;
}

.landing-footer-links {
    display: flex;
    gap: 18px;
}

.landing-footer-links a {
    color: #5c6878;
    font-weight: 800;
}

.landing-footer-links a:hover {
    color: #e11d48;
}

.sample-certificate-form .form-label {
    color: #344054;
    font-size: 12px;
    font-weight: 900;
}

.sample-certificate-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .hero-mascot {
        right: 18px;
        width: 430px;
        opacity: .82;
    }
}

@media (max-width: 991.98px) {
    .landing-topbar {
        grid-template-columns: 1fr;
        padding: 14px 18px;
    }

    .landing-links,
    .landing-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .landing-hero-new {
        padding: 38px 18px 48px;
    }

    .landing-hero-new-inner {
        grid-template-columns: 1fr;
    }

    .landing-hero-new-copy {
        max-width: 760px;
    }

    .landing-hero-new-art {
        justify-content: flex-start;
    }

    .landing-hero-new-art img {
        width: min(100%, 560px);
    }

    .landing-hero-v2 {
        min-height: 620px;
        align-items: flex-start;
    }

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

    .landing-hero-old-art {
        justify-content: flex-start;
    }

    .landing-hero-old-art img {
        width: min(100%, 340px);
    }

    .hero-mascot {
        top: auto;
        right: -125px;
        bottom: -54px;
        width: 500px;
        opacity: .34;
        transform: none;
    }

    .landing-stats,
    .landing-feature-grid,
    .pricing-grid,
    .institute-sales-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .contact-mini-grid {
        grid-template-columns: 1fr;
    }

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

    .practice-detail-grid {
        grid-template-columns: 1fr;
    }

    .practice-lesson-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .landing-topbar,
    .landing-stats,
    .landing-section {
        width: min(100% - 20px, 1220px);
    }

    .landing-topbar {
        width: 100%;
    }

    .landing-brand span {
        font-size: 16px;
    }

    .landing-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .landing-links a {
        text-align: center;
        padding: 8px 6px;
    }

    .landing-actions .btn,
    .hero-actions .btn {
        flex: 1 1 140px;
    }

    .landing-hero-new {
        padding: 30px 10px 40px;
    }

    .landing-hero-new h1 {
        font-size: clamp(34px, 12vw, 48px);
    }

    .landing-hero-new p {
        font-size: 16px;
    }

    .hero-metric-strip span {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    .landing-hero-new-art::before {
        inset: 12% 0 3% 7%;
    }

    .hero-content {
        width: min(100% - 20px, 1220px);
        padding: 28px 0 190px;
    }

    .hero-mascot {
        right: -155px;
        bottom: -54px;
        width: 430px;
        min-width: 0;
        opacity: .24;
    }

    .hero-content h1 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .landing-hero-old-copy h2 {
        font-size: clamp(30px, 10vw, 44px);
    }

    .hero-proof-grid span {
        width: 100%;
    }

    .contact-captcha-wrap .g-recaptcha {
        transform: scale(.88);
    }

    .landing-stats strong {
        font-size: 28px;
    }

    .contact-section {
        padding: 24px;
    }

    .institute-sales-section {
        padding: 34px 24px;
    }

    .institute-domain-bar strong {
        margin-left: 34px;
    }

    .landing-footer {
        width: min(100% - 20px, 1220px);
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-footer-links {
        flex-wrap: wrap;
    }

    .practice-step-grid {
        grid-template-columns: 1fr;
    }

    .practice-keyboard-shot {
        padding: 14px;
    }

    .practice-keyboard {
        gap: 7px;
        padding: 12px;
        overflow-x: auto;
    }

    .practice-keyboard-row {
        min-width: 420px;
    }

    .practice-runner-stats {
        grid-template-columns: 1fr;
    }

    .finger-guide-row {
        grid-template-columns: auto 1fr;
    }

    .finger-guide-row small {
        grid-column: 2;
    }
}
