/* ==========================================================================
   MARKETPLACE DUOLINGO - MODERN GLASSMORPHISM DESIGN SYSTEM
   ========================================================================== */

/* --- Typography and CSS variables --- */
:root {
    --bg-dark: #f8fafc;
    --sidebar-bg: rgba(255, 255, 255, 0.95);
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(0, 0, 0, 0.08);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    
    /* Vibrant gradients & HSL branding colors */
    --ozon-pink: hsl(330, 85%, 60%);
    --wb-purple: hsl(275, 80%, 55%);
    --success-green: hsl(145, 75%, 45%);
    --accent-gold: hsl(45, 95%, 55%);
    --danger-red: hsl(0, 80%, 55%);
    
    --purple-grad: linear-gradient(135deg, hsl(275, 80%, 55%) 0%, hsl(330, 85%, 60%) 100%);
    --green-grad: linear-gradient(135deg, hsl(145, 75%, 45%) 0%, hsl(160, 80%, 40%) 100%);
    --gold-grad: linear-gradient(135deg, hsl(45, 95%, 55%) 0%, hsl(30, 95%, 50%) 100%);
    --glass-blur: blur(12px);
}

/* --- Basic resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    height: 100vh;
}

h1, h2, h3, h4, .logo-title {
    font-family: 'Outfit', sans-serif;
}

/* --- Layout Grid --- */
.app-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    height: 100vh;
}

/* ==========================================
   LEFT SIDEBAR PANEL
   ========================================== */
.sidebar {
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    backdrop-filter: var(--glass-blur);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    z-index: 100;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    padding: 0 8px;
}

.mascot-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--ozon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.2);
}

.logo-title {
    font-size: 18px;
    font-weight: 800;
    background: var(--purple-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.nav-item:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--purple-grad);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.25);
}

.sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.user-quick-info {
    padding: 8px;
}

.quick-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-rank {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ==========================================
   MAIN CONTENT AREA
   ========================================== */
.main-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* --- Top Bar Statistics --- */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: var(--glass-blur);
    height: 64px;
}

.career-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 40%;
}

