*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --primary-color-rgb: 106, 17, 203;
    --secondary-color-rgb: 37, 117, 252;
    --accent-color: #ffde59;
    --text-color: #343a40;
    --light-text-color: #f8f9fa;
    --bg-color: #f9f9f9;
    --card-bg-color: #ffffff;
    --border-radius: 16px;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

html.no-smooth-scroll {
    scroll-behavior: auto !important;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

html,
body {
    overscroll-behavior-y: contain;
}

body.nav-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h2.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--text-color);
    position: relative;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 80px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    height: 4px;
    border-radius: 2px;
    margin: 15px auto 0;
}

section {
    padding: 80px 0;
    overflow: hidden;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    box-shadow: 0 4px 15px rgba(var(--secondary-color-rgb), 0.3);
    padding: 14px 32px;
    font-size: 0.95rem;
    border-radius: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--secondary-color-rgb), 0.4);
    filter: brightness(1.05);
}



.btn-accent {
    background: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-accent:hover {
    filter: brightness(1.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 222, 89, 0.4);
}

/* --- Apple Liquid Glass Button (Yellow) --- */
.btn-glass {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 222, 89, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 
        0 8px 32px 0 rgba(255, 222, 89, 0.4), 
        inset 0 2px 4px rgba(255, 255, 255, 0.9),
        inset 0 -2px 6px rgba(200, 160, 20, 0.3);
    color: var(--text-color);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    text-decoration: none;
}

.btn-glass::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    height: 45%;
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
    border-radius: 50px 50px 0 0;
}

.btn-glass:hover {
    background: rgba(255, 230, 110, 0.95);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px) scale(1.02);
    color: var(--text-color);
    box-shadow: 
        0 15px 45px 0 rgba(255, 222, 89, 0.6), 
        inset 0 2px 5px rgba(255, 255, 255, 1),
        inset 0 -2px 6px rgba(200, 160, 20, 0.3);
}

.btn-glass:active {
    transform: translateY(1px);
    box-shadow: 
        0 5px 15px 0 rgba(255, 222, 89, 0.3), 
        inset 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* --- Apple Liquid Glass Button (Blue) --- */
.btn-glass-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(37, 117, 252, 0.85); /* secondary-color */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 25px 0 rgba(37, 117, 252, 0.4), 
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        inset 0 -2px 6px rgba(10, 50, 150, 0.3);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    padding: 14px 32px;
    border-radius: 8px; /* rectangle */
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    text-decoration: none;
}

.btn-glass-primary::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    height: 45%;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}

.btn-glass-primary:hover {
    background: rgba(45, 130, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 
        0 12px 35px 0 rgba(37, 117, 252, 0.6), 
        inset 0 2px 5px rgba(255, 255, 255, 0.8),
        inset 0 -2px 6px rgba(10, 50, 150, 0.3);
}

.btn-glass-primary:active {
    transform: translateY(1px);
    box-shadow: 
        0 5px 15px 0 rgba(37, 117, 252, 0.3), 
        inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

/* --- Apple Liquid Glass Button (Pro Gradient) --- */
.btn-glass-pro {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 10px 25px 0 rgba(124, 58, 237, 0.5), 
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 6px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    text-decoration: none;
}

.btn-glass-pro::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    height: 45%;
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    border-radius: 30px 30px 0 0;
}

.btn-glass-pro:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.02);
    color: #ffffff;
    box-shadow: 
        0 15px 35px 0 rgba(109, 40, 217, 0.6), 
        inset 0 1px 3px rgba(255, 255, 255, 0.5),
        inset 0 -2px 6px rgba(0, 0, 0, 0.3);
}

.btn-glass-pro:active {
    transform: translateY(1px);
    box-shadow: 
        0 5px 15px 0 rgba(168, 85, 247, 0.3), 
        inset 0 1px 3px rgba(255, 255, 255, 0.5);
}





/* --- Navigation --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    padding: 0;
    /* Handled by children for exact spacing */
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container {
    padding-top: 15px;
    padding-bottom: 15px;
}

