/* ==========================================================
   PAGES.CSS — Consolidated page-level styles
   ========================================================== */

/* 1. LAYOUT — Header & Footer
   -------------------------------------------------------- */

/* ── Header ─────────────────────────────────────────────── */
.tm-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1050;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229,231,235,0.5);
}
.tm-nav-link {
    color: #374151 !important;
    font-weight: 500;
    font-size: .95rem;
    transition: color .2s;
    padding: .4rem 0 !important;
    text-decoration: none;
    white-space: nowrap;
}
.tm-nav-link:hover { color: #ca8a04 !important; }

.tm-btn-login {
    color: #374151;
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}
.tm-btn-login:hover { color: #ca8a04; }

.tm-btn-register {
    background: linear-gradient(to right, #facc15, #f97316);
    color: #fff !important;
    padding: .55rem 1.4rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(249,115,22,.3);
    transition: box-shadow .2s, transform .2s;
    display: inline-block;
}
.tm-btn-register:hover {
    box-shadow: 0 8px 20px rgba(249,115,22,.4);
    transform: scale(1.05);
    color: #fff !important;
}

.tm-btn-logout {
    background: linear-gradient(to right, #facc15, #f97316);
    color: #fff !important;
    border: none;
    padding: .5rem 1.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(249,115,22,.25);
    transition: box-shadow .2s, transform .2s;
    line-height: 1;
}
.tm-btn-logout:hover {
    box-shadow: 0 8px 18px rgba(249,115,22,.4);
    transform: scale(1.05);
}

.tm-profile-link {
    color: #374151 !important;
    font-weight: 500;
    font-size: .9rem;
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}
.tm-profile-link:hover { color: #ca8a04 !important; }

.tm-toggler {
    border: none !important;
    background: none;
    padding: .4rem;
    border-radius: .5rem;
    transition: background .2s;
    display: flex;
    align-items: center;
}
.tm-toggler:hover { background: #f3f4f6; }
.tm-toggler:focus { box-shadow: none !important; outline: none; }

/* Mobile navbar: keep collapsed menu structured and centered */
@media (max-width: 991.98px) {
    .tm-header .navbar {
        padding: .6rem 0 !important;
    }

    .tm-header #tmNav {
        width: 100%;
        margin-top: .65rem;
        padding: .8rem .95rem;
        border: 1px solid rgba(229, 231, 235, 0.9);
        border-radius: .9rem;
        background: rgba(255,255,255,.98);
        box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    }

    .tm-header #tmNavLinks {
        position: static !important;
        left: auto !important;
        transform: none !important;
        width: 100%;
        margin: 0;
        gap: .25rem !important;
    }

    .tm-header #tmNav .navbar-nav {
        align-items: center !important;
        text-align: center;
    }

    .tm-header #tmNav .nav-item {
        width: 100%;
    }

    .tm-header #tmNav .tm-nav-link,
    .tm-header #tmNav .tm-profile-link,
    .tm-header #tmNav .tm-btn-login,
    .tm-header #tmNav .tm-btn-register,
    .tm-header #tmNav .tm-btn-logout {
        display: block;
        width: 100%;
        text-align: center;
    }

    .tm-header #tmNav .tm-btn-register,
    .tm-header #tmNav .tm-btn-logout {
        margin-top: .35rem;
    }

    .tm-header #tmNav > .navbar-nav:last-child {
        margin-top: .75rem;
        padding-top: .75rem;
        border-top: 1px solid rgba(229, 231, 235, 0.9);
    }
}

/* ── Footer ─────────────────────────────────────────────── */
.tm-footer {
    position: relative;
    background: #000;
    color: #fff;
    overflow: hidden;
}
.tm-footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.tm-footer-link {
    color: #9ca3af;
    text-decoration: none;
    display: inline-block;
    transition: color .2s, transform .2s;
    line-height: 1.8;
}
.tm-footer-link:hover { color: #facc15; transform: translateX(5px); }

.tm-footer-social {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: background .3s, transform .25s;
    flex-shrink: 0;
}
.tm-footer-social:hover {
    background: linear-gradient(135deg, #facc15, #f97316);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.tm-footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}
@keyframes tmFooterDrift1 {
    0%,100% { transform: translate(0,0); }
    50%      { transform: translate(68px,-85px); }
}
@keyframes tmFooterDrift2 {
    0%,100% { transform: translateX(-50%); }
    50%      { transform: translateX(calc(-50% - 54px)) translateY(-70px); }
}
@keyframes tmFooterDrift3 {
    0%,100% { transform: translate(0,0); }
    50%      { transform: translate(-70px,-90px); }
}

/* 2. IDENTITY PAGES
   -------------------------------------------------------- */

/* 2a. Login (.login-*)
   ......................................................... */

/* ── Page shell ─────────────────────────────────────────── */
.login-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 1rem 5rem;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 50%, #f1f5f9 100%);
}

.login-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left,  rgba(255,115,0,.14) 0%, transparent 28%),
        radial-gradient(circle at top right, rgba(251,191,36,.11) 0%, transparent 30%),
        radial-gradient(circle at bottom left,  rgba(255,115,0,.16) 0%, transparent 32%),
        radial-gradient(circle at bottom right, rgba(148,163,184,.16) 0%, transparent 36%);
    pointer-events: none;
}

.login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}
.login-orb--tl {
    top: 7rem; left: -5rem;
    width: 10rem; height: 10rem;
    background: rgba(253,186,116,.28);
}
.login-orb--br {
    bottom: 4rem; right: -4rem;
    width: 14rem; height: 14rem;
    background: rgba(203,213,225,.22);
}

/* ── Card ────────────────────────────────────────────────── */
.login-card-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.login-card {
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 2rem;
    padding: 2rem 2rem 2.25rem;
    box-shadow: 0 25px 50px rgba(255,115,0,.08), 0 8px 24px rgba(0,0,0,.06);
    backdrop-filter: blur(8px);
}

/* ── Header ─────────────────────────────────────────────── */
.login-card__header {
    margin-bottom: 2rem;
}
.login-card__header h1 {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -.03em;
    color: #0f172a;
    margin: 0;
    line-height: 1.15;
}

/* ── Error summary ───────────────────────────────────────── */
.login-alert--error {
    margin-bottom: 1.25rem;
    padding: .875rem 1rem;
    border-radius: 1rem;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    font-size: .875rem;
    line-height: 1.5;
}
.login-alert--error:empty { display: none; }

/* ── Field ───────────────────────────────────────────────── */
.login-field {
    margin-bottom: 1.25rem;
}

.login-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: .5rem;
}

.login-input {
    width: 100%;
    padding: .75rem 1rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    font-size: .95rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.login-input:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 4px rgba(251,146,60,.18);
}
.login-input::placeholder { color: #94a3b8; }

.login-error {
    display: block;
    margin-top: .375rem;
    font-size: .8125rem;
    color: #dc2626;
}
.login-error:empty { display: none; }

/* ── Remember me / forgot row ────────────────────────────── */
.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .875rem;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.login-checkbox {
    width: 1rem;
    height: 1rem;
    border-radius: .25rem;
    border: 1px solid #cbd5e1;
    accent-color: #f97316;
    cursor: pointer;
    flex-shrink: 0;
}

.login-forgot {
    font-size: .875rem;
    font-weight: 500;
    color: #ea580c;
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}
.login-forgot:hover { color: #c2410c; }

/* ── Submit button ───────────────────────────────────────── */
.login-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.5rem;
    border: none;
    border-radius: 9999px;
    background: linear-gradient(to right, #facc15, #f97316);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(249,115,22,.3);
    transition: box-shadow .2s, transform .15s;
    margin-bottom: .25rem;
}
.login-submit:hover {
    box-shadow: 0 12px 28px rgba(249,115,22,.45);
    transform: scale(1.01);
}
.login-submit:active { transform: scale(.99); }

/* ── Footer links ────────────────────────────────────────── */
.login-register-link,
.login-resend-link {
    margin-top: 1rem;
    text-align: center;
    font-size: .875rem;
    color: #64748b;
}
.login-resend-link { margin-top: .5rem; }

.login-register-link a,
.login-resend-link a {
    font-weight: 600;
    color: #ea580c;
    text-decoration: none;
    transition: color .2s;
}
.login-register-link a:hover,
.login-resend-link a:hover { color: #c2410c; }

/* ── External login divider ──────────────────────────────── */
.login-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.5rem 0 1rem;
    font-size: .8125rem;
    color: #94a3b8;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.login-external-form {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.login-external-btn {
    flex: 1 1 auto;
    padding: .65rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: #fff;
    color: #374151;
    font-weight: 500;
    font-size: .9rem;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.login-external-btn:hover {
    border-color: #fb923c;
    box-shadow: 0 0 0 3px rgba(251,146,60,.15);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .login-page { padding-top: 88px; }
    .login-card  { padding: 1.5rem 1.25rem 2rem; border-radius: 1.5rem; }
    .login-card__header h1 { font-size: 1.5rem; }
}

/* 2b. Register (.reg-*)
   ......................................................... */

/* ── Page shell ─────────────────────────────────────────── */
.reg-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* push content below the fixed header (~72 px) */
    padding: 100px 1rem 5rem;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 50%, #f1f5f9 100%);
}

/* Radial gradient overlay */
.reg-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left,  rgba(255,115,0,.14) 0%, transparent 28%),
        radial-gradient(circle at top right, rgba(251,191,36,.11) 0%, transparent 30%),
        radial-gradient(circle at bottom left,  rgba(255,115,0,.16) 0%, transparent 32%),
        radial-gradient(circle at bottom right, rgba(148,163,184,.16) 0%, transparent 36%);
    pointer-events: none;
}

/* Soft blurred orbs */
.reg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}
.reg-orb--tl {
    top: 7rem; left: -5rem;
    width: 10rem; height: 10rem;
    background: rgba(253,186,116,.28);
}
.reg-orb--br {
    bottom: 4rem; right: -4rem;
    width: 14rem; height: 14rem;
    background: rgba(203,213,225,.22);
}

/* ── Card wrapper ────────────────────────────────────────── */
.reg-card-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
}

.reg-card {
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 2rem;
    padding: 2rem 2rem 2.25rem;
    box-shadow: 0 25px 50px rgba(255,115,0,.08), 0 8px 24px rgba(0,0,0,.06);
    backdrop-filter: blur(8px);
}

/* ── Header ─────────────────────────────────────────────── */
.reg-card__header {
    margin-bottom: 2rem;
}
.reg-card__header h1 {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -.03em;
    color: #0f172a;
    margin: 0 0 .4rem;
    line-height: 1.15;
}
.reg-card__header p {
    font-size: .875rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* ── Error summary ───────────────────────────────────────── */
.reg-alert--error {
    margin-bottom: 1.25rem;
    padding: .875rem 1rem;
    border-radius: 1rem;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    font-size: .875rem;
    line-height: 1.5;
}
.reg-alert--error:empty { display: none; }

/* ── Field ───────────────────────────────────────────────── */
.reg-field {
    margin-bottom: 1.25rem;
}

.reg-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: .5rem;
}
.reg-label__optional {
    font-size: .75rem;
    font-weight: 500;
    color: #94a3b8;
}

