.feature-list {
    list-style-type: none;
    margin-top: 20px;
}

.feature-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.feature-list li:before {
    content: "✓";
    color: var(--accent-green);
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
}

.home-cta-section {
    position: relative;
    overflow: hidden;
}

.home-cta-section .cta-content {
    position: relative;
    z-index: 1;
}

.cta-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cta-decor-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.18;
    transition: all 0.4s ease;
    animation: ctaFloatDecor 6s ease-in-out infinite alternate;
}

.dark-theme .cta-decor-icon {
    opacity: 0.22;
}

.cta-decor-1 {
    top: 15%;
    left: 8%;
    font-size: 40px;
    color: var(--primary);
    animation-delay: 0s;
}

.cta-decor-2 {
    bottom: 15%;
    right: 10%;
    font-size: 48px;
    color: var(--purple);
    animation-delay: 1.5s;
}

.cta-decor-3 {
    top: 20%;
    right: 25%;
    font-size: 36px;
    color: var(--primary-light);
    animation-delay: 3s;
}

.cta-decor-4 {
    bottom: 25%;
    left: 18%;
    font-size: 38px;
    color: var(--warning);
    animation-delay: 0.8s;
}

.cta-decor-5 {
    top: 55%;
    left: 5%;
    font-size: 30px;
    color: var(--teal);
    animation-delay: 2.2s;
}

.cta-decor-6 {
    top: 45%;
    right: 5%;
    font-size: 32px;
    color: var(--purple-dark);
    animation-delay: 4s;
}

.cta-decor-7 {
    top: 65%;
    left: 35%;
    font-size: 28px;
    color: var(--pink);
    animation-delay: 1.2s;
}

.cta-decor-8 {
    bottom: 15%;
    right: 35%;
    font-size: 34px;
    color: var(--success-light);
    animation-delay: 3.5s;
}

.cta-decor-9 {
    top: 25%;
    left: 55%;
    font-size: 24px;
    color: var(--warning-dark);
    animation-delay: 0.5s;
}

.cta-decor-10 {
    top: 35%;
    left: 25%;
    font-size: 26px;
    color: var(--cyan);
    animation-delay: 2.8s;
}

.cta-decor-11 {
    bottom: 35%;
    left: 50%;
    font-size: 42px;
    color: var(--danger-light);
    animation-delay: 1.8s;
}

.cta-decor-12 {
    top: 12%;
    left: 40%;
    font-size: 30px;
    color: var(--warning-light);
    animation-delay: 4.5s;
}

@keyframes ctaFloatDecor {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-15px) scale(1.05);
    }
}

@media (max-width: 768px) {
    .cta-decor-icon {
        opacity: 0.1;
    }
}