nav .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    z-index: 1002;
    transition: color 0.4s ease;
}

header.scrolled nav .logo {
    color: var(--primary-color);
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    margin-left: auto;
}

nav .nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.4s ease;
}

header.scrolled nav .nav-links a {
    color: var(--text-color);
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

nav .nav-links a:hover {
    color: var(--text-color);
}

nav .nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1002;
    margin-left: 20px;
}

#auth-container {
    display: flex;
    align-items: center;
}

#user-profile .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

header.scrolled #user-profile .user-info {
    background: rgba(var(--primary-color-rgb), 0.05);
    border-color: rgba(var(--primary-color-rgb), 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    transition: color 0.4s ease;
}

header.scrolled #user-name {
    color: var(--text-color);
}

.logout-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0 5px;
}

header.scrolled .logout-btn {
    color: #888;
}

.logout-btn:hover {
    color: #ff4757 !important;
}

/* --- Settings Dropdown --- */
.settings-dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-settings-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0 5px;
}

header.scrolled .nav-settings-btn {
    color: #888;
}

.nav-settings-btn:hover {
    color: #ff4757 !important;
}

.settings-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px;
    z-index: 2000;
    animation: fadeInDown 0.15s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.settings-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    color: #374151;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    text-align: left;
}

.settings-dropdown-item:hover {
    background: #f3f4f6;
}

.settings-dropdown-item.danger {
    color: #ef4444;
}

.settings-dropdown-item.danger:hover {
    background: #fef2f2;
}



.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1002;
}

.hamburger .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: #ffffff;
    border-radius: 2px;
}

header.scrolled .hamburger .bar {
    background-color: var(--text-color);
}

/* Adjust first section padding for fixed header */
main>section:first-of-type {
    padding-top: 100px;
}

main>section.generator-section {
    padding-top: 100px;
    padding-bottom: 30px;
}

main>section.uzdaviniai-section {
    padding-top: 70px;
}

@media (max-width: 992px) {
    main>section:first-of-type {
        padding-top: 100px;
    }

    main>section.generator-section {
        padding-top: 100px;
    }

    main>section.uzdaviniai-section {
        padding-top: 100px;
    }
}

@media (max-width: 600px) {
    main>section:first-of-type {
        padding-top: 100px;
    }

    main>section.generator-section {
        padding-top: 100px;
    }

    main>section.uzdaviniai-section {
        padding-top: 100px;
    }
}



/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    color: var(--light-text-color);
    padding: 220px 0 90px;
    background-size: 300% 300%;
    animation: moveGradient 15s ease infinite;
    position: relative;
}

@media (max-width: 992px) {
    .hero {
        padding: 200px 0 60px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 180px 0 50px;
    }
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.hero::before {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -150px;
}

.hero::after {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -100px;
}

.hero .container {
    /* Removed relative positioning to allow absolute children to reference the .hero section */
    z-index: 1;
}

.hero .hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    padding-bottom: 0;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    color: var(--accent-color);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}

