/* default.css - Estilos específicos para la página principal */
.content-section {
    margin-bottom: 3rem;
}

.section-title {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.php { color: #777BB4; }
.dart { color: #0175C2; }
.flutter { color: #02569B; }
.android { color: #3DDC84; }
.python { 
    color: #3776AB;
    background: linear-gradient(135deg, #3776AB 0%, #FFD43B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estilos para FacturaScripts */
.facturascripts { 
    color: #1E88E5;
    background: linear-gradient(135deg, #1E88E5 0%, #0D47A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card:nth-child(6):hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.3);
}

.tech-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.tech-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.tech-features li {
    padding: 0.5rem 0;
    color: #5a6c7d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-features li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
}

.learning-path {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.final-access-cta {
    margin: 3rem 0 1.5rem;
    padding: 2rem;
    border-radius: 14px;
    text-align: center;
    background: linear-gradient(135deg, #1f3c88 0%, #2a5298 100%);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(31, 60, 136, 0.26);
}

.final-access-cta h2 {
    margin-bottom: 0.7rem;
    font-size: 1.8rem;
}

.final-access-cta p {
    margin: 0 auto 1.4rem;
    max-width: 700px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.final-access-actions {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.final-access-btn {
    border: 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.8rem 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.final-access-btn:hover {
    transform: translateY(-2px);
}

.final-access-btn.primary {
    background: #ffffff;
    color: #1f3c88;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.final-access-btn.primary:hover {
    background: #f2f5ff;
}

.final-access-btn.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.75);
}

.final-access-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.path-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.path-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #7f8c8d;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .tech-card {
        padding: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
        padding: 0 15px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .tech-card {
        padding: 1.5rem;
    }
    
    .tech-icon {
        font-size: 2.5rem;
    }
    
    .tech-card h3 {
        font-size: 1.3rem;
    }
    
    .tech-features li {
        font-size: 0.95rem;
        padding: 0.4rem 0;
    }
    
    .path-step {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
    
    .step-number {
        align-self: center;
        margin-bottom: 1rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .learning-path {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }

    .final-access-cta {
        margin: 2rem 0 1rem;
        padding: 1.5rem 1rem;
    }

    .final-access-cta h2 {
        font-size: 1.45rem;
    }

    .final-access-btn {
        width: 100%;
        max-width: 320px;
    }
    
    .main-content {
        padding: 1.5rem 0;
    }
    
    .content-section {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 2px;
    }
    
    .tech-card {
        padding: 1.2rem;
    }
    
    .tech-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .tech-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .tech-card p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .tech-features li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }
    
    .path-steps {
        gap: 1.5rem;
    }
    
    .path-step {
        padding: 1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-content h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .learning-path {
        padding: 1.5rem 0.8rem;
    }

    .final-access-cta h2 {
        font-size: 1.25rem;
    }

    .final-access-cta p {
        font-size: 0.92rem;
    }
    
    .hero {
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }
}

/* Ajustar el grid para 6 elementos */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive para el grid de tecnologías */
@media (max-width: 1200px) {
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}