/* ==========================================
   CONFIGURACIÓN GENERAL Y VARIABLES
   ========================================== */
:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --bg-dark: #090d16;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

body {
    background-color: #f8fafc;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
}


/* ==========================================
   HEADER / NAVBAR (Moderno y Fluido)
   ========================================== */
.header-saas {
    background-color: rgba(9, 13, 22, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.35rem;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.2s ease;
}

.navbar-brand:hover {
    opacity: 0.85;
}

.navbar-nav .nav-link {
    color: #94a3b8 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.06);
}

.header-saas .btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border: none;
    border-radius: 10px;
    padding: 0.55rem 1.25rem;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: all 0.25s ease;
}

.header-saas .btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}


/* ==========================================
   TARJETAS DE PLANES (Efecto Elevación y Brillo)
   ========================================== */
.card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: var(--card-bg);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08) !important;
}

/* Tarjeta destacada (Plan Mensual) */
.card.border-primary {
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.15);
}

.card.border-primary:hover {
    box-shadow: 0 25px 35px -5px rgba(79, 70, 229, 0.25) !important;
}

/* Insignia / Badge superior */
.badge.bg-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* Botones dentro de las tarjetas */
.card .btn-outline-success {
    border-radius: 10px;
    border-color: #10b981;
    color: #059669;
    font-weight: 600;
    transition: all 0.2s ease;
}

.card .btn-outline-success:hover {
    background-color: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.card .btn-primary {
    border-radius: 10px;
    background: #4f46e5;
    border: none;
    transition: all 0.2s ease;
}

.card .btn-primary:hover {
    background: #4338ca;
}


/* ==========================================
   MÓDULO DE PAGO / QR
   ========================================== */
#modulo-pago .bg-light {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05) !important;
}

#modulo-pago .bg-white.p-3 {
    border-radius: 14px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.alert-info {
    background-color: #f0f9ff;
    color: #0369a1;
    border-radius: 12px !important;
}


/* ==========================================
   FOOTER (Elegante y Profundo)
   ========================================== */
.footer-saas {
    background: linear-gradient(180deg, #090d16 0%, #05080e 100%);
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.footer-saas h5, 
.footer-saas h6 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-saas p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-saas a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.footer-saas a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

.footer-saas hr {
    border-color: rgba(255, 255, 255, 0.08) !important;
}