.stat-suffix {
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image {
    position: absolute;
    top: 100px;
    right: 0;
    bottom: 0;
    width: 50%;
    height: calc(100% - 100px);
    display: grid;
    z-index: 0;
    mask-image: linear-gradient(to right, transparent 0%, black 20%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
    pointer-events: none;
}

@media (max-width: 992px) {
    .hero-image {
        top: 140px;
        /* Shifted more for stack layout or similar if needed, adjusting based on header */
        height: calc(100% - 140px);
    }
}

@media (max-width: 768px) {
    .hero-image {
        top: 180px;
        height: calc(100% - 180px);
        opacity: 1;
        /* Subtle background presence on small screens instead of hiding completely */
    }
}

.hero-image img:first-of-type {
    grid-area: 1/1;
    /* Stack in the first cell */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-faculty-logo {
    grid-area: 1/1;
    /* Stack in the same cell */
    align-self: end;
    /* Position at the bottom */
    justify-self: end;
    /* Position at the right */
    height: 80px;
    width: auto;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    pointer-events: none;
    z-index: 2;
}

@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- About Me Section --- */
.about-me-section {
    background-color: var(--card-bg-color);
}

.about-me-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-me-text {
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.about-me-text p {
    margin-bottom: 25px;
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    text-align: justify;
}

.about-me-text p strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-cta {
    margin-top: 40px;
}

.about-me-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 700px;
    /* Matching description */
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 10px;
    background: transparent;
    box-shadow: none;
    border: none;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .about-me-features {
        grid-template-columns: repeat(3, 1fr);
        max-width: 700px;
        margin: 0 auto;
        gap: 15px;
    }

    .feature-item h4 {
        font-size: 1rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .about-me-features {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 10px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 12px;
        padding: 20px 0;
        background: rgba(255,255,255,0.8); /* Optional contrast */
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    }

    .feature-item i {
        font-size: 2rem;
        width: 100%;
        margin-bottom: 5px;
        margin-top: 0;
        text-align: center;
    }

    .feature-item h4 {
        font-size: 1.1rem;
        margin-bottom: 5px;
        width: 100%;
    }

    .feature-item p {
        font-size: 0.95rem;
        line-height: 1.5;
        width: 100%;
    }
}

/* --- Tutors Grid --- */
.tutors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    align-items: stretch;
}

.tutor-card {
    background: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-top: 5px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.tutor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.05), 0 15px 30px rgba(var(--primary-color-rgb), 0.15);
}

.tutor-image-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 5px;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
}

.tutor-card img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--card-bg-color);
}

.tutor-card h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: var(--text-color);
}



.tutor-card .subjects {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tutor-card p {
    font-size: 0.95rem;
    color: #555;
    flex-grow: 1;
    margin-bottom: 25px;
}



/* --- Testimonials --- */
.testimonials-section {
    background-color: #eef2ff;
}

.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    overflow: hidden;
    background: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 40px;
    text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--accent-color);
}

.testimonial-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    position: relative;
    padding: 0 20px;
}

