/* NAV DASHBOARD */
.dash-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    padding: 0;
}

.dash-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.dash-logo {
    font-size: 1.125rem;
    font-weight: 800;
}

.dash-logo span {
    color: var(--primary-light);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    background: var(--primary-glow);
    border: 1px solid var(--border);
    border-radius: 99px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.user-chip:hover {
    background: var(--border);
    border-color: var(--border-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
}

.user-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #B0C4D8;
    border: 1px solid var(--border);
    transition: 0.3s;
    cursor: pointer;
    background: none;
}

.btn-logout:hover {
    background: rgba(229, 57, 53, 0.1);
    border-color: rgba(229, 57, 53, 0.3);
    color: #ff7070;
}

/* MAIN */
.dash-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* WELCOME */
.welcome-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.welcome-title {
    font-size: 26px;
    font-weight: 800;
}

.welcome-title span {
    color: var(--primary-light);
}

.welcome-sub {
    color: #B0C4D8;
    font-size: 0.875rem;
    margin-top: 4px;
}

/* PLAN CARD */
.plan-card {
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.plan-card.free {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.plan-card.premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, var(--bg-dark) 60%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(16px);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.plan-card.free::before {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.plan-card.premium::before {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

.plan-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.plan-info h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.plan-info p {
    color: #B0C4D8;
    font-size: 0.875rem;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-badge.free {
    background: var(--border);
    color: var(--primary-light);
    border: 1px solid var(--border);
}

.plan-badge.premium {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.btn-upgrade {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0f1923;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
    transition: 0.3s;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 215, 0, 0.4);
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(16px);
    transition: 0.3s;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-glow);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    color: #6B8299;
    font-size: 0.75rem;
}

/* SECCIÓN MÓDULOS */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.section-sub {
    color: #6B8299;
    font-size: 0.8125rem;
    margin-top: 2px;
}

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

.mod-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: 0.3s;
    cursor: pointer;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.mod-card:hover:not(.locked) {
    border-color: var(--border-hover);
    transform: translateX(4px);
    background: var(--bg-dark);
}

.mod-card.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.mod-emoji {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.mod-info {
    flex: 1;
    min-width: 0;
}

.mod-name {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.mod-desc {
    font-size: 0.75rem;
    color: #6B8299;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mod-status {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 99px;
    flex-shrink: 0;
}

.mod-status.free {
    background: var(--border);
    color: var(--primary-light);
}

.mod-status.premium {
    background: rgba(255, 215, 0, 0.12);
    color: #FFD700;
}

.mod-lock {
    margin-left: auto;
    color: #6B8299;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* NIVELES CEFR */
.cefr-section {
    margin-bottom: 40px;
}

.cefr-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.cefr-card {
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s;
    cursor: pointer;
}

.cefr-card:hover {
    transform: translateY(-3px);
}

.cefr-label {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.cefr-name {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ══════════════════════════════════════════════
   FRASES SUPER — SECCIÓN HERO DESTACADA
══════════════════════════════════════════════ */

.fs-hero-section {
    position: relative;
    margin: 48px 0;
    border-radius: 28px;
    padding: 48px 40px 40px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 0% 0%, var(--primary-glow) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 100%, var(--primary-glow) 0%, transparent 60%),
        linear-gradient(145deg, var(--primary-glow) 0%, var(--bg-darker) 50%, var(--primary-glow) 100%);
    border: 1px solid var(--border-hover);
    box-shadow:
        0 0 0 1px var(--border),
        0 32px 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.fs-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 20%, var(--primary-light) 50%, var(--primary) 80%, transparent 100%);
    border-radius: 28px 28px 0 0;
}

.fs-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: fsFloat 6s ease-in-out infinite;
}
.fs-p1 { width:180px; height:180px; top:-60px; right:-40px; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:0s; }
.fs-p2 { width:120px; height:120px; bottom:-30px; left:10%; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:2s; }
.fs-p3 { width:80px;  height:80px;  top:30%;    right:15%; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:4s; }
.fs-p4 { width:60px;  height:60px;  bottom:20%; right:5%;  background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:1s; }

@keyframes fsFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-16px) scale(1.05); }
}

.fs-hero-header {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-bottom: 36px;
}

.fs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 99px;
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    border: 1px solid var(--border-hover);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.fs-hero-badge i {
    color: var(--primary);
    font-size: 0.625rem;
}

.fs-hero-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.fs-hero-title-accent {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fs-hero-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.fs-hero-desc strong {
    color: var(--text-primary);
    font-weight: 700;
}

.fs-hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fs-stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.fs-stat-num {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.fs-stat-lbl {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 3px;
    white-space: nowrap;
}

.fs-areas-label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.fs-areas-label i { color: var(--primary); }

.fs-areas-showcase {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.fs-area-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.fs-area-featured {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    border-color: var(--border-hover);
    padding: 20px 24px;
}

.fs-area-featured:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow-primary);
}

.fs-area-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 0% 50%, var(--primary-glow), transparent 60%);
    pointer-events: none;
}

.fs-area-locked {
    opacity: 0.55;
    pointer-events: none;
}

.fs-area-emoji {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.fs-area-featured .fs-area-emoji { font-size: 2.25rem; }

.fs-area-info { flex: 1; min-width: 0; }

.fs-area-name {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.fs-area-featured .fs-area-name { font-size: 1.0625rem; }

.fs-area-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fs-area-badge-free {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 99px;
    background: linear-gradient(135deg, rgba(76,175,80,0.25), rgba(76,175,80,0.12));
    border: 1px solid rgba(76,175,80,0.4);
    color: #4ade80;
    flex-shrink: 0;
}

.fs-area-lock {
    color: var(--text-muted);
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.fs-area-arrow {
    color: var(--primary-light);
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.fs-area-featured:hover .fs-area-arrow { transform: translateX(4px); }

.fs-hero-cta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fs-btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 24px var(--shadow-primary);
    transition: all 0.25s ease;
}

.fs-btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow-primary);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.fs-btn-explore i:last-child { transition: transform 0.2s; }
.fs-btn-explore:hover i:last-child { transform: translateX(4px); }

.fs-cta-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.fs-cta-note i {
    color: #4ade80;
    font-size: 0.75rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .cefr-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .fs-hero-section { padding: 36px 28px 32px; }
    .fs-areas-showcase { grid-template-columns: repeat(2, 1fr); }
    .fs-area-featured { grid-column: span 2; }
}

@media (max-width: 768px) {
    .dash-nav-inner { padding: 0 16px; }
    .dash-main { padding: 24px 16px; }
    .plan-card { flex-direction: column; text-align: center; padding: 24px 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .modules-grid { grid-template-columns: 1fr; }
    .cefr-grid { grid-template-columns: repeat(3, 1fr); }
    .welcome-bar { flex-direction: column; align-items: flex-start; }
    .user-name { display: none; }
}

@media (max-width: 600px) {
    .fs-hero-section { padding: 28px 20px 24px; border-radius: 20px; margin: 32px 0; }
    .fs-areas-showcase { grid-template-columns: 1fr; }
    .fs-area-featured { grid-column: span 1; }
    .fs-hero-stats { gap: 6px; }
    .fs-stat-chip { padding: 8px 14px; }
    .fs-hero-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
    .fs-btn-explore { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cefr-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-logo { font-size: 0.9375rem; }
}

/* ══════════════════════════════════════════════
   EDUCACIÓN PRIMARIA Y SECUNDARIA — SECCIÓN HERO
══════════════════════════════════════════════ */

.edu-hero-section {
    position: relative;
    margin: 48px 0;
    border-radius: 28px;
    padding: 48px 40px 40px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 0% 0%, var(--primary-glow) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 100%, var(--primary-glow) 0%, transparent 60%),
        linear-gradient(145deg, var(--primary-glow) 0%, var(--bg-darker) 50%, var(--primary-glow) 100%);
    border: 1px solid var(--border-hover);
    box-shadow:
        0 0 0 1px var(--border),
        0 32px 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.edu-hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary), var(--primary-light));
    background-size: 200% 100%;
    border-radius: 28px 28px 0 0;
    animation: eduShimmer 4s linear infinite;
}

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

/* Partículas */
.edu-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: eduFloat 6s ease-in-out infinite;
}
.edu-p1 { width:180px; height:180px; top:-60px; right:-40px; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:0s; }
.edu-p2 { width:120px; height:120px; bottom:-30px; left:10%; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:2s; }
.edu-p3 { width:80px;  height:80px;  top:30%;    right:15%; background:radial-gradient(circle, rgba(240,160,80,0.07), transparent 70%); animation-delay:4s; }
.edu-p4 { width:60px;  height:60px;  bottom:20%; left:5%;   background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:1s; }

@keyframes eduFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-16px) scale(1.05); }
}

