/* Modern Landing Page CSS */

/* --- Base Styles and Variables --- */
:root {
    --primary-color: #6200ee;
    --primary-hover: #8028f5;
    --secondary-color: #03dac6;
    --accent-color: #ff9800;
    --dark-color: #121212;
    --light-color: #fff;
    --gray-100: #f7f7f7;
    --gray-200: #e9e9e9;
    --gray-300: #d5d5d5;
    --gray-400: #b0b0b0;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Animation Classes --- */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.stagger-item.stagger-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero Section --- */
.hero-modern {
    min-height: 650px;
    display: flex;
    align-items: center;
    background: url('../assets/student-studying.png') no-repeat center center;
    background-size: cover;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    overflow: hidden;
    position: relative;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.7);
    z-index: 1;
}

.hero-content-modern {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 2;
    position: relative;
}

.hero-text-modern {
    max-width: 700px;
    text-align: center;
    z-index: 1;
}

.hero-headline {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--light-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--gray-200);
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.social-proof {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1.5rem;
    max-width: 600px;
    font-weight: 400;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.cta-button-modern {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(98, 0, 238, 0.3);
}

.cta-button-modern:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(98, 0, 238, 0.4);
    transform: translateY(-3px);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(98, 0, 238, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(98, 0, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(98, 0, 238, 0); }
}

/* --- Exams Section --- */
.exams-section {
    text-align: center;
    background-color: var(--light-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--dark-color);
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
    margin-top: 40px;
}

.exam-card {
    background-color: var(--gray-100);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--box-shadow);
    text-decoration: none; /* Since these are now links */
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.exam-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.exam-card:after {
    content: 'Start Now';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.exam-card:hover:after {
    transform: translateY(0);
}

.exam-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.exam-name {
    font-weight: 600;
    font-size: 1.2rem;
}

/* --- Trust Section --- */
.trust-section {
    background-color: var(--gray-100);
    text-align: center;
}

.trust-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.trust-logo {
    height: 50px;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
}

.trust-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* --- Value Proposition Section --- */
.value-prop-section {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
}

.value-prop-content {
    max-width: 900px;
    margin: 0 auto;
}

.value-prop-text {
    font-size: 1.4rem;
    line-height: 1.7;
    font-weight: 300;
}

/* --- Results Section --- */
.results-section {
    background-color: var(--light-color);
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.results-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.results-subtitle {
    font-size: 1.2rem;
    color: var(--gray-400);
    margin-bottom: 60px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}

.result-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.result-headline {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.result-description {
    font-size: 1rem;
    color: var(--gray-400);
}

/* Media Queries for Results Section */
@media (max-width: 768px) {
    .results-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .results-title {
        font-size: 2rem;
    }
    
    .results-subtitle {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .results-title {
        font-size: 1.75rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .result-headline {
        font-size: 1.3rem;
    }
}

/* --- Pricing Section --- */
.pricing-section-modern {
    background-color: var(--light-color);
    text-align: center;
}

.pricing-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: var(--gray-400);
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card-modern {
    background-color: var(--gray-100);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--box-shadow);
}

.pricing-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card-modern.featured {
    border: 2px solid var(--primary-color);
    background-color: white;
}

.price-plan {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: super;
    margin-right: 4px;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-400);
}

.price-description {
    font-size: 1rem;
    color: var(--gray-400);
    margin-bottom: 30px;
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.price-feature {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.price-feature i {
    color: var(--primary-color);
    margin-right: 12px;
}

.price-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
}

.price-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* --- Footer Styling --- */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 24px;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--secondary-color);
}

/* --- Media Queries --- */
@media (max-width: 992px) {
    .hero-content-modern {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text-modern {
        margin-bottom: 40px;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .value-prop-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 20px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-modern {
        min-height: auto;
        padding: 80px 0;
    }
    
    .trust-logos {
        gap: 20px;
    }
    
    .trust-logo {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-headline {
        font-size: 1.75rem;
    }
    
    .hero-subheadline {
        font-size: 1rem;
    }
    
    .social-proof {
        font-size: 0.85rem;
        padding: 0.75rem;
        margin-top: 1rem;
        line-height: 1.5;
    }
    
    .cta-button-modern {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }
    
    .pricing-title-modern {
        font-size: 1.75rem;
    }
    
    .pricing-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
}

/* --- Question Example Section --- */
.question-example-section {
    background-color: #f8f9fa;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-subtitle {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: #6c757d;
}

.question-example-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.question-example-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.question-example-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

@media (max-width: 768px) {
    .question-example-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .question-example-wrapper {
        max-width: 90%;
    }
}