.testimonial-card .quote::before,
.testimonial-card .quote::after {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-card .quote::before {
    content: '“';
    top: -10px;
    left: -10px;
}

.testimonial-card .quote::after {
    content: '”';
    bottom: -30px;
    right: -10px;
}

.testimonial-card .author {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}



.slider-dots {
    text-align: center;
    margin-top: 25px;
}

.slider-dot {
    border: none;
    padding: 0;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: rgba(var(--primary-color-rgb), 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: width 0.4s ease, background-color 0.4s ease;
}

.slider-dot:not(.active):hover {
    background-color: rgba(var(--primary-color-rgb), 0.6);
}

.slider-dot.active {
    width: 30px;
    background-color: var(--primary-color);
}

.google-review-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-google {
    background: white;
    color: var(--text-color);
    border: 2px solid #4285F4;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-google i {
    font-size: 1.25rem;
    color: #4285F4;
    transition: color 0.3s ease;
}

.btn-google:hover {
    background: #4285F4;
    color: white;
    border-color: #4285F4;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
}

.btn-google:hover i {
    color: white;
}

/* --- FAQ --- */
.faq-section {
    background-color: var(--bg-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--card-bg-color);
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.25s ease-out;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: #555;
    line-height: 1.7;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* --- Footer --- */
footer {
    background: transparent;
    color: var(--text-color);
    padding: 60px 0 40px;
    text-align: center;
}


.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

footer p a {
    color: inherit;
    text-decoration: none;
}

/* --- Common UI Components --- */




/* --- Requirements Section --- */
/* --- Work Process --- */

.back-button-container {
    text-align: center;
    margin-top: 40px;
}

.back-button {
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--text-color);
    color: var(--light-text-color);
    border-color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.back-button i {
    margin-right: 8px;
}

/* --- Booking Section --- */
.booking-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 80vh;
}

.booking-section .section-title {
    margin-bottom: 20px;
}

.progress-bar-container {
    width: 100%;
    max-width: 500px;
    background-color: #e9ecef;
    border-radius: 25px;
    margin: 0 auto 20px;
    height: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.progress-bar {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    transition: width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.booking-step-indicator {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}

.booking-selection-details {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 8px;
}

.booking-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
}

.booking-view {
    opacity: 0;
    visibility: hidden;
    display: none;
    position: relative;
}

.booking-view.active {
    opacity: 1;
    visibility: visible;
    display: block;
}

.loader-container {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--secondary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    gap: 25px;
    justify-content: center;
}

.subject-btn {
    background: var(--card-bg-color);
    color: var(--text-color);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.subject-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(106, 17, 203, 0.15);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.subject-btn i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.tutor-count-badge {
    position: absolute;
    top: 12px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.subject-btn:hover .tutor-count-badge {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    transform: scale(1.05);
}

.subject-btn--unavailable {
    opacity: 0.7;
    cursor: not-allowed;
}

.subject-btn--unavailable i {
    color: #aaa;
}

.subject-btn--unavailable:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    color: var(--text-color);
    border-color: #f0f0f0;
}

.subject-btn--unavailable:hover i {
    color: #aaa;
}

.subject-btn--unavailable .tutor-count-badge {
    display: none;
}

#grade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    max-width: 670px;
    margin: 0 auto;
    justify-content: center;
}

.grade-btn {
    background: var(--card-bg-color);
    color: var(--text-color);
    border-radius: var(--border-radius);
    padding: 20px 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    width: 100%;
}

.grade-btn:hover:not(:disabled) {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(106, 17, 203, 0.12);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.grade-btn--unavailable,
.grade-btn:disabled {
    opacity: 0.6;
    background-color: #f8f9fa;
    cursor: not-allowed;
    color: #6c757d;
    border-color: #e9ecef;
}

#tutor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    align-items: stretch;
    justify-content: center;
}

/* --- New Simplified Booking Styles --- */
.tutor-booking-section {
    margin-bottom: 80px;
}

.booking-header {
    text-align: center;
    margin-bottom: 35px;
}

.tutor-mini-profile {
    display: inline-block;
}

.tutor-info h2 {
    margin: 0;
    font-size: 1.8rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.lesson-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
    /* Ensures centering for both single and multiple cards */
}

.lesson-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    cursor: pointer;
    min-height: 400px;
    width: 100%;
    max-width: 320px;
    /* Fixed maximum width to match the grid behavior */
}

.lesson-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(106, 17, 203, 0.1);
    border-color: var(--primary-color);
}

.lesson-card-badge {
    position: absolute;
    top: 12px;
    right: -55px;
    width: 180px;
    background: var(--accent-color);
    color: var(--text-color);
    padding: 3px 0;
    font-size: 0.55rem;
    /* Further reduced to ensure it fits perfectly */
    font-weight: 700;
    transform: rotate(45deg);
    z-index: 1;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.4px;
    text-indent: 20px;
    /* Pushes text further right to clear the corner */
}

.lesson-card-badge--premium {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #fff;
}

.lesson-card-icon {
    width: 54px;
    height: 54px;
    background: rgba(106, 17, 203, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.lesson-card:hover .lesson-card-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}

.lesson-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.lesson-card p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.lesson-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.lesson-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
}

.lesson-features i {
    color: #10b981;
    font-size: 0.75rem;
}

.lesson-card-footer {
    border-top: 1px solid #f5f5f5;
    padding-top: 20px;
}

.lesson-price {
    margin-bottom: 15px;
    text-align: center;
}

.lesson-price .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
}

.lesson-price .duration {
    font-size: 0.95rem;
    color: #888;
}

