/* Age Selector Page Styles */
:root {
    --lccl-yellow: #F3B016;
    --lccl-black: #000008;
    --lccl-gray: #F3F3F4;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --white: #ffffff;
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--white) 0%, var(--lccl-gray) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.logo img {
    height: 70px;
    width: auto;
}

.main-content {
    flex: 1;
    padding: 40px 0 60px;
}

/* Hero Section - New */
.hero-section {
    text-align: center;
    margin-bottom: 48px;
    padding: 32px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.trust-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--lccl-gray);
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.value-bar {
    background: linear-gradient(135deg, var(--lccl-yellow) 0%, #f4c44e 100%);
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.value-bar p {
    color: var(--lccl-black);
    font-size: 1.1rem;
    margin: 0;
}

.timing-notice {
    color: #d32f2f;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px;
    background: #fff3e0;
    border-radius: 8px;
    border: 1px solid #ffcc80;
}

.age-selector {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.age-selector h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lccl-black);
    margin-bottom: 12px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--lccl-black);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.age-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.age-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: visible;
}

/* New card badge */
.card-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b, #ff4444);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
    white-space: nowrap;
}

.age-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.age-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--lccl-yellow);
}

.age-range {
    display: inline-block;
    background: var(--lccl-yellow);
    color: var(--lccl-black);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.program-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lccl-black);
    margin-bottom: 15px;
}

/* New outcome text */
.program-outcome {
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.program-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.program-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.detail-item.highlight {
    color: #d32f2f;
    font-weight: 600;
}

.detail-icon {
    font-size: 1rem;
}

.cta-text {
    margin-top: 20px;
    font-weight: 600;
    color: var(--lccl-black);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.arrow {
    transition: transform 0.3s ease;
}

.age-card:hover .arrow {
    transform: translateX(5px);
}

.trust-section {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    margin-top: 40px;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 20px;
}

.trust-stat {
    text-align: center;
}

.trust-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--lccl-black);
}

.trust-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.footer-minimal {
    background: var(--lccl-black);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
}

.footer-minimal p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.footer-minimal a {
    color: var(--lccl-yellow);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .age-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .trust-badges {
        gap: 12px;
    }
    
    .trust-badges .badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .value-bar p {
        font-size: 1rem;
    }
    
    .timing-notice {
        font-size: 0.9rem;
    }
    
    .trust-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonial-bar {
        grid-template-columns: 1fr;
    }
    
    .card-badge {
        position: static;
        display: inline-block;
        margin-bottom: 12px;
        transform: none;
        font-size: 0.7rem;
    }

    .age-cards {
        overflow: visible;
    }
}

/* Age Guide Link */
.age-guide-link {
    text-align: center;
    margin: 15px 0 30px;
}

.age-guide-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 16px;
    border: 1px solid var(--text-secondary);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.age-guide-link a:hover {
    background: var(--lccl-yellow);
    color: var(--lccl-black);
    border-color: var(--lccl-yellow);
}

.guide-icon {
    font-size: 1.1rem;
}

/* Age Guide Modal */
.age-guide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--lccl-black);
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--lccl-black);
}

.age-guide-content {
    display: grid;
    gap: 30px;
}

.guide-section {
    padding: 20px;
    background: var(--lccl-gray);
    border-radius: 12px;
}

.guide-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--lccl-black);
}

.guide-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.guide-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.guide-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.guide-note {
    background: var(--lccl-yellow);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.guide-note p {
    margin: 0;
    font-weight: 500;
}

.guide-note a {
    color: var(--lccl-black);
    font-weight: 700;
}

/* Social Proof Section - New */
.social-proof {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    margin: 48px auto 32px;
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    text-align: center;
}

.social-proof h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lccl-black);
    margin-bottom: 32px;
    text-align: center;
}

.testimonial-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    text-align: center;
}

/* Force 3 testimonials to stay in one row on desktop */
.testimonial-three {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 968px) {
    .testimonial-three {
        grid-template-columns: 1fr;
    }
}

.testimonial-item {
    padding: 24px 20px;
    background: var(--lccl-gray);
    border-radius: 12px;
    border-top: 4px solid var(--lccl-yellow);
    font-style: italic;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.testimonial-item::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--lccl-yellow);
    font-weight: bold;
    line-height: 1;
}

.testimonial-author {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Final Push Section - New */
.final-push {
    text-align: center;
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-radius: 12px;
    border: 1px solid var(--lccl-yellow);
}

.final-push p {
    margin: 8px 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.final-push p:first-child {
    font-size: 1.25rem;
    color: var(--lccl-black);
}