.reg-input {
    width: 100%;
    padding: .75rem 1rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    font-size: .95rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.reg-input:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 4px rgba(251,146,60,.18);
}
.reg-input::placeholder { color: #94a3b8; }

.reg-error {
    display: block;
    margin-top: .375rem;
    font-size: .8125rem;
    color: #dc2626;
}
.reg-error:empty { display: none; }

.reg-hint {
    margin: .375rem 0 0;
    font-size: .75rem;
    line-height: 1.5;
    color: #64748b;
}

/* ── Submit button ───────────────────────────────────────── */
.reg-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.5rem;
    border: none;
    border-radius: 9999px;
    background: linear-gradient(to right, #facc15, #f97316);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(249,115,22,.3);
    transition: box-shadow .2s, transform .15s;
    margin-top: .25rem;
}
.reg-submit:hover {
    box-shadow: 0 12px 28px rgba(249,115,22,.45);
    transform: scale(1.01);
}
.reg-submit:active { transform: scale(.99); }

/* ── Login link ──────────────────────────────────────────── */
.reg-login-link {
    margin-top: 1.25rem;
    text-align: center;
    font-size: .875rem;
    color: #64748b;
}
.reg-login-link a {
    font-weight: 600;
    color: #ea580c;
    text-decoration: none;
    transition: color .2s;
}
.reg-login-link a:hover { color: #c2410c; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .reg-page { padding-top: 88px; }
    .reg-card  { padding: 1.5rem 1.25rem 2rem; border-radius: 1.5rem; }
    .reg-card__header h1 { font-size: 1.5rem; }
}

/* 2c. Forgot Password (.fp-*)
   ......................................................... */

/* ── Page shell ─────────────────────────────────────────── */
.fp-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 1rem 5rem;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 50%, #f1f5f9 100%);
}

.fp-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left,  rgba(255,115,0,.14) 0%, transparent 28%),
        radial-gradient(circle at top right, rgba(251,191,36,.11) 0%, transparent 30%),
        radial-gradient(circle at bottom left,  rgba(255,115,0,.16) 0%, transparent 32%),
        radial-gradient(circle at bottom right, rgba(148,163,184,.16) 0%, transparent 36%);
    pointer-events: none;
}

.fp-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}
.fp-orb--tl {
    top: 7rem; left: -5rem;
    width: 10rem; height: 10rem;
    background: rgba(253,186,116,.28);
}
.fp-orb--br {
    bottom: 4rem; right: -4rem;
    width: 14rem; height: 14rem;
    background: rgba(203,213,225,.22);
}

/* ── Card ────────────────────────────────────────────────── */
.fp-card-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.fp-card {
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 2rem;
    padding: 2rem 2rem 2.25rem;
    box-shadow: 0 25px 50px rgba(255,115,0,.08), 0 8px 24px rgba(0,0,0,.06);
    backdrop-filter: blur(8px);
}

/* ── Header ─────────────────────────────────────────────── */
.fp-card__header {
    margin-bottom: 1.75rem;
}
.fp-card__header h1 {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -.03em;
    color: #0f172a;
    margin: 0 0 .5rem;
    line-height: 1.15;
}
.fp-subtitle {
    font-size: .875rem;
    color: #64748b;
    margin: 0;
}

/* ── Alerts ──────────────────────────────────────────────── */
.fp-alert {
    margin-bottom: 1.25rem;
    padding: .875rem 1rem;
    border-radius: 1rem;
    font-size: .875rem;
    line-height: 1.5;
}
.fp-alert--error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}
.fp-alert--error:empty { display: none; }
.fp-alert--success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

/* ── Field ───────────────────────────────────────────────── */
.fp-field {
    margin-bottom: 1.25rem;
}

.fp-label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: .5rem;
}

.fp-input {
    width: 100%;
    padding: .75rem 1rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    font-size: .95rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.fp-input:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 4px rgba(251,146,60,.18);
}
.fp-input::placeholder { color: #94a3b8; }

.fp-error {
    display: block;
    margin-top: .375rem;
    font-size: .8125rem;
    color: #dc2626;
}
.fp-error:empty { display: none; }

/* ── Submit button ───────────────────────────────────────── */
.fp-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.5rem;
    border: none;
    border-radius: 9999px;
    background: linear-gradient(to right, #facc15, #f97316);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(249,115,22,.3);
    transition: box-shadow .2s, transform .15s;
    margin-bottom: .25rem;
}
.fp-submit:hover {
    box-shadow: 0 12px 28px rgba(249,115,22,.45);
    transform: scale(1.01);
}
.fp-submit:active { transform: scale(.99); }
.fp-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

/* ── Back link ───────────────────────────────────────────── */
.fp-back-link {
    margin-top: 1rem;
    text-align: center;
    font-size: .875rem;
    color: #64748b;
}
.fp-back-link a {
    font-weight: 600;
    color: #ea580c;
    text-decoration: none;
    transition: color .2s;
}
.fp-back-link a:hover { color: #c2410c; }

/* ── Tips block ──────────────────────────────────────────── */
.fp-tips {
    margin-top: 1.5rem;
    padding: .875rem 1rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.fp-tips__title {
    font-size: .875rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 .5rem;
}
.fp-tips__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .8125rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

/* ── Expiry note ─────────────────────────────────────────── */
.fp-expiry {
    margin-top: .75rem;
    font-size: .8125rem;
    color: #94a3b8;
    text-align: center;
}

/* ── Resend cooldown block ───────────────────────────────── */
.fp-cooldown {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid #fed7aa;
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
}

.fp-cooldown__timer {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #9a3412;
    font-size: .9rem;
    line-height: 1.4;
}

.fp-cooldown__timer i {
    color: #f97316;
}

.fp-cooldown__status {
    margin-top: .65rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #b45309;
    font-size: .8125rem;
}

.fp-cooldown__spinner {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid #fdba74;
    border-top-color: #f97316;
    animation: fpSpin 1s linear infinite;
}

@keyframes fpSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .fp-page { padding-top: 88px; }
    .fp-card  { padding: 1.5rem 1.25rem 2rem; border-radius: 1.5rem; }
    .fp-card__header h1 { font-size: 1.5rem; }
}

/* 2d. Forgot Password Confirmation
   ......................................................... */

/* ── Expire block ────────────────────────────────────────── */
.fp-expire-block {
    margin-bottom: 1.5rem;
    padding: .75rem 1rem;
    border-radius: 1rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    text-align: center;
    font-size: .8125rem;
    color: #92400e;
}
.fp-expire-block p { margin: 0; }

/* ── Action buttons ──────────────────────────────────────── */
.fp-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.fp-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow .2s, transform .15s;
    box-sizing: border-box;
    text-align: center;
}
.fp-btn--primary {
    border: none;
    background: linear-gradient(to right, #facc15, #f97316);
    color: #fff;
    box-shadow: 0 8px 20px rgba(249,115,22,.3);
}
.fp-btn--primary:hover {
    box-shadow: 0 12px 28px rgba(249,115,22,.45);
    transform: scale(1.01);
    color: #fff;
}
.fp-btn--primary:active { transform: scale(.99); }

.fp-btn--secondary {
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #ea580c;
}
.fp-btn--secondary:hover {
    border-color: #fb923c;
    box-shadow: 0 0 0 3px rgba(251,146,60,.15);
    color: #c2410c;
}

/* ── Footer notes ────────────────────────────────────────── */
.fp-ignore-note {
    font-size: .8125rem;
    color: #64748b;
    text-align: center;
    margin-bottom: .5rem;
}

/* 2e. Reset Password
   ......................................................... */
/* All classes used by ResetPassword are already defined in
   section 2c (Forgot Password base). No unique additions. */

/* 2f. Reset Password Confirmation
   ......................................................... */
/* All classes used by ResetPasswordConfirmation are already
   defined in sections 2c and 2d. No unique additions. */

/* 2g. Confirm Email (.ce-*)
   ......................................................... */

.ce-page {
    position: relative;
    min-height: calc(100vh - 80px);
    padding-top: 8rem;
    padding-bottom: 6rem;
    overflow: hidden;
    background: linear-gradient(135deg, #fffbeb 0%, #fff 50%, #f1f5f9 100%);
}

/* Background gradient orbs */
.ce-bg-orbs::before,
.ce-bg-orbs::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    pointer-events: none;
}
.ce-bg-orbs::before {
    top: 7rem; left: -4rem;
    width: 11rem; height: 11rem;
    background: rgba(251,191,36,0.20);
}
.ce-bg-orbs::after {
    top: 33%; right: -4rem;
    width: 13rem; height: 13rem;
    background: rgba(249,115,22,0.15);
}
.ce-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left,    rgba(251,191,36,0.18), transparent 28%),
        radial-gradient(circle at top right,   rgba(249,115,22,0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(255,115,0,0.12),  transparent 30%),
        radial-gradient(circle at bottom right,rgba(148,163,184,0.16),transparent 34%);
    pointer-events: none;
}

/* Card */
.ce-card {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(253,230,138,0.7);
    background: rgba(255,255,255,0.92);
    padding: 2.5rem 1.5rem;
    box-shadow: 0 30px 80px -40px rgba(245,158,11,0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
@media (min-width: 576px) { .ce-card { padding: 2.5rem; } }
@media (min-width: 992px) { .ce-card { padding: 3rem; } }

.ce-card-inner-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left,     rgba(251,191,36,0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(249,115,22,0.10), transparent 34%);
    pointer-events: none;
}

/* Icon badge */
.ce-icon {
    width: 4rem; height: 4rem;
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.75rem;
}
.ce-icon-success {
    background: linear-gradient(135deg, #34d399, #16a34a);
    color: #fff;
    box-shadow: 0 8px 24px rgba(16,185,129,0.25);
}
.ce-icon-error {
    background: linear-gradient(135deg, #fb7185, #dc2626);
    color: #fff;
    box-shadow: 0 8px 24px rgba(220,38,38,0.25);
}
.ce-icon-processing {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37,99,235,0.25);
}

/* Badge pill */
.ce-badge {
    display: inline-flex;
    border-radius: 9999px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b45309;
}

/* Status panel (alert replacement) */
.ce-panel {
    border-radius: 0.75rem;
    border: 1px solid;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    margin-top: 1.25rem;
}
.ce-panel-success { border-color: rgba(167,243,208,0.7); background: rgba(240,253,249,0.8); color: #065f46; }
.ce-panel-error   { border-color: rgba(254,205,211,0.7); background: rgba(255,241,242,0.8); color: #9f1239; }

/* Checklist */
.ce-checklist {
    list-style: none;
    padding: 0; margin: 0.5rem 0 0;
}
.ce-checklist li {
    display: flex; align-items: flex-start; gap: 0.5rem;
    padding: 0.2rem 0;
    font-size: 0.875rem;
}
.ce-checklist li::before {
    content: '\2014';
    color: #f43f5e;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Buttons */
.ce-btn-primary {
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(to right, #facc15, #f97316);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(249,115,22,0.30);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: none;
}
.ce-btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 22px rgba(249,115,22,0.40);
    color: #fff;
}

.ce-btn-secondary {
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.ce-btn-secondary:hover {
    border-color: #fcd34d;
    color: #b45309;
}

/* 2h. Register Confirmation (.rc-*)
   ......................................................... */

/* ── Page shell ─────────────────────────────────────────── */
.rc-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 100px 1rem 6rem;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 50%, #f1f5f9 100%);
}

.rc-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left,  rgba(251,191,36,.18) 0%, transparent 28%),
        radial-gradient(circle at top right, rgba(249,115,22,.12) 0%, transparent 30%),
        radial-gradient(circle at bottom left,  rgba(255,115,0,.12) 0%, transparent 30%),
        radial-gradient(circle at bottom right, rgba(148,163,184,.16) 0%, transparent 34%);
    pointer-events: none;
}

.rc-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(56px);
    pointer-events: none;
}
.rc-orb--tl { top: 7rem;  left: -4rem;  width: 11rem; height: 11rem; background: rgba(251,191,36,.22); }
.rc-orb--tr { top: 33%;   right: -4rem; width: 13rem; height: 13rem; background: rgba(249,115,22,.16); }

/* ── Content wrapper ─────────────────────────────────────── */
.rc-wrap {
    position: relative;
    z-index: 1;
    max-width: 72rem;
    margin: 0 auto;
}

/* ── Outer section card ──────────────────────────────────── */
.rc-section {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(251,191,36,.5);
    background: rgba(255,255,255,.92);
    padding: 2.5rem 1.75rem;
    box-shadow: 0 30px 80px -40px rgba(245,158,11,.45);
    backdrop-filter: blur(6px);
}

.rc-section-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left,  rgba(251,191,36,.18) 0%, transparent 28%),
        radial-gradient(circle at bottom right, rgba(249,115,22,.14) 0%, transparent 34%);
    pointer-events: none;
}

.rc-section-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}
.rc-section-orb--tl { top: 2.5rem;  left: -2.5rem;  width: 8rem;  height: 8rem;  background: rgba(251,191,36,.25); }
.rc-section-orb--br { bottom: 0;    right: -2.5rem; width: 10rem; height: 10rem; background: rgba(249,115,22,.20); }