.btn-full {
    width: 100%;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tutor-card.booking-page-card {
    max-width: 380px;
    margin: 0 auto;
    cursor: pointer;
    padding: 0;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.tutor-card.booking-page-card:hover h3 {
    color: var(--primary-color);
}

.tutor-card.booking-page-card .tutor-card-content {
    padding: 20px 20px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tutor-card.booking-page-card .tutor-image-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.tutor-card.booking-page-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.tutor-details-pill {
    display: inline-flex;
    align-items: center;
    background-color: #eef2ff;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 auto 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tutor-details-pill span {
    color: var(--secondary-color);
    text-transform: uppercase;
}

.tutor-details-pill span:last-child:not(:first-child) {
    padding-left: 10px;
    margin-left: 10px;
    border-left: 1px solid #d0d9f0;
}

.tutor-card.booking-page-card .tutor-card-description {
    font-size: 0.95rem;
    color: #555;
    text-align: left;
    flex-grow: 1;
    margin-bottom: 15px;
}

.tutor-card.booking-page-card .tutor-action-area {
    border-top: 1px solid #eee;
    margin-top: auto;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tutor-card.booking-page-card .tutor-pricing {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
}

.tutor-card.booking-page-card .tutor-pricing .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
}

.tutor-card.booking-page-card .tutor-pricing .duration {
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
}

.tutor-card.booking-page-card .cta-button {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text-color);
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #888;
}

.tutor-card.booking-page-card:hover .cta-button {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.tutor-card.booking-page-card .payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.tutor-card.booking-page-card .payment-logos i {
    font-size: 1.8rem;
    color: #888;
}

.tutor-card-badge-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

.tutor-card-badge {
    position: absolute;
    top: 35px;
    right: -35px;
    width: 200px;
    padding: 8px 0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(45deg);
    transform-origin: center;
}

.tutor-card-badge--recommended {
    background-color: var(--accent-color);
    color: var(--text-color);
}



.tutor-card.main-page-card {
    padding: 0;
    border: 1px solid #e9ecef;
    border-top: none;
    border-image: none;
    text-align: center;
    max-width: 380px;
    margin: 0 auto;
}

.tutor-card.main-page-card .tutor-card-content {
    padding: 20px 20px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tutor-card.main-page-card .tutor-image-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.tutor-card.main-page-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.tutor-card.main-page-card .tutor-card-description {
    font-size: 0.95rem;
    color: #555;
    text-align: left;
    flex-grow: 1;
    margin-bottom: 15px;
}

.tutor-card.main-page-card .tutor-action-area {
    border-top: 1px solid #eee;
    margin-top: auto;
    padding: 15px 20px;
}

.tutor-card.main-page-card .cta-button {
    display: block;
    text-decoration: none;
    text-align: center;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text-color);
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tutor-card.main-page-card:hover .cta-button {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

#no-tutors-message {
    display: none;
    text-align: center;
    font-size: 1.2rem;
    padding: 40px 20px;
    background: #f0f0f0;
    border-radius: var(--border-radius);
}

/* --- Benefits Grid --- */


/* --- Media Queries --- */
@media (max-width: 992px) {
    h2.section-title {
        font-size: 2.2rem;
    }

    .join-us-content h2 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 160px 0 0;
        overflow: hidden;
    }

    .hero .hero-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .hero-content {
        order: 1;
        text-align: left;
        padding-bottom: 0;
    }

    .hero-image {
        position: relative;
        order: 2;
        width: 100vw;
        height: auto;
        left: 50%;
        right: auto;
        top: auto;
        bottom: auto;
        margin-left: -50vw;
        margin-right: -50vw;
        margin-top: 40px;
        margin-bottom: 0;
        mask-image: none;
        -webkit-mask-image: none;
        display: grid;
    }

    .hero-image img:first-of-type {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: cover;
    }

    .hero-benefits {
        display: inline-block;
        text-align: left;
        margin: 0 auto 40px;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero-image {
        margin-bottom: -20px;
        /* Counteract the bottom padding of the hero section */
    }

    .hero {
        padding: 120px 0 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        text-align: left;
    }

    .hero-stats {
        gap: 15px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 40px;
    }

    .stat-item {
        min-width: 0;
        flex: 1;
        align-items: center; /* ensures icons center correctly */
    }

    .stat-number {
        font-size: 2.1rem;
    }

    .stat-suffix {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.8rem;
        line-height: 1.2;
        white-space: normal;
    }

    .stat-icon {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    h2.section-title {
        font-size: 2rem;
    }

    .join-us-content h2 {
        font-size: 2.2rem;
    }

    .booking-section {
        padding: 120px 0 60px;
    }

    .about-me-content {
        text-align: center;
    }

    .about-me-text p {
        font-size: 1rem;
    }

    .about-cta {
        text-align: center;
    }

    .feature-item {
        padding: 20px;
        gap: 15px;
    }

    .feature-item i {
        font-size: 1.5rem;
    }

    .feature-item h4 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.9rem;
    }

    #subject-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .subject-btn {
        padding: 20px 10px;
        font-size: 1rem;
    }

    .subject-btn i {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .tutor-count-badge {
        top: 8px;
        right: 8px;
        padding: 2px 8px;
        font-size: 0.75rem;
    }



    .nav-actions {
        margin-left: auto;
        margin-right: 15px;
        gap: 10px;
    }

    #user-name {
        display: none;
    }

    #user-profile .user-info {
        padding: 3px 6px;
        gap: 5px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    nav .nav-links {
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(106, 17, 203, 0.98), rgba(37, 117, 252, 0.98));
        backdrop-filter: blur(5px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1005;
        /* Higher than nav-actions (1002) */
    }

    .hamburger {
        display: block;
        z-index: 1006;
        /* Highest to stay on top of nav-overlay */
    }

    nav .nav-links.active {
        left: 0;
    }

    nav .nav-links a {
        color: var(--light-text-color);
        font-size: 1.6rem;
        font-weight: 600;
    }

    nav .nav-links a:hover::after {
        transform: scaleX(0);
    }

    .slider-nav {
        display: none;
    }

    .testimonial-slider-wrapper {
        padding: 0 15px;
    }

    .testimonial-card {
        padding: 30px;
    }
}

/* --- Forms --- */


.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
}

.select-wrapper {
    position: relative;
}

.form-group select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 40px;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
    transition: color 0.3s ease, transform 0.3s ease;
}

.select-wrapper:hover::after {
    color: var(--primary-color);
}

.select-wrapper:focus-within::after {
    color: var(--primary-color);
    transform: translateY(-50%) rotate(180deg);
}

/* --- Invoice Generator --- */
.invoice-generator-section {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 80vh;
}

.invoice-form-wrapper {
    display: flex;
    justify-content: center;
}

.invoice-content-card {
    background: var(--card-bg-color);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 700px;
}

.invoice-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.toggle-switch-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--text-color);
}

