/* Landing page styles extracted from inline */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f7f7;
    color: #333;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Booking form custom styles */
.booking-progress-bar {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
}

.booking-progress-item {
    flex-grow: 1;
    height: 4px;
    background-color: #ddd;
    border-radius: 2px;
}

.booking-progress-item.active {
    background-color: #fca522;
}

.booking-form-group {
    margin-bottom: 20px;
}

.booking-form-group label {
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.booking-select-wrapper { position: relative; }
.booking-select-wrapper::after {
    content: '▼';
    font-size: 14px;
    color: #555;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    position: absolute;
}

.booking-date-grid, .booking-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.booking-date-btn, .booking-time-btn {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    transition: background-color 0.2s, border-color 0.2s;
    text-align: center;
}

.booking-date-btn.active, .booking-time-btn.active {
    background-color: #fef9e9;
    border-color: #fca522;
    color: #fca522;
}

.booking-primary-button {
    width: 100%;
    padding: 12px;
    background-color: #ffc900;
    color: white;
    font-weight: bold;
    border-radius: 9999px;
    transition: background-color 0.2s;
}

.booking-primary-button:hover {
    background-color: #e6b800;
}

.booking-step-content { display: none; }

/* New Landing Page Sections */

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #323642;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Learner Types Section */
.learner-types-section {
    padding: 4rem 0;
    background-color: #F8FAFC;
    color: #323642;
}

.learner-types-section .section-title,
.learner-types-section .section-subtitle {
    color: #323642;
}

.learner-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.learner-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E5E7EB;
}

.learner-card:hover {
    transform: translateY(-5px);

}

.learner-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.learner-card h3 {
    color: #323642;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.learner-card p {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.learner-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.learner-features li {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.learner-cta {
    display: inline-block;
    background: #2563EB;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.learner-cta:hover {
    transform: scale(1.05);
    color: white;
    text-decoration: none;
    background: #1D4ED8;
}

/* CEFR Test Section */
.cefr-test-section {
    padding: 4rem 0;
    background-color: white;
}

.cefr-test-container {
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    padding: 2rem;

    border: 1px solid #E5E7EB;
}

/* CEFR Test Button - Normal size */
.cq-start-btn {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    padding: 0.5rem 1rem !important;
}

/* Free Tools Section */
.free-tools-section {
    padding: 4rem 0;
    background-color: #F8FAFC;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E5E7EB;
}

.tool-card:hover {
    transform: translateY(-5px);

}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tool-card h3 {
    color: #323642;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tool-card p {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tool-button {
    display: inline-block;
    background: #2563EB;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.tool-button:hover {
    background: #1D4ED8;
    color: white;
    text-decoration: none;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F6F4EB 0%, #E5E7EB 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #323642;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.cta-button.primary {
    background: #EAB308;
    color: white;
}

.cta-button.primary:hover {
    background: #CA8A04;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

.cta-button.secondary {
    background: transparent;
    color: #2563EB;
    border: 2px solid #2563EB;
}

.cta-button.secondary:hover {
    background: #2563EB;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Remove side padding from all landing page sections */
    .cefr-test-section,
    .learner-types-section,
    .free-tools-section,
    .cta-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .cefr-test-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
    }
    
    .section-title {
        font-size: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .section-subtitle {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .learner-cards {
        grid-template-columns: 1fr;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .learner-card,
    .tool-card {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}
.booking-step-content.active { display: block; }
.booking-back-button { font-size: 18px; cursor: pointer; margin-bottom: 20px; }