/* ── Two-column grid ─────────────────────────────────────── */
.rc-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .rc-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
    .rc-section { padding: 3rem; }
}

/* ── LEFT: hero ──────────────────────────────────────────── */
.rc-hero-top {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.rc-icon-wrap {
    flex-shrink: 0;
    width: 4rem; height: 4rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #fff;
    box-shadow: 0 8px 20px rgba(249,115,22,.3);
}

.rc-badge {
    display: inline-flex;
    padding: .25rem .75rem;
    border-radius: 9999px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #b45309;
}

.rc-heading {
    margin: 1rem 0 0;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -.03em;
    color: #0f172a;
    line-height: 1.1;
}

.rc-subheading {
    margin: 1rem 0 0;
    max-width: 42rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #475569;
}

.rc-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.rc-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.5rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #facc15, #f97316);
    color: #fff;
    font-weight: 600;
    font-size: .9375rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(249,115,22,.3);
    transition: transform .15s, box-shadow .2s;
}
.rc-btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(249,115,22,.45);
    color: #fff;
}

.rc-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #374151;
    font-weight: 600;
    font-size: .9375rem;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}
.rc-btn-secondary:hover {
    border-color: #fde68a;
    color: #b45309;
}

/* ── RIGHT: steps card ───────────────────────────────────── */
.rc-right {
    border-radius: 1.75rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(148,163,184,.2);
}

.rc-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rc-card-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #b45309;
    margin: 0 0 .5rem;
}

.rc-card-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.rc-card-icon {
    flex-shrink: 0;
    padding: .75rem;
    border-radius: 1rem;
    background: #fffbeb;
    color: #d97706;
}

.rc-steps {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.rc-step {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.rc-step-num {
    flex-shrink: 0;
    width: 1.75rem; height: 1.75rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #fef3c7;
    font-size: .875rem;
    font-weight: 700;
    color: #b45309;
    margin-top: .1rem;
}

.rc-step-text {
    margin: 0;
    font-size: .875rem;
    line-height: 1.6;
    color: #334155;
}

/* ── Resend block ────────────────────────────────────────── */
.rc-resend-block {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
}

.rc-resend-icon {
    flex-shrink: 0;
    padding: .5rem;
    border-radius: .75rem;
    background: #fff;
    color: #d97706;
    box-shadow: 0 1px 4px rgba(148,163,184,.3);
}

.rc-resend-title {
    margin: 0 0 .25rem;
    font-size: .875rem;
    font-weight: 600;
    color: #0f172a;
}

.rc-resend-text {
    margin: 0;
    font-size: .8125rem;
    line-height: 1.6;
    color: #475569;
}
.rc-resend-text a {
    color: #ea580c;
    font-weight: 500;
    text-decoration: none;
}
.rc-resend-text a:hover { color: #c2410c; text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .rc-page { padding-top: 88px; }
    .rc-section { border-radius: 1.5rem; padding: 1.5rem 1.25rem; }
    .rc-hero-top { flex-direction: column; }
    .rc-icon-wrap { width: 3.25rem; height: 3.25rem; }
    .rc-heading { font-size: 1.75rem; }
}

/* 2i. Profile (.profile-*)
   ......................................................... */

.profile-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #fffaf5 0%, #ffffff 28%, #f8fafc 100%);
    padding-top: 7rem;
    padding-bottom: 5rem;
    position: relative;
    overflow-x: hidden;
}

/* Decorative blobs */
.profile-blob-1 {
    position: absolute;
    left: -5rem;
    top: 5rem;
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    background: rgba(253, 186, 116, 0.2);
    filter: blur(60px);
    pointer-events: none;
}
.profile-blob-2 {
    position: absolute;
    right: -7rem;
    top: 11rem;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.25);
    filter: blur(60px);
    pointer-events: none;
}
.profile-blob-3 {
    position: absolute;
    bottom: 2.5rem;
    left: 33%;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: rgba(186, 230, 253, 0.2);
    filter: blur(60px);
    pointer-events: none;
}

/* Hero card */
.profile-hero {
    border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.8);
    padding: 2rem;
    box-shadow: 0 28px 80px -40px rgba(15,23,42,0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 2rem;
}
.profile-hero-badge {
    display: inline-flex;
    border-radius: 9999px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ea580c;
    margin-bottom: 0.75rem;
}
.profile-hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin-bottom: 0.5rem;
}
.profile-hero p {
    font-size: 1.05rem;
    line-height: 1.75rem;
    color: #475569;
    max-width: 36rem;
    margin-bottom: 0;
}

/* Overview cards */
.profile-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
@media (max-width: 640px) {
    .profile-overview-grid { grid-template-columns: 1fr; }
    .profile-hero h1 { font-size: 1.6rem; }
}
.profile-overview-card {
    border-radius: 1.75rem;
    border: 1px solid rgba(226,232,240,0.8);
    background: rgba(255,255,255,0.85);
    padding: 1.5rem;
    box-shadow: 0 20px 60px -35px rgba(15,23,42,0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.profile-overview-card .ov-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}
.profile-overview-card .ov-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0;
    word-break: break-all;
}

/* Referral card */
.profile-referral-card {
    border-radius: 2rem;
    border: 1px solid rgba(253,230,138,0.7);
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 50%, #fff7ed 100%);
    padding: 2rem;
    box-shadow: 0 28px 80px -45px rgba(245,158,11,0.55);
    margin-bottom: 2rem;
}
.referral-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.referral-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
    .referral-inner-grid { grid-template-columns: 1fr; }
}
.referral-code-box, .token-balance-box {
    border-radius: 1.5rem;
    border: 1px solid #fde68a;
    background: rgba(255,255,255,0.9);
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.token-balance-box { border-color: #a7f3d0; }
.sub-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #94a3b8;
    margin-bottom: 1rem;
}
.referral-code-display {
    display: inline-block;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #d97706;
    background: #fffbeb;
    border: 1px dashed #fbbf24;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
}
.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    margin-top: 0.75rem;
}
.btn-copy:hover { border-color: #fbbf24; color: #d97706; }
.token-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #059669;
    margin: 0 0.4rem 0 0;
}
.how-it-works-box {
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background: rgba(248,250,252,0.9);
    padding: 1.5rem;
}
.how-it-works-box h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.how-it-works-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.how-it-works-box ul li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.75rem;
    color: #475569;
}
.how-it-works-box ul li::before {
    content: '';
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #fbbf24;
    flex-shrink: 0;
    margin-top: 0.62rem;
}

/* Delete card */
.profile-delete-card {
    border-radius: 2rem;
    border: 1px solid #fecaca;
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    box-shadow: 0 28px 90px -50px rgba(239,68,68,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.delete-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.delete-badge-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #ef4444;
    margin-bottom: 0.4rem;
}
.profile-delete-card h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.4rem;
}
.profile-delete-card > div > div > div > p {
    color: #475569;
    margin-bottom: 0;
    max-width: 36rem;
}
.delete-consequences-box {
    border-radius: 1.5rem;
    border: 1px solid #fecaca;
    background: rgba(254,242,242,0.7);
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.delete-consequences-box .dc-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #b91c1c;
    margin-bottom: 1rem;
}
.delete-consequences-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.delete-consequences-box ul li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.75rem;
    color: #7f1d1d;
}
.delete-consequences-box ul li::before {
    content: '';
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #ef4444;
    flex-shrink: 0;
    margin-top: 0.62rem;
}
.delete-confirm-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: flex-end;
}
@media (max-width: 640px) {
    .delete-confirm-row { grid-template-columns: 1fr; }
}
.delete-confirm-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    display: block;
    margin-bottom: 0.5rem;
}
.delete-confirm-input {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}
.delete-confirm-input:focus {
    border-color: #fca5a5;
    box-shadow: 0 0 0 4px rgba(252,165,165,0.25);
}
.btn-delete-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #ef4444;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
    white-space: nowrap;
}
.btn-delete-account:hover:not(:disabled) { background: #dc2626; }
.btn-delete-account:disabled { cursor: not-allowed; opacity: 0.5; }

/* END OF PART 1 — Identity pages */


/* ================================================================
   3. EXAM PAGES
   ================================================================ */

/* 3a. Exam Index — Subject Chooser (.subj-*)
   ......................................................... */

.subj-page-bg {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 28%, #f8fafc 100%);
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 5rem;
    overflow-x: hidden;
    position: relative;
}

/* Decorative orbs */
.subj-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

/* Highlight stat cards */
.subj-stat-card {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 1.5rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 32px rgba(249,115,22,0.08);
    backdrop-filter: blur(8px);
    text-align: center;
}
.subj-stat-value {
    font-size: 1.6rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
}
.subj-stat-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 0.4rem;
}

