/* Landing Page Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 60px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #7c3aed;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Flashcard Demo */
.hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.flashcard-demo {
    perspective: 1000px;
}

.demo-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    color: #1f2937;
    animation: float 3s ease-in-out infinite;
}

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

.card-front {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.card-word {
    font-size: 2.5em;
    font-weight: 700;
    color: #7c3aed;
}

.card-content p {
    margin: 15px 0;
    text-align: left;
}

.card-meaning {
    font-size: 1.4em;
    font-weight: 600;
    color: #1f2937;
}

.card-definition {
    color: #6b7280;
    font-size: 1em;
}

.card-example {
    color: #7c3aed;
    font-style: italic;
    font-size: 1.1em;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: #f9fafb;
}

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

.about-section h2,
.features-section h2,
.how-it-works h2,
.cta-section h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    color: #1f2937;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.about-feature {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.about-feature h3 {
    color: #7c3aed;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-feature p {
    color: #6b7280;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
    transform: translateY(-5px);
}

.feature-icon-large {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #1f2937;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f3e8ff 0%, #faf5ff 100%);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #7c3aed;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    color: #1f2937;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 700;
}

.step p {
    color: #6b7280;
    line-height: 1.5;
}

.step-arrow {
    font-size: 2em;
    color: #7c3aed;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: #7c3aed;
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 3em;
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button-large {
    display: inline-block;
    background: white;
    color: #7c3aed;
    padding: 20px 50px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .demo-card {
        padding: 30px 20px;
    }

    .card-word {
        font-size: 2em;
    }

    .about-section h2,
    .features-section h2,
    .how-it-works h2 {
        font-size: 2em;
    }

    .cta-section h2 {
        font-size: 2em;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .features-grid,
    .about-features {
        grid-template-columns: 1fr;
    }
}

