/* ============================================
   PALETA DE COLORES GLOBAL - 5GPHONES.DIGITAL
   ============================================ */

:root {
    /* Colores principales */
    --color-primary: #00d9ff;           /* Cyan brillante */
    --color-primary-dark: #00b3d9;      /* Cyan oscuro */
    --color-secondary: #667eea;         /* Morado azulado */
    --color-secondary-dark: #764ba2;    /* Morado */
    
    /* Fondos */
    --bg-dark: #0a1628;                 /* Azul muy oscuro */
    --bg-medium: #1a2a4a;               /* Azul medio */
    --bg-light: #2a3a5a;                /* Azul claro */
    --bg-white: #ffffff;                /* Blanco */
    --bg-gray: #f5f7fa;                 /* Gris claro */
    
    /* Textos */
    --text-primary: #ffffff;            /* Blanco */
    --text-secondary: #e0e6ed;          /* Gris claro */
    --text-muted: #8b95a5;              /* Gris medio */
    --text-dark: #0a1628;               /* Azul oscuro (para fondos claros) */
    
    /* Bordes y sombras */
    --border-color: rgba(0, 217, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
    
    /* Estados */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    line-height: 1.6;
}

/* Estilos para fondos claros (secciones alternadas) */
.section-light {
    background-color: var(--bg-gray);
    color: var(--text-dark);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
    color: var(--text-dark);
}

.section-light p,
.section-light li {
    color: #4b5563; /* Gris oscuro para legibilidad */
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
}

/* Enlaces */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Botones */
.btn-primary {
    background: var(--color-primary);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Tarjetas */
.card {
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}
/* ============================================
   TARJETAS DE MODELOS - ALTURA UNIFORME
   ============================================ */

.business-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch; /* Mantiene todas las tarjetas con la misma altura */
}

.business-model-card {
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Altura mínima uniforme */
    height: 100%; /* Ocupa todo el espacio del grid */
}

.business-model-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.business-model-card .model-number {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.business-model-card h3 {
    color: var(--text-primary);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.business-model-card .model-revenue {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.business-model-card p {
    flex-grow: 1; /* El párrafo ocupa el espacio sobrante */
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}
/* ============================================
   TARJETAS DE MODELOS - ALTURA UNIFORME
   ============================================ */

.business-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch; /* CRÍTICO: mantiene todas las tarjetas con la misma altura */
}

.business-model-card {
    background: rgba(30, 45, 66, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    
    /* ESTAS LÍNEAS SON LAS CLAVE */
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Altura mínima garantizada */
    height: 100%; /* Ocupa todo el espacio disponible del grid */
}

.business-model-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

/* Estructura interna de la tarjeta */
.business-model-card .model-number {
    color: #00d4ff;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.business-model-card h3 {
    color: #e8f0f8;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.business-model-card .model-revenue {
    color: #00d4ff;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* CRÍTICO: El párrafo ocupa todo el espacio sobrante */
.business-model-card p {
    flex-grow: 1; /* Esta línea hace que el texto ocupe el espacio extra */
    color: #8b9bb0;
    line-height: 1.6;
    margin-bottom: 0;
}


/* Secciones con fondo oscuro */
.section-dark {
    background: var(--bg-dark);
    color: var(--text-primary);
}

/* Secciones con gradiente */
.section-gradient {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    color: var(--text-primary);
}

/* Estadísticas y números destacados */
.stat-number {
    color: var(--color-primary);
    font-size: 2.5em;
    font-weight: bold;
}

/* Badges */
.badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
}

/* Mejora de contraste para texto sobre fondos */
.text-on-dark {
    color: var(--text-primary);
}

.text-on-light {
    color: var(--text-dark);
}

/* Asegurar legibilidad en todas las secciones */
section {
    padding: 60px 20px;
}

/* Contenedor máximo */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 40px 20px;
    }
}