/* Subject cards */
.subj-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 2rem;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(15,23,42,0.08);
    backdrop-filter: blur(8px);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.subj-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(249,115,22,0.16);
    text-decoration: none;
    color: inherit;
}

/* Icon container */
.subj-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #ffedd5, #fffbeb, #ffffff);
    box-shadow: inset 0 2px 6px rgba(255,255,255,0.7);
    outline: 1px solid #fed7aa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ea580c;
    flex-shrink: 0;
}

/* "Subject" badge */
.subj-type-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
}

/* Card title */
.subj-card-title {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
}

/* Card description */
.subj-card-desc {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

/* Open button */
.subj-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #f97316;
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ea580c;
    background: transparent;
    transition: transform 0.3s ease;
    white-space: nowrap;
}
.subj-card:hover .subj-open-btn {
    transform: translateX(4px);
}


/* 3b. Subject Detail (.subj-*)
   ......................................................... */

.subj-page-wrap {
    min-height: 100vh;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 28%, #f8fafc 100%);
    padding-top: 7rem;
    padding-bottom: 5rem;
    position: relative;
    overflow-x: hidden;
}

/* Decorative blurred orbs (Subject Detail variant) */
/* .subj-orb already defined in 3a */

/* Highlight stat cards (Subject Detail variant — overrides 3a values) */
/* NOTE: These have slightly different values from Index.cshtml.
   Because CSS cascades, the Subject page values below win when both
   are loaded. If you split into separate per-page files later, keep
   both blocks. */

/* Exam cards */
.subj-exam-card {
    border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 60px rgba(15,23,42,0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.subj-exam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(249,115,22,0.16);
    color: inherit;
    text-decoration: none;
}

/* Icon square */
.subj-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #ffedd5, #fef3c7, #ffffff);
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: inset 0 1px 4px rgba(255,255,255,0.7), 0 0 0 1px #ffedd5;
    flex-shrink: 0;
}

/* Badges */
.subj-badge-premium {
    border-radius: 9999px;
    border: 1px solid #fde047;
    background: #fefce8;
    padding: .25rem .75rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #a16207;
    white-space: nowrap;
}
.subj-badge-free {
    border-radius: 9999px;
    border: 1px solid #86efac;
    background: #f0fdf4;
    padding: .25rem .75rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #15803d;
    white-space: nowrap;
}
.subj-badge-unlocked {
    border-radius: 9999px;
    border: 1px solid #86efac;
    background: #f0fdf4;
    padding: .25rem .75rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #15803d;
    white-space: nowrap;
}

/* Card body text */
.subj-exam-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -.02em;
    margin: 0;
}
.subj-exam-desc {
    font-size: .875rem;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

/* CTA pill */
.subj-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    border: 1px solid #f97316;
    padding: .5rem 1.25rem;
    font-size: .875rem;
    font-weight: 600;
    color: #ea580c;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.subj-exam-card:hover .subj-cta {
    transform: translateX(4px);
}

/* Price tag */
.subj-price-tag {
    border-radius: 9999px;
    border: 1px solid #fde047;
    background: #fefce8;
    padding: .2rem .75rem;
    font-size: .8rem;
    font-weight: 700;
    color: #a16207;
}

/* Empty state */
.subj-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 4px 16px rgba(15,23,42,0.08);
}
.subj-back-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: 9999px;
    border: 1.5px solid #f97316;
    padding: .55rem 1.4rem;
    font-size: .9rem;
    font-weight: 600;
    color: #ea580c;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-top: 1rem;
}
.subj-back-btn:hover {
    background: #f97316;
    color: #fff;
}

/* Squiggly arrow hint — default: bottom of card, arrow points up */
.quiz-arrow-hint {
    position: absolute;
    bottom: -5rem;
    right: -.25rem;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}
/* Modifier: top of card, arrow points down (used for quiz) */
.quiz-arrow-hint--top {
    top: -5rem;
    bottom: auto;
    flex-direction: column;
}
.quiz-arrow-label {
    font-size: .72rem;
    font-weight: 700;
    font-style: italic;
    color: #ea580c;
    white-space: nowrap;
    line-height: 1.2;
    margin-top: .1rem;
}
.quiz-arrow-hint--top .quiz-arrow-label {
    margin-top: 0;
    margin-bottom: .1rem;
}

/* Quiz button */
.subj-quiz-btn {
    cursor: pointer;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: none !important;
    display: block;
    width: 100%;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.subj-quiz-btn .subj-stat-value,
.subj-quiz-btn .subj-stat-label {
    color: #fff;
}
.subj-quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(249,115,22,0.35);
}

/* Summary button — same orange gradient as quiz button */
.subj-summary-btn {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: none !important;
}
.subj-summary-btn .subj-stat-value,
.subj-summary-btn .subj-stat-label {
    color: #fff;
}
.subj-summary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(249,115,22,0.35);
}

/* Blur page content behind modal */
body.quiz-open .subj-page-wrap {
    filter: blur(4px);
    pointer-events: none;
}

/* Quiz answer option buttons */
.quiz-option {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: .65rem 1rem;
    font-size: .95rem;
    color: #0f172a;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.quiz-option:hover:not(:disabled) {
    border-color: #f97316;
    background: #fff7ed;
}
.quiz-option.correct {
    background: #dcfce7 !important;
    border-color: #16a34a !important;
    color: #15803d !important;
    font-weight: 600;
}
.quiz-option.wrong {
    background: #fee2e2 !important;
    border-color: #dc2626 !important;
    color: #b91c1c !important;
}
.quiz-option:disabled {
    cursor: default;
}
.quiz-explanation {
    background: #f8fafc;
    border-left: 3px solid #f97316;
    border-radius: 6px;
    padding: .6rem .85rem;
    font-size: .88rem;
    color: #475569;
    margin-top: .75rem;
}
.quiz-progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316, #facc15);
    border-radius: 3px;
    transition: width .3s ease;
}


/* 3c. Exam Detail (.exam-*) — shared across all exam files
   ......................................................... */

.exam-page-wrap {
    min-height: 100vh;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 24%, #f8fafc 100%);
    padding-top: 7rem;
    padding-bottom: 5rem;
    position: relative;
    overflow-x: hidden;
}
.exam-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(64px);
}

/* Overview card */
.exam-glass-card {
    border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 60px rgba(15,23,42,0.08);
    padding: 1.25rem 1.5rem;
}

/* Back button */
.exam-back-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    padding: .5rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    color: #c2410c;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.exam-back-btn:hover {
    border-color: #fdba74;
    background: #ffedd5;
    color: #c2410c;
}

/* Breadcrumb chips */
.exam-chip {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: #f97316;
}

/* Stat cards */
.exam-stat-card {
    border-radius: 1.5rem;
    border: 1px solid #ffedd5;
    background: rgba(255,247,237,0.7);
    padding: .75rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(249,115,22,0.06);
}
.exam-stat-value {
    font-size: 1.1rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
}
.exam-stat-label {
    margin-top: .25rem;
    font-size: .75rem;
    font-weight: 500;
    color: #64748b;
}

/* Instructions */
.exam-instructions {
    border-radius: 1.75rem;
    border: 1px solid #bae6fd;
    background: rgba(240,249,255,0.8);
    padding: .875rem 1.1rem;
    box-shadow: 0 2px 8px rgba(14,165,233,0.06);
}

/* Video card */
.exam-video-card {
    border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 60px rgba(15,23,42,0.08);
    padding: 1.25rem 1.5rem;
}
.exam-video-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    padding: .4rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    color: #c2410c;
}
.exam-video-tip {
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    background: rgba(248,250,252,0.9);
    padding: 1.25rem;
}
.exam-book-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    background: linear-gradient(to right, #facc15, #f97316);
    padding: .75rem 1.5rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(249,115,22,0.25);
    transition: transform .2s, box-shadow .2s;
}
.exam-book-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(249,115,22,0.35);
    color: #fff;
}

/* Question cards */
.exam-q-card {
    border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 60px rgba(15,23,42,0.08);
    padding: 1.25rem 1.5rem;
}
.exam-q-badge-num {
    border-radius: 9999px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    padding: .25rem .75rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #ea580c;
}
.exam-q-badge-pts {
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: .25rem .75rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #64748b;
}
.exam-q-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -.02em;
    margin-top: .75rem;
    margin-bottom: 0;
}
.exam-q-text {
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    background: rgba(248,250,252,0.8);
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
}
.exam-back-top {
    font-size: .875rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}
.exam-back-top:hover {
    color: #ea580c;
}

/* Expandable details */
.exam-details-answer {
    border-radius: 1.5rem;
    border: 1px solid #bbf7d0;
    background: rgba(240,253,244,0.8);
    padding: 1.25rem 1.5rem;
}
.exam-details-hint {
    border-radius: 1.5rem;
    border: 1px solid #fde68a;
    background: rgba(255,251,235,0.8);
    padding: 1.25rem 1.5rem;
}
.exam-details-solution {
    border-radius: 1.5rem;
    border: 1px solid #bae6fd;
    background: rgba(240,249,255,0.7);
    padding: 1.25rem 1.5rem;
}
.exam-details-answer summary,
.exam-details-hint summary,
.exam-details-solution summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    user-select: none;
}
.exam-details-answer summary::-webkit-details-marker,
.exam-details-hint summary::-webkit-details-marker,
.exam-details-solution summary::-webkit-details-marker {
    display: none;
}

