/* ==========================================================================
   TutorCen Premium Design System & Stylesheet
   Inspired by: Linear, Stripe, Notion, Calendly, and Airbnb
   ========================================================================== */

/* Variables & Theme configuration */
:root {
    --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    
    /* Brand Palette - Clean White/Light Theme with Blue Accent */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.75);
    
    --brand-blue: #00AEEF;            /* Electric Cyan Primary Accent */
    --brand-blue-hover: #009ad4;
    --brand-blue-light: #e0f2fe;      /* Soft Cyan Muted Accent */
    
    --brand-cyan: #00AEEF;
    --brand-purple: #5b21b6;          /* Deep Royal Purple Secondary Accent */
    
    --text-primary: #0d1117;          /* Core Neutral Dark: Deep Obsidian */
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border-light: #e2e8f0;
    --border-focus: #00AEEF;
    
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    
    /* Shadows & Border Radius */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -4px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 30px 60px -15px rgba(0, 174, 239, 0.06), 0 10px 30px -5px rgba(0, 0, 0, 0.03);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Dark Mode Overrides (Optional Toggleable Theme) */
.dark-theme {
    --bg-primary: #0d1117;            /* Deep Obsidian */
    --bg-secondary: #090c10;
    --bg-tertiary: #161b22;
    --bg-glass: rgba(13, 17, 23, 0.8);
    
    --brand-blue-light: rgba(0, 174, 239, 0.1);
    
    --text-primary: #f0f6fc;          /* Muted White */
    --text-secondary: #8b949e;
    --text-muted: #484f58;
    
    --border-light: #21262d;
    
    --shadow-premium: 0 30px 60px -15px rgba(0, 174, 239, 0.03), 0 10px 30px -5px rgba(0, 0, 0, 0.4);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utility Gradients & Badges */
.text-gradient {
    background: linear-gradient(135deg, #18a8f2 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    width: fit-content;
}

/* Background Glowing Blurs (Linear/Stripe Style) */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(24, 168, 242, 0.08) 0%, rgba(99, 102, 241, 0.04) 50%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.bg-glow-1 {
    top: -100px;
    right: -100px;
}

.bg-glow-2 {
    top: 60vh;
    left: -200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, rgba(24, 168, 242, 0.03) 50%, rgba(255, 255, 255, 0) 70%);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.937rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--brand-blue);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--brand-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 168, 242, 0.2);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    background-color: var(--border-light);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-light);
}

.btn-outline:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--text-muted);
}

.btn-link {
    background: none;
    border: none;
    color: var(--brand-blue);
    padding: 0;
    cursor: pointer;
    font-weight: 500;
}

.btn-link:hover {
    color: var(--brand-blue-hover);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
}

/* Glass Panels & Cards */
.glass-panel {
    background-color: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
}

/* Sticky App Header */
.app-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-smooth);
}

.header-container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.375rem;
    color: var(--text-primary);
}

.logo-icon {
    color: var(--brand-blue);
    width: 28px;
    height: 28px;
}

.brand-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.dark-theme .brand-logo-img {
    filter: invert(1) hue-rotate(180deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    text-decoration: none;
    font-size: 0.937rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    padding: 0.375rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--brand-blue);
}

.nav-link.active {
    color: var(--brand-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-blue);
    border-radius: var(--radius-full);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-light);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background-color: var(--bg-tertiary);
    color: var(--brand-blue);
}

.theme-toggle .sun-icon {
    display: none;
}

.dark-theme .theme-toggle .moon-icon {
    display: none;
}

.dark-theme .theme-toggle .sun-icon {
    display: block;
}

/* Hero Section */
.hero-section {
    padding: 6.5rem 0 4.5rem;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    width: 100%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.875rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-align: center;
}

.hero-subtitle {
    font-size: 1.187rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

/* Search Widget - High Fidelity */
.search-widget {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
    margin: 1.5rem auto 0;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%;
    max-width: 820px;
}

.search-widget:focus-within {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(24, 168, 242, 0.15), var(--shadow-xl);
}

.search-input-wrapper {
    flex: 4 1 360px !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0.75rem;
    border-right: 1px solid var(--border-light);
    min-width: 360px !important;
}

.search-input-wrapper input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-primary);
    font-size: 0.937rem;
    color: var(--text-primary);
    outline: none;
}

