/* Landing & Auth */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

.landing-subject-badges-zone {
    margin-top: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.landing-subject-badges-orbit-wrap {
    width: 620px;
    height: 620px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) and (max-width: 991px) {
    .landing-hero-with-roles {
        overflow: visible;
    }
    .landing-hero-row {
        gap: 0;
        margin-bottom: 0;
    }
    .landing-hero-carousel-col {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    .landing-subject-badges-zone {
        margin-top: 0;
        margin-bottom: 0;
        min-height: 0;
        width: 100%;
    }
    .landing-roles-row {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
    .landing-subject-badges-orbit-wrap {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        position: relative;
    }
    .landing-subject-badges-orbit-wrap .landing-badges-circle {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        --orbit-radius: 50%;
    }
    .landing-badges-circle .landing-badges-center-image {
        width: 75%;
        height: 75%;
        max-width: 75%;
        max-height: 75%;
    }
}

.landing-badges-circle {
    --orbit-radius: 240px;
    position: relative;
    width: 480px;
    height: 480px;
    flex-shrink: 0;
    border-radius: 50%;
    box-sizing: border-box;
}

.landing-badges-circle .landing-subject-badges-orbit {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.landing-badges-circle .landing-badges-center-image {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 480px;
    height: 480px;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.landing-hero-carousel-col .landing-badges-center-image {
    opacity: 0;
    animation: landing-center-image-fade 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

@keyframes landing-center-image-fade {
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero-carousel-col .landing-badges-center-image {
        opacity: 1;
        animation: none;
    }
}

.landing-badges-orbit-rotating {
    position: absolute;
    inset: 0;
    transform-origin: 50% 50%;
    pointer-events: none;
}
.landing-badges-orbit-rotating .landing-subject-badge-unit {
    pointer-events: auto;
}

#landingSubjectBadgesZone .landing-subject-badges-orbit .landing-subject-badge-unit {
    margin: 0;
}

.landing-subject-badge-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transform-origin: center center;
}

#landingSubjectBadgesZone .landing-subject-badges-orbit .landing-subject-badge-unit.landing-badge-unit-pulse {
    animation: none !important;
}

.landing-subject-badges-scattered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.25rem 2rem;
    width: 100%;
}

@keyframes landing-badge-appear {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes landing-badge-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.4); }
}

.landing-subject-badge-unit.landing-badge-unit-pulse {
    animation: landing-badge-pulse 1.4s ease-in-out;
}

.landing-subject-badge-unit {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transition: transform 0.25s ease;
    transform-origin: center center;
}

.landing-subject-badge-unit:hover {
    transform: scale(1.15);
}

#landingSubjectBadgesZone .landing-subject-badges-orbit .landing-subject-badge-unit.badge-size-xl { font-size: 0.95rem; }
#landingSubjectBadgesZone .landing-subject-badges-orbit .landing-subject-badge-unit.badge-size-lg { font-size: 0.82rem; }
#landingSubjectBadgesZone .landing-subject-badges-orbit .landing-subject-badge-unit.badge-size-md { font-size: 0.75rem; }
#landingSubjectBadgesZone .landing-subject-badges-orbit .landing-subject-badge-unit.badge-size-sm { font-size: 0.7rem; }

.landing-subject-badge-unit.badge-size-sm { font-size: 0.78rem; }
.landing-subject-badge-unit.badge-size-md { font-size: 0.88rem; }
.landing-subject-badge-unit.badge-size-lg { font-size: 0.96rem; }
.landing-subject-badge-unit.badge-size-xl { font-size: 1.08rem; }

.landing-subject-badge-icon {
    font-size: 2.8em;
    line-height: 1;
}