.exam-details-answer .det-chevron { color: #22c55e; transition: transform .2s; }
.exam-details-hint .det-chevron   { color: #f59e0b; transition: transform .2s; }
.exam-details-solution .det-chevron { color: #0ea5e9; transition: transform .2s; }
.exam-details-answer[open] .det-chevron,
.exam-details-hint[open] .det-chevron,
.exam-details-solution[open] .det-chevron {
    transform: rotate(180deg);
}

.exam-details-content {
    margin-top: .75rem;
    font-size: .875rem;
    line-height: 1.75;
    color: #475569;
}

/* Expand all button */
.exam-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: 9999px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    padding: .45rem 1.1rem;
    font-size: .8rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.exam-expand-btn:hover {
    border-color: #f97316;
    color: #ea580c;
}


/* 3d. Access Required (.ar-*)
   ......................................................... */

.ar-page {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 28%, #f8fafc 100%);
    min-height: 100vh;
    padding: 3rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}

.ar-blob-1 {
    position: absolute;
    left: -5rem;
    top: 6rem;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: rgba(253, 186, 116, 0.25);
    filter: blur(48px);
    pointer-events: none;
}

.ar-blob-2 {
    position: absolute;
    right: -4rem;
    top: 8rem;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: rgba(252, 211, 77, 0.20);
    filter: blur(56px);
    pointer-events: none;
}

.ar-blob-3 {
    position: absolute;
    bottom: 2rem;
    left: 33%;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: rgba(203, 213, 225, 0.20);
    filter: blur(56px);
    pointer-events: none;
}

.ar-outer-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Lock icon */
.ar-lock-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffedd5, #fffbeb, #ffffff);
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.70);
    border: 1px solid #ffedd5;
}

.ar-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #f97316;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.ar-headline {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.ar-subtext {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
    max-width: 640px;
    margin: 0 auto;
}

/* Subject highlight banner */
.ar-subject-banner {
    background: rgba(255, 237, 213, 0.80);
    border: 1px solid #fed7aa;
    border-radius: 1.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.08);
    margin-top: 2rem;
}

.ar-subject-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.ar-subject-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

.ar-subject-sub {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    max-width: 520px;
    margin: 0.5rem auto 0;
}

/* Option cards */
.ar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.75rem;
    padding: 1.75rem;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ar-card-icon-dark {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ar-card-icon-amber {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ar-card-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.ar-card-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.ar-price {
    font-size: 2.8rem;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
    margin: 1.5rem 0 0.25rem;
}

.ar-price-note {
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 0;
}

.ar-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 1rem;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    color: #475569;
}

.ar-dot-orange {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f97316;
    flex-shrink: 0;
}

.ar-dot-amber {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f59e0b;
    flex-shrink: 0;
}

/* Token balance box */
.ar-token-box {
    background: rgba(254, 243, 199, 0.70);
    border: 1px solid #fde68a;
    border-radius: 1.5rem;
    padding: 1rem;
    text-align: center;
    margin-top: 1.5rem;
}

.ar-token-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.ar-token-value {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
}

/* Referral code box */
.ar-referral-box {
    background: rgba(255, 247, 237, 0.70);
    border: 1px dashed #fed7aa;
    border-radius: 1.5rem;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}

.ar-referral-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: 0.4rem;
}

.ar-referral-code {
    display: inline-block;
    border: 1px dashed #fdba74;
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 0.35rem 1rem;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #ea580c;
    margin: 0.3rem 0;
}

.ar-referral-desc {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.6;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* CTA buttons */
.ar-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg, #facc15, #f97316);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
    cursor: pointer;
    transition: transform 0.15s ease;
    text-decoration: none;
}

.ar-btn-primary:hover {
    transform: scale(1.01);
    color: #ffffff;
    text-decoration: none;
}

.ar-btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: default;
}

/* Back link */
.ar-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #c2410c;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.ar-back-link:hover {
    background: #ffedd5;
    border-color: #fdba74;
    color: #c2410c;
    text-decoration: none;
}


/* 3e. KaTeX overrides
   ......................................................... */

/* Force long KaTeX display equations (like matrices/integrals) to scroll horizontally */
.katex-display {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    max-width: 100%;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem; /* Prevents the horizontal scrollbar from covering the bottom of equations */
}

/* Ensure the host containers don't stretch */
.math-host {
    max-width: 100%;
}

/* 4. PAYMENT PAGES
   -------------------------------------------------------- */

/* 4a. Payment Success (.ps-*)
   ......................................................... */

.ps-page {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #fafff5 100%);
    min-height: 100vh;
    padding: 3rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}

.ps-blob-1 {
    position: absolute;
    left: -4rem;
    top: 7rem;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.20);
    filter: blur(48px);
    pointer-events: none;
}

.ps-blob-2 {
    position: absolute;
    right: -4rem;
    top: 33%;
    width: 13rem;
    height: 13rem;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.18);
    filter: blur(56px);
    pointer-events: none;
}

.ps-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(74, 222, 128, 0.45);
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 30px 80px -40px rgba(34, 197, 94, 0.40);
    backdrop-filter: blur(8px);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.ps-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(74, 222, 128, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(250, 204, 21, 0.12), transparent 30%);
    pointer-events: none;
}

.ps-icon {
    width: 72px;
    height: 72px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #4ade80, #16a34a);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(74, 222, 128, 0.35);
}

.ps-headline {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.ps-subtext {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
    margin-top: 0.75rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.ps-receipt {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem auto 0;
    max-width: 420px;
    text-align: left;
}

.ps-receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #475569;
    padding: 0.4rem 0;
}

.ps-receipt-row:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

.ps-receipt-label {
    font-weight: 600;
    color: #64748b;
}

.ps-receipt-value {
    font-weight: 700;
    color: #0f172a;
}

.ps-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.ps-step-item {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #166534;
    text-align: center;
}

.ps-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg, #4ade80, #16a34a);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.30);
    text-decoration: none;
    transition: transform 0.15s ease;
}

.ps-btn-primary:hover {
    transform: scale(1.02);
    color: #ffffff;
    text-decoration: none;
}

.ps-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.ps-btn-secondary:hover {
    border-color: #86efac;
    color: #166534;
    text-decoration: none;
}

/* 4b. Payment Cancel (.pc-*)
   ......................................................... */

.pc-page {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 50%, #fff7ed 100%);
    min-height: 100vh;
    padding: 3rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}

.pc-blob-1 {
    position: absolute;
    left: -4rem;
    top: 7rem;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.20);
    filter: blur(48px);
    pointer-events: none;
}

.pc-blob-2 {
    position: absolute;
    right: -4rem;
    top: 33%;
    width: 13rem;
    height: 13rem;
    border-radius: 50%;
    background: rgba(251, 146, 60, 0.20);
    filter: blur(56px);
    pointer-events: none;
}

.pc-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 30px 80px -40px rgba(245, 158, 11, 0.45);
    backdrop-filter: blur(8px);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.pc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(251, 191, 36, 0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(248, 113, 113, 0.14), transparent 30%);
    pointer-events: none;
}

.pc-icon {
    width: 72px;
    height: 72px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.35);
}

.pc-headline {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.pc-subtext {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
    margin-top: 0.75rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.pc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.pc-step-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    text-align: center;
}

.pc-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(90deg, #facc15, #f97316);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(251, 146, 60, 0.30);
    text-decoration: none;
    transition: transform 0.15s ease;
}

.pc-btn-primary:hover {
    transform: scale(1.02);
    color: #ffffff;
    text-decoration: none;
}

.pc-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.pc-btn-secondary:hover {
    border-color: #fde68a;
    color: #b45309;
    text-decoration: none;
}

/* 5. HOME PAGES
   -------------------------------------------------------- */

/* 5a. Home Index
   ......................................................... */

/* -- Floating Background Elements -- */
.tm-floating-wrap {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.tm-float-icon {
    position: absolute;
    color: rgba(234, 179, 8, 0.2);
    animation: tmIconFloat var(--dur, 20s) ease-in-out var(--delay, 0s) infinite;
}

.tm-float-icon svg {
    display: block;
}

@keyframes tmIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: .1; }
    33%      { transform: translateY(-30px) rotate(10deg); opacity: .3; }
    66%      { transform: translateY(-15px) rotate(-10deg); opacity: .2; }
}

.tm-float-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

@keyframes tmOrbPulse {
    0%, 100% { transform: scale(1); opacity: .3; }
    50%      { transform: scale(1.2); opacity: .5; }
}

/* -- Animations -- */
@keyframes tmFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-18px); }
}

@keyframes tmSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes tmSpinReverse {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

@keyframes tmPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.2); opacity: 0.7; }
}

@keyframes tmWave {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(20px, -15px) rotate(5deg); }
    66%      { transform: translate(-10px, 10px) rotate(-3deg); }
}

@keyframes tmDrift {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-25px, 15px); }
}

@keyframes tmBounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* -- Hero Section -- */
.tm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff;
    padding-top: 80px;
}

.tm-hero-bg-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 81, 0, 0.12), transparent 60%);
    pointer-events: none;
    animation: tmPulse 8s ease-in-out infinite;
}

/* floating SVGs */
.tm-hero-deco { position: absolute; pointer-events: none; }
.tm-deco-wave-tl   { top: 80px; left: 40px; width: 260px; height: 120px; opacity: .3; animation: tmWave 8s ease-in-out infinite; }
.tm-deco-circle-tr { top: 120px; right: 80px; width: 180px; height: 180px; opacity: .4; animation: tmSpin 20s linear infinite; }
.tm-deco-zigzag-l  { top: 50%; left: 20px; width: 90px; height: 150px; opacity: .35; animation: tmDrift 6s ease-in-out infinite 1s; }
.tm-deco-curve-br  { bottom: 90px; right: 120px; width: 220px; height: 120px; opacity: .3; animation: tmWave 10s ease-in-out infinite 2s; }
.tm-deco-dot-mid   { top: 25%; right: 33%; opacity: .4; animation: tmSpin 12s ease-in-out infinite; }
.tm-deco-dot-lower { top: 66%; left: 25%; opacity: .35; animation: tmSpinReverse 15s ease-in-out infinite 1.5s; }

/* hero content */
.tm-hero-title {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin: 0;
}

.tm-typed-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
}

.tm-typed-text {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    background: linear-gradient(to right, #ff5100, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 160px;
    line-height: 1.3;
    padding: 0.1em 0.05em;
}

.tm-typed-suffix {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #111;
}

.tm-hero-lead {
    font-size: 1.15rem;
    color: #4b5563;
    max-width: 520px;
    line-height: 1.7;
    margin-top: 1.25rem;
}

/* hero buttons */
.tm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(to right, #ff5100, #ffb800);
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 81, 0, .35);
    transition: transform .2s, box-shadow .2s;
}

.tm-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 81, 0, .45);
}

.tm-btn-secondary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #111 !important;
    padding: .9rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid #111;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    transition: background .2s, color .2s, transform .2s;
    line-height: 1.3;
}

.tm-btn-secondary em {
    font-style: normal;
    font-size: .8rem;
    opacity: .65;
    font-weight: 400;
}

.tm-btn-secondary:hover {
    background: #111;
    color: #fff !important;
    transform: scale(1.05);
}

/* hero image */
.tm-hero-img-wrap {
    position: relative;
    animation: tmFloat 6s ease-in-out infinite;
}

.tm-hero-img-wrap img {
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .15);
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.tm-hero-img-overlay {
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    background: linear-gradient(to top, rgba(255, 81, 0, .18), transparent);
}