/* Header */
.edu-hero-header {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-bottom: 36px;
}

.edu-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 99px;
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    border: 1px solid var(--border-hover);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.edu-hero-badge i {
    color: var(--primary);
    font-size: 0.625rem;
}

.edu-hero-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.edu-hero-title-accent {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.edu-hero-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.edu-hero-desc strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Stats */
.edu-hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.edu-stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.edu-stat-num {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.edu-stat-chip:nth-child(2) .edu-stat-num { color: #e8c84a; }
.edu-stat-chip:nth-child(3) .edu-stat-num { color: #f0a050; }
.edu-stat-chip:nth-child(4) .edu-stat-num { color: #5bb8d4; }

.edu-stat-lbl {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 3px;
    white-space: nowrap;
}

/* CTA */
.edu-hero-cta {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
    gap: 10px;
}

.edu-btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #0f1923;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 24px var(--primary-glow);
    transition: all 0.25s ease;
}

.edu-btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow-primary);
    background: linear-gradient(135deg, #8fd4af, #4db87e);
}

.edu-btn-explore i:last-child { transition: transform 0.2s; }
.edu-btn-explore:hover i:last-child { transform: translateX(4px); }

.edu-cta-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.edu-cta-note i {
    color: #e8c84a;
    font-size: 0.75rem;
}

/* Labels */
.edu-areas-label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.edu-areas-label i { color: #e8c84a; }

.edu-level-label {
    position: relative;
    z-index: 2;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.edu-level-primaria { color: var(--primary-light); }
.edu-level-primaria i { color: var(--primary-light); font-size: 0.5625rem; }

.edu-level-secundaria { color: #e8c84a; }
.edu-level-secundaria i { color: #e8c84a; font-size: 0.625rem; }

/* Grid de grados */
.edu-areas-showcase {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.edu-area-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.edu-area-card:hover {
    border-color: var(--border-hover);
    background: var(--primary-glow);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--primary-glow);
}

/* Primaria cards - borde verde suave */
.edu-area-primaria {
    border-color: var(--border);
    background: var(--bg-dark);
}

/* Secundaria cards - borde amarillo suave */
.edu-area-secundaria {
    border-color: rgba(232,200,74,0.12);
    background: rgba(232,200,74,0.03);
}

.edu-area-secundaria:hover {
    border-color: rgba(232,200,74,0.35);
    background: rgba(232,200,74,0.06);
    box-shadow: 0 6px 24px rgba(232,200,74,0.12);
}

.edu-area-emoji {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
}

.edu-area-info { flex: 1; min-width: 0; }

.edu-area-name {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.edu-area-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.edu-area-arrow {
    color: var(--primary-light);
    font-size: 0.875rem;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s;
}

.edu-area-card:hover .edu-area-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Divider entre primaria y secundaria */
.edu-divider {
    position: relative;
    z-index: 2;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,200,74,0.25), transparent);
    margin: 16px 0;
}

/* Locked cards */
.edu-area-locked {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.edu-area-lock {
    color: var(--text-muted);
    font-size: 0.8125rem;
    flex-shrink: 0;
}

/* Botón deshabilitado */
.edu-btn-disabled {
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    border: 1px solid var(--border);
}

.edu-btn-disabled:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .edu-hero-section { padding: 36px 28px 32px; }
    .edu-areas-showcase { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .edu-hero-section { padding: 28px 20px 24px; border-radius: 20px; margin: 32px 0; }
    .edu-areas-showcase { grid-template-columns: 1fr; }
    .edu-hero-stats { gap: 6px; }
    .edu-stat-chip { padding: 8px 14px; }
    .edu-hero-cta { gap: 12px; }
    .edu-btn-explore { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════
   BACHILLERATO — Sección independiente
   Colores: azul-violeta (var(--primary) / var(--primary-light))
══════════════════════════════════════════ */
.edu-bach-section {
    background:
        radial-gradient(ellipse at 0% 0%, var(--primary-glow) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 100%, var(--primary-glow) 0%, transparent 60%),
        linear-gradient(145deg, var(--primary-glow) 0%, var(--bg-darker) 50%, var(--primary-glow) 100%);
    border: 1px solid var(--border-hover);
    box-shadow:
        0 0 0 1px var(--border),
        0 32px 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.edu-bach-section::before {
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary-light), var(--primary));
    background-size: 200% 100%;
}

/* Partículas bach */
.edu-bach-p1 { width:180px; height:180px; top:-60px; right:-40px; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:0s; }
.edu-bach-p2 { width:120px; height:120px; bottom:-30px; left:10%; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:2s; }
.edu-bach-p3 { width:80px;  height:80px;  top:30%;    right:15%; background:radial-gradient(circle, var(--primary-glow), transparent 70%); animation-delay:4s; }
.edu-bach-p4 { width:60px;  height:60px;  bottom:20%; left:5%;   background:radial-gradient(circle, var(--border), transparent 70%); animation-delay:1s; }

/* Badge bach */
.edu-bach-badge {
    background: linear-gradient(135deg, var(--primary-glow), var(--primary-glow));
    border: 1px solid var(--shadow-primary);
    color: var(--primary-light);
}
.edu-bach-badge i { color: var(--primary-light); }

/* Título accent bach */
.edu-bach-title-accent {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats bach */
.edu-bach-num   { color: var(--primary-light); }
.edu-bach-num-2 { color: var(--primary-light); }
.edu-bach-num-3 { color: #a78bfa; }
.edu-bach-num-4 { color: var(--primary); }

/* Botón bach */
.edu-bach-btn {
    background: linear-gradient(135deg, var(--primary), #5a4abf);
    color: #ffffff;
    box-shadow: 0 4px 24px var(--primary-glow);
}
.edu-bach-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 8px 32px var(--border-hover);
}

/* Level label bach */
.edu-level-bachillerato { color: var(--primary-light); }
.edu-level-bachillerato i { color: var(--primary-light); font-size: 0.625rem; }

/* Cards bach */
.edu-area-bachillerato {
    border-color: var(--border);
    background: var(--bg-dark);
}
.edu-area-bachillerato:hover {
    border-color: var(--border-hover);
    background: var(--border);
    box-shadow: 0 6px 24px var(--border);
}