.home-hero-section {
    position: relative;
    padding: 80px 20px 40px;
    text-align: center;
    margin-bottom: 2rem;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-tagline {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--alpha-primary-08);
    border: 1px solid var(--primary-light);
    border-radius: 50px;
    padding: 10px 24px;
    margin-top: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

.hero-visual-graphic {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 60px auto 0;
    min-height: 600px;
}

@media (min-width: 1200px) {
    .home-hero-section {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        margin: 0 auto;
        min-height: calc(100vh - 70px);
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-content {
        flex: 1;
        max-width: 45%;
        margin: 0;
    }

    .hero-visual-graphic {
        flex: 1;
        margin: 0;
        transform: scale(0.85);
        transform-origin: center;
    }

    .badge-papers:hover .floating-preview {
        transform: scale(1.15) translateX(-50px) !important;
    }

    .hero-title {
        text-align: left;
    }
}

.mock-chat-window {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--alpha-black-10);
    overflow: hidden;
    text-align: left;
}



.mock-chat-header {
    background: linear-gradient(135deg, var(--primary-light), var(--purple));
    color: white;
    padding: 10px 15px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-chat-header.minimal-header {
    background: var(--surface);
    color: var(--text-secondary);
    padding: 8px 15px;
    font-weight: normal;
    font-size: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.mock-chat-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--background);
}

.mock-msg {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    line-height: 1.4;
    width: 100%;
    max-width: 85%;
}

.ai-msg {
    background: var(--surface);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 10px var(--alpha-black-05);
}

.text-accent-orange {
    color: var(--warning-dark);
}

.text-primary {
    color: var(--primary);
}

.text-success {
    color: var(--success);
}

.text-success-dark {
    color: var(--success-dark);
}

.text-accent {
    color: var(--stat-accent-dark);
}

.text-warning-dark {
    color: var(--warning-dark);
}

.user-msg {
    background: var(--alpha-primary-10);
    color: var(--primary-dark);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.floating-wrapper {
    position: absolute;
    z-index: 2;
    cursor: pointer;
}

.floating-wrapper:hover {
    z-index: 100;
}

.floating-preview {
    position: relative;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: 0 15px 35px var(--alpha-black-10);
    border: 1px solid var(--border-color);
    overflow: hidden;
    width: 200px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wrapper:hover .floating-preview {
    transform: scale(1.15);
    width: 280px;
}

.preview-detailed {
    display: none;
    opacity: 0;
    padding: 15px;
}

.floating-wrapper:hover .preview-compact {
    display: none;
}

.floating-wrapper:hover .preview-detailed {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

.preview-header {
    background: var(--background);
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.preview-body {
    padding: 15px;
}

.math-equation {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.math-equation .success-text {
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.file-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.file-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.file-size {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.download-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--alpha-secondary-10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-score {
    display: flex;
    align-items: center;
    gap: 15px;
}

.score-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.score-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.book-answer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-ref {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.answer-box {
    background: var(--alpha-primary-10);
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.answer-box-warning {
    background: var(--alpha-warning-10);
}

.question-pill {
    background: var(--alpha-accent-10);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 5px;
}

.minimal-header {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.tutor-welcome {
    font-size: 0.8rem;
    font-weight: 600;
}

.model-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.model-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.note-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.badge-tutor {
    top: 160px;
    left: 180px;
    z-index: 10;
}

.badge-papers {
    top: 160px;
    right: -70px;
    z-index: 12;
}

.badge-model {
    top: 300px;
    left: 40px;
    z-index: 12;
}

.badge-quiz {
    top: 160px;
    left: -70px;
    z-index: 12;
}

.badge-math {
    top: 20px;
    right: 40px;
    z-index: 9;
}

.badge-notes {
    top: 300px;
    right: 40px;
    z-index: 12;
}

.badge-textbook {
    top: 20px;
    left: 40px;
    z-index: 9;
}

@keyframes floatUpGraphic {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.floating-element {
    animation: floatUpGraphic 6s ease-in-out infinite;
}

.floating-element-delay-1 {
    animation: floatUpGraphic 5s ease-in-out infinite 1s;
}

.floating-element-delay-2 {
    animation: floatUpGraphic 7s ease-in-out infinite 2s;
}


.home-stats-section {
    margin-bottom: 3rem;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.stats-showcase-container {
    background: var(--surface);
    border-radius: 40px;
    padding: 60px 50px;
    box-shadow: 0 10px 40px var(--alpha-black-05);
    margin: 40px 0 60px;
    width: 100%;
    border: 1px solid var(--border-color);
    text-align: center;
}

.stats-showcase-header {
    margin-bottom: 50px;
}

.stats-showcase-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.stats-showcase-title i,
.section-title i,
.hero-title i,
h2 i,
h3 i {
    background: transparent !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: currentcolor !important;
    color: var(--primary);
}

.stats-showcase-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.stats-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.showcase-stat-item {
    display: flex;
    flex-direction: column;
}

.showcase-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 12px;
}

.clean-stat-value {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -1.5px;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.clean-stat-value.val-primary {
    background: linear-gradient(135deg, var(--stat-primary-light), var(--stat-primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.clean-stat-value.val-success {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.clean-stat-value.val-accent {
    background: linear-gradient(135deg, var(--stat-accent-light), var(--stat-accent-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.showcase-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .stats-showcase-container {
        padding: 40px 25px;
        border-radius: 24px;
    }

    .stats-showcase-title {
        font-size: 1.8rem;
    }

    .clean-stat-value {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-visual-graphic {
        padding: 20px 10px;
        transform: scale(0.9);
    }

    .badge-papers {
        top: -15px;
        left: -10px;
    }

    .badge-model {
        top: 80px;
        left: -20px;
    }

    .badge-quiz {
        bottom: 5px;
        left: 0;
    }

    .badge-math {
        top: 10px;
        right: -10px;
    }

    .badge-notes {
        top: 100px;
        right: -15px;
    }

    .badge-textbook {
        bottom: 25px;
        right: -10px;
    }

    .badge-papers:hover .floating-preview {
        transform: scale(1.15) translateX(-80px) !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-visual-graphic {
        padding: 20px 0;
        transform: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 40px;
        min-height: auto;
    }

    .floating-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        justify-self: center;
        width: 100%;
    }

    .floating-preview {
        width: 100% !important;
        max-width: none;
    }

    .floating-wrapper:hover .floating-preview {
        width: 100% !important;
        transform: scale(1.03);
        z-index: 100;
    }


    .floating-element,
    .floating-element-delay-1,
    .floating-element-delay-2 {
        animation: none;
    }
}

@media (max-width: 576px) {
    .hero-visual-graphic {
        grid-template-columns: 1fr;
    }
}

.detailed-pdf .pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.detailed-pdf .pdf-title {
    font-weight: 600;
}

.detailed-pdf .pdf-actions {
    color: var(--text-secondary);
    display: flex;
    gap: 8px;
}

.detailed-pdf .pdf-page-mockup {
    background: var(--background);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.detailed-pdf .pdf-line {
    height: 6px;
    background: var(--alpha-black-10);
    margin: 6px 0;
    border-radius: 4px;
}

.detailed-pdf .pdf-line.short {
    width: 60%;
}

.detailed-pdf .pdf-viewer-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 10px;
    align-items: center;
}

.detailed-quiz .detailed-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.home-latest-materials .section-header-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.home-latest-materials .section-header-flex .section-title {
    text-align: center;
    justify-content: center;
}

.detailed-quiz .quiz-title {
    font-weight: 700;
    font-size: 0.9rem;
}

.detailed-quiz .quiz-timer {
    color: var(--danger);
    font-weight: 600;
    font-size: 0.8rem;
}

.detailed-quiz .quiz-question h5 {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.detailed-quiz .quiz-question p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.detailed-quiz .quiz-option {
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.detailed-quiz .quiz-option.active {
    background: var(--alpha-primary-10);
    border-color: var(--primary);
    color: var(--primary-dark);
    font-weight: 600;
}

.detailed-math .math-image-mockup {
    background: var(--alpha-black-05);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px dashed var(--border-color);
    margin-bottom: 15px;
}

.detailed-math .math-steps .step {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.detailed-math .step-num {
    background: var(--primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.detailed-math .step-desc {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.detailed-notes .notes-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--warning-dark);
}

.detailed-notes .notes-content p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.detailed-notes .notes-content ul {
    padding-left: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.detailed-quiz-stats .stats-header {
    text-align: center;
    margin-bottom: 20px;
}

.detailed-quiz-stats .big-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--success);
    line-height: 1;
    margin-bottom: 5px;
}

.detailed-quiz-stats .stats-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.detailed-quiz-stats .stats-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.detailed-quiz-stats .stat-box {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    color: var(--text-secondary);
    gap: 4px;
}

.detailed-quiz-stats .stat-box span {
    font-size: 1.2rem;
    font-weight: 700;
}

.detailed-textbook .textbook-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.detailed-textbook .textbook-cover {
    width: 50px;
    height: 70px;
    background: var(--primary-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.5rem;
}

.detailed-textbook .textbook-details h5 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.detailed-textbook .textbook-details span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.detailed-textbook .textbook-answers .t-answer {
    font-size: 0.8rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.detailed-textbook .textbook-answers .t-answer:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detailed-textbook .textbook-answers .t-answer.active {
    color: var(--primary-dark);
    font-weight: 500;
    background: var(--alpha-primary-10);
    padding: 8px;
    border-radius: 4px;
    border-bottom: none;
}

.dark-theme .glass-card,
.dark-theme .stats-showcase-container,
.dark-theme .floating-preview,
.dark-theme .quiz-option,
.dark-theme .subject-badge,
.dark-theme .math-image-mockup,
.dark-theme .pdf-page-mockup,
.dark-theme .answer-box,
.dark-theme .score-circle,
.dark-theme .faq-item {
    border: 1px solid var(--alpha-white-10) !important;
}

.dark-theme .detailed-header,
.dark-theme .t-answer {
    border-bottom-color: var(--alpha-white-10) !important;
}

.home-quiz-card .card-icon {
    background: var(--gradient-success);
}

.dark-theme .material-filters,
.dark-theme .material-card,
.dark-theme .home-cta-section,
.dark-theme .feature-icon,
.dark-theme .step-card {
    border: 1px solid var(--alpha-white-10) !important;
}

.dark-theme .step-card {
    background: var(--surface-card, var(--bg-card)) !important;
}

.material-card .material-tag:first-child {
    padding-left: 8px;
    background: var(--bg-hover);
}