/* Variables CSS */
:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --secondary: #dc2626;
    --accent: #059669;
    --warning: #d97706;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--light);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.logo-text p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.floating-shapes {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape {
    position: absolute;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(255, 255, 255, 0.3);
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.shape-square {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-sm);
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

.shape-pentagon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    top: 10%;
    right: 10%;
    animation-delay: 2s;
}

.shape-hexagon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.3);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    bottom: 20%;
    left: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Secciones */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Objetivos */
.objectives {
    padding: 5rem 0;
    background: white;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.objective-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.objective-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.objective-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.objective-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Contenido Principal */
.main-content {
    background: var(--gray-100);
}

/* Teoría */
.theory-section {
    padding: 5rem 0;
}

.theory-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.theory-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.theory-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.theory-text ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.theory-text li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.theory-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.geometric-svg {
    max-width: 100%;
    height: auto;
}

.svg-label {
    font-size: 14px;
    font-weight: 600;
    fill: var(--gray-700);
}

.svg-label-small {
    font-size: 12px;
    font-weight: 500;
    fill: var(--gray-600);
}

/* Triángulos */
.triangles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.triangle-type h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

.triangle-examples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.triangle-item {
    text-align: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.triangle-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.triangle-svg {
    width: 80px;
    height: 60px;
    margin-bottom: 0.5rem;
}

.triangle-item p {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.4;
}

/* Tabla de puntos notables */
.notable-points-table {
    margin-top: 1.5rem;
}

.points-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.points-table th,
.points-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.points-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.points-table tr:hover {
    background: var(--gray-50);
}

/* Cuadriláteros */
.quadrilaterals-content {
    display: grid;
    gap: 2rem;
}

.quadrilateral-type h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.quadrilateral-type p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.quadrilateral-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.quad-item {
    text-align: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.quad-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.quad-svg {
    width: 80px;
    height: 60px;
    margin-bottom: 0.5rem;
}

.quad-item p {
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* Unidades */
.units-content {
    display: grid;
    gap: 2rem;
}

.units-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.units-scale {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.unit-item {
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    color: var(--gray-700);
    border: 2px solid transparent;
    transition: var(--transition);
}

.unit-item.main-unit {
    background: var(--primary);
    color: white;
    border-color: var(--primary-dark);
}

.conversion-note {
    text-align: center;
    color: var(--gray-600);
    font-style: italic;
    margin-top: 1rem;
}

.agrarian-units {
    display: grid;
    gap: 1rem;
}

.agrarian-unit {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
}

/* Fórmulas */
.formulas-section {
    padding: 5rem 0;
    background: white;
}

.formulas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.formula-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.formula-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.formula-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.formula-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.formula-svg {
    max-width: 100%;
    height: auto;
}

.dimension-label {
    font-size: 14px;
    font-weight: 600;
    fill: var(--secondary);
}

.formula-math {
    display: grid;
    gap: 1rem;
}

.formula-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.formula-label {
    font-weight: 600;
    color: var(--gray-700);
}

.formula-expression {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
}

/* Ejercicios */
.exercises-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.exercises-grid {
    display: grid;
    gap: 2rem;
}

.exercise-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.exercise-card:hover {
    box-shadow: var(--shadow-xl);
}

.exercise-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exercise-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.exercise-difficulty {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.exercise-content {
    padding: 2rem;
}

.exercise-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.exercise-visual {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.exercise-svg {
    max-width: 100%;
    height: auto;
}

.show-solution-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.show-solution-btn:hover {
    background: #047857;
    transform: translateY(-2px);
}

.solution {
    background: var(--gray-50);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-top: 1rem;
}

.solution h4 {
    color: var(--accent);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.solution p {
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

/* Quiz */
.quiz-section {
    padding: 5rem 0;
    background: white;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-question {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.question-number {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quiz-options {
    display: grid;
    gap: 1rem;
}

.quiz-option {
    padding: 1rem 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    background: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quiz-option:hover {
    border-color: var(--primary);
    background: var(--gray-50);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.quiz-option.correct {
    border-color: var(--accent);
    background: rgba(5, 150, 105, 0.1);
}

.quiz-option.incorrect {
    border-color: var(--secondary);
    background: rgba(220, 38, 38, 0.1);
}

.option-letter {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray-700);
    flex-shrink: 0;
}

.quiz-option.selected .option-letter {
    background: var(--primary);
    color: white;
}

.quiz-option.correct .option-letter {
    background: var(--accent);
    color: white;
}

.quiz-option.incorrect .option-letter {
    background: var(--secondary);
    color: white;
}

.quiz-controls {
    text-align: center;
    margin: 2rem 0;
}

.quiz-results {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.score-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.score-text {
    font-size: 1.25rem;
    color: var(--gray-700);
}

.score-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.score-percentage {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.score-feedback {
    font-size: 1.125rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.score-feedback.excellent {
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent);
    border: 1px solid rgba(5, 150, 105, 0.3);
}

.score-feedback.good {
    background: rgba(217, 119, 6, 0.1);
    color: var(--warning);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.score-feedback.needs-improvement {
    background: rgba(220, 38, 38, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .theory-content {
        grid-template-columns: 1fr;
    }
    
    .triangles-grid {
        grid-template-columns: 1fr;
    }
    
    .triangle-examples {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr;
    }
    
    .formulas-grid {
        grid-template-columns: 1fr;
    }
    
    .triangle-examples {
        grid-template-columns: 1fr;
    }
    
    .quadrilateral-examples {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .units-scale {
        flex-direction: column;
        align-items: center;
    }
    
    .exercise-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .score-display {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .theory-card,
    .formula-card,
    .exercise-card {
        padding: 1.5rem;
    }
    
    .quadrilateral-examples {
        grid-template-columns: 1fr;
    }
    
    .floating-shapes {
        height: 200px;
    }
    
    .shape {
        transform: scale(0.7);
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theory-card,
.formula-card,
.exercise-card,
.objective-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Estados de carga */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .shape {
        animation: none;
    }
}

/* Focus states para accesibilidad */
.nav-link:focus,
.btn:focus,
.quiz-option:focus,
.show-solution-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Mejoras de contraste */
@media (prefers-contrast: high) {
    :root {
        --gray-400: #6b7280;
        --gray-500: #4b5563;
        --gray-600: #374151;
    }
}