.progress-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.progress-track {
    background-color: rgba(0, 0, 0, 0.06);
    height: 10px;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--purple-grad);
    border-radius: 5px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-counters {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.flame-icon {
    animation: flamePulse 1.5s infinite ease-in-out;
}

.reset-btn {
    cursor: pointer;
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* --- Container screens --- */
.screen-container {
    flex-grow: 1;
    padding: 32px;
    overflow-y: auto;
    position: relative;
}

.screen {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screen.active {
    display: block;
    opacity: 1;
}

/* ==========================================
   GLASSMOPHISM CARDS & CORE COMPONENTS
   ========================================== */
.glass-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* --- Standard Buttons --- */
.btn {
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--purple-grad);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 128, 0.3);
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.btn-success {
    background: var(--green-grad);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.btn-success:hover {
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
}

.btn-warning {
    background: var(--gold-grad);
    color: black;
}

.btn-warning:hover {
    transform: translateY(-2px);
}

/* --- Form elements --- */
.form-control {
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 16px;
}

.form-control:focus {
    outline: none;
    border-color: var(--ozon-pink);
    background-color: rgba(0, 0, 0, 0.06);
}

/* ==========================================
   SCREEN 1: WELCOME & DIAGNOSTIC CARD
   ========================================== */
.welcome-card {
    max-width: 650px;
    margin: 40px auto;
    text-align: center;
    padding: 48px;
}

.welcome-mascot {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid var(--ozon-pink);
    box-shadow: 0 0 25px rgba(255, 0, 128, 0.35);
    margin-bottom: 24px;
}

.welcome-card h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.welcome-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.diagnostic-prompt-box {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.diagnostic-prompt-box p {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ==========================================
   SCREEN 2: DUOLINGO PATH MAP
   ========================================== */
.map-intro {
    text-align: center;
    margin-bottom: 48px;
}

.map-intro h2 {
    font-size: 24px;
    font-weight: 800;
}

.map-intro p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.duolingo-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-bottom: 80px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.duolingo-map::before {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 100px;
    width: 8px;
    background-color: rgba(0, 0, 0, 0.04);
    z-index: 1;
}

/* Map items and steps */
.map-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.node-btn {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Status variants for nodes */
.node-btn.locked {
    background: #f1f5f9;
    color: #94a3b8;
    border: 4px solid #e2e8f0;
    cursor: not-allowed;
}

.node-btn.active {
    background: var(--purple-grad);
    border: 4px solid var(--text-primary);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.6);
    animation: activePulse 1.8s infinite ease-in-out;
}

.node-btn.completed {
    background: var(--green-grad);
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.node-btn:hover:not(.locked) {
    transform: scale(1.1) translateY(-3px);
}

.node-title-box {
    position: absolute;
    top: 86px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Zigzag positioning for road map */
.map-step:nth-child(5n+1) .node-btn { transform: translateX(-80px); }
.map-step:nth-child(5n+2) .node-btn { transform: translateX(-40px); }
.map-step:nth-child(5n+3) .node-btn { transform: translateX(0px); }
.map-step:nth-child(5n+4) .node-btn { transform: translateX(40px); }
.map-step:nth-child(5n+5) .node-btn { transform: translateX(80px); }

.map-step:nth-child(5n+1) .node-title-box { transform: translateX(-80px); }
.map-step:nth-child(5n+2) .node-title-box { transform: translateX(-40px); }
.map-step:nth-child(5n+3) .node-title-box { transform: translateX(0px); }
.map-step:nth-child(5n+4) .node-title-box { transform: translateX(40px); }
.map-step:nth-child(5n+5) .node-title-box { transform: translateX(80px); }

/* Level divider in tree map */
.level-divider {
    font-weight: 800;
    font-size: 13px;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin: 32px 0 16px 0;
    z-index: 2;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 20px;
    letter-spacing: 1px;
    white-space: nowrap;
    text-align: center;
}

/* ==========================================
   MODALS AND WIZARDS
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 600px;
    position: relative;
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lesson-modal-content {
    max-width: 750px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
}

.modal-body {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 8px;
}

.lesson-syllabus {
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.7;
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 24px;
}

/* Confirm modal small format */
.confirm-modal {
    max-width: 450px;
    text-align: center;
}

.confirm-modal h3 {
    margin-bottom: 12px;
}

.confirm-modal p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.confirm-modal .modal-footer {
    justify-content: center;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.level-selector-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.btn-lvl-opt {
    justify-content: flex-start;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================
   AI MENTOR EXPLAINER CARD
   ========================================== */
.ai-mentor-box {
    background-color: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    animation: fadeSlideIn 0.4s ease-out;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(139, 92, 246, 0.2);
    padding-bottom: 8px;
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--ozon-pink);
}

.ai-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ozon-pink);
    letter-spacing: 0.5px;
}

.ai-content-body {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    white-space: pre-line;
}

/* ==========================================
   SCREEN 3: PRACTICE PLAYGROUND
   ========================================== */
.practice-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    padding: 16px;
}

.task-item {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.task-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.12);
}

.task-item.active {
    background-color: rgba(139, 92, 246, 0.08);
    border-color: var(--wb-purple);
}

.task-item-type {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ozon-pink);
    letter-spacing: 0.5px;
}

.task-item-title {
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-playground {
    min-height: calc(100vh - 180px);
}

.placeholder-text {
    color: var(--text-secondary);
    text-align: center;
    padding: 100px 0;
    font-style: italic;
}

.task-active-area h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.difficulty-tag {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.task-description-box {
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: 12px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.task-submission-form label {
    font-size: 14px;
}

.btn-submit-task {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

/* --- Audit Evaluation Box --- */
.evaluation-report-box {
    margin-top: 32px;
    background-color: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 16px;
    padding: 24px;
    animation: fadeSlideIn 0.4s ease-out;
}

.evaluation-report-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: #22c55e;
}

.xp-gain-str {
    font-size: 24px;
    font-weight: 800;
    margin-top: 4px;
    margin-bottom: 16px;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mentor-feedback-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre-line;
}

/* ==========================================
   SCREEN 4: CRISIS SIMULATIONS SANDBOX
   ========================================== */
.simulations-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.simulations-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    padding: 16px;
}

.sim-item {
    background-color: rgba(239, 68, 68, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.sim-item:hover {
    background-color: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
}

.sim-item.active {
    background-color: rgba(239, 68, 68, 0.08);
    border-color: var(--danger-red);
}

.sim-item-type {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--danger-red);
    letter-spacing: 0.5px;
}

.sim-item-title {
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.simulation-workspace {
    min-height: calc(100vh - 180px);
}

.sim-active-area h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.crisis-alert-card {
    border: 1px solid var(--danger-red);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 24px;
    margin-bottom: 24px;
    animation: borderRedFlash 1.5s infinite alternate;
}

.alert-banner {
    background-color: var(--danger-red);
    color: white;
    font-weight: 800;
    font-size: 12px;
    padding: 8px 16px;
    letter-spacing: 0.8px;
    text-align: center;
}

.alert-body {
    padding: 18px;
    background-color: rgba(11, 14, 23, 0.8);
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-line;
}

.sim-solution-form label {
    font-size: 14px;
}

.sim-solution-form textarea {
    border-color: rgba(251, 191, 36, 0.3);
}

.sim-solution-form textarea:focus {
    border-color: var(--accent-gold);
}

.sim-solution-form button {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* ==========================================
   SCREEN 5: CAREER PROFILE & STATS
   ========================================= */
.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.profile-card {
    text-align: center;
    padding: 32px 16px;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid var(--ozon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.2);
    margin-bottom: 16px;
}

.profile-card h3 {
    font-size: 20px;
    font-weight: 700;
}

.profile-rank {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    margin-bottom: 16px;
}

.profile-streak-meter {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.profile-streak-meter .streak-flame {
    animation: flamePulse 1.2s infinite ease-in-out;
}

.profile-streak-meter .streak-text {
    font-size: 13px;
    font-weight: 600;
}

.career-badge-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.career-badge {
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    color: rgba(255, 255, 255, 0.25);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.career-badge.active {
    background: var(--purple-grad);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 0, 128, 0.15);
}

.analytics-card {
    min-height: 420px;
}

.analytics-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stats-item {
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stats-item .label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stats-item .val {
    font-size: 22px;
    font-weight: 800;
}

.weaknesses-section {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.weaknesses-list {
    margin-top: 12px;
    line-height: 1.6;
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==========================================
   SCREEN 6: PRO SHOP SAAS TEMPLATES
   ========================================== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.shop-item {
    text-align: center;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shop-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.shop-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.shop-item p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.shop-item button {
    width: 100%;
    justify-content: center;
}

.shop-item.premium {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.08);
}

.shop-item.saas-sub {
    border-color: var(--ozon-pink);
    box-shadow: 0 4px 20px rgba(255, 0, 128, 0.08);
}

/* ==========================================
   LEVEL UP TOAST POPUP ALERT
   ========================================== */
.level-up-toast {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #10b981;
    border: 2px solid white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    padding: 20px 30px;
    border-radius: 16px;
    z-index: 2000;
    text-align: center;
    color: white;
    max-width: 320px;
    animation: toastSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.level-up-toast h3 {
    font-size: 18px;
    font-weight: 800;
    margin-top: 4px;
    margin-bottom: 4px;
}

.level-up-toast p {
    font-size: 13px;
    opacity: 0.9;
}

/* --- Utilities --- */
.hidden {
    display: none !important;
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes activePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 128, 0.7);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(255, 0, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 128, 0);
    }
}

@keyframes flamePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
    }
    50% {
        transform: scale(1.15) translateY(-2px);
        text-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
    }
}

@keyframes borderRedFlash {
    0% {
        border-color: rgba(239, 68, 68, 0.3);
        box-shadow: 0 0 5px rgba(239, 68, 68, 0.1);
    }
    100% {
        border-color: rgba(239, 68, 68, 1.0);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    }
}

@keyframes modalSlideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeSlideIn {
    from {
        transform: translateY(15px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toastSlideIn {
    from {
        transform: translateY(100px) scale(0.8);
        opacity: 0;
    }
    to {
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stats-item {
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stats-item .label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stats-item .val {
    font-size: 22px;
    font-weight: 800;
}

.weaknesses-section {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.weaknesses-list {
    margin-top: 12px;
    line-height: 1.6;
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==========================================
   SCREEN 6: PRO SHOP SAAS TEMPLATES
   ========================================== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.shop-item {
    text-align: center;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shop-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.shop-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.shop-item p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.shop-item button {
    width: 100%;
    justify-content: center;
}

.shop-item.premium {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.08);
}

.shop-item.saas-sub {
    border-color: var(--ozon-pink);
    box-shadow: 0 4px 20px rgba(255, 0, 128, 0.08);
}

/* ==========================================
   LEVEL UP TOAST POPUP ALERT
   ========================================== */
.level-up-toast {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #10b981;
    border: 2px solid white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    padding: 20px 30px;
    border-radius: 16px;
    z-index: 2000;
    text-align: center;
    color: white;
    max-width: 320px;
    animation: toastSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.level-up-toast h3 {
    font-size: 18px;
    font-weight: 800;
    margin-top: 4px;
    margin-bottom: 4px;
}

.level-up-toast p {
    font-size: 13px;
    opacity: 0.9;
}

/* --- Utilities --- */
.hidden {
    display: none !important;
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes activePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 128, 0.7);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(255, 0, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 128, 0);
    }
}

@keyframes flamePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
    }
    50% {
        transform: scale(1.15) translateY(-2px);
        text-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
    }
}

@keyframes borderRedFlash {
    0% {
        border-color: rgba(239, 68, 68, 0.3);
        box-shadow: 0 0 5px rgba(239, 68, 68, 0.1);
    }
    100% {
        border-color: rgba(239, 68, 68, 1.0);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    }
}

@keyframes modalSlideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeSlideIn {
    from {
        transform: translateY(15px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toastSlideIn {
    from {
        transform: translateY(100px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* ==========================================
   LANDING PAGE STYLING (PREMIUM LIGHT SYSTEM)
   ========================================== */
/* When landing is visible, body must allow scrolling */
body.landing-active {
    overflow-y: auto;
    height: auto;
}

.landing-container {
    background-color: #f8fafc;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    position: relative;
    z-index: 10;
}

.landing-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

.landing-mascot-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--ozon-pink);
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.2);
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-nav {
    display: flex;
    gap: 30px;
}

.landing-nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
    font-size: 15px;
    position: relative;
}

.landing-nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    transition: width 0.25s ease;
}

.landing-nav-link:hover::after {
    width: 100%;
}

.landing-nav-link:hover {
    color: #0f172a;
}

.landing-auth-buttons {
    display: flex;
    gap: 12px;
}

.landing-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    padding: 100px 8% 80px 8%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 680px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #0f172a;
}

.gradient-text {
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 19px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-actions .btn-large {
    font-size: 17px;
    padding: 15px 36px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-actions .btn-primary.btn-large {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.25);
    background: linear-gradient(135deg, #7c3aed, #db2777);
    border: none;
    color: #fff;
}

.hero-actions .btn-primary.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.35);
}

.hero-actions .btn-secondary.btn-large {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
    color: #334155;
}

.hero-actions .btn-secondary.btn-large:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: #0f172a;
    transform: translateY(-2px);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow-sphere {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.25); opacity: 1; }
}

.hero-mascot-img {
    max-width: 480px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    border-radius: 16px;
    border: 4px solid #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.landing-section {
    padding: 100px 8%;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: #0f172a;
}

.section-subtitle {
    font-size: 17px;
    color: #475569;
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}

/* Features list */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    position: relative;
    padding: 50px 30px 40px 30px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.15);
    letter-spacing: 2px;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: #fff;
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0f172a;
}

.feature-card p {
    color: #475569;
    line-height: 1.6;
    font-size: 14.5px;
}

/* Levels Timeline Section */
.landing-levels {
    background: rgba(0, 0, 0, 0.01);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.levels-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.levels-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 19px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #7c3aed 0%, #db2777 50%, rgba(0, 0, 0, 0.05) 100%);
}

.level-timeline-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    padding: 30px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    margin-bottom: 40px;
    position: relative;
}

.level-timeline-card::after {
    content: '';
    position: absolute;
    top: 36px;
    left: -31px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f8fafc;
    border: 4px solid #7c3aed;
    z-index: 2;
}

.level-badge {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #6d28d9;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    height: fit-content;
}

.level-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.level-topics {
    font-size: 15px;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 12px;
}

.level-status-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.level-status-tag.free {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Simulations grid */
.simulations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.sim-card {
    padding: 36px 30px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(239, 68, 68, 0.15);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.02);
    transition: all 0.3s ease;
}

.sim-card:hover {
    transform: translateY(-5px);
    background: rgba(239, 68, 68, 0.02);
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.05);
}

.sim-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.sim-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.sim-card p {
    color: #475569;
    line-height: 1.5;
    font-size: 14px;
}

/* Chat Assistant Widget */
.landing-assistant {
    background: rgba(0, 0, 0, 0.01);
}

.landing-chat-card {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--ozon-pink);
}

.chat-info {
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-weight: 700;
    font-size: 14.5px;
    color: #0f172a;
}

.chat-status {
    font-size: 11px;
    color: #059669;
    font-weight: 500;
}

.chat-messages {
    height: 280px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-bubble.bot {
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.chat-bubble.bot.thinking {
    color: #64748b;
    font-style: italic;
}

.chat-bubble.user {
    background: #7c3aed;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-suggestions {
    display: flex;
    gap: 10px;
    padding: 0 20px 14px 20px;
    overflow-x: auto;
}

.chat-pill {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    color: #6d28d9;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.chat-pill:hover {
    background: rgba(124, 58, 237, 0.15);
    color: #4c1d95;
}

.chat-input-area {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.01);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-input-area input {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #0f172a;
    flex-grow: 1;
    border-radius: 10px;
    padding: 12px 16px;
}

.chat-input-area input::placeholder {
    color: #94a3b8;
}

/* Tariffs Grid */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tariff-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.tariff-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

.tariff-card.featured {
    background: rgba(124, 58, 237, 0.03);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.06);
}

.badge-featured {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #7c3aed;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.tariff-card.premium {
    background: rgba(236, 72, 153, 0.02);
    border-color: rgba(236, 72, 153, 0.15);
}

.tariff-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f172a;
}

.price {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a;
}

.price .period {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.tariff-desc {
    font-size: 13px;
    color: #475569;
    margin-bottom: 24px;
}

.tariff-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.tariff-features li {
    font-size: 14px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Social, Contacts & Corporate Footer Ecosystem */
.landing-footer-eco {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 70px 8% 40px 8%;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand .brand-slogan {
    color: #475569;
    line-height: 1.5;
    font-size: 14.5px;
    margin-top: 15px;
}

.footer-contacts h4,
.footer-socials h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
}

.footer-contacts p {
    color: #475569;
    font-size: 14.5px;
    margin-bottom: 12px;
}

.footer-contacts p a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
}

.footer-contacts p a:hover {
    text-decoration: underline;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: #0f172a;
}

.social-btn.tg-bot {
    background: rgba(43, 142, 222, 0.05);
    border-color: rgba(43, 142, 222, 0.15);
    color: #1e88e5;
}

.social-btn.tg-bot:hover {
    background: rgba(43, 142, 222, 0.12);
}

.social-btn.tg-channel {
    background: rgba(41, 121, 255, 0.05);
    border-color: rgba(41, 121, 255, 0.15);
    color: #2979ff;
}

.social-btn.tg-channel:hover {
    background: rgba(41, 121, 255, 0.12);
}

.social-btn.tg-chat {
    background: rgba(0, 176, 255, 0.05);
    border-color: rgba(0, 176, 255, 0.15);
    color: #00b0ff;
}

.social-btn.tg-chat:hover {
    background: rgba(0, 176, 255, 0.12);
}

.social-btn.vk-page {
    background: rgba(0, 119, 204, 0.07);
    border-color: rgba(0, 119, 204, 0.15);
    color: #0077cc;
}

.social-btn.vk-page:hover {
    background: rgba(0, 119, 204, 0.12);
}

.social-btn.yt-channel {
    background: rgba(239, 83, 80, 0.05);
    border-color: rgba(239, 83, 80, 0.15);
    color: #e53935;
}

.social-btn.yt-channel:hover {
    background: rgba(239, 83, 80, 0.12);
}

.footer-divider {
    border: none;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-bottom .copyright {
    color: #64748b;
    font-size: 14px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #0f172a;
    text-decoration: underline;
}

.footer-disclaimer {
    border-left: 3px solid rgba(0, 0, 0, 0.15);
    padding-left: 20px;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .landing-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 60px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-image-container {
        order: -1;
    }
    .hero-title {
        font-size: 44px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .landing-header {
        padding: 15px 5%;
        flex-direction: column;
        gap: 15px;
    }
    .landing-nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .levels-timeline {
        padding-left: 20px;
    }
    .levels-timeline::before {
        left: 9px;
    }
    .level-timeline-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .level-timeline-card::after {
        left: -21px;
        top: 26px;
    }
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    .landing-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