#seller-iban:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.7;
}

.toggle-switch-container span {
    font-size: 0.95rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

#invoice-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#service-lines-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.invoice-service-line {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 15px;
    align-items: flex-end;
}

#add-service-btn {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0;
    padding: 10px;
    border: 2px dashed #ced4da;
    background-color: #f8f9fa;
    color: var(--text-color);
    font-size: 0.95rem;
}

#add-service-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.remove-service-btn {
    background: none;
    border: none;
    color: #868e96;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.remove-service-btn:hover {
    color: #e03131;
}

#invoice-form #download-pdf {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 15px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    #invoice-form {
        grid-template-columns: 1fr;
    }

    .invoice-content-card {
        padding: 25px;
    }

    .invoice-service-line {
        grid-template-columns: 1fr;
    }

    .remove-service-btn {
        justify-self: end;
        padding: 5px;
    }
}

/* --- Generator Section --- */
.generator-loading-content {
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.generation-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.25;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: grayscale(1);
}

.step.active {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0);
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.step.active .step-icon {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.2);
    animation: pulse-step 2s infinite;
}

.step-label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
}

.step-connector {
    width: 60px;
    height: 3px;
    background: #e9ecef;
    border-radius: 3px;
    margin-top: -25px;
}

@keyframes pulse-step {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(var(--primary-color-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0);
    }
}

