/* Estilos para la página Soy Profesor - Usando el mismo tema que el resto de la aplicación */

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 90px; /* Compensar el header fijo */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Página principal */
.profesor-page {
    min-height: 100vh;
    background: var(--bg-color);
    transition: background 0.3s ease;
}

/* Hero Section */
.hero-section {
    padding: 40px 0 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--button-bg);
    color: white;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.btn-primary:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--shadow-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.code-window {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.window-header {
    background: var(--bg-secondary);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.window-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-left: 10px;
}

.code-content {
    padding: 20px;
    background: var(--card-bg);
    transition: background-color 0.3s ease;
}

.code-content pre {
    margin: 0;
    color: var(--text-color);
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.code-content code {
    color: var(--accent-color);
}

/* Features Section */
.features-section {
    padding: 20px 0 10px;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px var(--shadow-color);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Curriculum Section */
.curriculum-section {
    padding: 10px 0 10px;
    background: var(--bg-color);
    transition: background-color 0.3s ease;
}

.curriculum-header {
    text-align: center;
    margin-bottom: 60px;
}

.curriculum-header .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Curriculum Tabs */
.curriculum-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--accent-color);
}

.tab-button.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.3);
}

.tab-icon {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.tab-button:hover .tab-icon {
    transform: scale(1.1);
}

.tab-button.active .tab-icon {
    transform: scale(1.1);
}

.tab-text {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* Curriculum Content */
.curriculum-content {
    position: relative;
    min-height: 500px;
}

.curriculum-panel {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.curriculum-panel.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.level-info {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.level-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.level-title {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.level-title h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin: 0;
}

.level-badge {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-badge.beginner {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.level-badge.advanced {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.level-badge.expert {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
}

.level-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-description {
    margin-bottom: 40px;
}

.level-description p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.topic-card {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.topic-card:hover::before {
    opacity: 0.05;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--accent-color);
}

.topic-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.topic-card h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0 0 10px 0;
    font-weight: 600;
}

.topic-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Progress Bar */
.level-progress {
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #4CAF50);
    border-radius: 4px;
    transition: width 1s ease;
    animation: progressAnimation 2s ease-in-out infinite alternate;
}

@keyframes progressAnimation {
    0% {
        background: linear-gradient(90deg, var(--accent-color), #4CAF50);
    }
    100% {
        background: linear-gradient(90deg, #4CAF50, var(--accent-color));
    }
}

.progress-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Pricing Section */
.pricing-section {
    padding: 10px 0 20px;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.pricing-section .precios-container {
    min-height: auto;
    max-width: 1400px;
}

.pricing-section .contact-section {
    margin: 1rem 0 0;
}

.pricing-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 8px 40px var(--shadow-color);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px var(--shadow-color);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.price {
    margin-bottom: 30px;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.pricing-features li::before {
    content: "✅";
    position: absolute;
    left: 0;
}

.btn-pricing {
    background: var(--button-bg);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-pricing:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--shadow-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 10px 0 10px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--shadow-color);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 50%;
    color: white;
}

.author-info h4 {
    color: var(--text-color);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 30px 0;
    background: var(--bg-secondary);
    text-align: center;
    transition: background-color 0.3s ease;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.profesor-footer {
    background: var(--bg-secondary);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 30px 0 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
    
    /* Curriculum responsive */
    .curriculum-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        min-width: 200px;
    }
    
    .level-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .level-stats {
        justify-content: center;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .level-info {
        padding: 30px 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 20px 0 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