.tm-hero-glow {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5100, #ffb800);
    filter: blur(40px);
    opacity: .55;
    animation: tmPulse 4s ease-in-out infinite;
}

/* -- How It Works -- */
.tm-hiw {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(to bottom, #fff, rgba(243, 232, 255, .3), #fff);
    overflow: hidden;
}

.tm-hiw-heading {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #111;
    text-align: center;
    margin-bottom: 3.5rem;
}

.tm-step-card {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    padding: 2rem;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

.tm-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

.tm-step-card:hover .tm-step-hover-bg { opacity: 1; }

.tm-step-hover-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(254, 249, 195, .6), rgba(255, 237, 213, .6));
    border-radius: 1rem;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.tm-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    position: relative;
    z-index: 1;
}

.tm-step-icon svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tm-step-badge {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    z-index: 1;
}

.tm-step-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111;
    margin-bottom: .75rem;
    position: relative;
    z-index: 1;
}

.tm-step-desc {
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

.tm-step-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 96px;
    height: 96px;
    border-radius: 9999px 0 1rem 0;
    opacity: .1;
    transition: opacity .3s;
    pointer-events: none;
}

.tm-step-card:hover .tm-step-corner { opacity: .2; }

/* step gradient colours */
.tm-grad-1 { background: linear-gradient(135deg, #fde047, #eab308); }
.tm-grad-2 { background: linear-gradient(135deg, #eab308, #fb923c); }
.tm-grad-3 { background: linear-gradient(135deg, #f97316, #ea580c); }

/* hiw decorative blob */
.tm-hiw-blob {
    position: absolute;
    top: 25%;
    right: 0;
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, rgba(253, 224, 71, .2), rgba(251, 146, 60, .2));
    border-radius: 50%;
    filter: blur(60px);
    animation: tmWave 20s ease-in-out infinite;
    pointer-events: none;
}

/* -- About Section -- */
.tm-about {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f9fafb, rgba(243, 232, 255, .3));
}

.tm-about-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    line-height: 0;
}

.tm-about-subtitle {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    background: linear-gradient(to right, #eab308, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.tm-about-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #111;
    margin-bottom: 1rem;
}

.tm-about-text {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.tm-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #111;
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    transition: transform .2s, box-shadow .2s;
}

.tm-btn-dark:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}

.tm-btn-dark svg {
    width: 20px;
    height: 20px;
    transition: transform .2s;
}

.tm-btn-dark:hover svg { transform: translateX(4px); }

/* about card */
.tm-founders-card {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .1);
    padding: 2rem;
    position: relative;
}

.tm-founder-img {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.tm-founder-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6b7280;
    margin-top: 1rem;
    margin-bottom: .2rem;
}

.tm-founder-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111;
}

/* about decorative blobs */
.tm-about-blob-1 {
    position: absolute;
    top: -32px;
    right: -32px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(253, 224, 71, .3), rgba(249, 115, 22, .3));
    filter: blur(40px);
    animation: tmPulse 5s ease-in-out infinite;
    pointer-events: none;
}

.tm-about-blob-2 {
    position: absolute;
    bottom: -32px;
    left: -32px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(192, 132, 252, .3), rgba(244, 114, 182, .3));
    filter: blur(36px);
    animation: tmPulse 6s ease-in-out infinite 1s;
    pointer-events: none;
}

/* Home Index mobile-only polish */
@media (max-width: 767.98px) {
    /* Remove heavy floating decorations on small screens */
    .tm-floating-wrap,
    .tm-float-orb,
    .tm-float-icon,
    .tm-hero-deco,
    .tm-hiw-blob,
    .tm-about-blob-1,
    .tm-about-blob-2 {
        display: none !important;
    }

    /* Reintroduce lightweight gradient background for a lively mobile feel */
    .tm-hero {
        min-height: auto;
        padding-top: 96px;
        padding-bottom: 56px;
        background:
            radial-gradient(circle at 14% 16%, rgba(250, 204, 21, .24), transparent 42%),
            radial-gradient(circle at 86% 20%, rgba(249, 115, 22, .18), transparent 38%),
            linear-gradient(160deg, #fffdf7 0%, #fff7ed 48%, #ffffff 100%);
    }

    .tm-hero-bg-radial {
        inset: 0;
        background: radial-gradient(circle at 50% 10%, rgba(255, 81, 0, .1), transparent 55%);
        animation: none;
        opacity: .9;
    }

    .tm-hero-title,
    .tm-typed-row,
    .tm-hero-lead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .tm-hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
    .tm-hero-lead  { font-size: 1rem; line-height: 1.6; max-width: 36ch; }

    .tm-hero-btns {
        width: 100%;
        align-items: stretch;
    }

    .tm-btn-primary,
    .tm-btn-secondary,
    .tm-btn-dark {
        justify-content: center;
        text-align: center;
        width: 100%;
        border-radius: 14px;
    }

    .tm-hiw { padding: 4.25rem 0; }
    .tm-hiw-heading { margin-bottom: 2rem; }

    .tm-step-card {
        border-radius: 1.15rem;
        padding: 1.4rem;
        box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    }

    .tm-about {
        padding: 4.25rem 0;
        background: linear-gradient(170deg, #ffffff 0%, #f9fafb 38%, #fff7ed 100%);
    }
}

/* 5b. About Us (.au-*)
   ......................................................... */

#aboutus-page {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 45%, #f1f5f9 100%);
}

/* -- Hero -- */
.au-hero {
    padding: 5rem 0 2rem;
    position: relative;
}

.au-hero__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.2;
}

.au-hero__lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #475569;
    max-width: 640px;
    margin: 0 auto;
}

/* -- Feature cards -- */
.au-features {
    padding: 2rem 0 3rem;
}

.au-feature-card {
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    background: #fff;
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
}

.au-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.au-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 1rem;
}

.au-feature-icon--blue  { background: #dbeafe; color: #2563eb; }
.au-feature-icon--green { background: #d1fae5; color: #059669; }
.au-feature-icon--amber { background: #fef3c7; color: #d97706; }

.au-feature-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: .5rem;
}

.au-feature-card__text {
    font-size: .9rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* -- Story section -- */
.au-story {
    padding: 6rem 0 2rem;
}

.au-story__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
    background: linear-gradient(135deg, rgba(255, 247, 237, .55) 0%, rgba(255, 255, 255, .85) 60%, rgba(241, 245, 249, .75) 100%);
    border-radius: 2.5rem;
    padding: 2rem;
}

@media (max-width: 991px) {
    .au-story__grid {
        grid-template-columns: 1fr;
    }
}

.au-story__left {
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.au-story__img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .au-story__img { height: 360px; }
}

.au-story__text-wrap {
    padding: 2rem;
}

.au-story__heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.au-story__body p {
    font-size: .975rem;
    line-height: 1.85;
    color: #475569;
    margin-bottom: 1rem;
}

.au-story__body p:last-child { margin-bottom: 0; }

/* -- Right column -- */
.au-story__right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.au-founders-card {
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    background: #fff;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}

.au-founders-card__label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #ea580c;
    display: block;
    margin-bottom: .75rem;
}

.au-founders-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: .75rem;
}

.au-founders-card__text {
    font-size: .9rem;
    line-height: 1.75;
    color: #64748b;
    margin: 0;
}

/* -- Founder profile cards -- */
.au-founder-profile {
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

.au-founder-profile__img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 1.5rem;
    display: block;
}

.au-founder-profile__info {
    text-align: center;
    padding: .75rem .5rem .25rem;
}

.au-founder-profile__role {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: .35rem;
}

.au-founder-profile__name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* -- Mission card -- */
.au-mission-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 2rem;
    padding: 2rem;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
}

.au-mission-card__label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #fdba74;
    margin-bottom: 1rem;
}

.au-mission-card__text {
    font-size: .975rem;
    line-height: 1.85;
    color: #cbd5e1;
    margin: 0;
}

/* 5c. Search Listing (.sl-*)
   ......................................................... */

/* -- Page -- */
.sl-page {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 30%, #f8fafc 100%);
    padding-top: 7rem;
    padding-bottom: 5rem;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* -- Background orbs -- */
.sl-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

/* -- Hero stats -- */
.sl-hero-title {
    font-size: clamp(1.6rem, 3.5vw, 2.75rem);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.sl-stat-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 0.75rem 0.75rem;
    box-shadow: 0 4px 24px rgba(251, 146, 60, 0.1);
}

.sl-stat-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.sl-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.2rem;
}

/* -- Booking overview card -- */
.sl-booking-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 1.25rem;
    box-shadow: 0 24px 60px rgba(251, 146, 60, 0.15);
}

.sl-booking-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #f97316;
    margin: 0;
}

.sl-booking-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0.25rem 0 0;
}

.sl-booking-icon {
    width: 42px;
    height: 42px;
    background: #ffedd5;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea580c;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sl-booking-step {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 0.65rem 0.75rem;
}

.sl-booking-step i {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sl-booking-step p {
    font-size: 0.825rem;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

/* -- Listing panel -- */
.sl-filter-section {
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(148, 163, 184, 0.15);
}

.sl-section-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f97316;
    margin: 0;
}

.sl-section-title {
    font-size: 1.875rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0.5rem 0 0;
}

.sl-section-desc {
    color: #475569;
    margin: 0.4rem 0 0;
    font-size: 0.925rem;
    max-width: 600px;
}

.sl-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.65rem 1.1rem;
    border-radius: 9999px;
    white-space: nowrap;
}

/* -- Search / filter bar -- */
.sl-search-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 1rem 1.25rem;
    height: 100%;
    transition: border-color 0.2s, background 0.2s;
    cursor: text;
}

.sl-search-wrap:focus-within {
    border-color: #fb923c;
    background: #fff;
}

.sl-search-wrap input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: #334155;
    width: 100%;
}

