/* ==========================================================================
   CSS STYLE - nosotros.css
   Estilos premium de la página de Nosotros (Light Mode / Academia STEAMS)
   ========================================================================== */

/* Variables para mantener consistencia con style.css y univalle.css */
:root {
    --nosotros-primary: #2563eb;
    --nosotros-primary-hover: #1e40af;
    --nosotros-primary-light: rgba(37, 99, 235, 0.08);
    --nosotros-accent: #3b82f6;
    --nosotros-accent-light: rgba(59, 130, 246, 0.12);
    --nosotros-text-dark: #1e293b;
    --nosotros-text-slate: #64748b;
    --nosotros-bg-light: #f8fafc;
    --nosotros-border: #e2e8f0;
}

/* Base style */
.nosotros-body {
    background-color: #ffffff !important;
    color: var(--nosotros-text-dark) !important;
}

body.has-slider {
    padding-top: 0 !important;
}

.nosotros-slider .slide-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../img/nosotros/1.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nosotros-slider .slide-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../img/nosotros/2.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nosotros-slider .slide-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../img/nosotros/3.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nosotros-slider .slide.active {
    opacity: 1;
    z-index: 1;
}


/* HERO SECTION (Light Premium Layout) */
.nosotros-hero {
    padding: 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.06) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--nosotros-border);
}

.hero-meta-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-badge {
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--nosotros-primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-badge i {
    font-size: 11px;
}

.nosotros-hero h1 {
    font-size: 54px;
    line-height: 1.15;
    color: var(--nosotros-text-dark);
    margin-bottom: 24px;
    font-weight: 800;
}

.nosotros-hero h1 span {
    color: var(--nosotros-primary);
    background: linear-gradient(135deg, var(--nosotros-primary) 0%, var(--nosotros-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nosotros-hero p {
    font-size: 18px;
    color: var(--nosotros-text-slate);
    max-width: 650px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* FILOSOFÍA / VALORES */
.philosophy-section {
    padding: 100px 0;
    background-color: #ffffff;
}

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

.philosophy-card {
    background: #ffffff;
    border: 1px solid var(--nosotros-border);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--nosotros-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.4s ease;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.15);
}

.philosophy-card:hover::before {
    transform: scaleX(1);
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--nosotros-primary-light);
    color: var(--nosotros-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.philosophy-card.card-purple .philosophy-icon {
    background: rgba(171, 32, 253, 0.08);
    color: #ab20fd;
}
.philosophy-card.card-green .philosophy-icon {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

.philosophy-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--nosotros-text-dark);
}

.philosophy-card p {
    color: var(--nosotros-text-slate);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* LÍNEAS DE APRENDIZAJE (Releases Showcase) */
.releases-section {
    padding: 100px 0;
    background-color: var(--nosotros-bg-light);
    border-top: 1px solid var(--nosotros-border);
    border-bottom: 1px solid var(--nosotros-border);
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.release-card {
    background: #ffffff;
    border: 1px solid var(--nosotros-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.release-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.release-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.release-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.release-card:hover .release-image img {
    transform: scale(1.06);
}

.release-overlay-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--nosotros-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.release-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.release-platform-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--nosotros-text-slate);
    font-size: 15px;
}

.release-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--nosotros-text-dark);
}

.release-content p {
    color: var(--nosotros-text-slate);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.release-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.release-status {
    font-size: 12px;
    color: var(--nosotros-text-slate);
    font-weight: 600;
}

.release-status span {
    color: #10b981;
}

.release-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--nosotros-primary);
    background: var(--nosotros-primary-light);
    padding: 4px 12px;
    border-radius: 20px;
}

/* REQUISITOS (Specs Section) */
.specs-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.specs-container {
    background: #ffffff;
    border: 1px solid var(--nosotros-border);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.specs-container h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--nosotros-text-dark);
    position: relative;
    padding-left: 15px;
}

.specs-container h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    width: 4px;
    height: 70%;
    background: var(--nosotros-primary);
    border-radius: 4px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.spec-column h4 {
    font-size: 18px;
    color: var(--nosotros-primary);
    margin-bottom: 24px;
    font-weight: 700;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
}

.spec-column.recommended h4 {
    color: #ab20fd;
}

.spec-list {
    list-style: none;
}

.spec-list li {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.spec-list li strong {
    color: var(--nosotros-text-dark);
    display: inline-block;
    width: 140px;
    font-weight: 600;
    flex-shrink: 0;
}

.spec-list li span {
    color: var(--nosotros-text-slate);
}

/* LÍDERES DE PROYECTO (Dev Cards) */
.devs-section {
    padding: 100px 0;
    background-color: var(--nosotros-bg-light);
    border-top: 1px solid var(--nosotros-border);
}

.devs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.dev-card {
    background: #ffffff;
    border: 1px solid var(--nosotros-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.dev-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.15);
}

.dev-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #f1f5f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.dev-card:hover .dev-avatar {
    border-color: var(--nosotros-primary);
    transform: scale(1.05);
}

.dev-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dev-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--nosotros-text-dark);
}

.dev-role {
    font-size: 13px;
    color: var(--nosotros-primary);
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.dev-stats {
    text-align: left;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.stat-bar-group {
    margin-bottom: 14px;
}

.stat-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--nosotros-text-slate);
    margin-bottom: 6px;
    font-weight: 500;
}

.stat-bar-container {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 3px;
}

.stat-bar-group:nth-child(1) .stat-bar-fill {
    background: var(--nosotros-primary);
}

.stat-bar-group:nth-child(2) .stat-bar-fill {
    background: #ab20fd;
}

.stat-bar-group:nth-child(3) .stat-bar-fill {
    background: #10b981;
}

.dev-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.dev-social a {
    color: var(--nosotros-text-slate);
    font-size: 16px;
    transition: all 0.3s ease;
}

.dev-social a:hover {
    color: var(--nosotros-primary);
}

/* CALL TO ACTION (CO-OP Mode Invite) */
.cta-nosotros {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.04) 0%, #ffffff 80%);
}

.cta-nosotros-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-nosotros h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--nosotros-text-dark);
}

.cta-nosotros h2 span {
    color: var(--nosotros-primary);
}

.cta-nosotros p {
    font-size: 18px;
    color: var(--nosotros-text-slate);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-actions-cyber {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .nosotros-hero h1 {
        font-size: 46px;
    }
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nosotros-hero {
        padding: 80px 0 50px;
    }
    .nosotros-hero h1 {
        font-size: 36px;
    }
    .nosotros-hero p {
        font-size: 16px;
    }
    .specs-container {
        padding: 30px 20px;
    }
}
