/* Base Styles */
:root {
    --primary: #FFAA17FF;
    --primary-light: #f4a3161a;
    --secondary: #1e293b;
    --secondary-light: rgba(30, 41, 59, 0.8);
    --yellow-300: #fde047;
    --yellow-400: #facc15;
    --yellow-500: #eab308;
    --charcoal-500: #241815;
    --charcoal-600: #241815;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

body {
    color: var(--secondary);
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility Classes */
.text-primary {
    color: var(--primary);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-charcoal-500 {
    background-color: var(--charcoal-500);
}

.bg-charcoal-600 {
    background-color: var(--charcoal-600);
}

.bg-yellow-50 {
    background-color: var(--yellow-50);
}

/* Button Styles */
.btn-primary {
    line-height: 1;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-outline {
    background-color: #fff;
    color: var(--secondary);
    border: 1px solid var(--gray-200);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.125rem;
}

.btn-outline:hover {
    background-color: var(--gray-50);
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Hero Section */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(to bottom right, #fffffc, #fffae9);
}

.hero-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

.hero-content {
    max-width: 42rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

.hero-content p {
    color: var(--secondary-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.joined-count {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatars {
    display: flex;
}

.avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid var(--white);
    background-color: var(--yellow-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--white);
    margin-left: -0.5rem;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.avatar:first-child {
    margin-left: 0;
}

.joined-count p {
    font-size: 0.875rem;
    color: var(--secondary-light);
    margin-bottom: 0;
}

.joined-count span {
    font-weight: 600;
    color: var(--secondary);
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-subtitle {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

.section-header p {
    color: var(--secondary-light);
    font-size: 1.125rem;
}

/* QUIZE */
.quize__fcontainer {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);
    padding: 24px;
    border-radius: 12px;
    background-color: var(--white);
    max-width: 448px;
    margin: 0 auto;
    border: 1px solid #2418151a;
    position: relative;
}

.quize__badge {
    background: #FFAA17FF;
    padding: 4px 12px;
    border-radius: 7px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -8px;
    top: -16px;
}

.quize__badge i::before {
    font-size: 16px;
    padding-right: 5px;
}

.quize__title {
    font-size: 20px;
    font-weight: 700;
   color: #241815; 
}

.quize__fitems {
    background:#fff9e5;
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
}

.quize__fanswer {
    font-size: 16px;
    font-weight: 500;
    color: #241815;
    margin-bottom: 16px;
}

.quize__fitem {
    display: flex;
    gap: 8px;
    align-items: center;
}

.quize__fitem input {
    display: none;
}

.quize__fitem label {
    position: relative;
    padding-left: 24px;
}

.quize__fitem label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #FFAA17FF;
    background-color: #fff;
}

.quize__fitem input:checked + label::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #FFAA17FF;
}

.quize__fitemlist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quize__fbtn {
    margin-top: 16px;
}

.quize__fbtn a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #FFAA17FF;
    padding: 12px 16px;
    border-radius: 8px;
}

.quize__text {
    text-align: center;
    color: #24181599;
    font-size: 12px;
    margin-top: 16px;
}

/* ToDo */
.main-quizes {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-quizes--show {
    padding: 70px 0;
    visibility: visible;
    height: auto;
    overflow: visible;
    opacity: 1;
}

.main-quize__completed {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    background: #fffdf5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-quize__completed--show {
    visibility: visible;
    height: auto;
    overflow: visible;
    padding: 70px 0;
    opacity: 1;
}

.quizes {
    padding: 32px;
    margin: 0 auto;
    max-width: 768px;
    border: 1px solid rgb(255, 235, 153);
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
    background: #fff;
}

.progress-bar {
    margin-bottom: 40px;
}

.progress-bar__data {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.progress-info {
    font-size: 14px;
}

.progress-info--percent {
    color: #FFAA17FF;
}

.progress {
    flex-grow: 1;
    height: 8px;
    background-color: #eee;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #FFAA17FF;
    width: 0%;
    transition: width 0.3s;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question-title {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 40px;
}

.main-quizes {
    background: #fffdf5;
}

.quize__fitem_full {
    padding: 20px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgb(229 231 235);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.quize__fitem_full label {
    display: flex;
    width: 100%;
    cursor: pointer;
}

.quize__fitem_full:hover {
    background: rgb(255 249 229);
}

.options label {
    display: block;
}

.nav-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.nav-buttons__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    line-height: 1;
}

.nav-buttons__item i {
    display: flex;
    align-items: center;
}

.nav-buttons__item i::before {
    font-size: 12px;
    line-height: 1;
}

.nav-buttons__prev {
    border: 1px solid rgba(36, 24, 21, 0.2);
}

.nav-buttons__next {
    background: #FFAA17FF;
    color: #fff;
}

button[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

/* QUIZE REZULT */

/* Base styles */
.q-container {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #F4A316;
    text-align: center;
}

.q-icon-container {
    width: 5rem;
    height: 5rem;
    background-color: rgba(244, 163, 22, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.q-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: rgb(244 163 22);
}

.q-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .q-title {
        font-size: 1.875rem;
    }
}

.q-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.q-bold {
    font-weight: 700;
}

.q-primary {
    color: rgb(244 163 22);
}

.q-secondary {
    color: #1E293B;
}

.q-score-container {
    background-color: rgba(244, 163, 22, 0.05);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.q-score-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.q-score-text {
    color: #241815;
}

/* Course section */
.q-course-section {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.q-course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 1.5rem;
}

.q-course-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .q-course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card styles */
.q-card {
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
    transition: border-color 0.2s;
}

.q-card:hover {
    border-color: rgb(244 163 22);
}

.q-card-header {
    background: linear-gradient(135deg, rgba(244, 163, 22, 0.1), rgba(244, 163, 22, 0.3));
    padding: 1.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
}

.q-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 24px;
}

.q-card-description {
    color: #64748B;
    font-size: 0.875rem;
}

.q-card-content {
    padding: 1.5rem;
    padding-top: 1.5rem;
}

.q-card-list {
    text-align: left;
    margin-bottom: 1rem;
}

.q-card-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.q-card-list-icon {
    width: 1rem;
    height: 1rem;
    color: rgb(244 163 22);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.q-card-price {
    font-weight: 700;
    font-size: 1.125rem;
}

.q-card-price-old {
    font-size: 0.875rem;
    color: #64748B;
    text-decoration: line-through;
    margin-left: 0.25rem;
}

.q-card-footer {
    padding: 1.5rem;
}

/* Button styles */
.q-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.q-btn-primary {
    background-color: #FFAA17FF;
    color: white;
    border: none;
}

.q-btn-primary:hover {
    background-color: rgb(244 163 22);
}

.q-btn-outline {
    background-color: transparent;
    border: 1px solid rgba(30, 41, 59, 0.2);
    color: #1E293B;
}

.q-btn-outline:hover {
    background-color: rgba(30, 41, 59, 0.05);
}

/* Advanced card */
.q-card-advanced {
    border: 2px solid rgba(36, 24, 21, 0.2);
}

.q-card-advanced:hover {
    border-color: #241815;
}

.q-card-advanced-header {
    background: linear-gradient(135deg, rgba(36, 24, 21, 0.1), rgba(36, 24, 21, 0.3));
}

.q-card-advanced-icon {
    color: #241815;
}

.q-card-advanced-list-icon {
    color: #241815;
}

.q-btn-advanced {
    border: 1px solid rgba(36, 24, 21, 0.2);
    color: #241815;
}

.q-btn-advanced:hover {
    background-color: rgba(36, 24, 21, 0.05);
}

.q-btn-dark {
    background-color: #241815;
    color: white;
}

.q-btn-dark:hover {
    background-color: rgba(36, 24, 21, 0.8);
}

/* Banner */
.q-banner {
    margin-top: 2rem;
    background: linear-gradient(90deg, rgba(244, 163, 22, 0.2), rgba(244, 163, 22, 0.4));
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(244, 163, 22, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .q-banner {
        flex-direction: row;
    }
}

.q-banner-text {
    text-align: left;
}

.q-banner-title {
    font-weight: 700;
    font-size: 1.125rem;
}

.q-banner-subtitle {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Button group */
.q-btn-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .q-btn-group {
        flex-direction: row;
    }
}

/* Dialog styles */
.q-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    align-items: center;
    justify-content: center;
}

.q-dialog-content {
    background-color: white;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 32rem;
    padding: 1.5rem;
}

.q-dialog-header {
    margin-bottom: 1rem;
}

.q-dialog-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.q-dialog-description {
    color: #64748B;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.q-dialog-body {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.q-dialog-code {
    font-weight: 700;
    background-color: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.q-dialog-code-advanced {
    background-color: rgba(36, 24, 21, 0.1);
}



/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-0.25rem);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-light);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-icon i::before {
    color: var(--primary);
    font-size: 18px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.feature-card p {
    color: var(--secondary-light);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .steps-container {
        flex-direction: row;
    }
}

.step-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    flex: 1;
}

.step-card.dark {
    background-color: var(--charcoal-500);
    color: var(--white);
}

.step-number {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-icon .icon {
    color: var(--white);
    width: 2rem;
    height: 2rem;
}

.step-icon i::before {
    font-size: 24px;
    color: var(--white);
}

.step-card.dark .step-icon {
    background-color: var(--charcoal-600);
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card.dark h3 {
    color: var(--white);
}

.step-card p {
    color: var(--secondary-light);
}

.step-card.dark p {
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom right, var(--charcoal-500), var(--charcoal-600));
    color: var(--white);
}

.cta-card {
    margin: 0 auto;
    text-align: center;
}

.cta-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cta-icon .icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.cta-icon i::before {
    font-size: 24px;
    color: var(--primary);
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-card h2 {
        font-size: 3rem;
    }
}

.cta-card p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 40rem;
    margin: 0 auto 2rem;
    margin-top: 20px;
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.5rem;
}