.sl-search-wrap input::placeholder { color: #94a3b8; }
.sl-search-icon { color: #94a3b8; font-size: 1rem; flex-shrink: 0; }

.sl-select-wrap {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.75rem 1.25rem;
    height: 100%;
    transition: border-color 0.2s, background 0.2s;
}

.sl-select-wrap:focus-within {
    border-color: #fb923c;
    background: #fff;
}

.sl-select-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #64748b;
    display: block;
    margin-bottom: 0.35rem;
}

.sl-select-wrap select {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    width: 100%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* -- Custom subject dropdown -- */
.sl-custom-select { position: relative; height: 100%; }

.sl-custom-select-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.75rem 2.25rem 0.75rem 1.25rem;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, background 0.2s;
    gap: 0.2rem;
    position: relative;
}

.sl-custom-select-btn:hover,
.sl-custom-select.open .sl-custom-select-btn {
    border-color: #fb923c;
    background: #fff;
}

.sl-custom-select-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sl-chevron {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.sl-custom-select.open .sl-chevron { transform: translateY(-50%) rotate(180deg); }

.sl-custom-select-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    width: max-content;
    max-width: 300px;
    max-height: 380px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    z-index: 999;
    padding: 0.4rem;
}

.sl-custom-select-panel[hidden] { display: none; }

.sl-custom-option {
    padding: 0.45rem 0.75rem;
    border-radius: 0.6rem;
    font-size: 0.825rem;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
}

.sl-custom-option:hover { background: #fff7ed; color: #ea580c; }
.sl-custom-option.active { background: #ffedd5; color: #ea580c; font-weight: 600; }

.sl-custom-all {
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0.3rem;
    padding-bottom: 0.55rem;
    border-radius: 0;
}

.sl-custom-category-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.45rem 0.75rem;
    border-radius: 0.6rem;
    background: none;
    border: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.sl-custom-category-hdr:hover { background: #f8fafc; color: #0f172a; }
.sl-custom-category.open .sl-custom-category-hdr { color: #ea580c; }
.sl-custom-category-hdr i { font-size: 0.65rem; transition: transform 0.2s; flex-shrink: 0; }
.sl-custom-category.open .sl-custom-category-hdr i { transform: rotate(90deg); }
.sl-custom-category-body { padding-left: 0.4rem; }
.sl-custom-category-body[hidden] { display: none; }

/* -- Tutor cards -- */
.sl-tutor-card {
    border-radius: 2rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(148, 163, 184, 0.08);
    transition: box-shadow 0.25s;
    margin-bottom: 1.25rem;
}

.sl-tutor-card:last-child { margin-bottom: 0; }
.sl-tutor-card:hover { box-shadow: 0 10px 40px rgba(148, 163, 184, 0.2); }

.sl-tutor-img {
    width: 96px;
    height: 96px;
    border-radius: 1.5rem;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.sl-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #059669;
}

.sl-tutor-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    display: block;
    margin-top: 0.5rem;
    transition: color 0.2s;
}

.sl-tutor-name:hover { color: #f97316; text-decoration: none; }

.sl-tutor-city {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.2rem;
}

.sl-tutor-desc {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #475569;
    margin: 0.65rem 0 0;
    max-width: 680px;
}

.sl-subject-pill {
    display: inline-block;
    border: 1px solid #fed7aa;
    background: #fff;
    color: #c2410c;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
}

.sl-subject-more {
    color: #94a3b8;
    border-color: #e2e8f0;
    font-style: italic;
}

/* -- Price + CTA box -- */
.sl-price-box {
    border-radius: 1.5rem;
    background: #fff;
    padding: 1.25rem 1rem;
    min-width: 190px;
    flex-shrink: 0;
}

.sl-price-tag {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0;
}

.sl-price-amount {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    margin-top: 0.4rem;
}

.sl-price-per {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0.2rem 0 0;
}

.sl-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(to right, #facc15, #f97316);
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: box-shadow 0.2s;
    width: 100%;
    margin-top: 1rem;
}

.sl-book-btn:hover {
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
    color: #fff;
    text-decoration: none;
}

/* -- Empty state -- */
.sl-empty {
    border-radius: 2rem;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    padding: 3.5rem 2rem;
    text-align: center;
    display: none;
}

.sl-empty h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.sl-empty p {
    color: #64748b;
    margin: 0.5rem 0 0;
}

/* 5d. Privacy
   ......................................................... */

:root {
    --text: #111;
    --muted: #555;
    --link: #003AFA;
    --bg: #fff;
    --border: #e8e8e8;
}

#privacy-page {
    padding: 48px 20px;
    background: var(--bg);
    color: var(--text);
}

#privacy-page .privacy-container {
    max-width: 860px;
    margin: 0 auto;
}

#privacy-page h1,
#privacy-page h2,
#privacy-page h3 {
    line-height: 1.25;
    margin: 1.6em 0 .6em;
}

#privacy-page h1 {
    font-size: 2rem;
}

#privacy-page h2 {
    font-size: 1.35rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

#privacy-page h3 {
    font-size: 1.1rem;
}

#privacy-page p,
#privacy-page ul,
#privacy-page ol {
    margin: 0 0 1rem;
}

#privacy-page ul {
    padding-left: 1.25rem;
}

#privacy-page a {
    color: var(--link);
    text-decoration: none;
}

#privacy-page a:hover {
    text-decoration: underline;
}

#privacy-page .muted {
    color: var(--muted);
}

#privacy-page .hr {
    height: 1px;
    background: var(--border);
    margin: 1.25rem 0;
}

#privacy-page .toc a {
    display: inline-block;
    padding: .2rem 0;
}

#privacy-page .callout {
    background: #f8f9fb;
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: .5rem;
}

/* 5e. Terms of Service
   ......................................................... */

/* No page-specific styles */

/* 6. TUTOR PAGES
   -------------------------------------------------------- */

/* 6a. Tutor Signup (.ts-*)
   ......................................................... */

#tutor-signup-page {
    font-family: inherit;
}

.ts-page-bg {
    background: linear-gradient(160deg, #fff7ed 0%, #ffffff 60%, #fef3c7 100%);
    min-height: 100vh;
}

/* -- Hero -- */
.ts-hero {
    max-width: 768px;
}

.ts-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.ts-hero-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
}

.ts-notice {
    width: 100%;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 1.5rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.ts-notice-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.ts-notice-body {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

.ts-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.ts-stat-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 1.5rem;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(251, 146, 60, 0.1);
    backdrop-filter: blur(4px);
}

.ts-stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
}

.ts-stat-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.2rem;
}

/* -- Form card -- */
.ts-form-section {
    max-width: 768px;
}

.ts-form-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(251, 146, 60, 0.12);
    backdrop-filter: blur(8px);
}

.ts-form-header {
    margin-bottom: 2rem;
}

.ts-badge {
    display: inline-block;
    background: #ffedd5;
    color: #ea580c;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
}

.ts-form-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
}

/* What happens next */
.ts-next-steps {
    background: #ffffff;
    border-radius: 2rem;
    padding: 1.75rem;
    box-shadow: 0 8px 30px rgba(148, 163, 184, 0.15);
}

.ts-next-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 1.25rem;
}

.ts-next-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ts-next-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ts-step-num {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.ts-step-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #0f172a;
    margin: 0;
    padding-top: 0.2rem;
}

/* -- Alerts -- */
.ts-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.ts-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.ts-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.ts-alert-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.ts-alert-heading {
    font-weight: 600;
    margin: 0;
}

.ts-alert-body {
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
    color: #15803d;
}

/* -- Form fields -- */
.ts-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.ts-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ts-field-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.ts-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.ts-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.ts-input:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.15);
}

.ts-error {
    font-size: 0.8rem;
    color: #dc2626;
}

/* -- Checkbox -- */
.ts-checkbox-wrap {
    background: rgba(255, 247, 237, 0.7);
    border: 1px solid #fed7aa;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.ts-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin: 0;
}

.ts-checkbox {
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #f97316;
    cursor: pointer;
}

.ts-checkbox-title {
    display: block;
    font-weight: 600;
    color: #0f172a;
}

.ts-checkbox-desc {
    display: block;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
    margin-top: 0.2rem;
}

.ts-error-block {
    display: block;
    margin-top: 0.5rem;
}

/* -- Submit button -- */
.ts-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 8px 24px rgba(251, 146, 60, 0.35);
}

.ts-submit-btn:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 32px rgba(251, 146, 60, 0.4);
}

/* -- Footer -- */
.ts-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.ts-footer a {
    text-decoration: none;
    color: inherit;
}

.ts-footer a:hover {
    text-decoration: underline;
}

/* -- Responsive -- */
@media (max-width: 640px) {
    .ts-field-row {
        grid-template-columns: 1fr;
    }

    .ts-stats-row {
        grid-template-columns: 1fr;
    }

    .ts-form-card {
        padding: 1.5rem;
    }
}

/* 6b. Tutor Template (.tp-*)
   ......................................................... */

