/* Hide the generic page header on homepage — hero section replaces it */
header.masthead { display: none !important; }

/* Full-width section breakout from Bootstrap container */
.hero-section, .teacher-strip, .funnel-section, .conversion-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* ===== HERO ===== */
.hero-section {
    background: linear-gradient(150deg, #4338CA 0%, #4F46E5 45%, #6366F1 80%, #818CF8 100%);
    color: #fff;
    padding: 100px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}
.hero-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.85);
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}
.hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hero-title span { color: #A5B4FC; }
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.92);
    max-width: 640px;
    margin: 0 auto 30px;
    line-height: 1.75;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}
.hero-badges .badge-pill {
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.hero-cta .btn {
    padding: 13px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.hero-cta .btn-hero-primary {
    background: #fff;
    color: #4F46E5;
    border: 2px solid #fff;
}
.hero-cta .btn-hero-primary:hover { background: #EEF2FF; border-color: #EEF2FF; color: #3730A3; text-decoration: none; }
.hero-cta .btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.75);
}
.hero-cta .btn-hero-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; text-decoration: none; }
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .stat-num { font-size: 2rem; font-weight: 900; color: #A5B4FC; text-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.hero-stat .stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.88); margin-top: 2px; }

/* ===== Section headers ===== */
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { font-size: 1.8rem; font-weight: 800; color: #0F172A; }
.section-header p { color: #666; font-size: 1rem; margin-top: 8px; }
.section-divider {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, #4F46E5, #818CF8);
    border-radius: 2px;
    margin: 12px auto 0;
}

/* ===== Teacher strip ===== */
.teacher-strip {
    background: #fff;
    padding: 60px 0;
}
.teacher-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 8px 30px rgba(79,70,229,0.10);
    border-left: 5px solid #4F46E5;
}
.teacher-card img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid #4F46E5; flex-shrink: 0; }
.teacher-info h3 { font-size: 1.6rem; font-weight: 800; color: #0F172A; margin-bottom: 6px; }
.teacher-info .teacher-tag { display: inline-block; background: linear-gradient(90deg, #4F46E5, #6366F1); color: #fff; font-size: 0.8rem; padding: 4px 12px; border-radius: 12px; margin-bottom: 14px; }
.teacher-info p { color: #555; line-height: 1.8; margin-bottom: 12px; }
.teacher-info .btn-danger { background: linear-gradient(135deg, #4F46E5, #6366F1); border-color: transparent; }
.teacher-info .btn-danger:hover { background: linear-gradient(135deg, #4338CA, #4F46E5); }
.teacher-info .btn-outline-danger { color: #4F46E5; border-color: #4F46E5; }
.teacher-info .btn-outline-danger:hover { background: #4F46E5; color: #fff; border-color: #4F46E5; }

/* ===== Funnel sections ===== */
.funnel-section { padding: 60px 0; }
.funnel-section.bg-light-custom { background: #EEF5FF; }
.funnel-section.bg-white { background: #fff; }

/* Free tag */
.free-badge { position: absolute; top: 10px; right: 10px; background: linear-gradient(135deg, #4F46E5, #6366F1); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 12px; z-index: 1; }

/* btn-outline-indigo homepage override */
.btn-outline-danger { color: #4F46E5; border-color: #4F46E5; }
.btn-outline-danger:hover { background-color: #4F46E5; border-color: #4F46E5; color: #fff; }

/* ===== CTA Conversion section ===== */
.conversion-section {
    background: linear-gradient(150deg, #4338CA 0%, #4F46E5 45%, #6366F1 80%, #818CF8 100%);
    padding: 80px 0;
    color: #fff;
}
.conversion-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: background 0.3s, transform 0.2s;
    height: 100%;
}
.conversion-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-5px); }
.conversion-card .icon-wrap {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, #4F46E5, #818CF8);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(79,70,229,0.4);
}
.conversion-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.conversion-card p { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.conversion-card .btn-cta {
    background: linear-gradient(135deg, #4F46E5, #818CF8);
    color: #fff;
    border: none; border-radius: 24px;
    padding: 9px 22px; font-weight: 700;
    font-size: 0.9rem;
    transition: opacity 0.2s, transform 0.2s;
    display: block;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 14px rgba(79,70,229,0.25);
}
.conversion-card .btn-cta:hover { opacity: 0.9; transform: translateY(-2px); color: #fff; text-decoration: none; }
.conversion-card .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

/* Blog teaser */
.blog-teaser {
    background: #EEF2FF;
    border-left: 4px solid #4F46E5;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}
.blog-teaser:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.blog-teaser h5 { font-size: 1.05rem; font-weight: 700; color: #0F172A; margin-bottom: 4px; }
.blog-teaser p { color: #888; font-size: 0.9rem; margin: 0; }

/* ===== Mobile Responsive ===== */
@media (max-width: 767px) {
    .hero-section { padding: 88px 0 48px; }
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 20px; }
    .hero-stat .stat-num { font-size: 1.6rem; }
    .teacher-card { flex-direction: column; text-align: center; padding: 28px 20px; border-left: none; border-top: 5px solid #4F46E5; }
    .teacher-card img { width: 120px; height: 120px; margin-bottom: 16px; }
    .section-header h2 { font-size: 1.5rem; }
    .conversion-card { margin-bottom: 20px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 1.5rem; }
    .hero-badges .badge-pill { font-size: 0.78rem; padding: 5px 10px; }
    .hero-cta .btn { padding: 11px 24px; font-size: 0.95rem; }
    .hero-stats { gap: 16px; }
}
