/* Landing Page Specific Styles */
.hero {
    text-align: center;
    padding: 80px 0 60px 0;
    position: relative;
}

.hero-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 40px auto;
    background: linear-gradient(135deg, var(--app-primary), var(--app-purple-secondary));
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(74, 140, 230, 0.3);
    animation: float 3s ease-in-out infinite;
}

.hero-icon img {
    width: 100px;
    height: 100px;
    border-radius: 24px;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--app-text2);
    margin-bottom: 48px;
    font-weight: 500;
    line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
    .hero-subtitle {
        color: var(--app-text2-dark);
    }
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.cta-primary, .cta-secondary {
    padding: 18px 40px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(135deg, var(--app-primary), var(--app-purple-secondary));
    color: white;
    box-shadow: 0 8px 30px rgba(74, 140, 230, 0.3);
}

.cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(74, 140, 230, 0.4);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--app-primary);
    border: 2px solid var(--app-primary);
}

.cta-secondary:hover {
    background: var(--app-primary);
    color: white;
    transform: translateY(-4px);
}

@media (prefers-color-scheme: dark) {
    .cta-secondary {
        background: rgba(26, 26, 46, 0.9);
        color: var(--app-primary-dark);
        border-color: var(--app-primary-dark);
    }

    .cta-secondary:hover {
        background: var(--app-primary-dark);
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 32px;
    border-radius: 20px;
    border: 2px solid rgba(74, 140, 230, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(74, 140, 230, 0.15);
    border-color: rgba(74, 140, 230, 0.2);
}

@media (prefers-color-scheme: dark) {
    .feature-card {
        background: rgba(26, 26, 46, 0.9);
        border-color: rgba(102, 51, 255, 0.1);
    }

    .feature-card:hover {
        border-color: rgba(102, 51, 255, 0.2);
    }
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin: 0 0 16px 0;
    color: var(--app-text);
}

.feature-card p {
    font-size: 16px;
    color: var(--app-text2);
    margin: 0;
    line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
    .feature-card h3 {
        color: var(--app-text-dark);
    }

    .feature-card p {
        color: var(--app-text2-dark);
    }
}

/* Languages Grid */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.language-item {
    background: linear-gradient(135deg, rgba(74, 140, 230, 0.05), rgba(122, 140, 204, 0.05));
    padding: 32px 24px;
    border-radius: 16px;
    border: 2px solid rgba(74, 140, 230, 0.15);
    text-align: center;
    transition: all 0.3s ease;
}

.language-item:hover {
    transform: scale(1.05);
    border-color: var(--app-primary);
    background: linear-gradient(135deg, rgba(74, 140, 230, 0.1), rgba(122, 140, 204, 0.1));
}

@media (prefers-color-scheme: dark) {
    .language-item {
        background: linear-gradient(135deg, rgba(102, 51, 255, 0.05), rgba(153, 102, 255, 0.05));
        border-color: rgba(102, 51, 255, 0.15);
    }

    .language-item:hover {
        border-color: var(--app-primary-dark);
        background: linear-gradient(135deg, rgba(102, 51, 255, 0.1), rgba(153, 102, 255, 0.1));
    }
}

.language-flag {
    font-size: 3rem;
    margin-bottom: 12px;
}

.language-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--app-text);
}

@media (prefers-color-scheme: dark) {
    .language-name {
        color: var(--app-text-dark);
    }
}

/* Screenshot Section */
.screenshot-container {
    background: linear-gradient(135deg, rgba(74, 140, 230, 0.03), rgba(122, 140, 204, 0.03));
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    margin: 60px 0 80px 0;
    border: 2px solid rgba(74, 140, 230, 0.1);
}

@media (prefers-color-scheme: dark) {
    .screenshot-container {
        background: linear-gradient(135deg, rgba(102, 51, 255, 0.03), rgba(153, 102, 255, 0.03));
        border-color: rgba(102, 51, 255, 0.1);
    }
}