.tp-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 26%, #f8fafc 100%);
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.tp-blob { position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.tp-blob-1 { left: -5rem; top: 6rem; width: 13rem; height: 13rem; background: rgba(251, 146, 60, .25); }
.tp-blob-2 { right: -6rem; top: 9rem; width: 18rem; height: 18rem; background: rgba(253, 224, 71, .25); }
.tp-blob-3 { bottom: 2.5rem; left: 33%; width: 18rem; height: 18rem; background: rgba(203, 213, 225, .20); }

.tp-container { position: relative; z-index: 10; max-width: 88rem; margin: 0 auto; padding: 0 1rem; }

@media (min-width: 640px)  { .tp-container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .tp-container { padding: 0 2rem; } }

.tp-card {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 2rem;
    box-shadow: 0 18px 70px rgba(15, 23, 42, .06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tp-card-p { padding: 1.5rem; }

@media (min-width: 640px) { .tp-card-p { padding: 2rem; } }

.tp-hero { box-shadow: 0 24px 80px rgba(15, 23, 42, .08); }

.tp-hero-grid { display: grid; gap: 2rem; }

@media (min-width: 1024px) { .tp-hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; } }

.tp-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.tp-badge { border-radius: 9999px; padding: .375rem 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.tp-badge-orange { background: #ffedd5; color: #c2410c; }
.tp-badge-slate  { background: #f1f5f9; color: #475569; }

.tp-hero-name { font-size: 2.5rem; font-weight: 900; letter-spacing: -.025em; color: #0f172a; margin: 0; }

@media (min-width: 640px) { .tp-hero-name { font-size: 3rem; } }

.tp-hero-tagline { font-size: 1.125rem; color: #475569; margin: .75rem 0 0; }

@media (min-width: 640px) { .tp-hero-tagline { font-size: 1.25rem; } }

.tp-stats-grid { display: grid; gap: 1rem; }

@media (min-width: 640px) { .tp-stats-grid { grid-template-columns: 1fr 1fr; } }

.tp-stat-card { border-radius: 1.5rem; padding: 1.25rem; border: 1px solid; }
.tp-stat-orange { border-color: #fed7aa; background: rgba(255, 237, 213, .7); }
.tp-stat-slate  { border-color: #e2e8f0; background: rgba(248, 250, 252, .8); }

.tp-stat-label { display: flex; align-items: center; gap: .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.tp-stat-label-orange { color: #c2410c; }
.tp-stat-label-slate  { color: #64748b; }
.tp-stat-value { margin-top: .75rem; font-weight: 900; color: #0f172a; }
.tp-stat-value-lg { font-size: 1.875rem; }
.tp-stat-value-md { font-size: 1.5rem; }

.tp-lang-box { border-radius: 1.5rem; border: 1px solid #e2e8f0; background: #fff; padding: 1.25rem; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.tp-lang-label { display: flex; align-items: center; gap: .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #64748b; margin-bottom: 1rem; }
.tp-tags { display: flex; flex-wrap: wrap; gap: .75rem; }
.tp-tag { border-radius: 9999px; border: 1px solid #e2e8f0; background: #f8fafc; padding: .5rem 1rem; font-size: .875rem; font-weight: 500; color: #334155; }

.tp-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

.tp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(to right, #facc15, #f97316);
    padding: .875rem 1.75rem;
    font-size: .875rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 10px 25px rgba(249, 115, 22, .35);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s;
}

.tp-btn-primary:hover { transform: translateY(-2px); color: #fff; text-decoration: none; }

.tp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    padding: .875rem 1.75rem;
    font-size: .875rem;
    font-weight: 700;
    color: #334155;
    background: transparent;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

.tp-btn-secondary:hover { border-color: #fdba74; color: #c2410c; text-decoration: none; }

.tp-photo-wrap { position: relative; margin: 0 auto; max-width: 28rem; width: 100%; }

.tp-photo-glow {
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(253, 186, 116, .3), rgba(253, 224, 71, .2), rgba(203, 213, 225, .3));
    filter: blur(32px);
}

.tp-photo-inner {
    position: relative;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, .7);
    background: #fff;
    padding: 1rem;
    box-shadow: 0 25px 60px rgba(249, 115, 22, .15);
    overflow: hidden;
}

.tp-photo-inner img { width: 100%; height: 28rem; border-radius: 1.5rem; object-fit: cover; object-position: center top; display: block; }

.tp-verified-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    border-radius: 1.5rem;
    background: #020617;
    padding: 1rem 1.25rem;
    color: #fff;
    margin-top: 1rem;
}

.tp-verified-bar i { color: #facc15; font-size: 1.25rem; }
.tp-verified-title { font-size: .875rem; font-weight: 600; }
.tp-verified-sub   { font-size: .75rem; color: #94a3b8; }

.tp-body-grid { display: grid; gap: 2rem; }

@media (min-width: 1280px) { .tp-body-grid { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; } }

.tp-section-label { display: flex; align-items: center; gap: .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #c2410c; }
.tp-section-h2 { font-size: 1.5rem; font-weight: 900; color: #0f172a; margin: .5rem 0; }

@media (min-width: 640px) { .tp-section-h2 { font-size: 1.875rem; } }

.tp-description { line-height: 2; color: #475569; }

.tp-edu-wrap { border-radius: 1.75rem; border: 1px solid #e2e8f0; background: rgba(248, 250, 252, .8); padding: 1.5rem; }
.tp-edu-inner { border-radius: 1.5rem; background: #fff; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.tp-edu-degree { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin: 0 0 .75rem; }
.tp-edu-meta { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; color: #64748b; }

@media (min-width: 640px) { .tp-edu-meta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1.5rem; } }

.tp-edu-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.tp-edu-desc { line-height: 1.75; color: #475569; margin-top: 1rem; }

.tp-subjects-box { border-radius: 1.75rem; border: 1px solid #e2e8f0; background: rgba(248, 250, 252, .7); padding: 1.5rem; }
.tp-subjects-title { font-size: 1.125rem; font-weight: 700; color: #0f172a; margin: 0 0 1rem; }

.tp-subject-tag {
    display: inline-flex;
    border-radius: 9999px;
    border: 1px solid #fed7aa;
    background: #fff;
    padding: .5rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

.tp-subject-tag:hover { border-color: #fdba74; color: #c2410c; text-decoration: none; }

.tp-aside { display: flex; flex-direction: column; gap: 1.5rem; }

.tp-avail-card {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 2rem;
    box-shadow: 0 18px 70px rgba(15, 23, 42, .06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) { .tp-avail-card { padding: 1.75rem; } }

.tp-avail-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #c2410c; margin: 0; }
.tp-avail-h2 { font-size: 1.5rem; font-weight: 900; color: #0f172a; margin: .75rem 0 0; }
.tp-avail-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; text-align: left; }

.tp-avail-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-radius: 1rem; border: 1px solid #e2e8f0; background: rgba(248, 250, 252, .8); padding: .75rem 1rem; }
.tp-avail-item-label { display: inline-flex; align-items: center; gap: .75rem; font-size: .875rem; font-weight: 500; color: #334155; }
.tp-avail-item-label i { color: #f97316; }
.tp-check { color: #10b981; font-size: 1.125rem; }
.tp-cross { color: #f43f5e; font-size: 1.125rem; }

.tp-contact-card {
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, .7);
    background: #020617;
    padding: 1.5rem;
    box-shadow: 0 18px 70px rgba(15, 23, 42, .15);
    color: #fff;
}

@media (min-width: 640px) { .tp-contact-card { padding: 1.75rem; } }

.tp-contact-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #facc15; margin: 0; }
.tp-contact-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }

.tp-contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    padding: 1rem;
    color: #fff;
    text-decoration: none;
    transition: background .15s;
}

.tp-contact-link:hover { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }

.tp-contact-icon { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgba(255, 255, 255, .1); flex-shrink: 0; }
.tp-contact-icon i { color: #facc15; font-size: 1.125rem; }
.tp-contact-sub-label { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #94a3b8; }
.tp-contact-value { display: block; font-size: .875rem; font-weight: 600; color: #fff; }

.tp-mt-6 { margin-top: 1.5rem; }
.tp-mt-8 { margin-top: 2rem; }
.tp-content-sections { display: flex; flex-direction: column; gap: 2rem; }

/* END OF PART 3 — Payment, Home, and Tutor pages */

/* ═══════════════════════════════════════════════════════════
   PAGE-LOAD ENTER ANIMATIONS (Index hero)
════════════════════════════════════════════════════════════ */
@keyframes tmEnterUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes tmEnterLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes tmEnterRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes tmEnterScale {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes tmEnterFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Elements start invisible; JS adds .tm-page-loaded to <body> to play */
.tm-hero-title,
.tm-typed-row,
.tm-hero-lead,
.tm-hero-btns,
.tm-hero-img-wrap,
.tm-deco-wave-tl,
.tm-deco-circle-tr,
.tm-deco-zigzag-l,
.tm-deco-curve-br,
.tm-deco-dot-mid,
.tm-deco-dot-lower,
.tm-float-icon {
    opacity: 0;
}

body.tm-page-loaded .tm-hero-title {
    animation: tmEnterLeft 0.7s cubic-bezier(.22,1,.36,1) 0.1s both;
}
body.tm-page-loaded .tm-typed-row {
    animation: tmEnterLeft 0.7s cubic-bezier(.22,1,.36,1) 0.25s both;
}
body.tm-page-loaded .tm-hero-lead {
    animation: tmEnterUp 0.7s cubic-bezier(.22,1,.36,1) 0.4s both;
}
body.tm-page-loaded .tm-hero-btns {
    animation: tmEnterUp 0.7s cubic-bezier(.22,1,.36,1) 0.55s both;
}
body.tm-page-loaded .tm-hero-img-wrap {
    animation: tmEnterRight 0.8s cubic-bezier(.22,1,.36,1) 0.3s both;
}

/* Hero decorative SVGs
   Keep enter effect + restore continuous background motion */
body.tm-page-loaded .tm-deco-wave-tl {
    animation: tmEnterFade 0.8s ease 0.6s both,
               tmWave 8s ease-in-out 0.6s infinite;
}
body.tm-page-loaded .tm-deco-circle-tr {
    animation: tmEnterFade 0.8s ease 0.7s both,
               tmSpin 20s linear 0.7s infinite;
}
body.tm-page-loaded .tm-deco-zigzag-l {
    animation: tmEnterFade 0.8s ease 0.75s both,
               tmDrift 6s ease-in-out 1.75s infinite;
}
body.tm-page-loaded .tm-deco-curve-br {
    animation: tmEnterFade 0.8s ease 0.8s both,
               tmWave 10s ease-in-out 2.8s infinite;
}
body.tm-page-loaded .tm-deco-dot-mid {
    animation: tmEnterFade 0.6s ease 0.65s both,
               tmSpin 12s ease-in-out 0.65s infinite;
}
body.tm-page-loaded .tm-deco-dot-lower {
    animation: tmEnterFade 0.6s ease 0.85s both,
               tmSpinReverse 15s ease-in-out 2.35s infinite;
}

/* Floating background icons — staggered enter + continuous float */
body.tm-page-loaded .tm-float-icon:nth-of-type(1) { animation: tmEnterFade 0.45s ease 0.5s both, tmIconFloat var(--dur, 20s) ease-in-out calc(var(--delay, 0s) + 0.5s) infinite; }
body.tm-page-loaded .tm-float-icon:nth-of-type(2) { animation: tmEnterFade 0.45s ease 0.65s both, tmIconFloat var(--dur, 20s) ease-in-out calc(var(--delay, 0s) + 0.65s) infinite; }
body.tm-page-loaded .tm-float-icon:nth-of-type(3) { animation: tmEnterFade 0.45s ease 0.8s both, tmIconFloat var(--dur, 20s) ease-in-out calc(var(--delay, 0s) + 0.8s) infinite; }
body.tm-page-loaded .tm-float-icon:nth-of-type(4) { animation: tmEnterFade 0.45s ease 0.95s both, tmIconFloat var(--dur, 20s) ease-in-out calc(var(--delay, 0s) + 0.95s) infinite; }
body.tm-page-loaded .tm-float-icon:nth-of-type(5) { animation: tmEnterFade 0.45s ease 1.1s both, tmIconFloat var(--dur, 20s) ease-in-out calc(var(--delay, 0s) + 1.1s) infinite; }
body.tm-page-loaded .tm-float-icon:nth-of-type(6) { animation: tmEnterFade 0.45s ease 1.25s both, tmIconFloat var(--dur, 20s) ease-in-out calc(var(--delay, 0s) + 1.25s) infinite; }
body.tm-page-loaded .tm-float-icon:nth-of-type(7) { animation: tmEnterFade 0.45s ease 1.4s both, tmIconFloat var(--dur, 20s) ease-in-out calc(var(--delay, 0s) + 1.4s) infinite; }
body.tm-page-loaded .tm-float-icon:nth-of-type(8) { animation: tmEnterFade 0.45s ease 1.55s both, tmIconFloat var(--dur, 20s) ease-in-out calc(var(--delay, 0s) + 1.55s) infinite; }

@media (prefers-reduced-motion: reduce) {
    .tm-hero-title, .tm-typed-row, .tm-hero-lead, .tm-hero-btns,
    .tm-hero-img-wrap, .tm-deco-wave-tl, .tm-deco-circle-tr,
    .tm-deco-zigzag-l, .tm-deco-curve-br, .tm-deco-dot-mid,
    .tm-deco-dot-lower, .tm-float-icon {
        opacity: 1 !important;
        animation: none !important;
    }
}
