/* ===================================
   Learn Page - Aprenda
   Supplements styles.css tokens
   =================================== */

/* ===================================
   Whit's Agent Modal Overrides
   =================================== */
.whit-avatar {
    background: var(--primary-bg);
    color: var(--primary-dark);
}

.whit-avatar svg {
    width: 16px;
    height: 16px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===================================
   Hero
   =================================== */
.learn-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #fafafa 0%, #fff8e8 50%, #fafafa 100%);
    background-size: 200% 200%;
    animation: heroGradient 8s ease infinite;
}

@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.learn-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.learn-hero .eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-bg);
    border: 1px solid rgba(232, 184, 74, 0.2);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 32px;
}

.learn-hero .eyebrow-badge svg {
    width: 16px;
    height: 16px;
}

.learn-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.learn-hero-title .word {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.95);
}

.learn-hero-title .word.revealed {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.learn-hero-desc {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Floating hexagons */
.floating-hex {
    position: absolute;
    z-index: 1;
    opacity: 0.08;
    pointer-events: none;
}

.floating-hex svg {
    fill: var(--primary);
}

.hex-1 { top: 10%; left: 5%; }
.hex-2 { top: 20%; right: 8%; }
.hex-3 { bottom: 15%; left: 12%; }
.hex-4 { bottom: 25%; right: 5%; }
.hex-5 { top: 50%; left: 2%; }


/* ===================================
   Founder Section
   =================================== */
.founder-section {
    padding: var(--section-gap) 0;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: center;
}

.founder-photo-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--gray-100);
    will-change: transform;
}

.founder-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.founder-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--black);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.founder-content .founder-title {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 24px;
}

.founder-content .founder-bio {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.founder-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.founder-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--gray-500);
    transition: all var(--duration) var(--ease);
}

.founder-social-link:hover {
    background: var(--primary-bg);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.founder-stats {
    display: flex;
    gap: 40px;
}

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

.founder-stat .stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
}

.founder-stat .stat-number .stat-suffix {
    font-size: 1.2rem;
}

.founder-stat .stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.founder-credentials {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.credentials-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.credentials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.credential-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.credential-badge:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.credential-badge svg {
    color: var(--primary);
    flex-shrink: 0;
}

.credential-badge div {
    display: flex;
    flex-direction: column;
}

.credential-school {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}

.credential-degree {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.3;
}


/* ===================================
   Curriculum Section
   =================================== */
.curriculum-section {
    padding: var(--section-gap) 0;
    background: var(--bg);
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.curriculum-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--duration) var(--ease);
}

.curriculum-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.curriculum-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.curriculum-card .card-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    fill: none;
    stroke: currentColor;
}

/* Icon color variants */
.curriculum-card:nth-child(1) .card-icon { background: var(--indigo-bg); color: var(--indigo); }
.curriculum-card:nth-child(2) .card-icon { background: var(--green-bg); color: var(--green); }
.curriculum-card:nth-child(3) .card-icon { background: var(--purple-bg); color: var(--purple); }
.curriculum-card:nth-child(4) .card-icon { background: var(--amber-bg); color: var(--amber); }
.curriculum-card:nth-child(5) .card-icon { background: var(--cyan-bg); color: var(--cyan); }
.curriculum-card:nth-child(6) .card-icon { background: rgba(239, 68, 68, 0.1); color: var(--red); }

.curriculum-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.curriculum-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}


/* ===================================
   Formats Section
   =================================== */
.formats-section {
    padding: var(--section-gap) 0;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.format-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    transition: all 0.3s var(--ease);
    perspective: 800px;
    transform-style: preserve-3d;
}

.format-card[data-tilt] {
    will-change: transform;
}

.format-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.format-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--white) 0%, rgba(232, 184, 74, 0.04) 100%);
}

.format-card .format-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-dark);
    background: var(--primary-bg);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.format-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 16px;
}

.format-card .format-desc {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 24px;
}

.format-card .format-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.format-card .format-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.format-card .format-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--green);
    margin-top: 2px;
}


/* ===================================
   English Mentoring Section
   =================================== */
.english-section {
    padding: var(--section-gap) 0;
    background: var(--bg);
}

.english-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.english-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--black);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.english-content .english-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.english-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.english-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--gray-700);
}

.english-benefits li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--green);
    margin-top: 3px;
}

.bilingual-demo {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.bilingual-demo .demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--black);
}

.bilingual-demo .demo-header svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.demo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.demo-row:last-child {
    margin-bottom: 0;
}

.demo-cell {
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 16px;
}

.demo-cell .demo-lang {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-400);
    margin-bottom: 6px;
}

.demo-cell p {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.5;
}


/* ===================================
   Social Proof Section (hidden placeholder)
   =================================== */
.social-proof-section {
    padding: var(--section-gap) 0;
}


/* ===================================
   Contact Form Section
   =================================== */
.learn-contact-section {
    padding: var(--section-gap) 0;
}

.learn-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.learn-contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--black);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.learn-contact-info p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.contact-method svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.learn-contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.learn-contact-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.learn-contact-form .form-group:last-of-type {
    margin-bottom: 24px;
}

.learn-contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    transition: color 0.2s var(--ease);
}

.learn-contact-form .form-group.focused label {
    color: var(--primary-dark);
}

.learn-contact-form input,
.learn-contact-form select,
.learn-contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-900);
    background: var(--bg);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all 0.2s var(--ease);
    outline: none;
}

.learn-contact-form input:focus,
.learn-contact-form select:focus,
.learn-contact-form textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.learn-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.learn-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236b6b6b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-submit-btn {
    width: 100%;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.visible {
    display: block;
}

.form-success svg {
    width: 56px;
    height: 56px;
    color: var(--green);
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 1rem;
    color: var(--gray-600);
}

.form-loading .form-submit-btn {
    opacity: 0.7;
    pointer-events: none;
}


/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .founder-grid {
        gap: 48px;
    }

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

    .english-grid {
        gap: 48px;
    }

    .learn-contact-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .learn-hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .founder-photo-frame {
        max-width: 320px;
        margin: 0 auto;
    }

    .founder-stats {
        justify-content: center;
    }

    .credentials-list {
        flex-direction: column;
    }

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

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

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

    .bilingual-demo {
        margin-top: 40px;
    }

    .learn-contact-grid {
        grid-template-columns: 1fr;
    }

    .learn-contact-form {
        padding: 32px 24px;
    }

    .floating-hex {
        display: none;
    }
}

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

    .learn-hero-desc {
        font-size: 1rem;
    }

    .founder-stats {
        gap: 24px;
    }

    .founder-stat .stat-number {
        font-size: 1.5rem;
    }

    .format-card {
        padding: 32px 24px;
    }

    .demo-row {
        grid-template-columns: 1fr;
    }
}