.search-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.search-input-wrapper i {
    color: var(--text-muted);
    width: 20px;
    height: 20px;
}

.search-select-wrapper {
    flex: 1 1 130px !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
    border-right: 1px solid var(--border-light);
    min-width: 130px !important;
}

.search-select-wrapper i {
    color: var(--text-muted);
    width: 18px;
    height: 18px;
}

.search-select-wrapper select {
    border: none;
    background: transparent;
    font-family: var(--font-primary);
    font-size: 0.937rem;
    font-weight: 500;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
    padding-right: 1.5rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 10px;
}

.search-btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.hero-stats .divider {
    width: 1px;
    height: 32px;
    background-color: var(--border-light);
}

/* Hero Visual Composition */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-card {
    width: 100%;
    max-width: 440px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transform: rotate(2deg);
    transition: transform var(--transition-spring);
}

.hero-visual-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.user-info {
    display: flex;
    gap: 0.875rem;
}

.avatar-glow {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--brand-blue) 0%, #6366f1 100%);
    padding: 2px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.937rem;
}

.user-info h3 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
}

.user-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.price-tag {
    font-family: var(--font-heading);
    font-size: 1.187rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.ratings {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.star-filled {
    color: #eab308;
    fill: #eab308;
    width: 16px;
    height: 16px;
}

.rating-val {
    font-weight: 700;
    color: var(--text-primary);
}

.review-count {
    color: var(--text-secondary);
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    margin-top: 0.25rem;
}

.availability {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.dot-online {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: var(--radius-full);
    display: inline-block;
    box-shadow: 0 0 8px var(--success);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    padding: 0.75rem 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.badge-1 {
    top: 12%;
    left: -35px;
    z-index: 12;
}

.badge-2 {
    bottom: 20%;
    right: -25px;
    z-index: 12;
    animation-delay: 3s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Common Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Browse Subjects Section */
.subjects-section {
    padding: 5rem 0;
    border-top: 1px solid var(--border-light);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.subject-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.subject-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-lg);
}

.subject-card.active {
    border-color: var(--brand-blue);
    background-color: var(--brand-blue-light);
}

.dark-theme .subject-card.active {
    background-color: rgba(24, 168, 242, 0.15);
}

.subject-icon-bg {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.subject-card:hover .subject-icon-bg {
    transform: scale(1.1);
}

.subject-card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.subject-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Tutor Directory Section */
.directory-section {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.directory-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.directory-header-row h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.directory-header-row p {
    font-size: 0.937rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.directory-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-chip {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 0.5rem 1.125rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-chip:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.filter-chip.active {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
}

/* Tutor Grid */
.tutors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.tutor-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.tutor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-blue);
}

.tutor-card-header {
    display: flex;
    justify-content: space-between;
}

.tutor-card-bio {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    height: 64px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.tutor-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.tutor-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* Dashboard Styles (Student/Tutor/Parent System) */
.dashboard-section {
    padding: 5rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

.section-hidden {
    display: none !important;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-sidebar {
    padding: 1.5rem;
    height: fit-content;
}

.user-profile-summary {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
}

.user-details h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.user-details p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.db-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.db-menu li {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-fast);
}

.db-menu li:hover {
    background-color: var(--bg-tertiary);
    color: var(--brand-blue);
}

.db-menu li.active {
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
}

.dark-theme .db-menu li.active {
    background-color: rgba(24, 168, 242, 0.15);
}

.badge-count {
    background-color: var(--brand-blue);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-full);
    margin-left: auto;
}

.dashboard-main-content {
    padding: 2rem;
    min-height: 500px;
}

.tab-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-card-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
}

.stat-card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.upcoming-sessions-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title-row h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.upcoming-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.session-row-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
}

.session-row-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
}

.session-tutor-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.session-tutor-avatar {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8125rem;
}

.session-date-info {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.session-status-badge {
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 2px dashed var(--border-light);
    border-radius: var(--radius-md);
}

.empty-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
}

/* Modals & Bookings Flow */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(9, 9, 11, 0.4);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    width: 90%;
    max-width: 820px;
    position: relative;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform var(--transition-spring);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close-btn:hover {
    background-color: var(--border-light);
    color: var(--text-primary);
}

.modal-content-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
}

.modal-left-banner {
    background: linear-gradient(135deg, rgba(24, 168, 242, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    padding: 2.5rem 1.75rem;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.modal-tutor-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
}

.modal-tutor-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--brand-blue);
}

.modal-tutor-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.modal-rate {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--brand-blue);
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
}

.modal-rating i {
    width: 14px;
    height: 14px;
    color: #eab308;
    fill: #eab308;
}

.modal-right-form {
    padding: 2.5rem;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-right-form h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    border-color: var(--brand-blue);
}

.date-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.slot-btn {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background-color: var(--bg-primary);
    padding: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slot-btn:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.slot-btn.selected {
    border-color: var(--brand-blue);
    background-color: var(--brand-blue);
    color: #ffffff;
}

/* booking success state & loading spinner animations */
.modal-loader-container,
.modal-success-container {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
}

.spinner {
    width: 44px;
    height: 44px;
    border: 3px solid var(--border-light);
    border-top-color: var(--brand-blue);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

.progress-bar-container {
    width: 100%;
    max-width: 320px;
    height: 6px;
    background-color: var(--border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background-color: var(--brand-blue);
    border-radius: var(--radius-full);
    transition: width 0.1s linear;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background-color: var(--success-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
}

.success-icon {
    width: 36px;
    height: 36px;
}

.success-details-card {
    width: 100%;
    max-width: 400px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.success-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.success-detail-row span {
    color: var(--text-secondary);
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
    transform: translateY(120px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    color: var(--brand-blue);
    width: 20px;
    height: 20px;
}

.toast-message {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* How It Works Steps */
.how-it-works-section {
    padding: 5rem 0;
    border-top: 1px solid var(--border-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-item-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: var(--brand-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.875rem;
}

.step-item-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.step-item-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* App Footer styles */
footer.app-footer {
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-secondary);
    padding: 4.5rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.footer-logo-icon {
    color: var(--brand-blue);
    width: 24px;
    height: 24px;
}

.footer-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-width: 280px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links-grid h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.125rem;
}

.footer-links-grid a {
    display: block;
    text-decoration: none;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
}

.footer-links-grid a:hover {
    color: var(--brand-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--brand-blue);
}

.social-links i {
    width: 18px;
    height: 18px;
}

/* AI Learning Experience Styles */
.ai-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border-light);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ai-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--brand-blue);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.ai-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(24, 168, 242, 0.3);
}

.ai-card:hover::before {
    opacity: 1;
}

.ai-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(24, 168, 242, 0.1);
    color: var(--brand-blue);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.ai-icon-bg {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(24, 168, 242, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ai-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ai-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Interactive Mock Classroom Container */
.classroom-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.video-feed-main {
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
}

.video-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-details {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-actions {
    display: flex;
    gap: 0.5rem;
}

.action-circle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(9, 9, 11, 0.6);
    backdrop-filter: blur(4px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background-color var(--transition-fast);
}

.action-circle:hover {
    background-color: var(--brand-blue);
}

.action-circle.mute-danger {
    background-color: rgba(239, 68, 68, 0.8);
}

.action-circle.mute-danger:hover {
    background-color: var(--danger);
}

.student-feed-small {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 120px;
    height: 90px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-md);
}

.whiteboard-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    height: 100%;
}

.whiteboard-tools {
    display: flex;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.tool-btn {
    border: 1px solid var(--border-light);
    background-color: var(--bg-primary);
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
}

.tool-btn.active, .tool-btn:hover {
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.chat-log-box {
    flex: 1;
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-right: 0.5rem;
}

.chat-bubble {
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    max-width: 85%;
}

.chat-bubble.tutor-bubble {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    align-self: flex-start;
}

.chat-bubble.me-bubble {
    background-color: var(--brand-blue);
    color: #ffffff;
    align-self: flex-end;
}

.chat-input-row {
    display: flex;
    gap: 0.5rem;
}

/* Multi-role Simulator Header Panel */
.simulator-panel {
    background-color: var(--brand-blue-light);
    border-bottom: 1px solid rgba(24, 168, 242, 0.2);
    padding: 0.5rem 0;
}

.simulator-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.simulator-desc {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-blue);
}

.simulator-roles {
    display: flex;
    gap: 0.5rem;
}

.sim-role-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(24, 168, 242, 0.3);
    background-color: var(--bg-primary);
    color: var(--brand-blue);
    cursor: pointer;
    font-weight: 700;
    transition: all var(--transition-fast);
}

.sim-role-btn:hover {
    background-color: var(--brand-blue-light);
}

.sim-role-btn.active {
    background-color: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
}

.dark-theme .simulator-panel {
    background-color: rgba(24, 168, 242, 0.1);
}

/* Custom Interactive Charts (CSS Grid bars representation) */
.parent-progress-row {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-top: 1rem;
}

.subject-progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 600;
}

.progress-bar-outer {
    height: 8px;
    background-color: var(--border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-blue) 0%, #6366f1 100%);
    border-radius: var(--radius-full);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-visual {
        order: -1;
    }
    .subjects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tutors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .subjects-grid {
        grid-template-columns: 1fr;
    }
    .tutors-grid {
        grid-template-columns: 1fr;
    }
    .search-widget {
        flex-direction: column;
        padding: 0.75rem;
        width: 100% !important;
    }
    .search-input-wrapper {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 0.75rem;
        min-width: 0 !important;
        width: 100% !important;
        flex: 1 1 auto !important;
    }
    .search-select-wrapper {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 0.75rem;
        min-width: 0 !important;
        width: 100% !important;
        flex: 1 1 auto !important;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Center role switcher toolbar on mobile */
    .simulator-panel {
        padding: 0.5rem !important;
    }
    .simulator-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
    }
    .simulator-roles {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.375rem !important;
        width: 100% !important;
    }
    .sim-role-btn {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.75rem !important;
    }

    /* Wrap experience and filter tab chips to avoid horizontal swipe layout cut-offs */
    #redefine-tabs-selector {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    #redefine-content-panel {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        padding: 1.5rem !important;
    }
    .directory-filters {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .directory-header-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    /* Stacking inline styled grid layouts */
    .become-tutor .container {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
    }
    .final-cta .container .glass-panel {
        display: flex !important;
        flex-direction: column !important;
        padding: 2.5rem 1.5rem !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    .final-cta div {
        align-items: center !important;
        text-align: center !important;
    }
    .final-cta button {
        width: 100% !important;
    }
    .global-team-gallery .container {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
        text-align: center !important;
    }

    /* Stacking dashboard booked sessions rows vertically */
    .session-row-card {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.875rem !important;
        text-align: left;
    }
    .session-date-info {
        margin-top: 0.25rem;
    }

    /* Dashboard Sidebar Scrollable Horizontal Menu on Mobile */
    .dashboard-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .dashboard-sidebar {
        padding: 1rem !important;
        width: 100% !important;
    }
    .db-menu {
        flex-direction: row !important;
        overflow-x: auto !important;
        padding-bottom: 0.5rem !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        width: 100% !important;
        border-bottom: 1px solid var(--border-light) !important;
    }
    .db-menu::-webkit-scrollbar {
        display: none !important;
    }
    .db-menu li {
        white-space: nowrap !important;
        padding: 0.5rem 0.875rem !important;
        font-size: 0.8125rem !important;
    }
    .user-profile-summary {
        padding-bottom: 1rem !important;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 580px) {
    #btn-login-header {
        display: none !important;
    }
    .header-actions {
        gap: 0.5rem !important;
    }
}

/* ==========================================================================
   Gamified Skeuomorphism, Depth, and Micro-Interactions
   ========================================================================== */

/* 1. Skeuomorphic Toggle Toggler Switch */
.skeuo-toggle-wrapper {
    width: 60px;
    height: 30px;
    background: #cbd5e1;
    border-radius: var(--radius-full);
    padding: 3px;
    cursor: pointer;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid #94a3b8;
    position: relative;
    transition: all var(--transition-smooth);
}

.dark-theme .skeuo-toggle-wrapper {
    background: #1e293b;
    border-color: #334155;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05);
}

.skeuo-toggle-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.skeuo-toggle-thumb {
    width: 22px;
    height: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: var(--radius-full);
    position: absolute;
    left: 0;
    top: 1px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: left var(--transition-spring), background var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-theme .skeuo-toggle-thumb {
    left: 32px;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.skeuo-toggle-thumb i {
    width: 12px;
    height: 12px;
    transition: color var(--transition-fast);
}

.skeuo-toggle-thumb .sun-icon {
    color: #f59e0b;
}

.skeuo-toggle-thumb .moon-icon {
    display: none;
}

.dark-theme .skeuo-toggle-thumb .sun-icon {
    display: none;
}

.dark-theme .skeuo-toggle-thumb .moon-icon {
    display: block;
    color: #38bdf8;
}

/* 2. Gamified Notebook Page (Tactile Notebook Texture) */
.skeuo-notebook-page {
    background-color: #fffdf0; /* Cream paper color */
    border-left: 20px solid transparent;
    position: relative;
    box-shadow: 2px 2px 0 #e4e2d3, 4px 4px 0 #d9d7c8, 10px 10px 25px rgba(0, 0, 0, 0.05);
    border-radius: 4px 14px 14px 4px;
    padding: 1.75rem 1.75rem 1.75rem 2.25rem;
    background-image: linear-gradient(#e2e0d0 1px, transparent 1px);
    background-size: 100% 28px;
    line-height: 28px;
    color: #2b3a4a;
    font-family: var(--font-primary);
    min-height: 240px;
}

.dark-theme .skeuo-notebook-page {
    background-color: #1e1e24; /* Dark paper mode */
    background-image: linear-gradient(#2d2d38 1px, transparent 1px);
    color: #e3e3ed;
    box-shadow: 2px 2px 0 #121217, 4px 4px 0 #0f0f13, 10px 10px 25px rgba(0, 0, 0, 0.3);
}

.skeuo-notebook-page::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #fca5a5; /* red margin line */
}

.skeuo-notebook-rings {
    position: absolute;
    left: -14px;
    top: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    z-index: 5;
}

.notebook-ring {
    width: 24px;
    height: 10px;
    background: linear-gradient(90deg, #94a3b8 0%, #cbd5e1 50%, #64748b 100%);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* 3. Metallic Shiny Interactive Badges */
.metallic-badge {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00AEEF 0%, #5B21B6 100%);
    color: #ffffff !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.2);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.metallic-badge:hover {
    transform: translateY(-2px);
}

.metallic-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.metallic-badge:hover::after {
    left: 140%;
}

/* 4. Micro-Interactions (Bouncy Icons & Likes) */
.bouncy-check {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color var(--transition-fast);
    cursor: pointer;
}

.bouncy-check:hover {
    transform: scale(1.3) rotate(8deg);
    color: var(--brand-cyan) !important;
}

.yt-like-btn {
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-light);
}

.yt-like-btn:hover {
    transform: scale(1.05);
    background-color: var(--border-light);
}

.yt-like-btn:active {
    transform: scale(0.9);
}

.yt-like-btn.liked {
    color: #ffffff;
    background: var(--brand-cyan);
    border-color: var(--brand-cyan);
    animation: likePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.yt-like-btn.liked i {
    fill: #ffffff;
}

@keyframes likePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4) rotate(-10deg); }
    100% { transform: scale(1); }
}

/* 5. Circular Progress Ring Infographics */
.circular-progress-panel {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring-svg {
    transform: rotate(-90deg);
}

.progress-ring-circle-fill {
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-ring-value {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* 6. Redefining online tutoring visuals & interactive additions */
.video-feed-main {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    background-color: #1e293b;
}

.student-feed-small {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 64px;
    height: 48px;
    border-radius: var(--radius-sm);
    border: 2px solid #ffffff;
    background-color: #334155;
    z-index: 2;
}

.workspace-skeuo-container {
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.workspace-skeuo-container:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.elevate-journey-section,
.redefine-experience-section,
.global-reach-section,
.global-team-gallery {
    animation: fadeIn var(--transition-smooth) ease;
}

/* World map hover adjustments */
.map-marker-pin:hover .pulse-dot {
    transform: scale(1.4);
    box-shadow: 0 0 12px var(--brand-cyan);
}