.landing-badge-icon-color-1 .landing-subject-badge-icon { color: #667eea; }
.landing-badge-icon-color-2 .landing-subject-badge-icon { color: #4facfe; }
.landing-badge-icon-color-3 .landing-subject-badge-icon { color: #43e97b; }
.landing-badge-icon-color-4 .landing-subject-badge-icon { color: #fa709a; }
.landing-badge-icon-color-5 .landing-subject-badge-icon { color: #0d9488; }
.landing-badge-icon-color-6 .landing-subject-badge-icon { color: #94a3b8; }
.landing-badge-icon-color-7 .landing-subject-badge-icon { color: #ec4899; }
.landing-badge-icon-color-8 .landing-subject-badge-icon { color: #84cc16; }
.landing-badge-icon-color-9 .landing-subject-badge-icon { color: #8b5cf6; }
.landing-badge-icon-color-10 .landing-subject-badge-icon { color: #0ea5e9; }
.landing-badge-icon-color-11 .landing-subject-badge-icon { color: #f97316; }
.landing-badge-icon-color-12 .landing-subject-badge-icon { color: #6366f1; }

.landing-subject-badge-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5em 1em;
    border-radius: 999px;
    font-size: 1em;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.landing-subject-badge-unit.badge-size-sm .landing-subject-badge-item { padding: 0.38em 0.8em; }
.landing-subject-badge-unit.badge-size-md .landing-subject-badge-item { padding: 0.46em 0.95em; }
.landing-subject-badge-unit.badge-size-lg .landing-subject-badge-item { padding: 0.52em 1.08em; }
.landing-subject-badge-unit.badge-size-xl .landing-subject-badge-item { padding: 0.6em 1.2em; }

.landing-subject-badge-item .landing-badge-dev-tag {
    position: absolute;
    top: 0;
    right: -6px;
    transform: translateY(-50%);
    padding: 0.2em 0.45em;
    border-radius: 999px;
    font-size: 0.65em;
    font-weight: 600;
    white-space: nowrap;
    background: #6b7280;
    color: #fff;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

html[data-theme="dark"] .landing-subject-badge-item .landing-badge-dev-tag {
    background: #4b5563;
    color: #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.landing-subject-badge-unit:hover .landing-subject-badge-item {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.landing-badge-color-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff !important; }
.landing-badge-color-2 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); color: #fff !important; }
.landing-badge-color-3 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); color: #0d3d2b !important; }
.landing-badge-color-4 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); color: #5c3d0a !important; }
.landing-badge-color-5 { background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%); color: #fff !important; }
.landing-badge-color-6 { background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%); color: #fff !important; }
.landing-badge-color-7 { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); color: #fff !important; }
.landing-badge-color-8 { background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%); color: #1e3a0f !important; }
.landing-badge-color-9 { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); color: #fff !important; }
.landing-badge-color-10 { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); color: #fff !important; }
.landing-badge-color-11 { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); color: #fff !important; }
.landing-badge-color-12 { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); color: #fff !important; }

.landing-subject-badge-item.landing-badge-active {
    animation: landing-badge-glow 3s ease-in-out infinite;
}

@keyframes landing-badge-glow {
    0%, 100% { box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4); }
    50%      { box-shadow: 0 4px 18px rgba(102, 126, 234, 0.6); }
}

html[data-theme="dark"] .landing-badge-color-1 { background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%); color: #fff !important; }
html[data-theme="dark"] .landing-badge-color-2 { background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 100%); color: #fff !important; }
html[data-theme="dark"] .landing-badge-color-3 { background: linear-gradient(135deg, #4ade80 0%, #2dd4bf 100%); color: #fff !important; }
html[data-theme="dark"] .landing-badge-color-4 { background: linear-gradient(135deg, #fb7185 0%, #fbbf24 100%); color: #fff !important; }
html[data-theme="dark"] .landing-badge-color-5 { background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%); color: #fff !important; }
html[data-theme="dark"] .landing-badge-color-6 { background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%); color: #fff !important; }
html[data-theme="dark"] .landing-badge-color-7 { background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%); color: #fff !important; }
html[data-theme="dark"] .landing-badge-color-8 { background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%); color: #1e3a0f !important; }
html[data-theme="dark"] .landing-badge-color-9 { background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%); color: #fff !important; }
html[data-theme="dark"] .landing-badge-color-10 { background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%); color: #fff !important; }
html[data-theme="dark"] .landing-badge-color-11 { background: linear-gradient(135deg, #fb923c 0%, #f97316 100%); color: #fff !important; }
html[data-theme="dark"] .landing-badge-color-12 { background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%); color: #fff !important; }

html[data-theme="dark"] .landing-badge-icon-color-1 .landing-subject-badge-icon { color: #818cf8; }
html[data-theme="dark"] .landing-badge-icon-color-2 .landing-subject-badge-icon { color: #38bdf8; }
html[data-theme="dark"] .landing-badge-icon-color-3 .landing-subject-badge-icon { color: #4ade80; }
html[data-theme="dark"] .landing-badge-icon-color-4 .landing-subject-badge-icon { color: #fb7185; }
html[data-theme="dark"] .landing-badge-icon-color-5 .landing-subject-badge-icon { color: #2dd4bf; }
html[data-theme="dark"] .landing-badge-icon-color-6 .landing-subject-badge-icon { color: #94a3b8; }
html[data-theme="dark"] .landing-badge-icon-color-7 .landing-subject-badge-icon { color: #f472b6; }
html[data-theme="dark"] .landing-badge-icon-color-8 .landing-subject-badge-icon { color: #a3e635; }
html[data-theme="dark"] .landing-badge-icon-color-9 .landing-subject-badge-icon { color: #a78bfa; }
html[data-theme="dark"] .landing-badge-icon-color-10 .landing-subject-badge-icon { color: #38bdf8; }
html[data-theme="dark"] .landing-badge-icon-color-11 .landing-subject-badge-icon { color: #fb923c; }
html[data-theme="dark"] .landing-badge-icon-color-12 .landing-subject-badge-icon { color: #818cf8; }

.landing-auth-page-wrap {
    position: relative;
    min-height: 60vh;
    padding: 2rem 0 3rem;
    margin: 0;
}

.landing-auth-content {
    position: relative;
    z-index: 1;
}

.landing-hero-tutor-block {
    background: none;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(1rem);
    animation: landing-hero-reveal 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.landing-hero-carousel-col {
    opacity: 0;
    transform: translateY(1rem);
    animation: landing-hero-reveal 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes landing-hero-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero-tutor-block,
    .landing-hero-carousel-col {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.landing-hero-tutor-block .welcome-title-home {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.25rem;
    font-weight: 700;
    color: inherit;
}

.landing-hero-tutor-block .welcome-subtitle-home {
    color: inherit;
}

.landing-hero-auth-block {
    background: none;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(1rem);
    animation: landing-hero-reveal 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.landing-hero-auth-block .welcome-icon.welcome-icon-home,
.landing-hero-register-block .welcome-icon.welcome-icon-home {
    font-size: 2rem;
}

.landing-hero-auth-title {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.625rem;
    font-weight: 700;
    color: inherit;
    margin: 0 0 0.25rem 0;
}

.landing-hero-auth-form-wrap {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.landing-hero-auth-register-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.landing-hero-auth-register-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

html[data-theme="dark"] .landing-hero-auth-register-link {
    color: #a5b4fc;
}

.landing-hero-auth-demo {
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

html[data-theme="dark"] .landing-hero-auth-demo {
    border-top-color: rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero-auth-block {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

@media (max-width: 767px) {
    .landing-hero-auth-title {
        font-size: 1.125rem;
    }
}

.landing-hero-register-block {
    background: none;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(1rem);
    animation: landing-hero-reveal 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.landing-hero-register-title {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.625rem;
    font-weight: 700;
    color: inherit;
    margin: 0 0 0.25rem 0;
}

.landing-hero-register-form-wrap {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.landing-hero-register-form-wrap .form-label,
.landing-hero-register-form-wrap label.form-label {
    margin-bottom: 0.2rem;
}

.landing-hero-register-form-wrap .mb-3 {
    margin-bottom: 0.5rem !important;
}

.landing-hero-register-form-wrap .mt-3 {
    margin-top: 0.5rem !important;
}

.landing-hero-register-form-wrap .mt-4 {
    margin-top: 0.65rem !important;
}

.landing-hero-register-form-wrap .mb-2 {
    margin-bottom: 0.35rem !important;
}

.landing-hero-register-form-wrap .form-check.mb-2 {
    margin-bottom: 0.2rem !important;
}

.landing-hero-register-form-wrap h6.mb-3 {
    margin-bottom: 0.5rem !important;
}

.landing-hero-register-form-wrap .row {
    margin-bottom: -0.25rem;
}

.landing-hero-register-form-wrap .row .mb-3 {
    margin-bottom: 0.5rem !important;
}

.landing-hero-register-form-wrap .role-card .card-body {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.landing-hero-register-form-wrap .role-card .card-body h6 {
    margin-top: 0.25rem !important;
}

.landing-hero-register-form-wrap .role-specific-fields {
    margin-top: 0.5rem;
    padding: 0.6rem 0.75rem;
    padding-left: 0.75rem;
}

.landing-hero-register-form-wrap .role-specific-fields .alert-role-info {
    padding: 0.4rem 0.75rem;
    margin-bottom: 0.5rem;
}

.landing-hero-register-form-wrap .role-specific-fields .mb-3 {
    margin-bottom: 0.5rem !important;
}

.landing-hero-register-form-wrap .role-specific-fields .row .mb-3 {
    margin-bottom: 0.5rem !important;
}

.landing-hero-register-form-wrap .role-specific-fields .mb-2 {
    margin-bottom: 0.35rem !important;
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero-register-block {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

@media (max-width: 767px) {
    .landing-hero-register-title {
        font-size: 1.125rem;
    }
}

.landing-hero-tutor-hr {
    border-color: rgba(102, 126, 234, 0.25);
    max-width: 12rem;
    margin-left: auto;
    margin-right: auto;
}

html[data-theme="dark"] .landing-hero-tutor-hr {
    border-color: rgba(255, 255, 255, 0.15);
}

.landing-hero-row {
    margin-bottom: 0.5rem;
}

.landing-roles-row {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="dark"] .landing-roles-row {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.scroll-revealed {
    opacity: 1;
    transform: translateY(0);
}

.landing-roles-row .scroll-reveal {
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.landing-roles-row .scroll-reveal.scroll-revealed:nth-child(1) { transition-delay: 0s; }
.landing-roles-row .scroll-reveal.scroll-revealed:nth-child(2) { transition-delay: 0.15s; }
.landing-roles-row .scroll-reveal.scroll-revealed:nth-child(3) { transition-delay: 0.3s; }

.landing-role-cols-row .scroll-reveal.scroll-revealed:nth-child(1) { transition-delay: 0s; }
.landing-role-cols-row .scroll-reveal.scroll-revealed:nth-child(2) { transition-delay: 0.15s; }

body.landing-role-page-layout .scroll-reveal,
body.landing-role-page-layout .scroll-reveal.scroll-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


.landing-welcome-card .card-header {
    background: #667eea;
    color: #fff;
}

html[data-theme="dark"] .landing-welcome-card .card-header {
    background: #6366f1;
}

.landing-start-here-section {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.06) 0%, rgba(248, 249, 253, 1) 100%);
    margin-top: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.12);
    overflow: hidden;
}

html[data-theme="dark"] .landing-start-here-section {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.08) 0%, rgba(26, 29, 35, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.06);
}

.landing-start-here-title {
    font-family: "Caveat", cursive;
    font-size: 2.25rem;
    font-weight: 600;
    color: inherit;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.landing-any-device-section {
    font-family: "Caveat", cursive;
    font-size: 2.25rem;
    font-weight: 600;
    color: inherit;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    background-image: url("../img/aqua.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
}

.landing-start-here-icon {
    color: #667eea;
    font-size: 3rem;
}

html[data-theme="dark"] .landing-start-here-icon {
    color: #a5b4fc;
}

.landing-start-here-cards {
    margin-bottom: 0;
}

.landing-start-here-row {
    margin-bottom: 0;
}

.landing-start-here-row + .landing-start-here-row {
    margin-top: 2rem;
}

.landing-start-here-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    color: inherit;
}

.landing-start-here-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

html[data-theme="dark"] .landing-start-here-img {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.landing-any-device-section {
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 991px) {
    .landing-any-device-section {
        background-size: 85%;
        background-position: center 30%;
    }
}

@media (max-width: 575px) {
    .landing-any-device-section {
        background-size: 100%;
        background-position: center 30%;
    }
}

.landing-any-device-title {
    font-family: "Caveat", cursive;
    font-size: 2.25rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 1rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.landing-any-device-icon {
    color: #667eea;
    font-size: 3rem;
}

html[data-theme="dark"] .landing-any-device-icon {
    color: #a5b4fc;
}

.landing-any-device-content {
    text-align: center;
    margin-top: 1.25rem;
}

.landing-any-device-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    margin: 0 auto 1.25rem;
}

.landing-any-device-desc {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    font-style: normal;
    color: #000;
    margin: 0;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.landing-any-device-attribution {
    margin: 1rem 0 0;
    font-size: 0.75rem;
    text-align: center;
}

.landing-any-device-attribution a {
    color: #64748b;
    text-decoration: none;
}

.landing-any-device-attribution a:hover {
    text-decoration: underline;
}

html[data-theme="dark"] .landing-any-device-attribution a {
    color: #94a3b8;
}

html[data-theme="dark"] .landing-any-device-section .container {
    text-align: center;
}

html[data-theme="dark"] .landing-any-device-title {
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: inline-block;
}

html[data-theme="dark"] .landing-any-device-desc {
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
}

.landing-roles-title {
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.75rem;
    color: inherit;
}

.landing-role-card {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 0;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    background: #fff;
}

.landing-role-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 45px rgba(102, 126, 234, 0.25);
    color: inherit;
}

html[data-theme="dark"] .landing-role-card {
    background: #252932;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .landing-role-card:hover {
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.3);
}

.landing-role-card .card-body {
    padding: 1.75rem;
}

.landing-role-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.landing-role-card:hover .landing-role-card-icon {
    transform: scale(1.1) rotate(-3deg);
}

.landing-role-card-icon.purple { background: #667eea; }
.landing-role-card-icon.green { background: #16a34a; }
.landing-role-card-icon.teal  { background: #0d9488; }

.landing-role-card-title {
    font-family: "Caveat", cursive;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.landing-role-card-desc {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.5;
}

html[data-theme="dark"] .landing-role-card-desc {
    color: #9ca3af;
}

.landing-role-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #667eea;
    transition: gap 0.25s ease;
}

html[data-theme="dark"] .landing-role-card-link {
    color: #818cf8;
}

.landing-role-card:hover .landing-role-card-link {
    gap: 0.5rem;
}

body.landing-role-page-layout .main-content {
    min-height: 0;
}

.landing-role-page {
    position: relative;
    padding: 0.5rem 0 0.5rem;
    overflow-x: hidden;
}

.landing-role-content {
    position: relative;
    z-index: 1;
}

.landing-role-cols-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 2.5rem;
    align-items: flex-start;
    margin-bottom: 0;
    padding-bottom: 0;
}

.landing-role-col {
    flex: 1 1 320px;
    min-width: 0;
}

.landing-role-col.landing-role-col-left {
    flex: 1 1 380px;
}

.landing-role-col.landing-role-col-right {
    flex: 1 1 380px;
}

@media (min-width: 992px) {
    .landing-role-cols-row {
        gap: 3rem;
    }
    .landing-role-col-left { max-width: 48%; }
    .landing-role-col-right { max-width: 48%; }
}

@media (max-width: 991px) {
    .landing-role-cols-row { flex-direction: column; }
    .landing-role-col { flex: 1 1 100%; }
}

.landing-role-header {
    text-align: center;
    margin-bottom: 3rem;
}

.landing-role-header .landing-role-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    color: #fff;
    -webkit-text-fill-color: #fff;
    background-clip: unset;
}

.landing-role-header .landing-role-icon i {
    font-size: 2.5rem;
    color: inherit;
    -webkit-text-fill-color: inherit;
}

.landing-role-header .landing-role-icon.gradient-icon-purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.landing-role-header .landing-role-icon.gradient-icon-green  { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }
.landing-role-header .landing-role-icon.gradient-icon-teal   { background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%); }

.landing-role-header .landing-role-title {
    font-size: clamp(1.75rem, 4.5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.landing-role-lead {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

html[data-theme="dark"] .landing-role-lead {
    color: #9ca3af;
}

.landing-role-possibilities {
    border-radius: 20px;
    border: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(102, 126, 234, 0.06);
    overflow: hidden;
    margin-bottom: 3rem;
    background: #fff;
}

html[data-theme="dark"] .landing-role-possibilities {
    background: #252932;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.landing-role-possibilities .card-body {
    padding: 2rem 2.5rem 2.25rem;
}

.landing-role-possibilities .landing-role-possibilities-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: inherit;
}

.landing-feature-ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.landing-feature-ul li {
    padding: 0.6rem 0;
    padding-left: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 1rem;
}

.landing-feature-ul li:last-child {
    border-bottom: 0;
}

.landing-feature-ul li i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

html[data-theme="dark"] .landing-feature-ul li {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.landing-role-screenshot {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.landing-role-cols-row .landing-role-screenshot {
    margin-bottom: 1.5rem;
}

.landing-role-cols-row .landing-role-col .landing-role-screenshot:last-child {
    margin-bottom: 0 !important;
}

.landing-role-page .landing-role-content .landing-role-cols-row {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.landing-role-screenshot-label {
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-role-screenshot-label i {
    opacity: 0.85;
}

html[data-theme="dark"] .landing-role-screenshot-label {
    color: #d1d5db;
}

.landing-role-screenshot-box {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

html[data-theme="dark"] .landing-role-screenshot-box {
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.landing-role-screenshot-inner {
    min-height: 280px;
    background: linear-gradient(160deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #6c757d;
}

.landing-role-screenshot-inner i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

html[data-theme="dark"] .landing-role-screenshot-inner {
    background: linear-gradient(160deg, #1f2937 0%, #111827 100%);
    color: #9ca3af;
}

.landing-role-screenshot-inner.landing-role-screenshot-img {
    padding: 0;
    background: #e9ecef;
}

.landing-role-screenshot-image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 280px;
    object-fit: cover;
    vertical-align: middle;
}

html[data-theme="dark"] .landing-role-screenshot-inner.landing-role-screenshot-img {
    background: #1f2937;
}

.landing-screenshot-placeholder { margin-left: auto; margin-right: auto; max-width: 720px; }
.landing-screenshot-label { font-size: 0.95rem; font-weight: 600; color: #495057; margin-bottom: 0.5rem; }
.landing-screenshot-box { border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.08); }
.landing-screenshot-inner { min-height: 220px; background: #e9ecef; }

@media (max-width: 767px) {
    .landing-hero-tutor-block .welcome-title-home {
        font-size: 2.25rem;
    }
    .landing-hero-row {
        margin-bottom: 0;
    }
    .landing-subject-badges-zone {
        min-height: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
    .landing-subject-badges-orbit-wrap {
        width: min(480px, 90vw);
        height: min(480px, 90vw);
    }
    .landing-badges-circle {
        width: 100%;
        height: 100%;
        --orbit-radius: min(240px, 45vw);
    }
    .landing-badges-circle .landing-badges-center-image {
        width: 320px;
        height: 320px;
    }
    .landing-roles-row {
        margin-top: 0;
        padding-top: 0;
    }
    .landing-role-card .card-body {
        padding: 1.35rem;
    }
    .landing-start-here-section {
        margin-top: 1.5rem;
    }
    .landing-start-here-title {
        font-size: 1.85rem;
    }
    .landing-start-here-icon {
        font-size: 2.5rem;
    }
    .landing-any-device-title {
        font-size: 1.85rem;
    }
    .landing-any-device-icon {
        font-size: 2.5rem;
    }
}

body.landing-main-page .landing-auth-page-wrap {
    padding: 0.5rem 0 !important;
}
body.landing-main-page .main-content {
    padding-top: 0.5rem !important;
}
body.landing-main-page .main-content main {
    padding-bottom: 0.5rem !important;
}

.cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    padding: 1rem 1.25rem;
}

html[data-theme="dark"] .cookie-consent-bar {
    background: #1e293b;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    border-top-color: rgba(255, 255, 255, 0.08);
}

.cookie-consent-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-consent-bar-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #374151;
    flex: 1;
    min-width: 200px;
}

html[data-theme="dark"] .cookie-consent-bar-text {
    color: #e2e8f0;
}

.cookie-consent-bar-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-bar-link:hover {
    color: #5a67d8;
}

html[data-theme="dark"] .cookie-consent-bar-link {
    color: #a5b4fc;
}

html[data-theme="dark"] .cookie-consent-bar-link:hover {
    color: #c7d2fe;
}

.cookie-consent-bar-btn {
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .cookie-consent-bar-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cookie-consent-bar-btn {
        width: 100%;
    }
}