/* Mobile adjustments for generator progress */
@media (max-width: 480px) {
    .generator-loading-content {
        padding: 20px;
    }

    .generation-steps {
        gap: 10px;
    }

    .step-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .step-label {
        font-size: 0.85rem;
    }

    .step-connector {
        width: 30px;
        margin-top: -20px;
    }

    .step.active {
        transform: scale(1.05);
        /* Slightly less aggressive scale on mobile */
    }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e9ecef;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
    margin-top: 20px;
}

#timer {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    /* Added font styling to match the game timer */
    font-variant-numeric: tabular-nums;
    margin-top: 20px;
    color: #888;
}

/* Style for negative/delayed timer in generator */
#timer.timer-delayed {
    color: #dc3545;
}



.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 150%);
    background: #d90429;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toast-notification.show {
    transform: translate(-50%, 0);
}

.toast-notification i {
    font-size: 1.5rem;
}


#tutoriai,
#duk.hero {
    padding: 80px 0;
}

.hero .section-title {
    color: var(--light-text-color);
}

/* --- Solver Section --- */
.solver-section {
    padding-top: 60px;
    padding-bottom: 40px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
}

.solver-section .container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.solver-wrapper {
    position: relative;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
}

.solver-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
}

.streak-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    background-color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.streak-counter .fa-fire {
    color: #ff9a00;
    font-size: 1.2rem;
}

/* New Settings Button Styles */
.settings-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e9ecef;
    background-color: #fff;
    color: #555;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.settings-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    background-color: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.hidden .modal-content {
    transform: scale(0.9);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-color);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--text-color);
}

.modal-body {
    padding: 25px;
}

.quick-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.topic-chip {
    background-color: #f1f3f5;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.topic-chip:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

.topic-chip.selected {
    background-color: #eef2ff;
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
}

.modal-body .info-text {
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

.modal-footer {
    padding: 20px 25px;
    background-color: #f8f9fa;
    border-top: 1px solid #f0f0f0;
    text-align: right;
}

.selection-header {
    margin-top: 50px;
    margin-bottom: 40px;
    position: relative;
    text-align: center;
}

.selection-header::after {
    content: '';
    display: none;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin: 10px auto 0;
}

.selection-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.selection-header h1 {
    font-size: clamp(1rem, 5.5vw, 2.8rem);
    margin: 0 auto;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .selection-header {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}



#grade-selection.hidden {
    display: none;
}

#problem-screen {
    text-align: left;
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#problem-screen.active {
    display: block;
}

#problem-question {
    font-size: 1.35rem;
    margin-bottom: 25px;
    line-height: 1.6;
    background-color: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    color: var(--text-color);
    font-weight: 500;
}

#problem-choices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}



.choice-btn {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 18px 25px;
    border-radius: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.choice-btn:hover:not(:disabled) {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.choice-btn.correct {
    background-color: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
    font-weight: 600;
}

.choice-btn.incorrect {
    background-color: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
    font-weight: 600;
}

.choice-letter {
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.choice-text {
    flex-grow: 1;
}

#feedback-container {
    margin-top: 25px;
    padding: 25px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#feedback-result {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#feedback-explanation {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: #4b5563;
    line-height: 1.7;
    text-align: left;
}

#next-problem-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .solver-section {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .solver-section .container {
        padding: 0 15px;
    }

    .solver-wrapper {
        padding: 0;
    }

    #problem-question {
        font-size: 1.25rem;
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 16px;
    }

    .choice-btn {
        padding: 16px 20px;
        font-size: 1rem;
        border-radius: 14px;
    }

    #feedback-container {
        padding: 20px;
        border-radius: 16px;
    }

    .bubble {
        flex: 1 1 auto;
        text-align: center;
    }
}

.generator-step {
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 0 80px;
}

.generator-step.hidden {
    display: none;
}



.topic-input-container {
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 5px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.topic-input-container:focus-within {
    border-color: var(--primary-color);
}

.topic-input-container input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 15px 25px;
    font-size: 1.1rem;
    outline: none;
    font-family: 'Poppins', sans-serif;
    min-width: 0;
}

