/* Sections - Premium Animations & Effects */

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    position: relative;
    z-index: 1;
}

.stat-card {
    padding: 2rem;
    text-align: center;
    animation: slideUp 0.8s ease-out both;
    position: relative;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #2563eb;
    margin-bottom: 0.5rem;
    animation: slideUp 0.8s ease-out 0.1s both;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    animation: slideUp 0.8s ease-out 0.2s both;
    font-weight: 600;
}

.stat-card:hover .stat-value {
    animation: bounce 0.6s ease-out;
}

/* Process Steps */
.how-it-works {
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    position: relative;
}

.process-intro {
    animation: slideUp 0.8s ease-out;
}

.process-steps {
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563eb, transparent);
    transform: translateY(-50%);
    z-index: 0;
}

.process-step {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out both;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
    border-left-color: #f59e0b;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-weight: 900;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    animation: slideUp 0.6s ease-out 0.1s both;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: slideUp 0.6s ease-out 0.2s both;
    display: inline-block;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    animation: bounce 0.6s ease-out;
    transform: scale(1.2);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    animation: slideUp 0.6s ease-out 0.3s both;
    transition: all 0.3s ease;
}

.process-step:hover .step-title {
    color: #2563eb;
}

.step-description {
    color: #6b7280;
    line-height: 1.8;
    animation: slideUp 0.6s ease-out 0.4s both;
}

/* Subject Coverage */
.subject-coverage {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

.coverage-intro {
    animation: slideUp 0.8s ease-out;
}

.topics-list {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
    color: #6b7280;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: slideUp 0.8s ease-out 0.2s both;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.topics-list:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #ffffff, #f9fafb);
}

.faq-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid #2563eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.6s ease-out both;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(6) { animation-delay: 0.3s; }
.faq-item:nth-child(7) { animation-delay: 0.35s; }
.faq-item:nth-child(8) { animation-delay: 0.4s; }
.faq-item:nth-child(9) { animation-delay: 0.45s; }
.faq-item:nth-child(10) { animation-delay: 0.5s; }

.faq-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    border-left-color: #f59e0b;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #2563eb;
}

.faq-question::after {
    content: "▼";
    font-size: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #2563eb;
}

.faq-item.open .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    color: #6b7280;
    line-height: 1.8;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease-out;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
}

.testimonials-intro {
    animation: slideUp 0.8s ease-out;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(-45deg, #2563eb, #1e40af, #1e3a8a, #2563eb);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section h2 {
    animation: slideUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.cta-main {
    animation: slideUp 0.8s ease-out 0.1s both;
    position: relative;
    z-index: 1;
}

.cta-urgency {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    line-height: 1.8;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 1;
}

.cta-final {
    animation: slideUp 0.8s ease-out 0.3s both;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    animation: slideUp 0.8s ease-out 0.4s both;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    animation: pulse 2s ease-in-out infinite;
}

.cta-section .btn:hover {
    animation: none;
}
