/* 
 * FORMACIÓN SEMILLA - ESTILOS CENTRALIZADOS
 * Estilos específicos para todos los componentes de Formación Semilla
 */

:root {
    --fs-dark-blue: #0A142F;
    --fs-light-blue: #1D2B48;
    --fs-gold: #D4AF37;
    --fs-yellow: #FBBF24;
    --fs-yellow-dark: #F59E0B;
    --fs-slate-dark: #0F172A;
}

/* === ESTILOS BASE === */
.fs-body {
    font-family: 'Inter', sans-serif;
    background-color: #0a1f2f;
    color: #e6f1ff;
}

.hidden {
    display: none !important;
}

.fs-font-serif {
    font-family: 'Playfair Display', serif;
}

/* === LAYOUT Y ESPACIADO === */
.fs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .fs-container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .fs-container {
        padding: 0 3rem;
    }
}

/* === UTILIDADES DE TAILWIND === */
.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.text-center {
    text-align: center;
}

.font-black {
    font-weight: 900;
}

.font-bold {
    font-weight: 700;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-yellow-400 {
    color: #facc15;
}

.text-black {
    color: #000000;
}

.bg-yellow-500 {
    background-color: #eab308;
}

.bg-yellow-500:hover {
    background-color: #ca8a04;
}

.border {
    border-width: 1px;
}

.border-yellow-400 {
    border-color: #facc15;
}

.border-yellow-400:hover {
    border-color: #eab308;
}

.border-gray-600 {
    border-color: #4b5563;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.space-x-3 > * + * {
    margin-left: 0.75rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.justify-center {
    justify-content: center;
}

.flex-1 {
    flex: 1 1 0%;
}

.block {
    display: block;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    
    .md\:text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-yellow-500\/10 {
    --tw-gradient-from: rgb(234 179 8 / 0.1) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-orange-500\/10 {
    --tw-gradient-to: rgb(249 115 22 / 0.1) var(--tw-gradient-to-position);
}

.border-yellow-400\/30 {
    border-color: rgb(250 204 21 / 0.3);
}

/* === COMPONENTES REUTILIZABLES === */
.fs-card {
    background: #112240;
    border: 1px solid #1e2d4d;
}

.fs-section-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #facc15;
}

.fs-highlight-box {
    background: linear-gradient(120deg, rgba(212, 175, 55, 0.1), rgba(251, 191, 36, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0.75rem;
}

.fs-text-gradient-gold {
    background: linear-gradient(120deg, var(--fs-gold), var(--fs-yellow-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fs-bg-gradient-gold {
    background: linear-gradient(120deg, var(--fs-gold), var(--fs-yellow-dark));
}

.fs-mentor-recommendation {
    background-color: rgba(212, 175, 55, 0.05);
    border-left: 4px solid var(--fs-gold);
}

.fs-interactive-tool {
    background-color: var(--fs-dark-blue);
    border: 1px solid #334155;
}

.fs-card-interactive {
    background: #112240;
    border: 1px solid #1e2d4d;
}

.fs-card-interactive:hover {
    background-color: #1a2b4a;
}

.fs-hover-effect:hover {
    background-color: #1a2b4a;
}

.fs-result-value {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fs-glow-border {
    position: relative;
    overflow: hidden;
}

.fs-glow-border:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    background: linear-gradient(120deg, var(--fs-gold), var(--fs-dark-blue), var(--fs-dark-blue)) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

/* === BITÁCORA DEL FUNDADOR === */
.bitacora-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.bitacora-sidebar {
    background-color: var(--fs-dark-blue);
}

.bitacora-content {
    background-color: var(--fs-light-blue);
}

.bitacora-sidebar-link {
    transition: all 0.2s ease-in-out;
    border-left: 4px solid transparent;
}

.bitacora-sidebar-link.active {
    background-color: var(--fs-light-blue);
    border-left-color: var(--fs-gold);
    color: white;
}

.bitacora-sidebar-link:hover {
    background-color: var(--fs-light-blue);
}

.bitacora-page {
    display: none;
}

.bitacora-page.active {
    display: block;
}

/* === HERRAMIENTAS INTERACTIVAS === */
.eisenhower-quadrant {
    min-height: 150px;
}

.task-item {
    cursor: grab;
}

.task-item:active {
    cursor: grabbing;
}

/* === LANDING PAGE === */
.landing-body {
    font-family: 'Inter', sans-serif;
    background-color: var(--fs-slate-dark);
    color: #E2E8F0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(251, 191, 36, 0.05), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05), transparent 40%);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .bitacora-container {
        grid-template-columns: 1fr;
    }
    
    .bitacora-sidebar {
        display: none;
    }
}

/* === FORMULARIOS === */
.fs-input {
    background: #1a2b48;
    border: 1px solid #334155;
    color: #e6f1ff;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.fs-input:focus {
    outline: none;
    border-color: var(--fs-yellow);
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

.fs-textarea {
    background: #1a2b48;
    border: 1px solid #334155;
    color: #e6f1ff;
    padding: 0.75rem;
    border-radius: 0.5rem;
    resize: vertical;
    min-height: 100px;
}

.fs-textarea:focus {
    outline: none;
    border-color: var(--fs-yellow);
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

/* === BOTONES === */
.fs-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.fs-btn-primary {
    background: var(--fs-yellow);
    color: #000;
}

.fs-btn-primary:hover {
    background: var(--fs-yellow-dark);
    transform: translateY(-2px);
}

.fs-btn-secondary {
    background: transparent;
    color: var(--fs-yellow);
    border: 2px solid var(--fs-yellow);
}

.fs-btn-secondary:hover {
    background: var(--fs-yellow);
    color: #000;
}

.fs-btn-outline {
    background: transparent;
    border: 1px solid #6b7280;
    color: #e6f1ff;
}

.fs-btn-outline:hover {
    border-color: var(--fs-yellow);
    color: var(--fs-yellow);
}

/* === UTILIDADES === */
.fs-text-center { text-align: center; }
.fs-text-left { text-align: left; }
.fs-text-right { text-align: right; }

.fs-mt-1 { margin-top: 0.25rem; }
.fs-mt-2 { margin-top: 0.5rem; }
.fs-mt-4 { margin-top: 1rem; }
.fs-mt-6 { margin-top: 1.5rem; }
.fs-mt-8 { margin-top: 2rem; }

.fs-mb-1 { margin-bottom: 0.25rem; }
.fs-mb-2 { margin-bottom: 0.5rem; }
.fs-mb-4 { margin-bottom: 1rem; }
.fs-mb-6 { margin-bottom: 1.5rem; }
.fs-mb-8 { margin-bottom: 2rem; }

.fs-p-4 { padding: 1rem; }
.fs-p-6 { padding: 1.5rem; }
.fs-p-8 { padding: 2rem; }

.fs-rounded { border-radius: 0.5rem; }
.fs-rounded-lg { border-radius: 0.75rem; }
.fs-rounded-xl { border-radius: 1rem; }

.fs-hidden { display: none; }
.fs-block { display: block; }
.fs-flex { display: flex; }
.fs-grid { display: grid; }

.fs-gap-4 { gap: 1rem; }
.fs-gap-6 { gap: 1.5rem; }

.fs-w-full { width: 100%; }
.fs-h-full { height: 100%; }

/* === ESTILOS ESPECÍFICOS PARA LANDING === */
.fs-landing-body {
    font-family: 'Inter', sans-serif;
    background-color: var(--fs-slate-dark);
    color: #E2E8F0;
    background-image: radial-gradient(circle at 10% 20%, rgba(251, 191, 36, 0.05), transparent 30%),
                      radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05), transparent 40%);
}

.fs-landing-text-gradient-gold {
    background: linear-gradient(120deg, var(--fs-yellow), var(--fs-yellow-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fs-landing-bg-gradient-gold {
    background: linear-gradient(120deg, var(--fs-yellow), var(--fs-yellow-dark));
}

.fs-landing-glow-border {
    position: relative;
    overflow: hidden;
}

.fs-landing-glow-border:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    background: linear-gradient(120deg, var(--fs-yellow), var(--fs-slate-dark), var(--fs-slate-dark)) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity 300ms ease-in-out;
}

.fs-landing-glow-border:hover:before {
    opacity: 1;
}

.fs-landing-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: background-color 300ms ease;
}

.fs-landing-card:hover {
    background: rgba(30, 41, 59, 0.8);
}

.fs-landing-taller-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fs-landing-tool-card {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: background-color 300ms ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.fs-landing-tool-card:hover {
    background: rgba(30, 41, 59, 1);
}

.fs-landing-tool-card h4 {
    transition: color 300ms ease;
}

.fs-landing-tool-card:hover h4 {
    background: linear-gradient(120deg, var(--fs-yellow), var(--fs-yellow-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}