/* ============================================
   LEARNYOUWAY - Estilos Landing Page
   ============================================ */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #4CAF50;
    --danger-color: #f44336;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --border-radius: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
}

.language-flag {
    width: 32px;
    height: 22px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    opacity: 0.7;
    border: 2px solid transparent;
}

.language-flag:hover {
    opacity: 1;
    transform: scale(1.1);
}

.language-flag.active {
    opacity: 1;
    border-color: white;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.clickable-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.clickable-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5) !important;
    filter: brightness(1.1);
}

/* Modal de imagen */
#imageModal .modal-dialog {
    max-width: 90vw;
}

#imageModal .modal-content {
    background: transparent;
}

#imageModal img {
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Profiles Section */
.profiles-section {
    background: var(--light-color);
    padding: 80px 0;
}

.profile-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    height: 100%;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.profile-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
}

.profile-icon.student {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.profile-icon.tutor {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.profile-icon.teacher {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.profile-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.profile-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.profile-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.profile-features li {
    padding: 0.7rem 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-features i {
    color: var(--primary-color);
    width: 20px;
}

.btn-profile {
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    transition: all 0.3s;
}

.btn-profile:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: white;
}

.role-selector-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.role-selector-pricing .btn-group {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
}

.role-selector-pricing .btn-outline-primary {
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.role-selector-pricing .btn-outline-primary:first-of-type {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.role-selector-pricing .btn-outline-primary:last-of-type {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.role-selector-pricing .btn-check:checked + .btn-outline-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    color: white;
}

.pricing-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.badge-popular {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
}

.price .period {
    font-size: 1.1rem;
    opacity: 0.9;
}

.pricing-body {
    padding: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    padding: 0.8rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-pricing {
    width: 100%;
    padding: 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    transition: all 0.3s;
}

.btn-pricing:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.btn-pricing.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
}

/* Demo Section */
.demo-section {
    background: var(--light-color);
    padding: 80px 0;
}

.demo-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.demo-placeholder {
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    height: 200px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #999;
}

.demo-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.demo-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.demo-card p {
    color: #666;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #34495e 100%);
    color: white;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
    }

    .profile-card,
    .demo-card,
    .pricing-card {
        margin-bottom: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: slideInUp 0.6s ease-out;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: #f8f9fa;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-card.gradient-border {
    border-top: 4px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) 1;
}

.about-card h3 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-list li:before {
    content: "▸";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.agora-card {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-left: 5px solid var(--primary-color);
}

.agora-card .btn {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.agora-card .btn:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

/* Responsive about section */
@media (max-width: 768px) {
    .about-card {
        padding: 1.5rem;
    }

    .about-card h3 {
        font-size: 1.3rem;
    }
}
