/* Landing Page Styles - Based on Desktop.png Layout */

/* Override main-content for landing page */
.main-content {
    background-image: none !important;
    background: white !important;
    padding: 0 !important;
    min-height: auto !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
}

/* Ensure all sections use same width constraint */
.hero-section,
.tagline-section,
.feature-section,
.subscription-section,
.payg-section,
/* All content containers have same max-width */
.hero-content,
.tagline-text,
.feature-content,
.subscription-container,
.payg-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.hero-section, .subscription-section, .payg-section{max-width:100%;}

/* Header overrides for landing page */
.top-navbar {
    background: white;
    border-bottom: 1px solid #eee;
}

.top-navbar .logo {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

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

.hero-text {
    z-index: 2;
    max-width: 600px;
}

.hero-banner-mobile {
    display: none;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: #FFE66D;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: #1a1a1a;
    color: white;
}

.cta-button.secondary {
    background: white;
    color: #1a1a1a;
    text-decoration: none;
    display: inline-flex;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-image-container {
    position: relative;
    height: 600px;
    width: 100%;
}

.hero-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

/* Tagline */
.tagline-section {
    text-align: center;
    padding: 3rem 5%;
    background: white;
}

.tagline-text {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.tagline-emoji {
    font-size: 2.5rem;
    margin-left: 0.5rem;
}

/* Feature Sections */
.feature-section {
    padding: 5rem 5%;
}

.feature-section:nth-child(even) {
    background: #f9f9f9;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-text p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-text .feature-image {
    display: none;
}

.feature-content > .feature-image {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #FFE66D;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.feature-image {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #FFE66D;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-image-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.feature-cta {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #1a1a1a;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.feature-cta.secondary {
    background: transparent;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
}

.feature-cta:hover {
    background: #333;
    transform: translateY(-2px);
}

.feature-cta.secondary:hover {
    background: #1a1a1a;
    color: white;
}

/* Classroom Section */
.classroom-section {
    background: linear-gradient(135deg, #FFE5E5 0%, #FFF0E5 100%);
}

/* Responsible AI Section */
.responsible-ai-section {
    background: #f9f9f9;
}

/* Coloring Section */
.coloring-section {
    background: white;
}

/* Subscription Section */
.subscription-section {
    background: linear-gradient(135deg, #00D4FF 0%, #00A8E8 100%);
    padding: 5rem 5%;
    text-align: center;
}

.subscription-header {
    margin-bottom: 3rem;
}

.subscription-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.subscription-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-card.featured {
    background: #1a1a1a;
    color: white;
    transform: scale(1.05);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.plan-period {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.plan-card.featured .plan-period {
    color: rgba(255, 255, 255, 0.7);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-card.featured .plan-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.plan-features li::before {
    content: '✓';
    color: #4CAF50;
    font-weight: bold;
}

.plan-cta {
    margin-top: auto;
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #1a1a1a;
    background: white;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.plan-card.featured .plan-cta {
    background: white;
    color: #1a1a1a;
    border-color: white;
}

.plan-cta:hover {
    transform: scale(1.05);
}

/* Pay-as-you-go Section */
.payg-section {
    background: linear-gradient(135deg, #B4FF9F 0%, #7FE87F 100%);
    padding: 4rem 5%;
    text-align: center;
}

.payg-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.payg-content p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
}

.payg-cta {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    background: #1a1a1a;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payg-cta:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .feature-content,
    .subscription-plans {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .feature-text h2 {
        font-size: 2rem;
    }

    .subscription-header h2 {
        font-size: 2.5rem;
    }
    
    .feature-image {
        height: 500px;
    }
    
    .feature-content > .feature-image {
        height: 500px;
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
        background-position: 65% center;
        background-size: cover;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .hero-text {
        text-align: left;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

    .hero-banner-mobile {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    /* Tagline Mobile */
    .tagline-section {
        padding: 2rem 1.5rem;
    }

    .tagline-text {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .tagline-emoji {
        font-size: 1.5rem;
    }

    /* Feature Sections Mobile */
    .feature-section {
        padding: 3rem 1.5rem;
    }

    .feature-content {
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }
    
    .feature-section .feature-content .feature-text {
        display: flex;
        flex-direction: column;
    }
    
    .feature-text .feature-image {
        display: block;
        margin-bottom: 1rem;
    }
    
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .feature-content > .feature-image {
        display: none;
    }

    .feature-text h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        order: 1;
    }
    
    .feature-text .feature-image {
        order: 2;
        height: 400px;
        border-width: 2px;
    }

    .feature-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        order: 3;
    }
    
    .feature-cta {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        margin-bottom: 0.5rem;
        order: 4;
    }

    /* Subscription Section Mobile */
    .subscription-section {
        padding: 3rem 1.5rem;
    }

    .subscription-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .subscription-header p {
        font-size: 1rem;
    }

    .subscription-plans {
        gap: 1.5rem;
    }

    .plan-card {
        padding: 2rem 1.5rem;
    }

    .plan-card.featured {
        transform: scale(1);
    }

    .plan-name {
        font-size: 1.25rem;
    }

    .plan-price {
        font-size: 2.5rem;
    }

    .plan-features li {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }

    .plan-cta {
        font-size: 1rem;
        padding: 0.875rem;
    }

    /* Pay-as-you-go Mobile */
    .payg-section {
        padding: 3rem 1.5rem;
    }

    .payg-content h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .payg-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .payg-cta {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

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

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

    .tagline-text {
        font-size: 1.1rem;
    }

    .feature-text h2 {
        font-size: 1.5rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }

    .feature-text .feature-image {
        height: 330px;
    }

    .subscription-header h2 {
        font-size: 1.5rem;
    }

    .plan-price {
        font-size: 2rem;
    }

    .payg-content h2 {
        font-size: 1.5rem;
    }
}