#trigger-generate-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 2px;
    min-width: unset;
}

#trigger-generate-btn i {
    font-size: 1.2rem;
}



@media (max-width: 480px) {
    .topic-input-container {
        padding: 4px;
    }

    .topic-input-container input {
        padding: 12px 15px;
        font-size: 1rem;
    }

    #trigger-generate-btn {
        width: 42px;
        height: 42px;
    }
}

body.generator-bg {
    background: linear-gradient(180deg, #6f8eff 0px, #ffffff 450px);
    background-repeat: no-repeat;
    background-color: #ffffff;
    min-height: 100vh;
}

.generator-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.generator-main-view {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.grade-select-wrapper {
    margin-bottom: 25px;
    text-align: center;
}


.grade-chips {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.grade-chips-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-right: 6px;
    white-space: nowrap;
}

.grade-chip {
    padding: 5px 10px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid #b0b0b0;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.85rem;
    line-height: 1;
}

.grade-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.04);
}

.grade-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.grade-chip.grade-extra {
    display: none;
}

.grade-chip.grade-extra.show {
    display: inline-block;
}

.More {
    font-size: 0.85rem;
    color: #888;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 10px;
    user-select: none;
}

.More:hover {
    color: var(--primary-color);
}





/* File Upload Styles */
.file-upload-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    padding: 0 15px;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.file-upload-btn:hover {
    color: var(--primary-color);
}

.file-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    min-height: 0;
}

.file-chip {
    background: #eef2ff;
    border: 1px solid #d0d9f0;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.85rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideUp 0.3s ease;
    /* Reusing existing slideUp animation */
}

.file-chip i.fa-times {
    cursor: pointer;
    color: #ff6b6b;
}

.file-chip i.fa-times:hover {
    color: #fa5252;
}

/* --- Game Specific Styles (New) --- */
.game-state-wrapper {
    display: flex;
    flex-direction: column;
    /* Stack spinner and timer */
    justify-content: center;
    align-items: center;
    min-height: 160px;
    /* Reduced from 300px for a more natural look */
    padding: 30px;
    /* Added padding to ensure it doesn't look cramped if content grows */
    background-color: #ffffff;
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    /* Match the question card style */
}

.big-game-spinner {
    width: 70px;
    height: 70px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#loading-timer {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
    font-variant-numeric: tabular-nums;
}

#loading-timer.timer-delayed {
    color: #dc3545;
    /* Red when late */
}

/* --- Quota Info --- */
.quota-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(var(--primary-color-rgb), 0.05);
    border-radius: 12px;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
}

#quota-text {
    font-weight: 500;
    color: #666;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

#login-suggestion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#share-message {
    font-weight: 400;
    color: #666;
    text-align: center;
}

#login-suggestion span {
    color: #666;
}

#login-suggestion a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
}

#login-suggestion a:hover {
    color: var(--primary-color);
}
/* --- Model Toggle --- */
.model-toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    width: 100%;
}

.model-toggle {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    padding: 4px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.model-toggle input[type="radio"] {
    display: none;
}

.model-toggle label {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    user-select: none;
}

.model-toggle input[type="radio"]:checked + label {
    color: #ffffff;
}

.model-toggle .toggle-pill {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.model-toggle input#model-pro:checked ~ .toggle-pill {
    transform: translateX(100%);
}

/* Tooltip & Info Icon */
.pro-info-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.pro-info-icon {
    font-size: 0.9rem;
    color: #fbbf24;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pro-info-icon:hover {
    color: #f59e0b;
}

.pro-info-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #374151;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    text-align: left;
    line-height: 1.5;
}

.pro-info-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.95);
}

.pro-info-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

/* "Locked" state for freemium */
.model-toggle.locked #model-pro + label {
    cursor: not-allowed;
    opacity: 0.7;
}

.model-toggle.locked .pro-info-icon {
    color: #fbbf24; /* Golden lock feel */
    pointer-events: none;
    cursor: not-allowed;
}