.screenshot-banner {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.banner-img {
    width: 100%;
    max-width: 1400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(74, 140, 230, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(74, 140, 230, 0.1);
}

@media (prefers-color-scheme: dark) {
    .banner-img {
        box-shadow: 0 24px 80px rgba(102, 51, 255, 0.25);
        border-color: rgba(102, 51, 255, 0.1);
    }
}

.banner-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 100px rgba(74, 140, 230, 0.35);
}

@media (prefers-color-scheme: dark) {
    .banner-img:hover {
        box-shadow: 0 32px 100px rgba(102, 51, 255, 0.35);
    }
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 48px 40px;
    border-radius: 24px;
    border: 2px solid rgba(74, 140, 230, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(74, 140, 230, 0.2);
    border-color: var(--app-primary);
}

@media (prefers-color-scheme: dark) {
    .plan-card {
        background: rgba(26, 26, 46, 0.9);
        border-color: rgba(102, 51, 255, 0.1);
    }

    .plan-card:hover {
        border-color: var(--app-primary-dark);
    }
}

.plan-card.featured {
    border-color: var(--app-primary);
    border-width: 3px;
}

.plan-card.featured::before {
    content: '⭐';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--app-text);
    margin-bottom: 16px;
}

@media (prefers-color-scheme: dark) {
    .plan-name {
        color: var(--app-text-dark);
    }
}

.plan-description {
    font-size: 16px;
    color: var(--app-text2);
    margin-bottom: 32px;
    line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
    .plan-description {
        color: var(--app-text2-dark);
    }
}

.plan-highlight {
    background: linear-gradient(135deg, rgba(74, 140, 230, 0.1), rgba(122, 140, 204, 0.1));
    padding: 24px;
    border-radius: 16px;
    margin-top: 24px;
    border: 2px solid rgba(74, 140, 230, 0.2);
}

@media (prefers-color-scheme: dark) {
    .plan-highlight {
        background: linear-gradient(135deg, rgba(102, 51, 255, 0.1), rgba(153, 102, 255, 0.1));
        border-color: rgba(102, 51, 255, 0.2);
    }
}

.plan-lessons {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--app-primary);
    margin-bottom: 8px;
}

.plan-duration {
    font-size: 1rem;
    font-weight: 600;
    color: var(--app-text2);
}

@media (prefers-color-scheme: dark) {
    .plan-lessons {
        color: var(--app-primary-dark);
    }

    .plan-duration {
        color: var(--app-text2-dark);
    }
}

/* All Plans Features */
.all-plans-features {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid rgba(74, 140, 230, 0.1);
}

@media (prefers-color-scheme: dark) {
    .all-plans-features {
        border-top-color: rgba(102, 51, 255, 0.1);
    }
}

.features-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 48px;
    color: var(--app-text);
}

@media (prefers-color-scheme: dark) {
    .features-heading {
        color: var(--app-text-dark);
    }
}

.common-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 24px 28px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 2px solid rgba(74, 140, 230, 0.1);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(74, 140, 230, 0.2);
    box-shadow: 0 12px 32px rgba(74, 140, 230, 0.15);
}

@media (prefers-color-scheme: dark) {
    .feature-box {
        background: rgba(26, 26, 46, 0.8);
        border-color: rgba(102, 51, 255, 0.1);
    }

    .feature-box:hover {
        background: rgba(26, 26, 46, 0.95);
        border-color: rgba(102, 51, 255, 0.2);
        box-shadow: 0 12px 32px rgba(102, 51, 255, 0.15);
    }
}

.feature-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--app-text);
    line-height: 1.4;
}

@media (prefers-color-scheme: dark) {
    .feature-text {
        color: var(--app-text-dark);
    }
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, var(--app-primary), var(--app-purple-secondary));
    padding: 80px 40px;
    border-radius: 32px;
    text-align: center;
    margin: 80px 0;
    color: white;
    box-shadow: 0 24px 60px rgba(74, 140, 230, 0.3);
}

.download-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.download-section h2::before {
    display: none;
}

.download-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.app-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--app-text);
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.app-store-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-icon {
        width: 120px;
        height: 120px;
    }

    .hero-icon img {
        width: 80px;
        height: 80px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

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

    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-banner {
        padding: 0 10px;
    }

    .banner-img {
        border-radius: 16px;
    }

    .download-section {
        padding: 60px 24px;
    }

    .download-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .languages-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-banner {
        padding: 0 5px;
    }

    .banner-img {
        border-radius: 12px;
    }

    .common-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .features-heading {
        font-size: 1.625rem;
    }

    .all-plans-features {
        margin-top: 60px;
        padding-top: 40px;
    }
    }
